#include <Mac.h>
Public Member Functions | |
virtual | ~Mac () |
Mac * | clone () const throw () |
const bytearray & | doFinal () throw (IllegalStateException) |
const bytearray & | doFinal (const bytearray &) throw (IllegalStateException) |
int | doFinal (byte *data, int offset, int length) throw (IllegalStateException, ShortBufferException) |
int | 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, int offset, int 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) |
beecrypt::crypto::Mac::Mac | ( | MacSpi * | macSpi, | |
const Provider * | provider, | |||
const String & | algorithm | |||
) | [protected] |
virtual beecrypt::crypto::Mac::~Mac | ( | ) | [virtual] |
Mac* beecrypt::crypto::Mac::clone | ( | ) | const throw () [virtual] |
Reimplemented from beecrypt::lang::Object.
int beecrypt::crypto::Mac::doFinal | ( | byte * | data, | |
int | offset, | |||
int | length | |||
) | throw (IllegalStateException, ShortBufferException) |
const bytearray& beecrypt::crypto::Mac::doFinal | ( | const bytearray & | ) | throw (IllegalStateException) |
const bytearray& beecrypt::crypto::Mac::doFinal | ( | ) | throw (IllegalStateException) |
const String& beecrypt::crypto::Mac::getAlgorithm | ( | ) | const throw () |
static Mac* beecrypt::crypto::Mac::getInstance | ( | const String & | , | |
const Provider & | ||||
) | throw (NoSuchAlgorithmException) [static] |
static Mac* beecrypt::crypto::Mac::getInstance | ( | const String & | , | |
const String & | ||||
) | throw (NoSuchAlgorithmException, NoSuchProviderException) [static] |
static Mac* beecrypt::crypto::Mac::getInstance | ( | const String & | ) | throw (NoSuchAlgorithmException) [static] |
int beecrypt::crypto::Mac::getMacLength | ( | ) |
const Provider& beecrypt::crypto::Mac::getProvider | ( | ) | const throw () |
void beecrypt::crypto::Mac::init | ( | const Key & | , | |
const AlgorithmParameterSpec * | ||||
) | throw (InvalidKeyException, InvalidAlgorithmParameterException) |
void beecrypt::crypto::Mac::init | ( | const Key & | ) | throw (InvalidKeyException) |
void beecrypt::crypto::Mac::reset | ( | ) |
void beecrypt::crypto::Mac::update | ( | const bytearray & | ) | throw (IllegalStateException) |
void beecrypt::crypto::Mac::update | ( | const byte * | data, | |
int | offset, | |||
int | length | |||
) | throw (IllegalStateException) |
void beecrypt::crypto::Mac::update | ( | byte | ) | throw (IllegalStateException) |