CAESDecryptor Class Reference

class CAESDecryptor : public CRijndael

Concrete class for AES decryption.

Constructor & Destructor Documentation

CAESDecryptor(void)

CAESDecryptor ( void ) [protected]

Parameters

void

CAESDecryptor(const CAESDecryptor &)

CAESDecryptor ( const CAESDecryptor & ) [private]

Parameters

const CAESDecryptor &

Member Functions Documentation

BlockSize()

TInt BlockSize ( ) const [virtual]

Gets the block size in bytes.

NewL(const TDesC8 &)

IMPORT_C CAESDecryptor * 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 either KAESKeySize128 (=16), KAESKeySize192 (=24) or KAESKeySize256 (=32) bytes.

NewLC(const TDesC8 &)

IMPORT_C CAESDecryptor * 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 either KAESKeySize128 (=16), KAESKeySize192 (=24) or KAESKeySize256 (=32) bytes.

SetKey(const TDesC8 &)

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

Parameters

const TDesC8 & aKey

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 CAESDecryptor &)

const CAESDecryptor & operator= ( const CAESDecryptor & ) [private]

Parameters

const CAESDecryptor &