CDSAVerifier Class Reference

class CDSAVerifier : public CVerifier< CDSASignature >

Implementation of DSA signature verification as specified in FIPS 186-2 change request 1.

Inherits from

Constructor & Destructor Documentation

CDSAVerifier(const CDSAPublicKey &)

CDSAVerifier(const CDSAPublicKey &aKey)[protected]

Parameters

const CDSAPublicKey & aKey

CDSAVerifier(const CDSAVerifier &)

CDSAVerifier(const CDSAVerifier &)[private]

Parameters

const CDSAVerifier &

Member Functions Documentation

MaxInputLength(void)

TInt MaxInputLength(void)const [virtual]

Parameters

void

NewL(const CDSAPublicKey &)

IMPORT_C CDSAVerifier *NewL(const CDSAPublicKey &aKey)[static]

Creates a new CDSAVerifier object from a specified DSA public key.

Parameters

const CDSAPublicKey & aKeyThe DSA public key to be used for verifying

NewLC(const CDSAPublicKey &)

IMPORT_C CDSAVerifier *NewLC(const CDSAPublicKey &aKey)[static]

Creates a new CDSAVerifier object from a specified DSA public key.

The returned pointer is put onto the cleanup stack.

Parameters

const CDSAPublicKey & aKeyThe DSA public key to be used for verifying

VerifyL(const TDesC8 &, const CDSASignature &)

TBool VerifyL(const TDesC8 &aInput,
const CDSASignature &aSignature
)const [virtual]

Verifies the specified digital signature

Note that in order to be interoperable and compliant with the DSS, aInput must be the result of a SHA-1 hash.

Parameters

const TDesC8 & aInputA SHA-1 hash of the received message
const CDSASignature & aSignatureThe signature to be verified

operator=(const CDSAVerifier &)

CDSAVerifier &operator=(const CDSAVerifier &)[private]

Parameters

const CDSAVerifier &

Member Data Documentation

const CDSAPublicKey & iPublicKey

const CDSAPublicKey &iPublicKey[protected]

The DSA public key to be used for verification