#include <SecretKeyFactory.h>
Public Member Functions | |
virtual | ~SecretKeyFactory () |
SecretKey * | generateSecret (const KeySpec &) throw (InvalidKeySpecException) |
KeySpec * | getKeySpec (const SecretKey &key, const type_info &) throw (InvalidKeySpecException) |
SecretKey * | translateKey (const SecretKey &) throw (InvalidKeyException) |
const String & | getAlgorithm () const throw () |
const Provider & | getProvider () const throw () |
Static Public Member Functions | |
static SecretKeyFactory * | getInstance (const String &algorithm) throw (NoSuchAlgorithmException) |
static SecretKeyFactory * | getInstance (const String &algorithm, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException) |
static SecretKeyFactory * | getInstance (const String &algorithm, const Provider &provider) throw (NoSuchAlgorithmException) |
Protected Member Functions | |
SecretKeyFactory (SecretKeyFactorySpi *spi, const Provider *provider, const String &algorithm) |
beecrypt::crypto::SecretKeyFactory::SecretKeyFactory | ( | SecretKeyFactorySpi * | spi, | |
const Provider * | provider, | |||
const String & | algorithm | |||
) | [protected] |
virtual beecrypt::crypto::SecretKeyFactory::~SecretKeyFactory | ( | ) | [virtual] |
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) |