CPBDecryptorSet Class Reference
class CPBDecryptorSet : public CPBDecryptor
|
Implements the password based decryption of multiple elements.
Constructor & Destructor Documentation
CPBDecryptorSet()
CPBDecryptorSet
|
(
|
)
|
[protected]
|
~CPBDecryptorSet()
~CPBDecryptorSet
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(TPBECipher, const TDesC8 &, const TDesC8 &)
void
|
ConstructL
|
(
|
TPBECipher
|
aCipher,
|
|
const
TDesC8
&
|
aKey,
|
|
const
TDesC8
&
|
aIV
|
|
)
|
[protected]
|
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 &)
Creates a new
CPBDecryptorSet
object from the specified cipher and key, and a random IV.
Parameters
const
TPBECipher
aCipher
|
The decryption cipher
|
const
TDesC8
& aKey
|
The decryption key
|
NewLC(const TPBECipher, const TDesC8 &)
Creates a new
CPBDecryptorSet
object from the specified cipher and key, and a random 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
|
Process(const TDesC8 &, TDes8 &)
void
|
Process
|
(
|
const
TDesC8
&
|
aInput,
|
|
TDes8
&
|
aOutput
|
|
)
|
[virtual]
|
Parameters
const
TDesC8
& aInput
|
The ciphertext.
|
TDes8
& aOutput
|
The plaintext.
|
ProcessFinalL(const TDesC8 &, TDes8 &)
void
|
ProcessFinalL
|
(
|
const
TDesC8
&
|
aInput,
|
|
TDes8
&
|
aOutput
|
|
)
|
[virtual]
|
Transforms aInput into its decrypted form, aOutput, and applies a padding scheme to ensure a block aligned result.
aOutput must have
CPBDecryptorSet::MaxFinalOutputLength()
empty bytes remaining in its length.
Parameters
const
TDesC8
& aInput
|
The ciphertext.
|
TDes8
& aOutput
|
The plaintext.
|
ProcessIV(const TDesC8 &)
Reset(void)
IMPORT_C void
|
Reset
|
(
|
void
|
|
)
|
|
Resets the
CPBDecryptorSet
object back to its original state and clears all its buffers.
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.