verify_signature Method
Verifies the signature for the specified data.
Syntax
def verify_signature() -> bool: ...
Remarks
This method will verify a hash signature.
Before calling this method specify the input file by setting input_file or input_message.
A public key and the hash signature are required to perform the signature verification. Specify the public key in signer_key. Alternatively, a certificate may be specified by setting signer_cert. Specify the hash signature in hash_signature.
When this method is called the class will compute the hash for the specified file and populate hash_value. It will verify the signature using the specified signer_key and hash_signature.
To verify the hash signature without first computing the hash simply specify hash_value before calling this method.
The on_progress event will fire with updates for the hash computation progress only. The hash signature verification process is quick and does not require progress updates.