CompTIA Security+ SY0-701 · General Security Concepts · medium

When Alice sends a digitally signed document to Bob using public-key cryptography to guarantee non-repudiation and integrity, which cryptographic keys are used to sign and to verify the signature?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAlice signs with Bob's Public Key and Bob verifies with Bob's Private Key
  • BAlice signs with Alice's Private Key and Bob verifies with Alice's Public KeyCorrect answer
  • CAlice signs with Alice's Public Key and Bob verifies with Alice's Private Key
  • DAlice signs with a shared AES session key and Bob verifies with a salt

Answer: B. Alice signs with Alice's Private Key and Bob verifies with Alice's Public Key

To create a digital signature, Alice hashes the message and encrypts (signs) the hash digest using Alice's own Private Key. Bob then decrypts/verifies the signature using Alice's Public Key and compares the hash digest. Because Alice possesses her Private Key, this provides non-repudiation and integrity.

Why the other options are wrong

  • A. Alice signs with Bob's Public Key and Bob verifies with Bob's Private Key — Encrypting with Bob's Public Key provides confidentiality, not a digital signature for non-repudiation.
  • C. Alice signs with Alice's Public Key and Bob verifies with Alice's Private Key — A public key is publicly known and cannot be used to generate an authentic digital signature.
  • D. Alice signs with a shared AES session key and Bob verifies with a salt — Symmetric AES keys are shared by both parties and therefore do not provide asymmetric non-repudiation.

All General Security Concepts questions and the topic overview →

CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.