|
Public Member Functions |
virtual | ~Mac () |
Mac * | clone () const throw () |
const bytearray & | doFinal () throw (IllegalStateException) |
const bytearray & | doFinal (const bytearray &) throw (IllegalStateException) |
size_t | doFinal (byte *data, size_t offset, size_t length) throw (IllegalStateException, ShortBufferException) |
size_t | getMacLength () |
void | init (const Key &) throw (InvalidKeyException) |
void | init (const Key &, const AlgorithmParameterSpec *) throw (InvalidKeyException, InvalidAlgorithmParameterException) |
void | reset () |
void | update (byte) throw (IllegalStateException) |
void | update (const byte *data, size_t offset, size_t length) throw (IllegalStateException) |
void | update (const bytearray &) throw (IllegalStateException) |
const String & | getAlgorithm () const throw () |
const Provider & | getProvider () const throw () |
Static Public Member Functions |
static Mac * | getInstance (const String &) throw (NoSuchAlgorithmException) |
static Mac * | getInstance (const String &, const String &) throw (NoSuchAlgorithmException, NoSuchProviderException) |
static Mac * | getInstance (const String &, const Provider &) throw (NoSuchAlgorithmException) |
Protected Member Functions |
| Mac (MacSpi *macSpi, const Provider *provider, const String &algorithm) |