beecrypt::crypto::SecretKeyFactory Class Reference
[C++ classes mimicking javax.crypto]

#include <SecretKeyFactory.h>

Inheritance diagram for beecrypt::crypto::SecretKeyFactory:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::crypto::SecretKeyFactory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~SecretKeyFactory ()
SecretKeygenerateSecret (const KeySpec &) throw (InvalidKeySpecException)
KeySpecgetKeySpec (const SecretKey &key, const type_info &) throw (InvalidKeySpecException)
SecretKeytranslateKey (const SecretKey &) throw (InvalidKeyException)
const StringgetAlgorithm () const throw ()
const ProvidergetProvider () const throw ()

Static Public Member Functions

static SecretKeyFactorygetInstance (const String &algorithm) throw (NoSuchAlgorithmException)
static SecretKeyFactorygetInstance (const String &algorithm, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException)
static SecretKeyFactorygetInstance (const String &algorithm, const Provider &provider) throw (NoSuchAlgorithmException)

Protected Member Functions

 SecretKeyFactory (SecretKeyFactorySpi *spi, const Provider *provider, const String &algorithm)


Constructor & Destructor Documentation

beecrypt::crypto::SecretKeyFactory::SecretKeyFactory ( SecretKeyFactorySpi spi,
const Provider provider,
const String algorithm 
) [protected]

virtual beecrypt::crypto::SecretKeyFactory::~SecretKeyFactory (  )  [virtual]


Member Function Documentation

SecretKey* beecrypt::crypto::SecretKeyFactory::generateSecret ( const KeySpec  )  throw (InvalidKeySpecException)

const String& beecrypt::crypto::SecretKeyFactory::getAlgorithm (  )  const throw ()

static SecretKeyFactory* beecrypt::crypto::SecretKeyFactory::getInstance ( const String algorithm,
const Provider provider 
) throw (NoSuchAlgorithmException) [static]

static SecretKeyFactory* beecrypt::crypto::SecretKeyFactory::getInstance ( const String algorithm,
const String provider 
) throw (NoSuchAlgorithmException, NoSuchProviderException) [static]

static SecretKeyFactory* beecrypt::crypto::SecretKeyFactory::getInstance ( const String algorithm  )  throw (NoSuchAlgorithmException) [static]

KeySpec* beecrypt::crypto::SecretKeyFactory::getKeySpec ( const SecretKey key,
const type_info &   
) throw (InvalidKeySpecException)

const Provider& beecrypt::crypto::SecretKeyFactory::getProvider (  )  const throw ()

SecretKey* beecrypt::crypto::SecretKeyFactory::translateKey ( const SecretKey  )  throw (InvalidKeyException)


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

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