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


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.

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)


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

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