class CPBDecryptorElement : public CPBDecryptor |
Implements the password based decryption of elements.
Public Member Functions | |
---|---|
~CPBDecryptorElement () | |
TInt | MaxFinalOutputLength ( TUint ) |
TInt | MaxOutputLength ( TUint ) |
IMPORT_C CPBDecryptorElement * | NewL (const TPBECipher , const TDesC8 &, const TDesC8 &) |
IMPORT_C CPBDecryptorElement * | NewLC (const TPBECipher , const TDesC8 &, const TDesC8 &) |
void | Process (const TDesC8 &, TDes8 &) |
void | ProcessFinalL (const TDesC8 &, TDes8 &) |
Protected Member Functions | |
---|---|
CPBDecryptorElement () | |
void | ConstructL (const TPBECipher , const TDesC8 &, const TDesC8 &) |
Private Attributes | |
---|---|
CSymmetricCipher * | iCipher |
void | ConstructL | ( | const TPBECipher | aCipher, |
const TDesC8 & | aKey, | |||
const TDesC8 & | aIV | |||
) | [protected] |
TInt | MaxFinalOutputLength | ( | TUint | aMaxInputLength | ) | const [virtual] |
Gets the maximum size of the output given a certain input length.
TUint aMaxInputLength | The maximum input length in bytes. |
TInt | MaxOutputLength | ( | TUint | aMaxInputLength | ) | const [virtual] |
Gets the maximum size of the output given a certain input length.
TUint aMaxInputLength | The maximum input length in bytes. |
IMPORT_C CPBDecryptorElement * | NewL | ( | const TPBECipher | aCipher, |
const TDesC8 & | aKey, | |||
const TDesC8 & | aIV | |||
) | [static] |
Creates a new CPBDecryptorElement object from the specified cipher, key, and IV.
IMPORT_C CPBDecryptorElement * | NewLC | ( | const TPBECipher | aCipher, |
const TDesC8 & | aKey, | |||
const TDesC8 & | aIV | |||
) | [static] |
Creates a new CPBDecryptorElement object from the specified cipher, key, and IV.
Puts a pointer to the returned object onto the cleanup stack.
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.
void | ProcessFinalL | ( | const TDesC8 & | aInput, |
TDes8 & | aOutput | |||
) | [virtual] |
Transforms aInput into its decrypted form, aOutput.
aOutput must have CPBDecryptorElement::MaxFinalOutputLength() empty bytes remaining in its length.
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.