Verifies digital signature.
Unit
Syntax
ParametersAKey [in] A key for verification. Comes from RSAGenKey function or RSALoadPublicKey function. Must match the key used in RSASign function to sign AData. A public key will be used.
AData [in] Data to be verified (the same data as the one passed to RSASign function). Must be unmodified (otherwise function will return False).
ADataSize [in] Size of AData in bytes.
ASignature [in] Signature to be verified (the same signature as the one returned by RSASign function). Little-endian.
ASignatureSize [in] Size of ASignature in bytes.
Return valueTrue - if digital signature is OK, False - if digital signature is broken (i.e. AData is not the same/was changed; or wrong key is used).
RemarksThis function verifies digital signature created by RSASign function.
Your public key will be used for verification.
Examples
See also
|