Function PublicKey.verify
Verify that a signature matches a given message
bool verify(T)
(
Signature signature,
in T msg
) const nothrow @nogc @trusted;
Parameters
Name | Description |
---|---|
signature | The signature of msg matching this public key. |
msg | The signed message. Should not include the signature. |
Returns
true
iff the signature is valid