CASN1EncBoolean Class Reference

class CASN1EncBoolean : public CASN1EncPrimitive

Class for encoding Boolean values.

Inherits from

Constructor & Destructor Documentation

CASN1EncBoolean(const TBool)

CASN1EncBoolean(const TBoolaBool)[private]

Parameters

const TBool aBool

Member Functions Documentation

CalculateContentsLengthDER()

voidCalculateContentsLengthDER()[private, virtual]

Calculates number of octets in DER content encoding. Must set value of the appropriate data member.

NewL(const TBool)

IMPORT_C CASN1EncBoolean *NewL(const TBoolaBool)[static]

Parameters

const TBool aBool

NewLC(const TBool)

IMPORT_C CASN1EncBoolean *NewLC(const TBoolaBool)[static]

Parameters

const TBool aBool

WriteContentsDERL(TDes8 &)

voidWriteContentsDERL(TDes8 &aBuf)const [private, virtual]

Writes DER content encoding into supplied buffer, which is already verified to be big enough. Must be implemented by derived classes.

Parameters

TDes8 & aBufBuffer to write to.

Member Data Documentation

const TBool iBool

const TBooliBool[private]