CCMSEncapsulatedContentInfo Class Reference

class CCMSEncapsulatedContentInfo : public CCMSContentInfo

EncapsulatedContentInfo module

ASN.1 Definition: EncapsulatedContentInfo ::= SEQUENCE { eContentType ContentType, eContent [0] EXPLICIT OCTET STRING OPTIONAL }

ContentType ::= OBJECT IDENTIFIER

cms.lib
Since
2.8

Inherits from

Public Member Functions
~CCMSEncapsulatedContentInfo ()
IMPORT_C const TDesC8 * Content ()
void DecodeL (const TDesC8 &)
CASN1EncBase * EncoderLC ()
IMPORT_C CCMSEncapsulatedContentInfo * NewL ()
IMPORT_C CCMSEncapsulatedContentInfo * NewL (const TDesC &, const TDesC8 *)
IMPORT_C CCMSEncapsulatedContentInfo * NewLC ()
IMPORT_C CCMSEncapsulatedContentInfo * NewLC (const TDesC &, const TDesC8 *)
IMPORT_C void SetContentL (const TDesC8 *)
Protected Member Functions
CCMSEncapsulatedContentInfo ()
IMPORT_C void ConstructL ()
IMPORT_C void ConstructL (const TDesC &, 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()
CCMSContentInfo::CCMSContentInfo()
CCMSContentInfo::ConstructL(const TDesC &)
CCMSContentInfo::ConstructL(const TDesC &,const TDesC8 &)
CCMSContentInfo::ContentType()const
CCMSContentInfo::NewLC(const TDesC &,const TDesC8 &)
CCMSContentInfo::SetContentL(const TDesC8 &)
CCMSContentInfo::SetContentTypeL(const TDesC &)
CCMSContentInfo::~CCMSContentInfo()
CCMSSequence::CCMSSequence()
CCMSSequence::CreateDerEncodingL(CASN1EncBase *)
CCMSSequence::DecodeSequenceLC(const TDesC8 &)
CCMSSequence::DecodeSequenceLC(const TDesC8 &,TInt,TInt)
CCMSSequence::EncodeL(HBufC8 *&)const
Private Attributes
MCMSEncapsulatedContentInfoExtension * iReserved
Inherited Attributes
CCMSContentInfo::iContent
CCMSContentInfo::iContentType

Constructor & Destructor Documentation

CCMSEncapsulatedContentInfo()

IMPORT_C CCMSEncapsulatedContentInfo ( ) [protected]

C++ default constructor.

~CCMSEncapsulatedContentInfo()

~CCMSEncapsulatedContentInfo ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

Protected construction to allow derivation

ConstructL(const TDesC &, const TDesC8 *)

IMPORT_C void ConstructL ( const TDesC & aContentType,
const TDesC8 * aContent
) [protected]

Protected construction to allow derivation

Parameters

const TDesC & aContentType
const TDesC8 * aContent

Content()

IMPORT_C const TDesC8 * Content ( ) const
Getter for content
Since
2.8

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

NewL()

IMPORT_C CCMSEncapsulatedContentInfo * NewL ( ) [static]

Two-phased constructor.

NewL(const TDesC &, const TDesC8 *)

IMPORT_C CCMSEncapsulatedContentInfo * NewL ( const TDesC & aContentType,
const TDesC8 * aContent
) [static]

Two-phased constructor. Takes copy of the both contetn type and content.

Parameters

const TDesC & aContentType
const TDesC8 * aContent Content of this ContentInfo. Can be also NULL

NewLC()

IMPORT_C CCMSEncapsulatedContentInfo * NewLC ( ) [static]

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

NewLC(const TDesC &, const TDesC8 *)

IMPORT_C CCMSEncapsulatedContentInfo * NewLC ( const TDesC & aContentType,
const TDesC8 * aContent
) [static]

Two-phased constructor. Takes copy of the both contetn type and content. Leaves the created object in cleanup stack.

Parameters

const TDesC & aContentType
const TDesC8 * aContent Content of this ContentInfo. Can be also NULL

SetContentL(const TDesC8 *)

IMPORT_C void SetContentL ( const TDesC8 * aContent )
Setter for content, takes copy
Since
2,8

Parameters

const TDesC8 * aContent Content to be set, can be NULL

Member Data Documentation

MCMSEncapsulatedContentInfoExtension * iReserved

MCMSEncapsulatedContentInfoExtension * iReserved [private]