CCMSRecipientEncryptedKey Class Reference

class CCMSRecipientEncryptedKey : public CCMSSequence

RecipientEncryptedKey type module

ASN.1 definition: RecipientEncryptedKey ::= SEQUENCE { rid KeyAgreeRecipientIdentifier, encryptedKey EncryptedKey }

KeyAgreeRecipientIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, rKeyId [0] IMPLICIT RecipientKeyIdentifier }

EncryptedKey ::= OCTET STRING

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSRecipientEncryptedKey()

IMPORT_C CCMSRecipientEncryptedKey ( ) [protected]

C++ default constructor.

~CCMSRecipientEncryptedKey()

~CCMSRecipientEncryptedKey ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const CCMSIssuerAndSerialNumber &, const TDesC8 &)

IMPORT_C void ConstructL ( const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber,
const TDesC8 & aEncryptedKey
) [protected]

Protected construction to allow derivation

Parameters

const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber
const TDesC8 & aEncryptedKey

ConstructL(const CCMSKeyIdentifier &, const TDesC8 &)

IMPORT_C void ConstructL ( const CCMSKeyIdentifier & aRKeyId,
const TDesC8 & aEncryptedKey
) [protected]

Protected construction to allow derivation

Parameters

const CCMSKeyIdentifier & aRKeyId
const TDesC8 & aEncryptedKey

DecodeL(const TDesC8 &)

void DecodeL ( const TDesC8 & aRawData )
From MCMSModule
Since
2.8

Parameters

const TDesC8 & aRawData raw-data to be parsed in this instance

EncoderLC()

CASN1EncBase * EncoderLC ( ) const
From MCMSModule
Since
2.8

EncryptedKey()

IMPORT_C const TDesC8 & EncryptedKey ( ) const
Getter for EncryptedKey
Since
2.8

IssuerAndSerialNumber()

IMPORT_C const CCMSIssuerAndSerialNumber * IssuerAndSerialNumber ( ) const
Getter for IssuerAndSerialNumber. Ownership is not transferred.
Since
2,8

NewL()

IMPORT_C CCMSRecipientEncryptedKey * NewL ( ) [static]

Two-phased constructor.

NewL(const CCMSIssuerAndSerialNumber &, const TDesC8 &)

IMPORT_C CCMSRecipientEncryptedKey * NewL ( const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber,
const TDesC8 & aEncryptedKey
) [static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber rid (KeyAgreeRecipientIdentifier) value
const TDesC8 & aEncryptedKey EncryptedKey value

NewL(const CCMSKeyIdentifier &, const TDesC8 &)

IMPORT_C CCMSRecipientEncryptedKey * NewL ( const CCMSKeyIdentifier & aRKeyId,
const TDesC8 & aEncryptedKey
) [static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSKeyIdentifier & aRKeyId rid (KeyAgreeRecipientIdentifier) value
const TDesC8 & aEncryptedKey EncryptedKey value

RKeyId()

IMPORT_C const CCMSKeyIdentifier * RKeyId ( ) const
Getter for rKeyId. Ownership is not transferred.
Since
2,8

SetEncryptedKeyL(const TDesC8 &)

IMPORT_C void SetEncryptedKeyL ( const TDesC8 & aEncryptedKey )
Setter for EncryptedKey. Creates a copy of the parameters.
Since
2.8

Parameters

const TDesC8 & aEncryptedKey EncryptedKey value.

SetIssuerAndSerialNumberL(const CCMSIssuerAndSerialNumber &)

IMPORT_C void SetIssuerAndSerialNumberL ( const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber )
Setter for IssuerAndSerialNumber. Creates a copy of the parameters. Note that any existing rKeyId value is deleted.
Since
2.8

Parameters

const CCMSIssuerAndSerialNumber & aIssuerAndSerialNumber IssuerAndSerialNumber value.

SetRKeyIdL(const CCMSKeyIdentifier &)

IMPORT_C void SetRKeyIdL ( const CCMSKeyIdentifier & aRKeyId )
Setter for rKeyId. Creates a copy of the parameters. Note that any existing IssuerAndSerialNumber value is deleted.
Since
2.8

Parameters

const CCMSKeyIdentifier & aRKeyId RecipientEncryptedKey value.

Member Data Documentation

TDesC8 * iEncryptedKey

TDesC8 * iEncryptedKey [private]

CCMSIssuerAndSerialNumber * iIssuerAndSerialNumber

CCMSIssuerAndSerialNumber * iIssuerAndSerialNumber [private]

CCMSKeyIdentifier * iRKeyId

CCMSKeyIdentifier * iRKeyId [private]