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

#include <KeyFactory.h>

Inheritance diagram for beecrypt::security::KeyFactory:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~KeyFactory ()
PrivateKeygeneratePrivate (const KeySpec &spec) throw (InvalidKeySpecException)
PublicKeygeneratePublic (const KeySpec &spec) throw (InvalidKeySpecException)
KeySpecgetKeySpec (const Key &key, const type_info &info) throw (InvalidKeySpecException)
KeytranslateKey (const Key &key) throw (InvalidKeyException)
const StringgetAlgorithm () const throw ()
const ProvidergetProvider () const throw ()

Static Public Member Functions

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

Protected Member Functions

 KeyFactory (KeyFactorySpi *spi, const Provider *provider, const String &algorithm)


Constructor & Destructor Documentation

beecrypt::security::KeyFactory::KeyFactory ( KeyFactorySpi spi,
const Provider provider,
const String algorithm 
) [protected]

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


Member Function Documentation

PrivateKey* beecrypt::security::KeyFactory::generatePrivate ( const KeySpec spec  )  throw (InvalidKeySpecException)

PublicKey* beecrypt::security::KeyFactory::generatePublic ( const KeySpec spec  )  throw (InvalidKeySpecException)

const String& beecrypt::security::KeyFactory::getAlgorithm (  )  const throw ()

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

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

static KeyFactory* beecrypt::security::KeyFactory::getInstance ( const String algorithm  )  throw (NoSuchAlgorithmException) [static]

KeySpec* beecrypt::security::KeyFactory::getKeySpec ( const Key key,
const type_info &  info 
) throw (InvalidKeySpecException)

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

Key* beecrypt::security::KeyFactory::translateKey ( const Key key  )  throw (InvalidKeyException)


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