CCMSSequence Class Reference

class CCMSSequence : public CBase

Base class for sequence (or set) type of modules.

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSSequence()

CCMSSequence()[protected]

C++ default constructor.

Member Functions Documentation

CreateDerEncodingL(CASN1EncBase *)

IMPORT_C HBufC8 *CreateDerEncodingL(CASN1EncBase *aEncoding)[protected, static]
Creates DER encoded descriptor and leaves it to CleanupStack
Since
2.8

Parameters

CASN1EncBase * aEncodingbase encoding to be encoded

DecodeSequenceLC(const TDesC8 &)

IMPORT_C CArrayPtr< TASN1DecGeneric > *DecodeSequenceLC(const TDesC8 &aRawData)[protected, static]
Decode a generic ASN1 sequence
Since
2.8

Parameters

const TDesC8 & aRawDataraw-data to be splitted in ASN.1 Modules

DecodeSequenceLC(const TDesC8 &, TInt, TInt)

IMPORT_C CArrayPtr< TASN1DecGeneric > *DecodeSequenceLC(const TDesC8 &aRawData,
TIntaMinTerms,
TIntaMaxTerms
)[protected, static]
Decode a generic ASN1 sequence, with a minimum/maximum number of top level terms. Will leave with KErrArgument if number of terms is not between valid range (including min and max)
Since
2.8

Parameters

const TDesC8 & aRawDataraw-data to be splitted in ASN.1 Modules
TInt aMinTermsminimum of top level terms.
TInt aMaxTermsmaximum number of top level terms.

EncodeL(HBufC8 *&)

voidEncodeL(HBufC8 *&aResult)const
From MCMSModule
Since
2.8

Parameters

HBufC8 *& aResultAllocates and sets result in this variable