#include <Cipher.h>


Public Member Functions | |
| virtual | ~Cipher () |
| bytearray * | doFinal () throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| bytearray * | doFinal (const bytearray &input) throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| int | doFinal (bytearray &output, int outputOffset) throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| bytearray * | doFinal (const byte *input, int inputOffset, int inputLength) throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| int | doFinal (const byte *input, int inputOffset, int inputLength, bytearray &output, int outputOffset=0) throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| int | getBlockSize () const throw () |
| int | getKeySize () const throw () |
| int | getOutputSize (int inputLength) throw () |
| AlgorithmParameters * | getParameters () throw () |
| bytearray * | getIV () |
| void | init (int opmode, const Certificate &certificate, SecureRandom *random=0) throw (InvalidKeyException) |
| void | init (int opmode, const Key &key, SecureRandom *random=0) throw (InvalidKeyException) |
| void | init (int opmode, const Key &key, AlgorithmParameters *params, SecureRandom *random=0) throw (InvalidKeyException, InvalidAlgorithmParameterException) |
| void | init (int opmode, const Key &key, const AlgorithmParameterSpec ¶ms, SecureRandom *random=0) throw (InvalidKeyException, InvalidAlgorithmParameterException) |
| bytearray * | update (const bytearray &input) throw (IllegalStateException) |
| bytearray * | update (const byte *input, int inputOffset, int inputLength) throw (IllegalStateException) |
| int | update (const byte *input, int inputOffset, int inputLength, bytearray &output, int outputOffset=0) throw (IllegalStateException, ShortBufferException) |
| const String & | getAlgorithm () const throw () |
| const Provider & | getProvider () const throw () |
Static Public Member Functions | |
| static Cipher * | getInstance (const String &transformation) throw (NoSuchAlgorithmException, NoSuchPaddingException) |
| static Cipher * | getInstance (const String &transformation, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException, NoSuchPaddingException) |
| static Cipher * | getInstance (const String &transformation, const Provider &provider) throw (NoSuchAlgorithmException, NoSuchPaddingException) |
| static int | getMaxAllowedKeyLength (const String &transformation) throw (NoSuchAlgorithmException) |
| static AlgorithmParameterSpec * | getMaxAllowedParameterSpec (const String &transformation) throw (NoSuchAlgorithmException) |
Static Public Attributes | |
| static const int | ENCRYPT_MODE |
| static const int | DECRYPT_MODE |
| static const int | WRAP_MODE |
| static const int | UNWRAP_MODE |
Protected Member Functions | |
| Cipher (CipherSpi *cipherSpi, const Provider *provider, const String &transformation) | |
| beecrypt::crypto::Cipher::Cipher | ( | CipherSpi * | cipherSpi, | |
| const Provider * | provider, | |||
| const String & | transformation | |||
| ) | [protected] |
| virtual beecrypt::crypto::Cipher::~Cipher | ( | ) | [virtual] |
| int beecrypt::crypto::Cipher::doFinal | ( | const byte * | input, | |
| int | inputOffset, | |||
| int | inputLength, | |||
| bytearray & | output, | |||
| int | outputOffset = 0 | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | const byte * | input, | |
| int | inputOffset, | |||
| int | inputLength | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| int beecrypt::crypto::Cipher::doFinal | ( | bytearray & | output, | |
| int | outputOffset | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | const bytearray & | input | ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| const String& beecrypt::crypto::Cipher::getAlgorithm | ( | ) | const throw () |
| int beecrypt::crypto::Cipher::getBlockSize | ( | ) | const throw () |
| static Cipher* beecrypt::crypto::Cipher::getInstance | ( | const String & | transformation, | |
| const Provider & | provider | |||
| ) | throw (NoSuchAlgorithmException, NoSuchPaddingException) [static] |
| static Cipher* beecrypt::crypto::Cipher::getInstance | ( | const String & | transformation, | |
| const String & | provider | |||
| ) | throw (NoSuchAlgorithmException, NoSuchProviderException, NoSuchPaddingException) [static] |
| static Cipher* beecrypt::crypto::Cipher::getInstance | ( | const String & | transformation | ) | throw (NoSuchAlgorithmException, NoSuchPaddingException) [static] |
| bytearray* beecrypt::crypto::Cipher::getIV | ( | ) |
| int beecrypt::crypto::Cipher::getKeySize | ( | ) | const throw () |
| static int beecrypt::crypto::Cipher::getMaxAllowedKeyLength | ( | const String & | transformation | ) | throw (NoSuchAlgorithmException) [static] |
| static AlgorithmParameterSpec* beecrypt::crypto::Cipher::getMaxAllowedParameterSpec | ( | const String & | transformation | ) | throw (NoSuchAlgorithmException) [static] |
| int beecrypt::crypto::Cipher::getOutputSize | ( | int | inputLength | ) | throw () |
| AlgorithmParameters* beecrypt::crypto::Cipher::getParameters | ( | ) | throw () |
| const Provider& beecrypt::crypto::Cipher::getProvider | ( | ) | const throw () |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Key & | key, | |||
| const AlgorithmParameterSpec & | params, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException, InvalidAlgorithmParameterException) |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Key & | key, | |||
| AlgorithmParameters * | params, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException, InvalidAlgorithmParameterException) |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Key & | key, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException) |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Certificate & | certificate, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException) |
| int beecrypt::crypto::Cipher::update | ( | const byte * | input, | |
| int | inputOffset, | |||
| int | inputLength, | |||
| bytearray & | output, | |||
| int | outputOffset = 0 | |||
| ) | throw (IllegalStateException, ShortBufferException) |
| bytearray* beecrypt::crypto::Cipher::update | ( | const byte * | input, | |
| int | inputOffset, | |||
| int | inputLength | |||
| ) | throw (IllegalStateException) |
| bytearray* beecrypt::crypto::Cipher::update | ( | const bytearray & | input | ) | throw (IllegalStateException) |
const int beecrypt::crypto::Cipher::DECRYPT_MODE [static] |
const int beecrypt::crypto::Cipher::ENCRYPT_MODE [static] |
const int beecrypt::crypto::Cipher::UNWRAP_MODE [static] |
const int beecrypt::crypto::Cipher::WRAP_MODE [static] |
1.5.8