beecrypt::security::SecureRandom Class Reference
[C++ classes mimicking java.security]

#include <SecureRandom.h>

Inheritance diagram for beecrypt::security::SecureRandom:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::security::SecureRandom:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SecureRandom ()
virtual ~SecureRandom ()
void generateSeed (byte *, int)
void nextBytes (byte *, int)
void setSeed (const byte *, int)
const StringgetType () const throw ()
const ProvidergetProvider () const throw ()

Static Public Member Functions

static SecureRandomgetInstance (const String &type) throw (NoSuchAlgorithmException)
static SecureRandomgetInstance (const String &type, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException)
static SecureRandomgetInstance (const String &type, const Provider &provider) throw (NoSuchAlgorithmException)
static void getSeed (byte *, int)

Protected Member Functions

 SecureRandom (SecureRandomSpi *spi, const Provider *provider, const String &type)


Constructor & Destructor Documentation

beecrypt::security::SecureRandom::SecureRandom ( SecureRandomSpi spi,
const Provider provider,
const String type 
) [protected]

beecrypt::security::SecureRandom::SecureRandom (  ) 

virtual beecrypt::security::SecureRandom::~SecureRandom (  )  [virtual]


Member Function Documentation

void beecrypt::security::SecureRandom::generateSeed ( byte *  ,
int   
)

static SecureRandom* beecrypt::security::SecureRandom::getInstance ( const String type,
const Provider provider 
) throw (NoSuchAlgorithmException) [static]

static SecureRandom* beecrypt::security::SecureRandom::getInstance ( const String type,
const String provider 
) throw (NoSuchAlgorithmException, NoSuchProviderException) [static]

static SecureRandom* beecrypt::security::SecureRandom::getInstance ( const String type  )  throw (NoSuchAlgorithmException) [static]

const Provider& beecrypt::security::SecureRandom::getProvider (  )  const throw ()

static void beecrypt::security::SecureRandom::getSeed ( byte *  ,
int   
) [static]

const String& beecrypt::security::SecureRandom::getType (  )  const throw ()

void beecrypt::security::SecureRandom::nextBytes ( byte *  ,
int   
)

void beecrypt::security::SecureRandom::setSeed ( const byte *  ,
int   
)


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

Generated on Fri Jun 19 13:39:43 2009 for BeeCrypt C++ by  doxygen 1.5.8