/usr/include/wvstreams/wvoakley.h is in libwvstreams-dev 4.6.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 2003 Net Integration Technologies, Inc.
*
* Diffie-Hellman shared secret creation.
*/
#ifndef __WVOAKLEY_H
#define __WVOAKLEY_H
#include "wvstream.h"
#include "wvdiffiehellman.h"
class WvOakleyAuth
{
public:
WvOakleyAuth(int group);
short public_len();
short other_pub_len();
short get_public_key(WvBuf &outbuf, short len);
short get_other_public_key(WvBuf &outbuf, short len);
void create_secret(WvBuf &_other_pub_key, short len);
WvDynBuf dh_secret;
private:
WvDiffieHellman *dh;
short pub_len, other_len;
short secret_len;
WvDynBuf other_pub_key;
};
#endif /* __WVOAKLEY_H */
|