Location:
e32base.h
Link against: euser.lib
CSecurityEncryptBase
Supported from 5.0
Defines the interface to an encryption handler which encapsulates the algorithm for data encryption.
Objects of this type are constructed by the security model.
|
Defined in CSecurityEncryptBase
:
CompleteL()
, EncryptL()
Inherited from CBase
:
operator new()
virtual TInt EncryptL(TDes8& aOutput,const TDesC8& aInput) = 0;
Encrypts data.
This is called when data needs to be encrypted. An
implementation of this function should encrypt the raw data in
aInput
and present the results in aOutput
. It should
also return a value indicating how much of the input data was consumed.
|
|
virtual TInt CompleteL(TDes8& aOutput,const TDesC8& aInput) = 0;
Pads the last data block.
This is called when the the last data block needs padding. An
implementation of this function should present the results in
aOutput
. It should also return a value indicating how much of the
input data was consumed.
|
|