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

#include <KeyAgreementSpi.h>

Inheritance diagram for beecrypt::crypto::KeyAgreementSpi:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~KeyAgreementSpi ()

Protected Member Functions

virtual void engineInit (const Key &, SecureRandom *)=0 throw (InvalidKeyException)
virtual void engineInit (const Key &, const AlgorithmParameterSpec &, SecureRandom *)=0 throw (InvalidKeyException, InvalidAlgorithmParameterException)
virtual Key * engineDoPhase (const Key &, bool)=0
virtual bytearrayengineGenerateSecret ()=0 throw (IllegalStateException)
virtual size_t engineGenerateSecret (bytearray &, size_t)=0 throw (IllegalStateException, ShortBufferException)
virtual SecretKeyengineGenerateSecret (const String &)=0 throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException)

Friends

class KeyAgreement


Constructor & Destructor Documentation

virtual beecrypt::crypto::KeyAgreementSpi::~KeyAgreementSpi (  )  [inline, virtual]


Member Function Documentation

virtual void beecrypt::crypto::KeyAgreementSpi::engineInit ( const Key &  ,
SecureRandom  
) throw (InvalidKeyException) [protected, pure virtual]

virtual void beecrypt::crypto::KeyAgreementSpi::engineInit ( const Key &  ,
const AlgorithmParameterSpec ,
SecureRandom  
) throw (InvalidKeyException, InvalidAlgorithmParameterException) [protected, pure virtual]

virtual Key* beecrypt::crypto::KeyAgreementSpi::engineDoPhase ( const Key &  ,
bool   
) [protected, pure virtual]

virtual bytearray* beecrypt::crypto::KeyAgreementSpi::engineGenerateSecret (  )  throw (IllegalStateException) [protected, pure virtual]

virtual size_t beecrypt::crypto::KeyAgreementSpi::engineGenerateSecret ( bytearray ,
size_t   
) throw (IllegalStateException, ShortBufferException) [protected, pure virtual]

virtual SecretKey* beecrypt::crypto::KeyAgreementSpi::engineGenerateSecret ( const String &   )  throw (IllegalStateException, NoSuchAlgorithmException, InvalidKeyException) [protected, pure virtual]


Friends And Related Function Documentation

friend class KeyAgreement [friend]


The documentation for this class was generated from the following file:

Generated on Tue May 20 13:54:14 2008 for BeeCrypt by  doxygen 1.5.5