CRC2Decryptor Class Reference
class CRC2Decryptor : public CRC2
|
Concrete class for RC2 decryption.
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()
|
|
CBlockTransformation::GetExtension(TUint,TAny *&,TAny *)
|
|
CRC2::BlockSize()const
|
|
CRC2::CRC2(void)
|
|
CRC2::KeySize()const
|
|
CRC2::Reset()
|
|
CRC2::SetKey(const TDesC8 &,TInt)
|
Constructor & Destructor Documentation
CRC2Decryptor(void)
CRC2Decryptor
|
(
|
void
|
|
)
|
[protected]
|
Member Functions Documentation
NewL(const TDesC8 &, TInt)
Creates an instance of this class.
-
leave
-
KErrKeyNotWeakEnough If the key size is larger than that allowed by the cipher strength restrictions of the crypto library. See
TCrypto::IsSymmetricWeakEnoughL()
Parameters
const
TDesC8
& aKey
|
The key to be used for decryption. The key length must fall between 1 and KRC2MaxKeySizeBytes (=128) bytes inclusive.
|
TInt
aEffectiveKeyLenBits =
KSSLCompatibilityBits
|
Effective key length bits (defaults KSSLCompatibilityBits = 1024).
|
NewLC(const TDesC8 &, TInt)
Creates an instance of this class and leaves it on the cleanup stack.
-
leave
-
KErrKeyNotWeakEnough If the key size is larger than that allowed by the cipher strength restrictions of the crypto library. See
TCrypto::IsSymmetricWeakEnoughL()
Parameters
const
TDesC8
& aKey
|
The key to be used for decryption. The key length must fall between 1 and KRC2MaxKeySizeBytes (=128) bytes inclusive.
|
TInt
aEffectiveKeyLenBits =
KSSLCompatibilityBits
|
Effective key length bits (defaults KSSLCompatibilityBits = 1024).
|
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.
|
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.