# Quiz 5

#### Let's apply what you have learned so far to a specific scenario. Choose the correct response.

Alice is a software developer who needs to send a legally binding contract to Bob. She decides to use a digital signature to ensure the document's authenticity and integrity. After signing the document with her private key, she sends the signed document and her public key to Bob. However, Bob is unsure how to verify the signature. What should Bob do to confirm the document's authenticity?

* [x] Use Alice's public key to verify the digital signature against the document's content.
* [ ] Use Alice's private key to verify the digital signature.
* [ ] Compare the digital signature to a handwritten signature from Alice.
* [ ] Modify the document slightly and check if the signature still matches.

**Notes to Learners**

To verify the authenticity of a digitally signed document, Bob should use Alice's public key to validate the digital signature against the document's content. This ensures that the signature was created using Alice's private key and that the document has not been tampered with. Using the private key for verification is incorrect, as it is meant to remain secret and is used only for signing. Comparing the digital signature to a handwritten signature or modifying the document would not provide valid verification.

&#x20;

To learn more about it, you can follow the course [What are Digital Signatures](https://bsvblockchain.360learning.com/course/play/68dba6e4aaed24fbae97d69e)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-digital-signatures/quiz/quiz-5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
