Security Scol plugin
Classes | Typedefs
default.h File Reference

Classes for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC. More...

#include "sha.h"
#include "hmac.h"
#include "aes.h"
#include "des.h"
#include "modes.h"
#include "filters.h"
#include "smartptr.h"

Go to the source code of this file.

Classes

class  DataDecryptorErr
 Exception thrown when LegacyDecryptorWithMAC or DefaultDecryptorWithMAC decryption error is encountered. More...
 
class  KeyBadErr
 Exception thrown when a bad key is encountered in DefaultDecryptorWithMAC and LegacyDecryptorWithMAC. More...
 
class  MACBadErr
 Exception thrown when an incorrect MAC is encountered in DefaultDecryptorWithMAC and LegacyDecryptorWithMAC. More...
 
struct  DataParametersInfo< BlockSize, KeyLength, DigestSize, SaltSize, Iterations >
 Algorithm information for password-based encryptors and decryptors. More...
 
class  DataEncryptor< BC, H, Info >
 Password-based Encryptor. More...
 
class  DataDecryptor< BC, H, Info >
 Password-based Decryptor. More...
 
class  DataEncryptorWithMAC< BC, H, MAC, Info >
 Password-based encryptor with MAC. More...
 
class  DataDecryptorWithMAC< BC, H, MAC, Info >
 Password-based decryptor with MAC. More...
 

Typedefs

typedef DES_EDE2 LegacyBlockCipher
 Legacy block cipher for LegacyEncryptor, LegacyDecryptor, LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
 
typedef SHA1 LegacyHashModule
 Legacy hash for use with LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
 
typedef HMAC< LegacyHashModuleLegacyMAC
 Legacy HMAC for use withLegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
 
typedef AES DefaultBlockCipher
 Default block cipher for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
 
typedef SHA256 DefaultHashModule
 Default hash for use with DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
 
typedef HMAC< DefaultHashModuleDefaultMAC
 Default HMAC for use withDefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
 
typedef DataParametersInfo< LegacyBlockCipher::BLOCKSIZE, LegacyBlockCipher::DEFAULT_KEYLENGTH, LegacyHashModule::DIGESTSIZE, 8, 200 > LegacyParametersInfo
 
typedef DataParametersInfo< DefaultBlockCipher::BLOCKSIZE, DefaultBlockCipher::DEFAULT_KEYLENGTH, DefaultHashModule::DIGESTSIZE, 8, 2500 > DefaultParametersInfo
 
typedef DataEncryptor< LegacyBlockCipher, LegacyHashModule, LegacyParametersInfoLegacyEncryptor
 
typedef DataDecryptor< LegacyBlockCipher, LegacyHashModule, LegacyParametersInfoLegacyDecryptor
 
typedef DataEncryptor< DefaultBlockCipher, DefaultHashModule, DefaultParametersInfoDefaultEncryptor
 
typedef DataDecryptor< DefaultBlockCipher, DefaultHashModule, DefaultParametersInfoDefaultDecryptor
 
typedef DataEncryptorWithMAC< LegacyBlockCipher, LegacyHashModule, LegacyMAC, LegacyParametersInfoLegacyEncryptorWithMAC
 
typedef DataDecryptorWithMAC< LegacyBlockCipher, LegacyHashModule, LegacyMAC, LegacyParametersInfoLegacyDecryptorWithMAC
 
typedef DataEncryptorWithMAC< DefaultBlockCipher, DefaultHashModule, DefaultMAC, DefaultParametersInfoDefaultEncryptorWithMAC
 
typedef DataDecryptorWithMAC< DefaultBlockCipher, DefaultHashModule, DefaultMAC, DefaultParametersInfoDefaultDecryptorWithMAC
 

Detailed Description

Classes for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition in file default.h.

Typedef Documentation

◆ DefaultBlockCipher

typedef AES DefaultBlockCipher

Default block cipher for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 27 of file default.h.

◆ DefaultDecryptor

Definition at line 299 of file default.h.

◆ DefaultDecryptorWithMAC

Definition at line 305 of file default.h.

◆ DefaultEncryptor

Definition at line 298 of file default.h.

◆ DefaultEncryptorWithMAC

Definition at line 304 of file default.h.

◆ DefaultHashModule

Default hash for use with DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 29 of file default.h.

◆ DefaultMAC

Default HMAC for use withDefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 31 of file default.h.

◆ DefaultParametersInfo

typedef DataParametersInfo<DefaultBlockCipher::BLOCKSIZE, DefaultBlockCipher::DEFAULT_KEYLENGTH, DefaultHashModule::DIGESTSIZE, 8, 2500> DefaultParametersInfo

Definition at line 67 of file default.h.

◆ LegacyBlockCipher

Legacy block cipher for LegacyEncryptor, LegacyDecryptor, LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 20 of file default.h.

◆ LegacyDecryptor

Definition at line 296 of file default.h.

◆ LegacyDecryptorWithMAC

Definition at line 302 of file default.h.

◆ LegacyEncryptor

Definition at line 295 of file default.h.

◆ LegacyEncryptorWithMAC

Definition at line 301 of file default.h.

◆ LegacyHashModule

Legacy hash for use with LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 22 of file default.h.

◆ LegacyMAC

Legacy HMAC for use withLegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 24 of file default.h.

◆ LegacyParametersInfo

typedef DataParametersInfo<LegacyBlockCipher::BLOCKSIZE, LegacyBlockCipher::DEFAULT_KEYLENGTH, LegacyHashModule::DIGESTSIZE, 8, 200> LegacyParametersInfo

Definition at line 66 of file default.h.