CCMSOriginatorIdentifierOrKey Class Reference
class CCMSOriginatorIdentifierOrKey : public CBase
|
OriginatorIdentifierOrKey type module
ASN.1 definition: OriginatorIdentifierOrKey ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier, originatorKey [1] OriginatorPublicKey } cms.lib
-
Since
-
2.8
Inherits from
-
CCMSOriginatorIdentifierOrKey
Constructor & Destructor Documentation
CCMSOriginatorIdentifierOrKey()
IMPORT_C
|
CCMSOriginatorIdentifierOrKey
|
(
|
)
|
[protected]
|
~CCMSOriginatorIdentifierOrKey()
~CCMSOriginatorIdentifierOrKey
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const CCMSIssuerAndSerialNumber &)
Protected construction to allow derivation
ConstructL(const TDesC8 &)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC8
&
|
aSubjectKeyIdentifier
|
)
|
[protected]
|
Protected construction to allow derivation
Parameters
const
TDesC8
& aSubjectKeyIdentifier
|
|
ConstructL(const CCMSOriginatorPublicKey &)
Protected construction to allow derivation
DecodeL(const TDesC8 &)
void
|
DecodeL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
|
Parameters
const
TDesC8
& aRawData
|
raw-data to be parsed in this instance
|
DeleteOldValueAndChangeTypeL(TType)
void
|
DeleteOldValueAndChangeTypeL
|
(
|
TType
|
aNewType
|
)
|
[private]
|
Deletes old value and changes the type of the choice.
Parameters
TType
aNewType
|
The type of the CHOICE will be set to aNewType.
|
EncodeL(HBufC8 *&)
void
|
EncodeL
|
(
|
HBufC8
*&
|
aResult
|
)
|
const
|
Parameters
HBufC8
*& aResult
|
Allocates and sets result in this variable
|
EncoderOriginatorKeyLC()
Creates Encoder for the OriginatorKey value
EncoderSubjectKeyIdentifierLC()
CASN1EncBase
*
|
EncoderSubjectKeyIdentifierLC
|
(
|
)
|
const [private]
|
Creates Encoder for the SubjectKeyIdentifier value
IssuerAndSerialNumberL()
Getter for IssuerAndSerialNumber. Leaves with KErrNotFound if the type of this CHOICE is not EIssuerAndSerialNumber.
-
Since
-
2.8
NewL(const CCMSIssuerAndSerialNumber &)
Two-phased constructor. Copies of the parameters are made.
NewL(const TDesC8 &)
Two-phased constructor. Copies of the parameters are made.
Parameters
const
TDesC8
& aSubjectKeyIdentifier
|
X.509 subjectKeyIdentifier
|
NewL(const CCMSOriginatorPublicKey &)
Two-phased constructor. Copies of the parameters are made.
OriginatorKeyL()
Getter for OriginatorKey. Leaves with KErrNotFound if the type of this CHOICE is not EOriginatorKey.
-
Since
-
2,8
SetIssuerAndSerialNumberL(const CCMSIssuerAndSerialNumber &)
Setter for IssuerAndSerialNumber. Create a copy of the parameters.
-
Since
-
2.8
SetOriginatorKeyL(const CCMSOriginatorPublicKey &)
Setter for originatorKey
-
Since
-
2.8
SetSubjectKeyIdentifierL(const TDesC8 &)
IMPORT_C void
|
SetSubjectKeyIdentifierL
|
(
|
const
TDesC8
&
|
aSubjectKeyIdentifier
|
)
|
|
Setter for subjectKeyIdentifier
-
Since
-
2,8
Parameters
const
TDesC8
& aSubjectKeyIdentifier
|
X.509 subjectKeyIdentifier
|
SubjectKeyIdentifierL()
IMPORT_C const
TDesC8
&
|
SubjectKeyIdentifierL
|
(
|
)
|
const
|
Getter for the X.509 subjectKeyIdentifier. Leaves with KErrNotFound if the type of this CHOICE is not ESubjectKeyIdentifier.
-
Since
-
2,8
Type()
IMPORT_C
TType
|
Type
|
(
|
)
|
const
|
Getter for the CHOICE type. There is no corresponding setter method as the type is set implicitly by the member value setters.
-
Since
-
2.8
Member Enumerations Documentation
Enum TType
Enumerators
ESubjectKeyIdentifier = 0
|
|
EOriginatorKey = 1
|
|
EIssuerAndSerialNumber
|
|
Member Data Documentation
CCMSIssuerAndSerialNumber * iIssuerAndSerialNumber
CCMSOriginatorPublicKey * iOriginatorKey
HBufC8 * iSubjectKeyIdentifier
HBufC8
*
|
iSubjectKeyIdentifier
|
[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.