CDSASignature Class Reference

#include <asymmetric.h>

class CDSASignature : public CBase

Inherits from

  • CDSASignature

    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

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

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

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

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

    Returns: A pointer to the new CDSASignature object

    R ( void )

    IMPORT_C const TInteger &R(void)const

    Gets the DSA signature's R value

    Returns: The R value

    S ( void )

    IMPORT_C const TInteger &S(void)const

    Gets the DSA signature's S value

    Returns: The S value

    operator== ( const CDSASignature & )

    IMPORT_C TBooloperator==(const CDSASignature &aSig)const

    Whether this DSASignature is identical to a specified DSASignature

    ParameterDescription
    aSigThe DSASignature for comparison

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