CCMSContentInfo Class Reference

class CCMSContentInfo : public CCMSSequence

ContentInfo module

ASN.1 Definition: ContentInfo ::= SEQUENCE { contentType ContentType, content [0] EXPLICIT ANY DEFINED BY contentType }

ContentType ::= OBJECT IDENTIFIER

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSContentInfo()

IMPORT_CCCMSContentInfo()[protected]

C++ default constructor.

~CCMSContentInfo()

~CCMSContentInfo()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

Protected construction to allow derivation

ConstructL(const TDesC &)

IMPORT_C voidConstructL(const TDesC &aContentType)[protected]

Protected construction to allow derivation

Parameters

const TDesC & aContentType

ConstructL(const TDesC &, const TDesC8 &)

IMPORT_C voidConstructL(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
3.0

ContentType()

IMPORT_C const TDesC &ContentType()const
Getter for content type
Since
2,8

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aRawData)
From MCMSModule
Since
3.0

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance

EncoderLC()

CASN1EncBase *EncoderLC()const
From MCMSModule
Since
3.0

NewLC()

IMPORT_C CCMSContentInfo *NewLC()[static]

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

NewLC(const TDesC &, const TDesC8 &)

IMPORT_C CCMSContentInfo *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 & aContentContent of this ContentInfo.

SetContentL(const TDesC8 &)

IMPORT_C voidSetContentL(const TDesC8 &aContent)
Setter for content, takes copy
Since
3.0

Parameters

const TDesC8 & aContentContent to be set

SetContentTypeL(const TDesC &)

IMPORT_C voidSetContentTypeL(const TDesC &aAttributeType)
Setter for content type, takes copy
Since
2.8

Parameters

const TDesC & aAttributeType

Member Data Documentation

HBufC8 * iContent

HBufC8 *iContent[protected]

HBufC * iContentType

HBufC *iContentType[protected]

MCMSContentInfoExtension * iReserved

MCMSContentInfoExtension *iReserved[protected]