Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 StringgetAlgorithm () 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)

Detailed Description


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

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

Reimplemented from beecrypt::lang::Object.

size_t beecrypt::crypto::Mac::doFinal byte data,
size_t  offset,
size_t  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]
 

size_t 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,
size_t  offset,
size_t  length
throw (IllegalStateException)
 

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


The documentation for this class was generated from the following file:
Generated on Mon Jun 20 10:10:13 2005 for BeeCrypt by  doxygen 1.4.0