read_sig_and_digests

Function read_sig_and_digests 

Source
pub async fn read_sig_and_digests(
    path: &Path,
    data: &Bytes,
) -> Result<(Option<String>, Option<RetrievedDigest<Sha256>>, Option<RetrievedDigest<Sha512>>)>
Expand description

Read the signature file and digests

The expected locations are:

  • {base}.asc
  • {base}.sha256
  • {base}.sha512