> For the complete documentation index, see [llms.txt](https://docs.metadium.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metadium.com/en/metadium-info/did.md).

# DID

### Metadium DID structure

: DID is a crucial element in managing digital identities for individuals or organizations, facilitating CRUD operations based on DID and DID documents. Users or institutions can create a DID, read its associated information, and update or delete it as needed. These CRUD operations effectively manage digital identity.

<figure><img src="/files/hUyHcpRLzd6mjEzWt4MI" alt=""><figcaption><p>DID Structure</p></figcaption></figure>

### Metadium DID Process

: The use of DID for signing contracts and other transactions is executed and recorded on the blockchain through smart contracts, ensuring data integrity and prevention of tampering. Moreover, utilizing only simple DID without including personal information guarantees privacy protection and anonymity, thus preventing the leakage of personal data.

Users create private keys and public keys using the DID App and create DIDs by sending the public key and signature to the smart contract on the blockchain.

<figure><img src="/files/u3bGi5YZwgvxvngyioFn" alt=""><figcaption><p>Create &#x26; Read DID</p></figcaption></figure>

After issuing a DID, if you receive proof from the issuer that you are eligible for the user, you will receive a certificate signed with the issuer's private key.

<figure><img src="/files/gt6di3yo6lItgwF1F7kS" alt=""><figcaption><p> VC Issuance</p></figcaption></figure>

​When using the service, the user sends the certificate to the Verifier, and the Verifier returns that the certificate has been signed by the Issuer utilizing the user’s public key and the Issuer’s registered in the blockchain.

<figure><img src="/files/UpIhXlOTNIHqACQHVuAo" alt=""><figcaption><p>VC Verification</p></figcaption></figure>

When requesting deletion, the user sends their DID and signature, and the DID smart contract deletes the DID after confirming the user's signature and returns the result.

<figure><img src="/files/H4nSdNd1dwl3Q0VZe5oM" alt=""><figcaption><p>Delete DID</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.metadium.com/en/metadium-info/did.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
