Location: Symbol Reference > Classes > TJwHash Class > TJwHash Methods > TJwHash.VerifySignature Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwHash.VerifySignature Method
Pascal
procedure VerifySignature(Signature: Pointer; Len: Cardinal; Key: TJwCryptKey);
Parameters 
Description 
Signature: Pointer 
The signature which should be verified  
Len: Cardinal 
The length of the signature  
Key: TJwCryptKey 
The public key that corresponds to the private key with with which the signature was created 

VerifySignature verifies that the given signature is correct for the data previously added to the hash using HashData .

Exceptions 
Description 
will be raised if the underlying Windows call fails due to an incorrect signature or for other reasons. In case of an incorrect signature, the property LastError of the exception object will have the value NTE_BAD_SIGNATURE. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!