As another commenter noted, there's a general internet standard defined already for cryptographically timestamping and signing digital artifacts, like JARs, PDFs, dotNet assemblies, and many others.<p><a href="https://datatracker.ietf.org/doc/html/rfc3161" rel="nofollow">https://datatracker.ietf.org/doc/html/rfc3161</a><p>Many large certificate issuing orgs run timestamping authority servers. Tools like Java jarsigner, Adobe Acrobat, and many other tools are designed to work with them. Search for "rfc3161".