beecrypt::crypto::Mac Class Reference
[C++ classes mimicking javax.crypto]

#include <Mac.h>

Inheritance diagram for beecrypt::crypto::Mac:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::crypto::Mac:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~Mac ()
Macclone () const throw ()
const bytearraydoFinal () throw (IllegalStateException)
const bytearraydoFinal (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 ProvidergetProvider () const throw ()

Static Public Member Functions

static MacgetInstance (const String &) throw (NoSuchAlgorithmException)
static MacgetInstance (const String &, const String &) throw (NoSuchAlgorithmException, NoSuchProviderException)
static MacgetInstance (const String &, const Provider &) throw (NoSuchAlgorithmException)

Protected Member Functions

 Mac (MacSpi *macSpi, const Provider *provider, const String &algorithm)

Constructor & Destructor Documentation

beecrypt::crypto::Mac::Mac ( MacSpi macSpi,
const Provider provider,
const String &  algorithm 
) [protected]

virtual beecrypt::crypto::Mac::~Mac (  )  [virtual]


Member Function Documentation

static Mac* beecrypt::crypto::Mac::getInstance ( const String &   )  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 &  ,
const Provider  
) throw (NoSuchAlgorithmException) [static]

Mac* beecrypt::crypto::Mac::clone (  )  const throw () [virtual]

Reimplemented from beecrypt::lang::Object.

const bytearray& beecrypt::crypto::Mac::doFinal (  )  throw (IllegalStateException)

const bytearray& beecrypt::crypto::Mac::doFinal ( const bytearray  )  throw (IllegalStateException)

size_t beecrypt::crypto::Mac::doFinal ( byte data,
size_t  offset,
size_t  length 
) throw (IllegalStateException, ShortBufferException)

size_t beecrypt::crypto::Mac::getMacLength (  ) 

void beecrypt::crypto::Mac::init ( const Key &   )  throw (InvalidKeyException)

void beecrypt::crypto::Mac::init ( const Key &  ,
const AlgorithmParameterSpec *   
) throw (InvalidKeyException, InvalidAlgorithmParameterException)

void beecrypt::crypto::Mac::reset (  ) 

void beecrypt::crypto::Mac::update ( byte   )  throw (IllegalStateException)

void beecrypt::crypto::Mac::update ( const byte data,
size_t  offset,
size_t  length 
) throw (IllegalStateException)

void beecrypt::crypto::Mac::update ( const bytearray  )  throw (IllegalStateException)

const String& beecrypt::crypto::Mac::getAlgorithm (  )  const throw ()

const Provider& beecrypt::crypto::Mac::getProvider (  )  const throw ()


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 06:25:30 2007 for BeeCrypt by  doxygen 1.5.2