C3DESDecryptor Class Reference

class C3DESDecryptor : public C3DES

Concrete class for triple-DES decryption.

Member Functions Documentation

DoSetKey(const TDesC8 &)

void DoSetKey ( const TDesC8 & aKey ) [protected, virtual]

Initialises the three key schedule arrays from the specified key.

Parameters

const TDesC8 & aKey The key to be used for encryption. The key length must be K3DESKeySize = 24 bytes.

NewL(const TDesC8 &)

IMPORT_C C3DESDecryptor * NewL ( const TDesC8 & aKey ) [static]

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 be K3DESKeySize = 24 bytes.

NewLC(const TDesC8 &)

IMPORT_C C3DESDecryptor * NewLC ( const TDesC8 & aKey ) [static]

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 be K3DESKeySize = 24 bytes.