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_C CCMSKeyIdentifier ( ) [protected]

C++ default constructor.

~CCMSKeyIdentifier()

~CCMSKeyIdentifier ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

IMPORT_C void ConstructL ( const TDesC8 & aKeyIdentifier ) [protected]

Protected construction to allow derivation

Parameters

const TDesC8 & aKeyIdentifier

ConstructL(const TDesC8 &, const TTime &)

IMPORT_C void ConstructL ( 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 > *)

void DecodeArrayL ( CArrayPtr < TASN1DecGeneric > * aItems ) [private]

Decodes internal data from a array of ASN.1 decoders

Parameters

CArrayPtr < TASN1DecGeneric > * aItems items to internalize

DecodeImplicitTagL(const TDesC8 &, const TTagType)

void DecodeImplicitTagL ( const TDesC8 & aRawData,
const TTagType aImplicitTag
)
Decoder method with implicit tag checking.
Since
3.0

Parameters

const TDesC8 & aRawData raw-data to be parsed in this instance
const TTagType aImplicitTag tag to be checked

DecodeL(const TDesC8 &)

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

Parameters

const TDesC8 & aRawData raw-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 & aKeyIdentifier identifies 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 & aKeyIdentifier identifies the recipient's certificate or the the key-encryption key that was previously distributed to the sender and one or more recipients.
const TTime & aDate specifies 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 void SetDateL ( const TTime & aDate )
Setter for Date. Creates a copy of the parameters.
Since
3.0

Parameters

const TTime & aDate Date value

SetKeyIdentifierL(const TDesC8 &)

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

Parameters

const TDesC8 & aKeyIdentifier KeyIdentifier value.

Member Data Documentation

TTime * iDate

TTime * iDate [private]

TDesC8 * iKeyIdentifier

TDesC8 * iKeyIdentifier [private]

MCMSKeyIdentifierExtension * iReserved

MCMSKeyIdentifierExtension * iReserved [private]