Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes
cat::EasyHandshake Class Reference

#include <EasyHandshake.hpp>

Inheritance diagram for cat::EasyHandshake:

List of all members.

Public Member Functions

 EasyHandshake ()
bool GenerateServerKey (void *out_public_key, void *out_private_key)
 ~EasyHandshake ()

Static Public Member Functions

static bool Initialize ()
static void Shutdown ()

Static Public Attributes

static const int ANSWER_BYTES = BYTES * 4
static const int BITS = 256
static const int BYTES = BITS / 8
static const int CHALLENGE_BYTES = BYTES * 2
static const int PRIVATE_KEY_BYTES = BYTES
static const int PROOF_BYTES = BYTES
static const int PUBLIC_KEY_BYTES = BYTES * 2

Protected Attributes

FortunaOutputtls_csprng
BigTwistedEdwardstls_math

Detailed Description

Definition at line 200 of file EasyHandshake.hpp.


Constructor & Destructor Documentation

cat::EasyHandshake::EasyHandshake ( )
cat::EasyHandshake::~EasyHandshake ( )

Member Function Documentation

bool cat::EasyHandshake::GenerateServerKey ( void *  out_public_key,
void *  out_private_key 
)
static bool cat::EasyHandshake::Initialize ( ) [static]
static void cat::EasyHandshake::Shutdown ( ) [static]

Member Data Documentation

const int cat::EasyHandshake::ANSWER_BYTES = BYTES * 4 [static]

Definition at line 214 of file EasyHandshake.hpp.

const int cat::EasyHandshake::BITS = 256 [static]

Definition at line 209 of file EasyHandshake.hpp.

const int cat::EasyHandshake::BYTES = BITS / 8 [static]

Definition at line 210 of file EasyHandshake.hpp.

const int cat::EasyHandshake::CHALLENGE_BYTES = BYTES * 2 [static]

Definition at line 213 of file EasyHandshake.hpp.

Definition at line 212 of file EasyHandshake.hpp.

const int cat::EasyHandshake::PROOF_BYTES = BYTES [static]

Definition at line 215 of file EasyHandshake.hpp.

const int cat::EasyHandshake::PUBLIC_KEY_BYTES = BYTES * 2 [static]

Definition at line 211 of file EasyHandshake.hpp.

Definition at line 206 of file EasyHandshake.hpp.

Definition at line 205 of file EasyHandshake.hpp.


The documentation for this class was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net