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 bytearrayengineDoFinal (const byte *input, size_t inputOffset, size_t inputLength)=0 throw (IllegalBlockSizeException, BadPaddingException)
virtual size_t engineDoFinal (const byte *input, size_t inputOffset, size_t inputLength, bytearray &output, size_t outputOffset)=0 throw (ShortBufferException, IllegalBlockSizeException, BadPaddingException)
virtual size_t engineGetBlockSize () const =0 throw ()
virtual bytearrayengineGetIV ()=0
virtual size_t engineGetKeySize (const Key &key) const throw (InvalidKeyException)
virtual size_t engineGetOutputSize (size_t 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 bytearrayengineUpdate (const byte *input, size_t inputOffset, size_t inputLength)=0
virtual size_t engineUpdate (const byte *input, size_t inputOffset, size_t inputLength, bytearray &output, size_t outputOffset)=0 throw (ShortBufferException)

Friends

class Cipher


Constructor & Destructor Documentation

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


Member Function Documentation

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

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

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

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

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

virtual size_t beecrypt::crypto::CipherSpi::engineGetOutputSize ( size_t  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,
SecureRandom random 
) throw (InvalidKeyException) [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,
const AlgorithmParameterSpec &  params,
SecureRandom random 
) throw (InvalidKeyException, InvalidAlgorithmParameterException) [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 bytearray* beecrypt::crypto::CipherSpi::engineUpdate ( const byte input,
size_t  inputOffset,
size_t  inputLength 
) [protected, pure virtual]

virtual size_t beecrypt::crypto::CipherSpi::engineUpdate ( const byte input,
size_t  inputOffset,
size_t  inputLength,
bytearray output,
size_t  outputOffset 
) throw (ShortBufferException) [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 Sat Jun 14 02:17:57 2008 for BeeCrypt by  doxygen 1.5.6