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

#include <CipherSpi.h>

Inheritance diagram for beecrypt::crypto::CipherSpi:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~CipherSpi ()

Protected Member Functions

virtual bytearray * engineDoFinal (const byte *input, int inputOffset, int inputLength)=0 throw (IllegalBlockSizeException, BadPaddingException)
virtual int engineDoFinal (const byte *input, int inputOffset, int inputLength, bytearray &output, int outputOffset)=0 throw (ShortBufferException, IllegalBlockSizeException, BadPaddingException)
virtual int engineGetBlockSize () const =0 throw ()
virtual bytearray * engineGetIV ()=0
virtual int engineGetKeySize (const Key &key) const throw (InvalidKeyException)
virtual int engineGetOutputSize (int inputLength)=0 throw ()
virtual AlgorithmParametersengineGetParameters ()=0 throw ()
virtual void engineInit (int opmode, const Key &key, SecureRandom *random)=0 throw (InvalidKeyException)
virtual void engineInit (int opmode, const Key &key, AlgorithmParameters *params, SecureRandom *random)=0 throw (InvalidKeyException, InvalidAlgorithmParameterException)
virtual void engineInit (int opmode, const Key &key, const AlgorithmParameterSpec &params, SecureRandom *random)=0 throw (InvalidKeyException, InvalidAlgorithmParameterException)
virtual void engineSetMode (const String &mode)=0 throw (NoSuchAlgorithmException)
virtual void engineSetPadding (const String &padding)=0 throw (NoSuchPaddingException)
virtual bytearray * engineUpdate (const byte *input, int inputOffset, int inputLength)=0
virtual int engineUpdate (const byte *input, int inputOffset, int inputLength, bytearray &output, int outputOffset)=0 throw (ShortBufferException)

Friends

class Cipher


Constructor & Destructor Documentation

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


Member Function Documentation

virtual int beecrypt::crypto::CipherSpi::engineDoFinal ( const byte *  input,
int  inputOffset,
int  inputLength,
bytearray &  output,
int  outputOffset 
) throw (ShortBufferException, IllegalBlockSizeException, BadPaddingException) [protected, pure virtual]

virtual bytearray* beecrypt::crypto::CipherSpi::engineDoFinal ( const byte *  input,
int  inputOffset,
int  inputLength 
) throw (IllegalBlockSizeException, BadPaddingException) [protected, pure virtual]

virtual int beecrypt::crypto::CipherSpi::engineGetBlockSize (  )  const throw () [protected, pure virtual]

virtual bytearray* beecrypt::crypto::CipherSpi::engineGetIV (  )  [protected, pure virtual]

virtual int beecrypt::crypto::CipherSpi::engineGetKeySize ( const Key key  )  const throw (InvalidKeyException) [protected, virtual]

virtual int beecrypt::crypto::CipherSpi::engineGetOutputSize ( int  inputLength  )  throw () [protected, pure virtual]

virtual AlgorithmParameters* beecrypt::crypto::CipherSpi::engineGetParameters (  )  throw () [protected, pure virtual]

virtual void beecrypt::crypto::CipherSpi::engineInit ( int  opmode,
const Key key,
const AlgorithmParameterSpec params,
SecureRandom random 
) throw (InvalidKeyException, InvalidAlgorithmParameterException) [protected, pure virtual]

virtual void beecrypt::crypto::CipherSpi::engineInit ( int  opmode,
const Key key,
AlgorithmParameters params,
SecureRandom random 
) throw (InvalidKeyException, InvalidAlgorithmParameterException) [protected, pure virtual]

virtual void beecrypt::crypto::CipherSpi::engineInit ( int  opmode,
const Key key,
SecureRandom random 
) throw (InvalidKeyException) [protected, pure virtual]

virtual void beecrypt::crypto::CipherSpi::engineSetMode ( const String mode  )  throw (NoSuchAlgorithmException) [protected, pure virtual]

virtual void beecrypt::crypto::CipherSpi::engineSetPadding ( const String padding  )  throw (NoSuchPaddingException) [protected, pure virtual]

virtual int beecrypt::crypto::CipherSpi::engineUpdate ( const byte *  input,
int  inputOffset,
int  inputLength,
bytearray &  output,
int  outputOffset 
) throw (ShortBufferException) [protected, pure virtual]

virtual bytearray* beecrypt::crypto::CipherSpi::engineUpdate ( const byte *  input,
int  inputOffset,
int  inputLength 
) [protected, pure virtual]


Friends And Related Function Documentation

friend class Cipher [friend]


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

Generated on Fri Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8