Using David and Donna, we can demonstrate how digital signatures are work.
From David’s point of view, the signing process operation is simple. But few steps
are happening while signing process is started. :
Step 1: Generating a Private and Public
Key
For digitally sign documents, David needs to obtain a Private and Public Key – a
one-time process , it’s done by Secured Signing Service while user registered. The
Private Key isn’t shared and is used only by David sign documents. The Public Key
is available for all, used for validate the signatory’s digital signature.
Step 2: Digitally Signing Document
Create a digital signature - A unique document’s hash that represent the
document is created using a math scheme (like as SHA-1).
Added the signature to the document – The hash result and the user’s digital
certificate that includes user’s Public Key are mixed into a digital signature;
it’s done by using the user’s Private Key to encrypt the document hash. The resulting
signature is unique to both the document and the user. Finally, the digital signature
is embedded to the document.
David sends the signed document to Donna. Donna uses David’s public key (which is
included in the signature within the Digital Certificate) to authenticate David’s
signature and to ensure the document didn’t alter after it was signed.
Donna:
1. Document validation process starts
2. Decrypts David’s digital signature with his Public Key and gets sent document
3. Compares David’s document hash with Donna calculated Has –Donna calculates
the document hash of the received document and compares it with the hash document
in the digital signature. If both hashes are same, the signed document has not been
altered.
Signing the document:
Verify signed document: