CBufferedEncryptor Class Reference
class CBufferedEncryptor : public CBufferedTransformation |
Constructor & Destructor Documentation
CBufferedEncryptor()
CBufferedEncryptor | ( | ) | [protected] |
Member Functions Documentation
ConstructL(CBlockTransformation *, CPadding *)
MaxFinalOutputLength(TInt)
TInt
| MaxFinalOutputLength | ( | TInt | aInputLength | ) | const [virtual] |
Gets as tight an upper bound as possible on the number of bytes that would be returned by a call to ProcessFinalL() with aInputLength bytes of data.
Parameters
TInt aInputLength | The length of data to be supplied to Process() in bytes. |
NewL(CBlockTransformation *, CPadding *)
NewLC(CBlockTransformation *, CPadding *)
Creates a CBufferedEncryptor object taking ownership of aBT and aPadding.
The returned pointer is put onto the cleanup stack.
ProcessFinalL(const TDesC8 &, TDes8 &)
void | ProcessFinalL | ( | const TDesC8 & | aInput, |
| TDes8 & | aOutput |
| ) | [virtual] |
Completes an encryption operation using the underlying block transformation, but first ensuring that input data is block aligned using the previously supplied CPadding object.
See the Cryptography api-guide documentation.
Parameters
const TDesC8 & aInput | The final input data to be processed. |
TDes8 & aOutput | The resulting processed data appended to aOutput. aOutput must have at least 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.