[][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.


  • pk - the public key
  • signature_box - the signature and its metadata
  • data_reader - the data source
  • quiet - use false to output status information to stderr
  • output - use true to output a copy of the data to stdout