MCMSModule Class Reference

class MCMSModule

Base class for all CMS modules

cms.lib
Since
2.8
Public Member Functions
voidDecodeL(const TDesC8 &)
voidEncodeL(HBufC8 *&)
CASN1EncBase *EncoderLC()

Member Functions Documentation

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aRawData)[pure virtual]
To be implemented in derived classes, used to decrypt raw data to current instance. Will leave with KErrArgument if give data is not valid
Since
2.8

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance

EncodeL(HBufC8 *&)

voidEncodeL(HBufC8 *&aResult)const [pure virtual]
To be implemented in derived classes, used to encrypt specified module to descriptor Will leave with KErrArgument if current instance of module is invalid
Since
2.8

Parameters

HBufC8 *& aResultAllocates and sets result of encryption in this variable

EncoderLC()

CASN1EncBase *EncoderLC()const [pure virtual]

To be implemented in derived classes, used to retrieve ASN1 Encoder Leaves returned encoder in CleanupStack