2005/5/9

     
 

class MessageDigest

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::security::MessageDigest Class Reference

#include <MessageDigest.h>

Inheritance diagram for acdk::security::MessageDigest:

acdk::security::MessageDigestSpi acdk::lang::Cloneable acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::security::SHAMessageDigest List of all members.

Public Member Functions

virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)
virtual void engineReset ()=0
RbyteArray digest ()
int digest (IN(RbyteArray) buf, int offset, int len)
int getDigestLength ()
void reset ()
void update (byte input)
void update (IN(RbyteArray) buf, int offset=0, int len=-1)
RString getAlgorithm ()
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default


Static Public Member Functions

RMessageDigest getInstance (IN(RString) algorithm)
bool isEqual (IN(RbyteArray) digesta, IN(RbyteArray) digestb)

Protected Member Functions

 MessageDigest (IN(RString) algorithm)

Private Attributes

RString _algorithm

Constructor & Destructor Documentation

acdk::security::MessageDigest::MessageDigest IN(RString algorithm  )  [inline, protected]
 


Member Function Documentation

virtual acdk::lang::Object acdk::security::MessageDigest::clone sys::Allocator *  alc  )  [virtual]
 

Reimplemented from acdk::lang::Cloneable.

Reimplemented in acdk::security::SHAMessageDigest.

virtual acdk::lang::Object acdk::security::MessageDigest::clone  )  [inline, virtual]
 

Implements acdk::lang::Cloneable.

Reimplemented in acdk::security::SHAMessageDigest.

int acdk::security::MessageDigest::digest IN(RbyteArray buf,
int  offset,
int  len
[inline]
 

RbyteArray acdk::security::MessageDigest::digest  )  [inline]
 

virtual void acdk::security::MessageDigest::engineReset  )  [pure virtual]
 

Implements acdk::security::MessageDigestSpi.

Implemented in acdk::security::SHAMessageDigest.

RString acdk::security::MessageDigest::getAlgorithm  )  [inline]
 

int acdk::security::MessageDigest::getDigestLength  )  [inline]
 

RMessageDigest acdk::security::MessageDigest::getInstance IN(RString algorithm  )  [static]
 

bool acdk::security::MessageDigest::isEqual IN(RbyteArray digesta,
IN(RbyteArray digestb
[static]
 

void acdk::security::MessageDigest::reset  )  [inline]
 

virtual RString acdk::security::MessageDigest::toString  )  [virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.

void acdk::security::MessageDigest::update IN(RbyteArray buf,
int  offset = 0,
int  len = -1
[inline]
 

void acdk::security::MessageDigest::update byte  input  )  [inline]
 


Member Data Documentation

RString acdk::security::MessageDigest::_algorithm [private]