CASN1EncBigInt Class Reference

class CASN1EncBigInt : public CASN1EncPrimitive

Class for encoding Big Integer objects only - use CASN1EncInt for TInts.

Inherits from

Constructor & Destructor Documentation

CASN1EncBigInt()

CASN1EncBigInt ( ) [private]

~CASN1EncBigInt()

IMPORT_C ~CASN1EncBigInt ( )

Member Functions Documentation

CalculateContentsLengthDER()

void CalculateContentsLengthDER ( ) [private, virtual]

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

ConstructL(const TInteger &)

void ConstructL ( const TInteger & aInteger ) [private]

Parameters

const TInteger & aInteger

NewL(const TInteger &)

IMPORT_C CASN1EncBigInt * NewL ( const TInteger & aInteger ) [static]

Parameters

const TInteger & aInteger

NewLC(const TInteger &)

IMPORT_C CASN1EncBigInt * NewLC ( const TInteger & aInteger ) [static]

Parameters

const TInteger & aInteger

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

HBufC8 * iContents

HBufC8 * iContents [private]

TPtrC8 iWriteContents

TPtrC8 iWriteContents [private]