Digital Signature is a process that guarantees that the contents of a message have not been altered in transit. When you, the server, digitally sign a document, you add a one-way hash (encryption) of the message content using your public and private key pair.
Sender of the information encrypts the data using a secret code and only the specified receiver can decrypt the data using the same or a different secret code. Digital signature ensures the authenticity of the information