pub fn verify<R>(
pk: &PublicKey,
signature_box: &SignatureBox,
data_reader: R,
quiet: bool,
output: bool,
allow_legacy: bool,
) -> Result<()>
Expand description
Verify a signature using a public key.
ยงArguments
pk
- the public keysignature_box
- the signature and its metadatadata_reader
- the data sourcequiet
- usefalse
to output status information tostderr
output
- usetrue
to output a copy of the data tostdout
allow_legacy
- accept signatures from legacy versions of minisign