#include <MacInputStream.h>
Public Member Functions | |
MacInputStream (InputStream &, Mac &) | |
virtual | ~MacInputStream () |
virtual int | read () throw (IOException) |
virtual int | read (byte *data, int offset, int length) throw (IOException) |
void | on (bool) |
Mac & | getMac () |
void | setMac (Mac &) |
Protected Attributes | |
Mac & | mac |
beecrypt::crypto::MacInputStream::MacInputStream | ( | InputStream & | , | |
Mac & | ||||
) |
virtual beecrypt::crypto::MacInputStream::~MacInputStream | ( | ) | [virtual] |
Mac& beecrypt::crypto::MacInputStream::getMac | ( | ) |
void beecrypt::crypto::MacInputStream::on | ( | bool | ) |
virtual int beecrypt::crypto::MacInputStream::read | ( | byte * | data, | |
int | offset, | |||
int | length | |||
) | throw (IOException) [virtual] |
virtual int beecrypt::crypto::MacInputStream::read | ( | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
void beecrypt::crypto::MacInputStream::setMac | ( | Mac & | ) |
Mac& beecrypt::crypto::MacInputStream::mac [protected] |