CPBDecryptorElement Class Reference
class CPBDecryptorElement : public CPBDecryptor |
Implements the password based decryption of elements.
Constructor & Destructor Documentation
CPBDecryptorElement()
CPBDecryptorElement | ( | ) | [protected] |
~CPBDecryptorElement()
~CPBDecryptorElement | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TPBECipher, const TDesC8 &, const TDesC8 &)
MaxFinalOutputLength(TUint)
TInt
| MaxFinalOutputLength | ( | TUint | aMaxInputLength | ) | const [virtual] |
Gets the maximum size of the output given a certain input length.
Parameters
TUint aMaxInputLength | The maximum input length in bytes. |
MaxOutputLength(TUint)
TInt
| MaxOutputLength | ( | TUint | aMaxInputLength | ) | const [virtual] |
Gets the maximum size of the output given a certain input length.
Parameters
TUint aMaxInputLength | The maximum input length in bytes. |
NewL(const TPBECipher, const TDesC8 &, const TDesC8 &)
Parameters
const TPBECipher aCipher | The decryption cipher |
const TDesC8 & aKey | The decryption key |
const TDesC8 & aIV | The Initialization Vector |
NewLC(const TPBECipher, const TDesC8 &, const TDesC8 &)
Creates a new CPBDecryptorElement object from the specified cipher, key, and IV.
Puts a pointer to the returned object onto the cleanup stack.
Parameters
const TPBECipher aCipher | The decryption cipher |
const TDesC8 & aKey | The decryption key |
const TDesC8 & aIV | The Initialization Vector |
Process(const TDesC8 &, TDes8 &)
void | Process | ( | const TDesC8 & | aInput, |
| TDes8 & | aOutput |
| ) | [virtual] |
Transforms aInput into its decrypted form, aOutput.
aOutput must have CPBDecryptorElement::MaxOutputLength() empty bytes remaining in its length.
See the Cryptography api-guide documentation for an explanation of how buffering of data supplied to this function is handled.
Parameters
const TDesC8 & aInput | The ciphertext. |
TDes8 & aOutput | The plaintext. |
ProcessFinalL(const TDesC8 &, TDes8 &)
void | ProcessFinalL | ( | const TDesC8 & | aInput, |
| TDes8 & | aOutput |
| ) | [virtual] |
Parameters
const TDesC8 & aInput | The ciphertext. |
TDes8 & aOutput | The plaintext. |
Member Data Documentation
CSymmetricCipher * iCipher
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.