CRSASignature Class Reference

#include <asymmetric.h>

class CRSASignature : public CBase

Inherits from

Detailed Description

An encapsulation of a RSA signature.

Member Attribute Documentation

iS

RInteger iS[protected]

An integer value; the output from a previous RSA signing operation.

Constructor & Destructor Documentation

CRSASignature ( RInteger & )

IMPORT_CCRSASignature(RInteger &aS)[protected]

Second phase constructor

See also: CRSASignature::NewL()

Parameters
aSThe integer value output from a previous RSA signing operation

CRSASignature ( void )

IMPORT_CCRSASignature(void)[protected]

Default constructor

~CRSASignature ( void )

IMPORT_C~CRSASignature(void)[virtual]

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

Member Function Documentation

NewL ( RInteger & )

IMPORT_C CRSASignature *NewL(RInteger &aS)[static]

Creates a new CRSASignature object from the integer value output of a previous RSA signing operation.

Parameters
aSThe integer value output from a previous RSA signing operation
Return Value
A pointer to the new CRSASignature object.

NewLC ( RInteger & )

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.

Parameters
aSThe integer value output from a previous RSA signing operation
Return Value
A pointer to the new CRSASignature object.

S ( void )

IMPORT_C const TInteger &S(void)const

Gets the integer value of the RSA signature

Return Value
The integer value of the RSA signature

operator== ( const CRSASignature & )

IMPORT_C TBooloperator==(const CRSASignature &aSig)const

Whether this RSASignature is identical to a specified RSASignature

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