CASN1EncInt Class Reference

class CASN1EncInt : public CASN1EncPrimitive

Class for encoding TInts only. Use CASN1EncBigInt for encoding Big Integer objects.

Inherits from

Constructor & Destructor Documentation

CASN1EncInt(const TInt)

CASN1EncInt(const TIntaInt)[private]

Parameters

const TInt aInt

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 TInt)

IMPORT_C CASN1EncInt *NewL(const TIntaInt)[static]

Parameters

const TInt aInt

NewLC(const TInt)

IMPORT_C CASN1EncInt *NewLC(const TIntaInt)[static]

Parameters

const TInt aInt

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 TInt iInt

const TIntiInt[private]