CRSASignature Class Reference

#include <asymmetric.h>

class CRSASignature : public CBase

Inherits from

  • CRSASignature

    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()

    ParameterDescription
    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.

    ParameterDescription
    aSThe integer value output from a previous RSA signing operation

    Returns: 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.

    ParameterDescription
    aSThe integer value output from a previous RSA signing operation

    Returns: A pointer to the new CRSASignature object.

    S ( void )

    IMPORT_C const TInteger &S(void)const

    Gets the integer value of the RSA signature

    Returns: 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

    ParameterDescription
    aSigThe RSASignature for comparison

    Returns: ETrue, if the two signatures are identical; EFalse, otherwise.