function VerifySign(const Data, Sign: TBytes; HashAlg: TScHashAlgorithm = haSHA1; Padding: TScPaddingMode = pmPKCS1): boolean;



The VerifySign method verifies whether the signature is correct for specified Data using the certificate key. If the signature is correct, the function returns True.

The Padding parameter can be equal only to pmPKCS1 or pmPSS values.


To get the data signature, the Sign method should be used.


Note: If the Ready property is False, the certificate will be automatically loaded.


See also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support