CDSASignature Class Reference

class CDSASignature : public CBase

An encapsulation of a DSA signature.

Inherits from

Constructor & Destructor Documentation

CDSASignature(RInteger &, RInteger &)

IMPORT_C CDSASignature ( RInteger & aR,
RInteger & aS
) [protected]

Protected constructor

Parameters

RInteger & aR The DSA signature's R value
RInteger & aS The DSA signature's S value

CDSASignature(void)

IMPORT_C CDSASignature ( void ) [protected]

Default constructor

Parameters

void

CDSASignature(const CDSASignature &)

CDSASignature ( const CDSASignature & ) [private]

Parameters

const CDSASignature &

~CDSASignature(void)

IMPORT_C ~CDSASignature ( void ) [virtual]

The destructor frees all resources owned by the object, prior to its destruction.

Parameters

void

Member Functions Documentation

NewL(RInteger &, RInteger &)

IMPORT_C CDSASignature * NewL ( RInteger & aR,
RInteger & aS
) [static]

Creates a new CDSASignature object from the specified R and S values.

Parameters

RInteger & aR The DSA signature's R value
RInteger & aS The DSA signature's S value

NewLC(RInteger &, RInteger &)

IMPORT_C CDSASignature * NewLC ( RInteger & aR,
RInteger & aS
) [static]

Creates a new CDSASignature object from the specified R and S values.

The returned pointer is put onto the cleanup stack.

Parameters

RInteger & aR The DSA signature's R value
RInteger & aS The DSA signature's S value

R(void)

IMPORT_C const TInteger & R ( void ) const

Gets the DSA signature's R value

Parameters

void

S(void)

IMPORT_C const TInteger & S ( void ) const

Gets the DSA signature's S value

Parameters

void

operator=(const CDSASignature &)

CDSASignature & operator= ( const CDSASignature & ) [private]

Parameters

const CDSASignature &

operator==(const CDSASignature &)

IMPORT_C TBool operator== ( const CDSASignature & aSig ) const

Whether this DSASignature is identical to a specified DSASignature

Parameters

const CDSASignature & aSig The DSASignature for comparison

Member Data Documentation

RInteger iR

RInteger iR [protected]

The DSA signature's R value

RInteger iS

RInteger iS [protected]

The DSA signature's S value