# XML Documents (XAdES in SECUREDOC)

1. Open SecureDoc app.
2. Choose XAdES fromat in the "Signing" tab.
3.

```
<figure><img src="/files/xRrY0rONtKq7rYMaoHpC" alt=""><figcaption></figcaption></figure>
```

4. To add a timestamp, go to "Settings" tab, click "Timestamp Settings" and enter a timestamp server address your username and password. Alternatively you cen select a variant without a timestamp.
5.

```
<figure><img src="/files/EH5l21ATb3e28NUDnFyz" alt=""><figcaption></figcaption></figure>
```

6.

```
<figure><img src="/files/b8olCOl8016Mh78ehaFi" alt=""><figcaption></figcaption></figure>
```

7. Add the file(s) by clicking "Add File" in the "Signing" Tab.
8.

```
<figure><img src="/files/ZY99kqnX2fbFyBRUy85o" alt=""><figcaption></figcaption></figure>
```

9. Select your file(s) and click "Sign files".
10.

```
<figure><img src="/files/5LK0c9YntYxlrYNAyX0A" alt=""><figcaption></figcaption></figure>
```

11. Click "Personal certificates", select your certificate and click OK. If you can't see uour certificate make sure, that Harmony Desktop is running and click "Refresh".&#x20;
12.

```
<figure><img src="/files/wMTdBUJM9TCEPtr6rk9i" alt=""><figcaption></figcaption></figure>
```

13. Enter your OTP code (SMS token). This might show up two times.
14.

```
<figure><img src="/files/8wVPwprjf6DRK2710nnz" alt=""><figcaption></figcaption></figure>
```

15. After that your document will be signed. On SIGNIUS Professional platform the amount of qulalified signatures will be reduced by the number of signed documents.
16.

```
<figure><img src="/files/7VmP6iav467GatvxgeBo" alt=""><figcaption></figcaption></figure>
```

17. If you click "Show document", it will open in the system's editor. Signature is located at the ent of the document.
18.

```
<figure><img src="/files/626fNsMWheF98TEXmBTE" alt=""><figcaption></figcaption></figure>
```


---

# 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://docs.signius.eu/manuals/harmony-desktop-en/signing/xml-documents-xades-in-securedoc.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.
