function VerifySign(const Data, Sign: TBytes; HashAlg: TScHashAlgorithm = haSHA1; Padding: TScPaddingMode = pmPKCS1): Boolean;
Description
The VerifySign method verifies whether the signature is correct for specified Data using the public key. If the signature is correct, the function returns True.
The Padding parameter can be equal only to pmPKCS1 or pmPSS values.
To get data signature the Sign method should be used.
Note: If the Ready property is False, the key will be automatically loaded.
See also