CASN1EncInt Class Reference

class CASN1EncInt : public CASN1EncPrimitive

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

Constructor & Destructor Documentation

CASN1EncInt(const TInt)

CASN1EncInt ( const TInt aInt ) [private]

Parameters

const TInt aInt

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

IMPORT_C CASN1EncInt * NewL ( const TInt aInt ) [static]

Parameters

const TInt aInt

NewLC(const TInt)

IMPORT_C CASN1EncInt * NewLC ( const TInt aInt ) [static]

Parameters

const TInt aInt

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

const TInt iInt [private]