CEncapsulatedContentInfo Class Reference
class CEncapsulatedContentInfo : public CBase
|
The RFC2630 EncapsulatedContentInfo entity. This class provides details about the Content Type in the Content Info, provides access to the Content Data when the Content Type is Data and provides access to the entire ContentInfo sequence.
Constructor & Destructor Documentation
CEncapsulatedContentInfo()
CEncapsulatedContentInfo
|
(
|
)
|
[private]
|
CEncapsulatedContentInfo(TCmsContentInfoType, TBool, const TDesC8 &)
Member Functions Documentation
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
[private]
|
ContentData()
IMPORT_C const
TPtrC8
|
ContentData
|
(
|
)
|
const
|
Provides access to the Content Data present in CMS. ContentData present in EncapsulatedContentInfo is OPTIONAL. The client has to check for data length 0 or if the data content is present in case there is no ContentData.
ContentType()
Provides information about the ContentType in the ContentInfo sequence. It returns the last number in the ObjectIdentifier.
EncodeASN1DERLC()
Creates the DER sequence of the ContentInfo and leaves the DER sequence on the cleanup stack.
IsContentDataPresent()
IMPORT_C
TBool
|
IsContentDataPresent
|
(
|
)
|
const
|
Returns whether the ContentInfo is present or not. ContentData present in EncapsulatedContentInfo is OPTIONAL.
NewL(const TDesC8 &)
Creates an EncapsulatedContentInfo as defined in RFC2630.
Parameters
const
TDesC8
& aRawData
|
the encoded encapsulated data.
|
NewL(TCmsContentInfoType, TBool, const TDesC8 &)
Creates an EncapsulatedContentInfo as defined in RFC2630.
Parameters
TCmsContentInfoType
aContentInfoType
|
The type of the encapsulated content.
|
TBool
aIsEContentDataPresent
|
Indicates whether the encapsulated data is present.
|
const
TDesC8
& aContentData
|
The encapsulated data.
|
NewLC(const TDesC8 &)
Creates an EncapsulatedContentInfo as defined in RFC2630, and leaves the instance on the cleanup stack.
Parameters
const
TDesC8
& aRawData
|
The encoded encapsulated data.
|
NewLC(TCmsContentInfoType, TBool, const TDesC8 &)
Creates an EncapsulatedContentInfo as defined in RFC2630, and leaves the instance on the cleanup stack.
Parameters
TCmsContentInfoType
aContentInfoType
|
The type of the encapsulated content.
|
TBool
aIsEContentDataPresent
|
Indicates whether the encapsulated data is present.
|
const
TDesC8
& aContentData
|
The encapsulated data.
|
Member Data Documentation
TCmsContentInfoType
iContentType
The Type of the ContentInfo
TBool
iIsContentDataPresent
TBool
|
iIsContentDataPresent
|
[private]
|
Represents whether the Content is present or not.
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.