CDSASignature Class Reference

#include <asymmetric.h>

class CDSASignature : public CBase

Inherits from

Detailed Description

An encapsulation of a DSA signature.

Member Attribute Documentation

iR

RInteger iR[protected]

The DSA signature's R value

iS

RInteger iS[protected]

The DSA signature's S value

Constructor & Destructor Documentation

CDSASignature ( RInteger &, RInteger & )

IMPORT_CCDSASignature(RInteger &aR,
RInteger &aS
)[protected]

Protected constructor

Parameters
aRThe DSA signature's R value
aSThe DSA signature's S value

CDSASignature ( void )

IMPORT_CCDSASignature(void)[protected]

Default constructor

~CDSASignature ( void )

IMPORT_C~CDSASignature(void)[virtual]

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

Member Function 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
aRThe DSA signature's R value
aSThe DSA signature's S value
Return Value
A pointer to the new CDSASignature object

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
aRThe DSA signature's R value
aSThe DSA signature's S value
Return Value
A pointer to the new CDSASignature object

R ( void )

IMPORT_C const TInteger &R(void)const

Gets the DSA signature's R value

Return Value
The R value

S ( void )

IMPORT_C const TInteger &S(void)const

Gets the DSA signature's S value

Return Value
The S value

operator== ( const CDSASignature & )

IMPORT_C TBooloperator==(const CDSASignature &aSig)const

Whether this DSASignature is identical to a specified DSASignature

Parameters
aSigThe DSASignature for comparison
Return Value
ETrue, if the two signatures are identical; EFalse, otherwise.