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.
Public Member Functions | |
---|---|
const CPBEncryptionData & | EncryptionData (void) |
TInt | MaxCiphertextLength ( TInt ) |
TInt | MaxPlaintextLength ( TInt ) |
CPBDecryptor * | NewDecryptL (void) |
CPBDecryptor * | NewDecryptLC (void) |
CPBEncryptor * | NewEncryptL (void) |
CPBEncryptor * | NewEncryptLC (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.
void |
TInt | MaxCiphertextLength | ( | TInt | aPlaintextLength | ) | const [pure virtual] |
Gets the maximum output ciphertext length given a specified input plaintext length.
TInt aPlaintextLength | The plaintext length |
TInt | MaxPlaintextLength | ( | TInt | aCiphertextLength | ) | const [pure virtual] |
Gets the maximum output plaintext length given a specified input ciphertext length.
TInt aCiphertextLength | The ciphertext length |
CPBDecryptor * | NewDecryptL | ( | void | ) | const [pure virtual] |
Constructs a CPBDecryptor object allowing the decryption of data.
void |
CPBDecryptor * | NewDecryptLC | ( | void | ) | const [pure virtual] |
Constructs a CPBDecryptor object allowing the decryption of data.
void |
CPBEncryptor * | NewEncryptL | ( | void | ) | const [pure virtual] |
Constructs a CPBEncryptor object allowing the encryption of data.
void |
CPBEncryptor * | NewEncryptLC | ( | void | ) | const [pure virtual] |
Constructs a CPBEncryptor object allowing the encryption of data.
void |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.