#include <MessageDigest.h>
Public Member Functions | |
virtual | ~MessageDigest () |
virtual MessageDigest * | clone () const throw (CloneNotSupportedException) |
const bytearray & | digest () |
const bytearray & | digest (const bytearray &b) |
int | digest (byte *data, int offset, int length) throw (ShortBufferException) |
int | getDigestLength () |
void | reset () |
void | update (byte b) |
void | update (const byte *data, int offset, int length) |
void | update (const bytearray &b) |
const String & | getAlgorithm () const throw () |
const Provider & | getProvider () const throw () |
Static Public Member Functions | |
static MessageDigest * | getInstance (const String &algorithm) throw (NoSuchAlgorithmException) |
static MessageDigest * | getInstance (const String &algorithm, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException) |
static MessageDigest * | getInstance (const String &algorithm, const Provider &provider) throw (NoSuchAlgorithmException) |
Protected Member Functions | |
MessageDigest (MessageDigestSpi *spi, const Provider *provider, const String &algorithm) |
beecrypt::security::MessageDigest::MessageDigest | ( | MessageDigestSpi * | spi, | |
const Provider * | provider, | |||
const String & | algorithm | |||
) | [protected] |
virtual beecrypt::security::MessageDigest::~MessageDigest | ( | ) | [virtual] |
virtual MessageDigest* beecrypt::security::MessageDigest::clone | ( | ) | const throw (CloneNotSupportedException) [virtual] |
Reimplemented from beecrypt::lang::Object.
int beecrypt::security::MessageDigest::digest | ( | byte * | data, | |
int | offset, | |||
int | length | |||
) | throw (ShortBufferException) |
const bytearray& beecrypt::security::MessageDigest::digest | ( | const bytearray & | b | ) |
const bytearray& beecrypt::security::MessageDigest::digest | ( | ) |
const String& beecrypt::security::MessageDigest::getAlgorithm | ( | ) | const throw () |
int beecrypt::security::MessageDigest::getDigestLength | ( | ) |
static MessageDigest* beecrypt::security::MessageDigest::getInstance | ( | const String & | algorithm, | |
const Provider & | provider | |||
) | throw (NoSuchAlgorithmException) [static] |
static MessageDigest* beecrypt::security::MessageDigest::getInstance | ( | const String & | algorithm, | |
const String & | provider | |||
) | throw (NoSuchAlgorithmException, NoSuchProviderException) [static] |
static MessageDigest* beecrypt::security::MessageDigest::getInstance | ( | const String & | algorithm | ) | throw (NoSuchAlgorithmException) [static] |
const Provider& beecrypt::security::MessageDigest::getProvider | ( | ) | const throw () |
void beecrypt::security::MessageDigest::reset | ( | ) |
void beecrypt::security::MessageDigest::update | ( | const bytearray & | b | ) |
void beecrypt::security::MessageDigest::update | ( | const byte * | data, | |
int | offset, | |||
int | length | |||
) |
void beecrypt::security::MessageDigest::update | ( | byte | b | ) |