verify Method
Verifies an enveloped or enveloping signature contained in a buffer.
Syntax
def verify(buffer: bytes) -> bytes: ...
Remarks
Use this method to verify an enveloped or enveloping signature contained in a byte array.The method verifies the signature and extracts the original signed content intoanother byte array.
The validation result is stored in signature_validation_result property.
Use verify_detached to verify detached signatures.
Specify the verification key in the key property before commencing verification.