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 }
Constructor & Destructor Documentation
CCMSKeyIdentifier()
IMPORT_C
|
CCMSKeyIdentifier
|
(
|
)
|
[protected]
|
~CCMSKeyIdentifier()
~CCMSKeyIdentifier
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const TDesC8 &)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC8
&
|
aKeyIdentifier
|
)
|
[protected]
|
Protected construction to allow derivation
ConstructL(const TDesC8 &, const TTime &)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC8
&
|
aKeyIdentifier,
|
|
const
TTime
&
|
aDate
|
|
)
|
[protected]
|
Protected construction to allow derivation
Date()
IMPORT_C const
TTime
*
|
Date
|
(
|
)
|
const
|
Getter for Date. Ownership is not transferred.
-
Since
-
2,8
DecodeArrayL(CArrayPtr< TASN1DecGeneric > *)
Decodes internal data from a array of ASN.1 decoders
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
|
)
|
|
Parameters
const
TDesC8
& aRawData
|
raw-data to be parsed in this instance
|
KeyIdentifier()
IMPORT_C const
TDesC8
&
|
KeyIdentifier
|
(
|
)
|
const
|
Getter for KeyIdentifier
-
Since
-
3.0
NewL(const TDesC8 &)
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 &)
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
TDesC8 * iKeyIdentifier
TDesC8
*
|
iKeyIdentifier
|
[private]
|
MCMSKeyIdentifierExtension * iReserved
MCMSKeyIdentifierExtension *
|
iReserved
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.