# 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: 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.metadium.com/en/metadium-info/did.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.
