#include <KeyFactory.h>
Inheritance diagram for beecrypt::security::KeyFactory:
Public Member Functions | |
virtual | ~KeyFactory () |
PrivateKey * | generatePrivate (const KeySpec &spec) throw (InvalidKeySpecException) |
PublicKey * | generatePublic (const KeySpec &spec) throw (InvalidKeySpecException) |
KeySpec * | getKeySpec (const Key &key, const type_info &info) throw (InvalidKeySpecException) |
Key * | translateKey (const Key &key) throw (InvalidKeyException) |
const String & | getAlgorithm () const throw () |
const Provider & | getProvider () const throw () |
Static Public Member Functions | |
static KeyFactory * | getInstance (const String &algorithm) throw (NoSuchAlgorithmException) |
static KeyFactory * | getInstance (const String &algorithm, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException) |
static KeyFactory * | getInstance (const String &algorithm, const Provider &provider) throw (NoSuchAlgorithmException) |
Protected Member Functions | |
KeyFactory (KeyFactorySpi *spi, const Provider *provider, const String &algorithm) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|