CCMSKEKRecipientInfo Class Reference

class CCMSKEKRecipientInfo : public CCMSRecipientInfo

KEKRecipientInfo type module

ASN.1 definition: KEKRecipientInfo ::= SEQUENCE { version CMSVersion, -- always set to 4 kekid KEKIdentifier, keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey }

cms.lib
Since
2.8

Inherits from

Public Member Functions
~CCMSKEKRecipientInfo ()
void DecodeL (const TDesC8 &)
CASN1EncBase * EncoderLC ()
IMPORT_C const TDesC8 & EncryptedKey ()
IMPORT_C const CCMSKeyIdentifier & Kekid ()
IMPORT_C CCMSKEKRecipientInfo * NewL ()
IMPORT_C CCMSKEKRecipientInfo * NewL (const CCMSKeyIdentifier &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
IMPORT_C CCMSKEKRecipientInfo * NewLC ()
IMPORT_C void SetEncryptedKeyL (const TDesC8 &)
IMPORT_C void SetKekidL (const CCMSKeyIdentifier &)
CASN1EncBase * TaggedEncoderLC ()
Protected Member Functions
CCMSKEKRecipientInfo ()
IMPORT_C void ConstructL (const CCMSKeyIdentifier &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCMSRecipientInfo::AddKeyEncryptionAlgorithmL(CASN1EncSequence *)const
CCMSRecipientInfo::AddVersionL(CASN1EncSequence *)const
CCMSRecipientInfo::BaseConstructL(const CCMSX509AlgorithmIdentifier &)
CCMSRecipientInfo::CCMSRecipientInfo(TInt)
CCMSRecipientInfo::KeyEncryptionAlgorithm()const
CCMSRecipientInfo::SetKeyEncryptionAlgorithmL(const CCMSX509AlgorithmIdentifier &)
CCMSRecipientInfo::Version()const
CCMSRecipientInfo::~CCMSRecipientInfo()
CCMSSequence::CCMSSequence()
CCMSSequence::CreateDerEncodingL(CASN1EncBase *)
CCMSSequence::DecodeSequenceLC(const TDesC8 &)
CCMSSequence::DecodeSequenceLC(const TDesC8 &,TInt,TInt)
CCMSSequence::EncodeL(HBufC8 *&)const
Private Attributes
TDesC8 * iEncryptedKey
CCMSKeyIdentifier * iKekid
Inherited Attributes
CCMSRecipientInfo::iKeyEncryptionAlgorithm
CCMSRecipientInfo::iVersion

Constructor & Destructor Documentation

CCMSKEKRecipientInfo()

IMPORT_C CCMSKEKRecipientInfo ( ) [protected]

C++ constructor.

~CCMSKEKRecipientInfo()

~CCMSKEKRecipientInfo ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const CCMSKeyIdentifier &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C void ConstructL ( const CCMSKeyIdentifier & aKekid,
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm,
const TDesC8 & aEncryptedKey
) [protected]

Protected construction to allow derivation

Parameters

const CCMSKeyIdentifier & aKekid
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm
const TDesC8 & aEncryptedKey

DecodeL(const TDesC8 &)

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

Parameters

const TDesC8 & aRawData raw-data to be parsed in this instance

EncoderLC()

CASN1EncBase * EncoderLC ( ) const
From MCMSModule
Since
2.8

EncryptedKey()

IMPORT_C const TDesC8 & EncryptedKey ( ) const
Getter for EncryptedKey
Since
2.8

Kekid()

IMPORT_C const CCMSKeyIdentifier & Kekid ( ) const
Getter for KEKIdentifier
Since
2,8

NewL()

IMPORT_C CCMSKEKRecipientInfo * NewL ( ) [static]

Two-phased constructor.

NewL(const CCMSKeyIdentifier &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C CCMSKEKRecipientInfo * NewL ( const CCMSKeyIdentifier & aKekid,
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm,
const TDesC8 & aEncryptedKey
) [static]

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

Parameters

const CCMSKeyIdentifier & aKekid KEKIdentifier
const CCMSX509AlgorithmIdentifier & aKeyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier
const TDesC8 & aEncryptedKey EncryptedKey value

NewLC()

IMPORT_C CCMSKEKRecipientInfo * NewLC ( ) [static]

Two-phased constructor. Leaves the object in cleanup stack.

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.

SetKekidL(const CCMSKeyIdentifier &)

IMPORT_C void SetKekidL ( const CCMSKeyIdentifier & aKekid )
Setter for KEKIdentifier
Since
2.8

Parameters

const CCMSKeyIdentifier & aKekid KEKIdentifier

TaggedEncoderLC()

CASN1EncBase * TaggedEncoderLC ( ) const [virtual]
From CCMSRecipientInfo
Since
2.8

Member Data Documentation

TDesC8 * iEncryptedKey

TDesC8 * iEncryptedKey [private]

CCMSKeyIdentifier * iKekid

CCMSKeyIdentifier * iKekid [private]