Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

#include <KeyAgreement.h>

Inheritance diagram for beecrypt::crypto::KeyAgreement:

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

Collaboration graph
[legend]
List of all members.

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)
bytearraygenerateSecret () throw (IllegalStateException)
size_t generateSecret (bytearray &, size_t) throw (IllegalStateException, ShortBufferException)
SecretKeygenerateSecret (const String &) throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException)

Static Public Member Functions

static KeyAgreementgetInstance (const String &) throw (NoSuchAlgorithmException)
static KeyAgreementgetInstance (const String &, const String &) throw (NoSuchAlgorithmException, NoSuchProviderException)
static KeyAgreementgetInstance (const String &, const Provider &) throw (NoSuchAlgorithmException)

Protected Member Functions

 KeyAgreement (KeyAgreementSpi *spi, const Provider *provider, const String &algorithm)

Detailed Description


Constructor & Destructor Documentation

beecrypt::crypto::KeyAgreement::KeyAgreement KeyAgreementSpi spi,
const Provider *  provider,
const String algorithm
[protected]
 

virtual beecrypt::crypto::KeyAgreement::~KeyAgreement  )  [virtual]
 


Member Function Documentation

Key* beecrypt::crypto::KeyAgreement::doPhase const Key &  ,
bool 
throw (InvalidKeyException, IllegalStateException)
 

SecretKey* beecrypt::crypto::KeyAgreement::generateSecret const String  )  throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException)
 

size_t beecrypt::crypto::KeyAgreement::generateSecret bytearray ,
size_t 
throw (IllegalStateException, ShortBufferException)
 

bytearray* beecrypt::crypto::KeyAgreement::generateSecret  )  throw (IllegalStateException)
 

static KeyAgreement* beecrypt::crypto::KeyAgreement::getInstance const String ,
const Provider & 
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  )  throw (NoSuchAlgorithmException) [static]
 

void beecrypt::crypto::KeyAgreement::init const Key &  ,
const AlgorithmParameterSpec &  ,
SecureRandom *  = 0
throw (InvalidKeyException)
 

void beecrypt::crypto::KeyAgreement::init const Key &  ,
SecureRandom *  = 0
throw (InvalidKeyException)
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 20 08:15:59 2005 for BeeCrypt by  doxygen 1.4.0