CModeCBCEncryptor Class Reference
class CModeCBCEncryptor : public CBlockChainingMode
|
Concrete subclass of
CBlockChainingMode
implementing CBC mode block chaining for encryption.
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CBlockChainingMode::BlockSize()const
|
|
CBlockChainingMode::CBlockChainingMode()
|
|
CBlockChainingMode::ConstructL(CBlockTransformation *,const TDesC8 &)
|
|
CBlockChainingMode::KeySize()const
|
|
CBlockChainingMode::Reset()
|
|
CBlockChainingMode::SetIV(const TDesC8 &)
|
|
CBlockChainingMode::~CBlockChainingMode()
|
|
CBlockTransformation::GetExtension(TUint,TAny *&,TAny *)
|
Constructor & Destructor Documentation
CModeCBCEncryptor()
CModeCBCEncryptor
|
(
|
)
|
[protected]
|
Member Functions Documentation
NewL(CBlockTransformation *, const TDesC8 &)
Creates an object of this class for CBC mode encryption.
Parameters
CBlockTransformation
* aBT
|
An appropriate CBlockTransformation derived encryptor.
|
const
TDesC8
& aIV
|
Initialization vector, the length of this descriptor must be the same as the underlying cipher's block size.
|
NewLC(CBlockTransformation *, const TDesC8 &)
Creates an object of this class for CBC mode encryption.
The returned pointer is put onto the cleanup stack.
Parameters
CBlockTransformation
* aBT
|
An appropriate CBlockTransformation derived encryptor.
|
const
TDesC8
& aIV
|
Initialization vector, the length of this descriptor must be the same as the underlying cipher's block size.
|
Transform(TDes8 &)
void
|
Transform
|
(
|
TDes8
&
|
aBlock
|
)
|
[virtual]
|
Transforms the supplied block, returning the new value using the same parameter. aBlock.Size() must be the same length as
BlockSize()
.
Parameters
TDes8
& aBlock
|
On input, the data to be transformed; on return, the data after transformation.
|
operator=(const CModeCBCEncryptor &)
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.