beecrypt::security::DigestInputStream Class Reference
[C++ classes mimicking java.security]

#include <DigestInputStream.h>

Inheritance diagram for beecrypt::security::DigestInputStream:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::security::DigestInputStream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DigestInputStream (InputStream &in, MessageDigest &m)
virtual ~DigestInputStream ()
virtual int read () throw (IOException)
virtual int read (byte *data, int offset, int length) throw (IOException)
void on (bool on)
MessageDigestgetMessageDigest ()
void setMessageDigest (MessageDigest &m)

Protected Attributes

MessageDigestdigest


Constructor & Destructor Documentation

beecrypt::security::DigestInputStream::DigestInputStream ( InputStream in,
MessageDigest m 
)

virtual beecrypt::security::DigestInputStream::~DigestInputStream (  )  [inline, virtual]


Member Function Documentation

MessageDigest& beecrypt::security::DigestInputStream::getMessageDigest (  ) 

void beecrypt::security::DigestInputStream::on ( bool  on  ) 

virtual int beecrypt::security::DigestInputStream::read ( byte *  data,
int  offset,
int  length 
) throw (IOException) [virtual]

virtual int beecrypt::security::DigestInputStream::read (  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::FilterInputStream.

void beecrypt::security::DigestInputStream::setMessageDigest ( MessageDigest m  ) 


Member Data Documentation


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