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 * aEncoding base 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 & aRawData raw-data to be splitted in ASN.1 Modules

DecodeSequenceLC(const TDesC8 &, TInt, TInt)

IMPORT_C CArrayPtr < TASN1DecGeneric > * DecodeSequenceLC ( const TDesC8 & aRawData,
TInt aMinTerms,
TInt aMaxTerms
) [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 & aRawData raw-data to be splitted in ASN.1 Modules
TInt aMinTerms minimum of top level terms.
TInt aMaxTerms maximum number of top level terms.

EncodeL(HBufC8 *&)

void EncodeL ( HBufC8 *& aResult ) const
From MCMSModule
Since
2.8

Parameters

HBufC8 *& aResult Allocates and sets result in this variable