# DID

### 메타디움 DID 구조

: DID는 개인 또는 기관의 디지털 신원을 관리하는 중요한 요소로써, DID 및 DID document를 기반으로 CRUD 작업을 수행합니다. 사용자나 기관은 DID를 생성하고 해당 정보를 읽을 수 있으며, 필요한 경우 정보를 업데이트하거나 삭제할 수 있습니다. 이러한 CRUD 작업은 디지털 신원 관리를 효과적으로 처리할 수 있습니다.

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

### 메타디움 DID 프로세스

: DID를 활용한 서명, 계약 등의 내역은 블록체인 상의 스마트 컨트랙트로 수행되고 기록되어, 데이터 조작 방지 및 무결성을 보장합니다. 또한 개인정보를 포함하지 않은 단순 DID만을 이용함으로써 개인정보 유출 방지 및 익명성을 보장합니다.

사용자는 DID App을 이용하여 private key와 public key를 생성하며, 블록체인 상의 스마트 컨트랙트에 public key와 signature를 전송함으로써 DID를 생성합니다.&#x20;

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

DID 발급 후 Issuer로부터 사용자에 대한 자격이 있다는 증명을 발급받으면, Issuer의 private key로 서명된 자격증명서를 발급 받습니다.&#x20;

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

서비스 이용 시 사용자는 자격증명서를 Verifier에게 송부하고, Verifier는 블록체인에 등록된 사용자와 Issuer의 public key를 이용하여 해당 자격증명서가 Issuer로부터 서명되었음을 리턴합니다.

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

사용자는 삭제 요청 시 본인의 DID와 Signature를 전송하고, DID 스마트 컨트랙트는 사용자의 서명 확인 후 DID를 삭제하고 결과 값을 반환합니다.

<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/ko/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.
