MKeyEncryptor Class Reference

class MKeyEncryptor

Key Encryptor Interface class

This class defines the interface for key encryptor which is used to encrypt the key when it is stored to the keystore and decrypt it back when the key is used or exported.

Since
S60 v3.2
Public Member Functions
HBufC8 *DecryptL(TDesC8 &)
HBufC8 *EncryptL(TDesC8 &)
voidRelease()

Member Functions Documentation

DecryptL(TDesC8 &)

HBufC8 *DecryptL(TDesC8 &aBuf)[pure virtual]

Decrypt the data in the given buffer

Parameters

TDesC8 & aBufdata to be decrypted

EncryptL(TDesC8 &)

HBufC8 *EncryptL(TDesC8 &aBuf)[pure virtual]

Encrypt the data in the given buffer

Parameters

TDesC8 & aBufdata to be encrypted

Release()

voidRelease()[pure virtual]

release the encryptor when not needed