Module sign

Source
Expand description

Functions to sign a file

Structs§

GatherSignatureDataError
An error returned by gather_signature_data()
ReadSigningKeysError
An error returned by read_signing_keys()
SignTarErrorsign-tar
An error returned by copy_and_sign_tar()
SignZipErrorsign-zip
An error returned by copy_and_sign_zip()

Functions§

copy_and_sign_tarsign-tar
Copy a .tar.gz file and sign its content
copy_and_sign_zipsign-zip
Copy a .zip file and sign its content
gather_signature_data
Sign a pre-hashed message with all provided signing keys, and return a signature block incl. a header
read_signing_keys
Read signing keys from an Iterator of readable inputs