fn verify(self: Signature, msg: []const u8, public_key: PublicKey) IdentityElementError || NonCanonicalError || SignatureVerificationError || EncodingError || WeakPublicKeyError!void
[src]
Verify the signature against a message and public key. Return IdentityElement or NonCanonical if the public key or signature are not in the expected range, or SignatureVerificationError if the signature is invalid for the given message and key.