CCMSKeyIdentifier Class Reference

class CCMSKeyIdentifier : public CCMSSequence

This module handles two ASN.1 types, RecipientKeyIdentifier and KEKIdentifier.

ASN.1 definitions: RecipientKeyIdentifier ::= SEQUENCE { subjectKeyIdentifier SubjectKeyIdentifier, date GeneralizedTime OPTIONAL, other OtherKeyAttribute OPTIONAL }

SubjectKeyIdentifier ::= OCTET STRING

KEKIdentifier ::= SEQUENCE { keyIdentifier OCTET STRING, date GeneralizedTime OPTIONAL, other OtherKeyAttribute OPTIONAL }

cms.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CCMSKeyIdentifier()

IMPORT_CCCMSKeyIdentifier()[protected]

C++ default constructor.

~CCMSKeyIdentifier()

~CCMSKeyIdentifier()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

IMPORT_C voidConstructL(const TDesC8 &aKeyIdentifier)[protected]

Protected construction to allow derivation

Parameters

const TDesC8 & aKeyIdentifier

ConstructL(const TDesC8 &, const TTime &)

IMPORT_C voidConstructL(const TDesC8 &aKeyIdentifier,
const TTime &aDate
)[protected]

Protected construction to allow derivation

Parameters

const TDesC8 & aKeyIdentifier
const TTime & aDate

Date()

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

DecodeArrayL(CArrayPtr< TASN1DecGeneric > *)

voidDecodeArrayL(CArrayPtr< TASN1DecGeneric > *aItems)[private]

Decodes internal data from a array of ASN.1 decoders

Parameters

CArrayPtr< TASN1DecGeneric > * aItemsitems to internalize

DecodeImplicitTagL(const TDesC8 &, const TTagType)

voidDecodeImplicitTagL(const TDesC8 &aRawData,
const TTagTypeaImplicitTag
)
Decoder method with implicit tag checking.
Since
3.0

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance
const TTagType aImplicitTagtag to be checked

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aRawData)
From MCMSModule
Since
3.0

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance

EncoderLC()

CASN1EncBase *EncoderLC()const
From MCMSModule
Since
3.0

KeyIdentifier()

IMPORT_C const TDesC8 &KeyIdentifier()const
Getter for KeyIdentifier
Since
3.0

NewL()

IMPORT_C CCMSKeyIdentifier *NewL()[static]

Two-phased constructor.

NewL(const TDesC8 &)

IMPORT_C CCMSKeyIdentifier *NewL(const TDesC8 &aKeyIdentifier)[static]

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

Parameters

const TDesC8 & aKeyIdentifieridentifies the recipient's certificate or the the key-encryption key that was previously distributed to the sender and one or more recipients.

NewL(const TDesC8 &, const TTime &)

IMPORT_C CCMSKeyIdentifier *NewL(const TDesC8 &aKeyIdentifier,
const TTime &aDate
)[static]

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

Parameters

const TDesC8 & aKeyIdentifieridentifies the recipient's certificate or the the key-encryption key that was previously distributed to the sender and one or more recipients.
const TTime & aDatespecifies which of the recipient's previously distributed UKMs was used by the sender. In case of KEKIdentifier, specifies a single key-encryption key from a set.

SetDateL(const TTime &)

IMPORT_C voidSetDateL(const TTime &aDate)
Setter for Date. Creates a copy of the parameters.
Since
3.0

Parameters

const TTime & aDateDate value

SetKeyIdentifierL(const TDesC8 &)

IMPORT_C voidSetKeyIdentifierL(const TDesC8 &aKeyIdentifier)
Setter for KeyIdentifier. Creates a copy of the parameters.
Since
3.0

Parameters

const TDesC8 & aKeyIdentifierKeyIdentifier value.

Member Data Documentation

TTime * iDate

TTime *iDate[private]

TDesC8 * iKeyIdentifier

TDesC8 *iKeyIdentifier[private]

MCMSKeyIdentifierExtension * iReserved

MCMSKeyIdentifierExtension *iReserved[private]