CRSAVerifier Class Reference

class CRSAVerifier : public CVerifier< CRSASignature >

Abstract base class for all RSA Verifiers.

Inherits from

Constructor & Destructor Documentation

CRSAVerifier(void)

IMPORT_CCRSAVerifier(void)[protected]

Default constructor

Parameters

void

CRSAVerifier(const CRSAVerifier &)

CRSAVerifier(const CRSAVerifier &)[private]

Parameters

const CRSAVerifier &

Member Functions Documentation

InverseSignLC(const CRSASignature &)

HBufC8 *InverseSignLC(const CRSASignature &aSignature)const [pure virtual]

Performs a decryption operation on a signature using the public key.

This is the inverse of the sign operation, which performs a encryption operation on its input data using the private key. Although this can be used to verify signatures, CRSAVerifier::VerifyL should be used in preference. This method is however required by some security protocols.

Parameters

const CRSASignature & aSignatureThe signature to be verified

MaxOutputLength(void)

TInt MaxOutputLength(void)const [pure virtual]

Gets the maximum size of output that can be generated by this object.

Parameters

void

VerifyL(const TDesC8 &, const CRSASignature &)

IMPORT_C TBoolVerifyL(const TDesC8 &aInput,
const CRSASignature &aSignature
)const [virtual]

Verifies the specified digital signature

Parameters

const TDesC8 & aInputThe message digest that was originally signed
const CRSASignature & aSignatureThe signature to be verified

operator=(const CRSAVerifier &)

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

Parameters

const CRSAVerifier &