diff --git a/index.html b/index.html index 7d3f470e..f31945a8 100644 --- a/index.html +++ b/index.html @@ -4525,6 +4525,35 @@
+ { + "@context": "https://www.w3.org/ns/did/v1.1", + "id": "did:example:123", + "verificationMethod": [ + { + // A relative DID URL, that will be transformed to the absolute DID URL value did:example:123#key-1 + "id": "#key-1", + "type": "Ed25519VerificationKey2020", + "controller": "did:example:123", + "publicKeyMultibase": "z6MkmM42vxfqZQsv4ehtTjFFxQ4sQKS2w6WR7emozFAn5cxu" + } + ], + "authentication": [ + "#key-1" + ], + "capabilityInvocation": [ + "#key-1" + ], + "capabilityDelegation": [ + "#key-1" + ], + "assertionMethod": [ + // Using relative DID URL #key-1 is equivalent to using the absolute DID URL value did:example:123#key-1 + "did:example:123#key-1" + ] + } ++