#include <CipherSpi.h>


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 AlgorithmParameters * | engineGetParameters ()=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 ¶ms, 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 |
| virtual beecrypt::crypto::CipherSpi::~CipherSpi | ( | ) | [inline, virtual] |
| 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] |
friend class Cipher [friend] |
1.5.8