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

Member Functions Documentation

DecryptL(TDesC8 &)

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

Decrypt the data in the given buffer

Parameters

TDesC8 & aBuf data to be decrypted

EncryptL(TDesC8 &)

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

Encrypt the data in the given buffer

Parameters

TDesC8 & aBuf data to be encrypted

Release()

void Release ( ) [pure virtual]

release the encryptor when not needed