#include <asymmetric.h>
class CRSASignature : public CBase |
Protected Attributes | |
---|---|
RInteger | iS |
Public Member Functions | |
---|---|
virtual | ~CRSASignature(void) |
IMPORT_C CRSASignature * | NewL(RInteger &) |
IMPORT_C CRSASignature * | NewLC(RInteger &) |
IMPORT_C const TInteger & | S(void) |
IMPORT_C TBool | operator==(const CRSASignature &) |
Protected Member Functions | |
---|---|
CRSASignature(RInteger &) | |
CRSASignature(void) |
An encapsulation of a RSA signature.
IMPORT_C | CRSASignature | ( | RInteger & | aS | ) | [protected] |
Second phase constructor
See also: CRSASignature::NewL()
Parameter | Description |
---|---|
aS | The integer value output from a previous RSA signing operation |
IMPORT_C | ~CRSASignature | ( | void | ) | [virtual] |
Destructor The destructor frees all resources owned by the object, prior to its destruction.
IMPORT_C CRSASignature * | NewL | ( | RInteger & | aS | ) | [static] |
Creates a new CRSASignature object from the integer value output of a previous RSA signing operation.
Parameter | Description |
---|---|
aS | The integer value output from a previous RSA signing operation |
Returns: A pointer to the new CRSASignature object.
IMPORT_C CRSASignature * | NewLC | ( | RInteger & | aS | ) | [static] |
Creates a new CRSASignature object from the integer value output of a previous RSA signing operation.
The returned pointer is put onto the cleanup stack.
Parameter | Description |
---|---|
aS | The integer value output from a previous RSA signing operation |
Returns: A pointer to the new CRSASignature object.
IMPORT_C const TInteger & | S | ( | void | ) | const |
Gets the integer value of the RSA signature
Returns: The integer value of the RSA signature
IMPORT_C TBool | operator== | ( | const CRSASignature & | aSig | ) | const |
Whether this RSASignature is identical to a specified RSASignature
Parameter | Description |
---|---|
aSig | The RSASignature for comparison |
Returns: ETrue, if the two signatures are identical; EFalse, otherwise.