#include <DigestOutputStream.h>
Public Member Functions | |
DigestOutputStream (OutputStream &out, MessageDigest &m) | |
virtual | ~DigestOutputStream () |
virtual void | write (byte b) throw (IOException) |
virtual void | write (const byte *data, int offset, int length) throw (IOException) |
void | on (bool on) |
MessageDigest & | getMessageDigest () |
void | setMessageDigest (MessageDigest &m) |
Protected Attributes | |
MessageDigest & | digest |
beecrypt::security::DigestOutputStream::DigestOutputStream | ( | OutputStream & | out, | |
MessageDigest & | m | |||
) |
virtual beecrypt::security::DigestOutputStream::~DigestOutputStream | ( | ) | [inline, virtual] |
MessageDigest& beecrypt::security::DigestOutputStream::getMessageDigest | ( | ) |
void beecrypt::security::DigestOutputStream::on | ( | bool | on | ) |
void beecrypt::security::DigestOutputStream::setMessageDigest | ( | MessageDigest & | m | ) |
virtual void beecrypt::security::DigestOutputStream::write | ( | const byte * | data, | |
int | offset, | |||
int | length | |||
) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterOutputStream.
virtual void beecrypt::security::DigestOutputStream::write | ( | byte | b | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterOutputStream.