Module zipsign_api::verify
source · Available on crate feature
verify only.Expand description
Common functions to verify a signed file
Structs
- No matching key/signature pair found
Enums
- An error returned by
collect_keys() - An error returned by
read_signatures() - VerifyTarError
verify-tarAn error returned byverify_tar() - VerifyZipError
verify-zipAn error retuned byverify_zip()
Functions
- Convert a slice of key bytes into a
VecofVerifyingKeys. - Iterate [signatures][Signature] and keys and return the indices of the first match
- Collect all signatures in a file
- verify_tar
verify-tarFind the index of the firstVerifyingKeythat matches the a signature in a signed.tar.gzfile - verify_zip
verify-zipFind the index of the firstVerifyingKeythat matches the a signature in a signed.zipfile