# Decentralized Identifiers (DIDs) Spec 透過使用者的 DID 可以找到對應的 DID Document。 DID 的格式 ``` did:example:123456789abcdefghi did:uport:2nQtiQG6Cgm1GYTBaaKAgr76uY7iSexUkqX/some/path#fragment=123 ``` DID Document ``` { "@context": "https://w3id.org/did/v1", "id": "did:example:123456789abcdefghi", "publicKey": [{ "id": "did:example:123456789abcdefghi#keys-1", "type": "RsaVerificationKey2018", "owner": "did:example:123456789abcdefghi", "publicKeyPem": "-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n" }], "authentication": [{ // this key can be used to authenticate as DID ...9938 "type": "RsaSignatureAuthentication2018", "publicKey": "did:example:123456789abcdefghi#keys-1" }], "service": [{ "type": "ExampleService", "serviceEndpoint": "https://example.com/endpoint/8377464" }] } ``` ### DID Component * did-resolver 負責找到 DID 對應的 DID Document * did-register 負責註冊 DID Document,並產生 DID ### DID Operation 必須實作以下方法給使用者操作 DID 。 * Create * Read/Verify * Update * Delete/Revoke ## Reference * [Decentralized Identifiers (DIDs) v0.10](https://w3c-ccg.github.io/did-spec/#did-operations)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up