CPBEncryptionBase Class Reference

class CPBEncryptionBase : public CBase

Abstract base class defining the interface required to allow the password based encryption and decryption of single or multiple items or elements.

Inherits from

Member Functions Documentation

EncryptionData(void)

const CPBEncryptionData & EncryptionData ( void ) const [pure virtual]

Gets the parameters allowing one to re-create the object with the same state at another point in the future.

In order to decrypt any information previously encrypted with this object, you must store this encryption data along with it. Failure to do this will result in the permanent loss of the encrypted information.

Parameters

void

MaxCiphertextLength(TInt)

TInt MaxCiphertextLength ( TInt aPlaintextLength ) const [pure virtual]

Gets the maximum output ciphertext length given a specified input plaintext length.

Parameters

TInt aPlaintextLength The plaintext length

MaxPlaintextLength(TInt)

TInt MaxPlaintextLength ( TInt aCiphertextLength ) const [pure virtual]

Gets the maximum output plaintext length given a specified input ciphertext length.

Parameters

TInt aCiphertextLength The ciphertext length

NewDecryptL(void)

CPBDecryptor * NewDecryptL ( void ) const [pure virtual]

Constructs a CPBDecryptor object allowing the decryption of data.

Parameters

void

NewDecryptLC(void)

CPBDecryptor * NewDecryptLC ( void ) const [pure virtual]

Constructs a CPBDecryptor object allowing the decryption of data.

Parameters

void

NewEncryptL(void)

CPBEncryptor * NewEncryptL ( void ) const [pure virtual]

Constructs a CPBEncryptor object allowing the encryption of data.

Parameters

void

NewEncryptLC(void)

CPBEncryptor * NewEncryptLC ( void ) const [pure virtual]

Constructs a CPBEncryptor object allowing the encryption of data.

Parameters

void