#include <Cipher.h>


Public Member Functions | |
| virtual | ~Cipher () |
| bytearray * | doFinal () throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| bytearray * | doFinal (const bytearray &input) throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| size_t | doFinal (bytearray &output, size_t outputOffset) throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| bytearray * | doFinal (const byte *input, size_t inputOffset, size_t inputLength) throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| size_t | doFinal (const byte *input, size_t inputOffset, size_t inputLength, bytearray &output, size_t outputOffset=0) throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| size_t | getBlockSize () const throw () |
| size_t | getKeySize () const throw () |
| size_t | getOutputSize (size_t 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, size_t inputOffset, size_t inputLength) throw (IllegalStateException) |
| size_t | update (const byte *input, size_t inputOffset, size_t inputLength, bytearray &output, size_t 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 size_t | 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] |
| static Cipher* beecrypt::crypto::Cipher::getInstance | ( | const String & | transformation | ) | 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, | |
| const Provider & | provider | |||
| ) | throw (NoSuchAlgorithmException, NoSuchPaddingException) [static] |
| static size_t beecrypt::crypto::Cipher::getMaxAllowedKeyLength | ( | const String & | transformation | ) | throw (NoSuchAlgorithmException) [static] |
| static AlgorithmParameterSpec* beecrypt::crypto::Cipher::getMaxAllowedParameterSpec | ( | const String & | transformation | ) | throw (NoSuchAlgorithmException) [static] |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | const bytearray & | input | ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| size_t beecrypt::crypto::Cipher::doFinal | ( | bytearray & | output, | |
| size_t | outputOffset | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| bytearray* beecrypt::crypto::Cipher::doFinal | ( | const byte * | input, | |
| size_t | inputOffset, | |||
| size_t | inputLength | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException) |
| size_t beecrypt::crypto::Cipher::doFinal | ( | const byte * | input, | |
| size_t | inputOffset, | |||
| size_t | inputLength, | |||
| bytearray & | output, | |||
| size_t | outputOffset = 0 | |||
| ) | throw (IllegalStateException, IllegalBlockSizeException, ShortBufferException, BadPaddingException) |
| size_t beecrypt::crypto::Cipher::getBlockSize | ( | ) | const throw () |
| size_t beecrypt::crypto::Cipher::getKeySize | ( | ) | const throw () |
| size_t beecrypt::crypto::Cipher::getOutputSize | ( | size_t | inputLength | ) | throw () |
| AlgorithmParameters* beecrypt::crypto::Cipher::getParameters | ( | ) | throw () |
| bytearray* beecrypt::crypto::Cipher::getIV | ( | ) |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Certificate & | certificate, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException) |
| void beecrypt::crypto::Cipher::init | ( | int | opmode, | |
| const Key & | key, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException) |
| 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, | |||
| const AlgorithmParameterSpec & | params, | |||
| SecureRandom * | random = 0 | |||
| ) | throw (InvalidKeyException, InvalidAlgorithmParameterException) |
| bytearray* beecrypt::crypto::Cipher::update | ( | const bytearray & | input | ) | throw (IllegalStateException) |
| bytearray* beecrypt::crypto::Cipher::update | ( | const byte * | input, | |
| size_t | inputOffset, | |||
| size_t | inputLength | |||
| ) | throw (IllegalStateException) |
| size_t beecrypt::crypto::Cipher::update | ( | const byte * | input, | |
| size_t | inputOffset, | |||
| size_t | inputLength, | |||
| bytearray & | output, | |||
| size_t | outputOffset = 0 | |||
| ) | throw (IllegalStateException, ShortBufferException) |
| const String& beecrypt::crypto::Cipher::getAlgorithm | ( | ) | const throw () |
| const Provider& beecrypt::crypto::Cipher::getProvider | ( | ) | const throw () |
const int beecrypt::crypto::Cipher::ENCRYPT_MODE [static] |
const int beecrypt::crypto::Cipher::DECRYPT_MODE [static] |
const int beecrypt::crypto::Cipher::WRAP_MODE [static] |
const int beecrypt::crypto::Cipher::UNWRAP_MODE [static] |
1.5.5