CDESDecryptor Class Reference
| class CDESDecryptor : public CDES |
Concrete class for DES 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 *) |
| | CDES::BlockSize()const |
| | CDES::CDES() |
| | CDES::ConstructL(const TDesC8 &,TBool) |
| | CDES::DoTransform(TUint32 &,TUint32 &,const TUint32 *) |
| | CDES::IsWeakKey(const TDesC8 &) |
| | CDES::KeySize()const |
| | CDES::Reset() |
| | CDES::Transform(TDes8 &) |
| | CDES::~CDES() |
Constructor & Destructor Documentation
CDESDecryptor(void)
| CDESDecryptor | ( | void | | ) | [protected] |
Member Functions Documentation
NewL(const TDesC8 &, TBool)
Creates an instance of this class.
-
leave
- KErrWeakKey If the key is a weak one, the function leaves having previously cleaned up any previously allocated memory.
-
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 be KDESKeySize = 8 bytes. |
| TBool aCheckWeakKey = ETrue | Boolean determining whether to check the resultant key against a set of known weak key values. Defaults to ETrue. |
NewLC(const TDesC8 &, TBool)
Creates an instance of this class and leaves it on the cleanup stack.
-
leave
- KErrWeakKey If the key is a weak one, the function leaves having previously cleaned up any previously allocated memory.
-
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 be KDESKeySize = 8 bytes. |
| TBool aCheckWeakKey = ETrue | Boolean determining whether to check the resultant key against a set of known weak key values. Defaults to ETrue. |
SetKey(const TDesC8 &, TUint32 *)
| void | SetKey | ( | const TDesC8 & | aKey, |
| | TUint32 * | aKeyBuffer |
| | ) | [protected, virtual] |
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.