tCrypt Class Reference

#include <tCrypt.h>

Inheritance diagram for tCrypt:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~tCrypt ()
virtual int KeyLength ()=0
virtual int MinDataLen ()=0
virtual int MaxDataLen ()=0
virtual int StepDataLen ()=0
virtual void CreateRandomKey (void *keydata)=0
virtual bool SetKey (const void *keydata)=0
virtual bool Crypt (const void *data_in, int data_len, void *data_out)=0

Static Public Member Functions

static tCryptCreateSymmetricCrypt (int id=0)
static tCryptCreatePublicEncrypt (int id=0)
static tCryptCreatePrivateEncrypt (int id=0)


Detailed Description

Definition at line 33 of file tCrypt.h.


Constructor & Destructor Documentation

virtual tCrypt::~tCrypt (  )  [inline, virtual]

Definition at line 35 of file tCrypt.h.

00035 {}


Member Function Documentation

virtual int tCrypt::KeyLength (  )  [pure virtual]

Implemented in tCryptDummy.

virtual int tCrypt::MinDataLen (  )  [pure virtual]

Implemented in tCryptDummy.

virtual int tCrypt::MaxDataLen (  )  [pure virtual]

Implemented in tCryptDummy.

virtual int tCrypt::StepDataLen (  )  [pure virtual]

Implemented in tCryptDummy.

virtual void tCrypt::CreateRandomKey ( void *  keydata  )  [pure virtual]

Implemented in tCryptDummy.

virtual bool tCrypt::SetKey ( const void *  keydata  )  [pure virtual]

Implemented in tCryptDummy.

virtual bool tCrypt::Crypt ( const void *  data_in,
int  data_len,
void *  data_out 
) [pure virtual]

Implemented in tCryptDummy.

tCrypt * tCrypt::CreateSymmetricCrypt ( int  id = 0  )  [static]

Definition at line 86 of file tCrypt.cpp.

References tNEW.

00087 {
00088     return tNEW(tCryptDummy);
00089 }

tCrypt * tCrypt::CreatePublicEncrypt ( int  id = 0  )  [static]

Definition at line 91 of file tCrypt.cpp.

References tNEW.

00092 {
00093     return tNEW(tCryptDummy);
00094 }

tCrypt * tCrypt::CreatePrivateEncrypt ( int  id = 0  )  [static]

Definition at line 96 of file tCrypt.cpp.

References tNEW.

00097 {
00098     return tNEW(tCryptDummy);
00099 }


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:55:58 2008 for Armagetron Advanced by  doxygen 1.5.4