Skill 3.6.5

Digital signatures and digital certificates (e.g., non-repudiation, integrity)

Key Concepts

To sign, the sender hashes the message and encrypts the hash with their private key. The recipient decrypts the signature with the sender's public key and compares it with their own hash of the message. A match proves integrity and authenticity, and because only the signer has the private key, it provides nonrepudiation. Signatures do not provide confidentiality.

A digital certificate (X.509) contains the subject's identity, public key, validity period and the CA's signature. Certificates are used for TLS, code signing, email signing (S/MIME) and device authentication.