CASN1EncBoolean Class Reference

class CASN1EncBoolean : public CASN1EncPrimitive

Class for encoding Boolean values.

Inherits from

Constructor & Destructor Documentation

CASN1EncBoolean(const TBool)

CASN1EncBoolean ( const TBool aBool ) [private]

Parameters

const TBool aBool

Member Functions Documentation

CalculateContentsLengthDER()

void CalculateContentsLengthDER ( ) [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 TBool aBool ) [static]

Parameters

const TBool aBool

NewLC(const TBool)

IMPORT_C CASN1EncBoolean * NewLC ( const TBool aBool ) [static]

Parameters

const TBool aBool

WriteContentsDERL(TDes8 &)

void WriteContentsDERL ( 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 & aBuf Buffer to write to.

Member Data Documentation

const TBool iBool

const TBool iBool [private]