Expand description
Functions to verify a signed file
Structs§
- Collect
Keys Error - An error returned by
collect_keys() - NoMatch
- No matching key/signature pair found
- Read
Signatures Error - An error returned by
read_signatures() - Verify
TarError verify-tar - An error returned by
verify_tar() - Verify
ZipError verify-zip - An error returned by
verify_zip()
Functions§
- collect_
keys - Convert a slice of key bytes into a
VecofVerifyingKeys. - find_
match - Iterate signatures and keys, and return the indices of the first match match
- read_
signatures - Collect all signatures in a file
- verify_
tar verify-tar - Find the index of the first
VerifyingKeythat matches the a signature in a signed.tar.gzfile - verify_
zip verify-zip - Find the index of the first
VerifyingKeythat matches the a signature in a signed.zipfile