|
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) |