ssl_init Class Reference

provides some initialization for the RSA and blowfish crypto. More...

#include <ssl_init.h>

Inheritance diagram for ssl_init:

Inheritance graph
[legend]
Collaboration diagram for ssl_init:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ssl_init ()
 ~ssl_init ()
 IMPLEMENT_CLASS_NAME ("ssl_init")
byte_array random_bytes (int length) const
 can be used to generate a random array of "length" bytes.
chaosrandomizer () const
 provides a random number generator for any encryption routines.

Detailed Description

provides some initialization for the RSA and blowfish crypto.

This class does the SSL initialization needed before any functions can be used. It also sets up the random seed for SSL. NOTE: you should never need to use this class directly; just use the accessor function at the very bottom and it will be managed globally for the entire program.

Definition at line 33 of file ssl_init.h.


Constructor & Destructor Documentation

ssl_init::ssl_init (  ) 

Definition at line 42 of file ssl_init.cpp.

References SEED_SIZE.

ssl_init::~ssl_init (  ) 

Definition at line 53 of file ssl_init.cpp.

References WHACK().


Member Function Documentation

ssl_init::IMPLEMENT_CLASS_NAME ( "ssl_init"   ) 

byte_array ssl_init::random_bytes ( int  length  )  const

can be used to generate a random array of "length" bytes.

Definition at line 63 of file ssl_init.cpp.

References chaos::inclusive().

chaos & ssl_init::randomizer (  )  const

provides a random number generator for any encryption routines.

Definition at line 61 of file ssl_init.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Aug 27 04:34:47 2008 for HOOPLE Libraries by  doxygen 1.5.1