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 *, size_t)
void nextBytes (byte *, size_t)
void setSeed (const byte *, size_t)
const String & getType () 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 *, size_t)

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 ,
size_t   
)

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 ,
size_t   
) [static]

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

void beecrypt::security::SecureRandom::nextBytes ( byte ,
size_t   
)

void beecrypt::security::SecureRandom::setSeed ( const byte ,
size_t   
)


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

Generated on Fri Jul 24 18:11:33 2009 for BeeCrypt by  doxygen 1.5.9