Crate signedsource

Source

Constants§

NEWTOKEN
SIGNING_TOKEN
The signing token to be embedded in the file you wish to be signed.

Functions§

is_signed
Checks whether a file is signed without verifying the signature.
is_valid_signature
Verifies the signature in a signed file.
sign_file
Signs a source file which contains a signing token. Signing modifies only the signing token, so the token should be placed inside a comment in order for signing to not change code semantics.
try_sign_file