#include <tCrypt.h>
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 tCrypt * | CreateSymmetricCrypt (int id=0) |
static tCrypt * | CreatePublicEncrypt (int id=0) |
static tCrypt * | CreatePrivateEncrypt (int id=0) |
Definition at line 33 of file tCrypt.h.
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 }