CCMSKeyTransRecipientInfo Class Reference
class CCMSKeyTransRecipientInfo : public CCMSRecipientInfo |
KeyTransRecipientInfo type module
ASN.1 definition: KeyTransRecipientInfo ::= SEQUENCE { version CMSVersion, -- always set to 0 or 2 rid RecipientIdentifier, keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey }
RecipientIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier }
Inherits from
- CCMSKeyTransRecipientInfo
Constructor & Destructor Documentation
CCMSKeyTransRecipientInfo(TInt)
IMPORT_C | CCMSKeyTransRecipientInfo | ( | TInt | aVersion | ) | [protected] |
~CCMSKeyTransRecipientInfo()
~CCMSKeyTransRecipientInfo | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const CCMSIssuerAndSerialNumber &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
Protected construction to allow derivation
ConstructL(const TDesC8 &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
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 |
EncryptedKey()
IMPORT_C const TDesC8 & | EncryptedKey | ( | ) | const |
Getter for EncryptedKey
- Since
- 2.8
IssuerAndSerialNumber()
Getter for IssuerAndSerialNumber. Ownership is not transferred.
- Since
- 2,8
NewL(const CCMSIssuerAndSerialNumber &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
Two-phased constructor. Copies of the parameters are made.
NewL(const TDesC8 &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
Two-phased constructor. Copies of the parameters are made.
Parameters
const TDesC8 & aSubjectKeyIdentifier | rid (RecipientIdentifier) value |
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm | KeyEncryptionAlgorithmIdentifier |
const TDesC8 & aEncryptedKey | EncryptedKey value |
NewLC()
Two-phased constructor. Leaves the object in cleanup stack.
NewLC(const TDesC8 &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
Two-phased constructor. Copies of the parameters are made. Leaves the object in cleanup stack.
Parameters
const TDesC8 & aSubjectKeyIdentifier | rid (RecipientIdentifier) value |
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm | KeyEncryptionAlgorithmIdentifier |
const TDesC8 & aEncryptedKey | EncryptedKey value |
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 &)
Setter for IssuerAndSerialNumber. Creates a copy of the parameters. Note that any existing subjectKeyIdentifier value is deleted. Also version is set to 0.
- Since
- 2.8
SetSubjectKeyIdentifierL(const TDesC8 &)
IMPORT_C void | SetSubjectKeyIdentifierL | ( | const TDesC8 & | aSubjectKeyIdentifier | ) | |
Setter for subjectKeyIdentifier. Creates a copy of the parameters. Note that any existing IssuerAndSerialNumber value is deleted. Also version is set to 2.
- Since
- 2.8
Parameters
const TDesC8 & aSubjectKeyIdentifier | SubjectKeyIdentifier value. |
SubjectKeyIdentifier()
IMPORT_C const TDesC8 * | SubjectKeyIdentifier | ( | ) | const |
Getter for subjectKeyIdentifier. Ownership is not transferred.
- Since
- 2,8
Member Data Documentation
TDesC8 * iEncryptedKey
TDesC8 * | iEncryptedKey | [private] |
CCMSIssuerAndSerialNumber * iIssuerAndSerialNumber
TDesC8 * iSubjectKeyIdentifier
TDesC8 * | 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.