[−][src]Function signatory::verify_sha256
pub fn verify_sha256<S>(
verifier: &dyn Sha256Verifier<S>,
msg: &[u8],
signature: &S
) -> Result<(), Error> where
S: Signature,
Verify SHA-256 of the given message and then sign the resulting digest.
This can be used to avoid importing the Verifier
and Signature
traits