pub fn verify(
hash_algorithm: Algorithm,
public_key: &PublicKey,
signature: &[u8],
msg: &[u8],
salt_len: usize,
) -> Result<(), Error>
Expand description
Verify the signature
on the msg
with the public_key
using the
hash_algorithm
and salt_len
.
Returns an error if any of the inputs are invalid or the signature is invalid.