#include <KeyAgreement.h>


Public Member Functions | |
| virtual | ~KeyAgreement () |
| void | init (const Key &, SecureRandom *=0) throw (InvalidKeyException) |
| void | init (const Key &, const AlgorithmParameterSpec &, SecureRandom *=0) throw (InvalidKeyException) |
| Key * | doPhase (const Key &, bool) throw (InvalidKeyException, IllegalStateException) |
| bytearray * | generateSecret () throw (IllegalStateException) |
| size_t | generateSecret (bytearray &, size_t) throw (IllegalStateException, ShortBufferException) |
| SecretKey * | generateSecret (const String &) throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException) |
Static Public Member Functions | |
| static KeyAgreement * | getInstance (const String &) throw (NoSuchAlgorithmException) |
| static KeyAgreement * | getInstance (const String &, const String &) throw (NoSuchAlgorithmException, NoSuchProviderException) |
| static KeyAgreement * | getInstance (const String &, const Provider &) throw (NoSuchAlgorithmException) |
Protected Member Functions | |
| KeyAgreement (KeyAgreementSpi *spi, const Provider *provider, const String &algorithm) | |
| beecrypt::crypto::KeyAgreement::KeyAgreement | ( | KeyAgreementSpi * | spi, | |
| const Provider * | provider, | |||
| const String & | algorithm | |||
| ) | [protected] |
| virtual beecrypt::crypto::KeyAgreement::~KeyAgreement | ( | ) | [virtual] |
| static KeyAgreement* beecrypt::crypto::KeyAgreement::getInstance | ( | const String & | ) | throw (NoSuchAlgorithmException) [static] |
| static KeyAgreement* beecrypt::crypto::KeyAgreement::getInstance | ( | const String & | , | |
| const String & | ||||
| ) | throw (NoSuchAlgorithmException, NoSuchProviderException) [static] |
| static KeyAgreement* beecrypt::crypto::KeyAgreement::getInstance | ( | const String & | , | |
| const Provider & | ||||
| ) | throw (NoSuchAlgorithmException) [static] |
| void beecrypt::crypto::KeyAgreement::init | ( | const Key & | , | |
| SecureRandom * | = 0 | |||
| ) | throw (InvalidKeyException) |
| void beecrypt::crypto::KeyAgreement::init | ( | const Key & | , | |
| const AlgorithmParameterSpec & | , | |||
| SecureRandom * | = 0 | |||
| ) | throw (InvalidKeyException) |
| Key* beecrypt::crypto::KeyAgreement::doPhase | ( | const Key & | , | |
| bool | ||||
| ) | throw (InvalidKeyException, IllegalStateException) |
| bytearray* beecrypt::crypto::KeyAgreement::generateSecret | ( | ) | throw (IllegalStateException) |
| size_t beecrypt::crypto::KeyAgreement::generateSecret | ( | bytearray & | , | |
| size_t | ||||
| ) | throw (IllegalStateException, ShortBufferException) |
| SecretKey* beecrypt::crypto::KeyAgreement::generateSecret | ( | const String & | ) | throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException) |
1.5.4