class CPBEncryptor : public CBase |
Abstract class defining the interface required to allow the actual transformation of plaintext to ciphertext.
Generally this class' descendants are constructed using the functions CPBEncryptElement::NewEncryptLC() or CPBEncryptSet::NewEncryptLC().
Public Member Functions | |
---|---|
TInt | MaxFinalOutputLength(TUint) |
TInt | MaxOutputLength(TUint) |
void | Process(const TDesC8 &, TDes8 &) |
void | ProcessFinalL(const TDesC8 &, TDes8 &) |
TInt | MaxFinalOutputLength | ( | TUint | aMaxInputLength | ) | const [pure virtual] |
Gets the maximum length of the output resulting from calling ProcessFinalL() with a given input length.
TUint aMaxInputLength | The maximum input length in bytes. |
TInt | MaxOutputLength | ( | TUint | aMaxInputLength | ) | const [pure virtual] |
Gets the maximum length of the output resulting from calling Process() with a given input length.
TUint aMaxInputLength | The maximum input length in bytes. |
void | Process | ( | const TDesC8 & | aInput, |
TDes8 & | aOutput | |||
) | [pure virtual] |
Transforms aInput into its encrypted form, aOutput.
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 | |||
) | [pure virtual] |
Transforms aInput into its encrypted form, aOutput, and applies a padding scheme to ensure a block aligned result.
See the Cryptography api-guide documentation for an explanation of how buffering of data supplied to this function is handled.
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.