beecrypt::security::MessageDigest Class Reference
[C++ classes mimicking]

#include <MessageDigest.h>

Inheritance diagram for beecrypt::security::MessageDigest:

Inheritance graph
Collaboration diagram for beecrypt::security::MessageDigest:

Collaboration graph

List of all members.

Public Member Functions

virtual ~MessageDigest ()
virtual MessageDigestclone () 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 StringgetAlgorithm () const throw ()
const ProvidergetProvider () const throw ()

Static Public Member Functions

static MessageDigestgetInstance (const String &algorithm) throw (NoSuchAlgorithmException)
static MessageDigestgetInstance (const String &algorithm, const String &provider) throw (NoSuchAlgorithmException, NoSuchProviderException)
static MessageDigestgetInstance (const String &algorithm, const Provider &provider) throw (NoSuchAlgorithmException)

Protected Member Functions

 MessageDigest (MessageDigestSpi *spi, const Provider *provider, const String &algorithm)

Constructor & Destructor Documentation

beecrypt::security::MessageDigest::MessageDigest ( MessageDigestSpi spi,
const Provider provider,
const String algorithm 
) [protected]

virtual beecrypt::security::MessageDigest::~MessageDigest (  )  [virtual]

Member Function Documentation

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  ) 

The documentation for this class was generated from the following file:

Generated on Fri Jun 19 13:39:43 2009 for BeeCrypt C++ by  doxygen 1.5.8