Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DefaultDecryptor Class Reference

Password-Based Decryptor using DES-EDE2. More...

#include <default.h>

Inheritance diagram for DefaultDecryptor:

ProxyFilter FilterWithBufferedInput Filter BufferedTransformation List of all members.

Public Types

enum  State { WAITING_FOR_KEYCHECK, KEY_GOOD, KEY_BAD }

Public Methods

 DefaultDecryptor (const char *passphrase,BufferedTransformation *outQueue=NULL,bool throwException=true)
 DefaultDecryptor (const byte *passphrase,unsigned int passphraseLength,BufferedTransformation *outQueue=NULL,bool throwException=true)
State CurrentState ()const

Protected Methods

void FirstPut (const byte *inString)
void LastPut (const byte *inString,unsigned int length)

Protected Attributes

State m_state

Detailed Description

Password-Based Decryptor using DES-EDE2.

Definition at line 33 of file default.h.


Member Enumeration Documentation

enum DefaultDecryptor::State
 

Definition at line 47 of file default.h.


Constructor & Destructor Documentation

DefaultDecryptor::DefaultDecryptor ( const char * p,
BufferedTransformation * outQ = NULL,
bool throwException = true )
 

Definition at line 124 of file default.cpp.

DefaultDecryptor::DefaultDecryptor ( const byte * passphrase,
unsigned int passphraseLength,
BufferedTransformation * outQ = NULL,
bool throwException = true )
 

Definition at line 132 of file default.cpp.


Member Function Documentation

State DefaultDecryptor::CurrentState ( ) const [inline]
 

Definition at line 48 of file default.h.

void DefaultDecryptor::FirstPut ( const byte * inString ) [protected, virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 140 of file default.cpp.

void DefaultDecryptor::LastPut ( const byte * inString,
unsigned int length ) [protected, virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 145 of file default.cpp.


Member Data Documentation

State DefaultDecryptor::m_state [protected]
 

Definition at line 54 of file default.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:44 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000