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_C CCMSContentInfo ( ) [protected]

C++ default constructor.

~CCMSContentInfo()

~CCMSContentInfo ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

Protected construction to allow derivation

ConstructL(const TDesC &)

IMPORT_C void ConstructL ( const TDesC & aContentType ) [protected]

Protected construction to allow derivation

Parameters

const TDesC & aContentType

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
3.0

ContentType()

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

DecodeL(const TDesC8 &)

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

Parameters

const TDesC8 & aRawData raw-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 & aContent Content of this ContentInfo.

SetContentL(const TDesC8 &)

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

Parameters

const TDesC8 & aContent Content to be set

SetContentTypeL(const TDesC &)

IMPORT_C void SetContentTypeL ( 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]