CCmsContentInfo Class Reference
class CCmsContentInfo : public CBase
|
The RFC2630 ContentInfo entity. This class provides details about the content type in the ContentInfo, provides access to the content data when the content type is Data and provides access to the entire ContentInfo sequence. At present, only data content type and signed data type are supported.
Constructor & Destructor Documentation
CCmsContentInfo()
CCmsContentInfo
|
(
|
)
|
[private]
|
CCmsContentInfo(TCmsContentInfoType, const TDesC8 &)
constructor to build the CMS content info from the given parameters
Parameters
TCmsContentInfoType
aContentInfoType
|
the type of data contained in the CMS content info
|
const
TDesC8
& aContentData
|
the descriptor which contains the encoded CMS oject
|
~CCmsContentInfo()
IMPORT_C
|
~CCmsContentInfo
|
(
|
)
|
|
Member Functions Documentation
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
constructor to build the CMS content info from the raw data.
ContentData()
IMPORT_C const
TPtrC8
|
ContentData
|
(
|
)
|
const
|
Provides access to the content data.
ContentType()
Provides the information about the ContentType in the ContentInfo sequence. It returns the last number in the Object Identifier.
EncodeASN1DERLC()
Creates the DER sequence of the ContentInfo and leaves the DER sequence on the cleanup stack.
NewL(const TDesC8 &)
Creates a ContentInfo as defined in RFC2630.
Parameters
const
TDesC8
& aRawData
|
The encoded encapsulated data.
|
NewL(TCmsContentInfoType, const TDesC8 &)
Creates a ContentInfo as defined in RFC2630.
Parameters
TCmsContentInfoType
aContentInfoType
|
The type of the encapsulated content.
|
const
TDesC8
& aContentData
|
The encapsulated data.
|
NewLC(const TDesC8 &)
Creates a ContentInfo as defined in RFC2630, and leaves the instance on the cleanup stack.
Parameters
const
TDesC8
& aRawData
|
The encoded encapsulated data.
|
NewLC(TCmsContentInfoType, const TDesC8 &)
Creates a ContentInfo as defined in RFC2630 and leaves the object on the cleanup stack.
Parameters
TCmsContentInfoType
aContentInfoType
|
The type of the encapsulated content.
|
const
TDesC8
& aContentData
|
The encapsulated data.
|
Member Data Documentation
TCmsContentInfoType
iContentType
The Type of the ContentInfo
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.