[−][src]Function minisign::verify
pub fn verify<R>(
pk: &PublicKey,
signature_box: &SignatureBox,
data_reader: R,
quiet: bool,
output: bool
) -> Result<()> where
R: Read + Seek,
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