#include <asymmetric.h>
class CDSASignature : public CBase |
Protected Attributes | |
---|---|
RInteger | iR |
RInteger | iS |
Public Member Functions | |
---|---|
virtual | ~CDSASignature(void) |
IMPORT_C CDSASignature * | NewL(RInteger &, RInteger &) |
IMPORT_C CDSASignature * | NewLC(RInteger &, RInteger &) |
IMPORT_C const TInteger & | R(void) |
IMPORT_C const TInteger & | S(void) |
IMPORT_C TBool | operator==(const CDSASignature &) |
Protected Member Functions | |
---|---|
CDSASignature(RInteger &, RInteger &) | |
CDSASignature(void) |
An encapsulation of a DSA signature.
IMPORT_C | CDSASignature | ( | void | ) | [protected] |
Default constructor
IMPORT_C | ~CDSASignature | ( | void | ) | [virtual] |
The destructor frees all resources owned by the object, prior to its destruction.
IMPORT_C CDSASignature * | NewL | ( | RInteger & | aR, |
RInteger & | aS | |||
) | [static] |
Creates a new CDSASignature object from the specified R and S values.
Parameters | |
---|---|
aR | The DSA signature's R value |
aS | The DSA signature's S value |
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 | |
---|---|
aR | The DSA signature's R value |
aS | The DSA signature's S value |
IMPORT_C TBool | operator== | ( | const CDSASignature & | aSig | ) | const |
Whether this DSASignature is identical to a specified DSASignature
Parameters | |
---|---|
aSig | The DSASignature for comparison |