Thanks to the folks at ARX - developers of Cosign - for an excellent FAQ page on all things electronic signature. This post contains content copied from their FAQ on how digital signatures work:
Meet Bob and Alice.
Step 1: Getting a Private and Public Key
In order to digitally sign a document, Bob needs to obtain a private and public key, which is a one-time process.The private key, as the name implies, is not shared and is used only by the signer. The public key is openly available and used by those that need to validate the signer's digital signature. |
Private and Public Key Certificate
Click to enlarge | |
Step 2 |
Signing an Electronic Document
Bob sends the signed document to Alice. Alice uses Bob's public key (which is included in the digital certificate) to authenticate Bob's signature and to ensure that no changes were made to the document after it was signed.
| |
Step 3 |
Validating a Digital Signature
There is yet another factor involved. How can Alice know whether Bob is indeed the same person she intends to conduct business with? Bob needs to be certified by a trusted third party that knows him and can verify that he is indeed who he claims to be. These trusted third parties are called Certificate Authorities (CA). They issue certificates to ensure the authenticity of the signer. Certificates can be compared to passports issued by countries to their citizens for world travel. When a traveler arrives at a foreign country, there is no practical way to authenticate the traveler's identity. Instead, the immigration policy is to trust the passport issuer (in PKI terminology, this is the CA) and use the passport to authenticate its holder in the same way that Alice uses the CA's certificate for authenticating Bob's identity.
|
Also see the Wikipedia definition of digital signature.