In Estonia, the government offers public key infrastructure, so any party needing to prove legitimacy of documents from a 3rd party can get it digitally signed by the originator. For example, when you need a bank statement, you can just download a signed PDF (technically it's a zip, but whatever) that proves the legal entity (or person) that ensures it's legitimate.