CryptoSpi::MVerifier Class Reference

class CryptoSpi::MVerifier : public CryptoSpi::MSignatureBase

The Verifier definition. Intended to allow plug-ins to implement extensible signature verifier functionality, and to work with all known existing signature algorithms, e.g. DSA, RSA etc

Inherits from

Member Functions Documentation

InverseSignL(HBufC8 *&, const CCryptoParams &)

voidInverseSignL(HBufC8 *&aOutput,
const CCryptoParams &aSignature
)[pure virtual]
Unsign the signature
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

HBufC8 *& aOutputThe unsigned hash
const CCryptoParams & aSignatureThe signature of the hash

VerifyL(const TDesC8 &, const CCryptoParams &, TBool &)

voidVerifyL(const TDesC8 &aInput,
const CCryptoParams &aSignature,
TBool &aVerificationResult
)[pure virtual]
Verify the signature
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

const TDesC8 & aInputThe hash of the message to be verified
const CCryptoParams & aSignatureThe signature of the hash
TBool & aVerificationResultIndicates the success or failure of the verification