Skip to content

Commit

Permalink
Use #0 instead of #key-1 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe authored Mar 21, 2024
1 parent cac9dc6 commit 964c7b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The following steps must be used to generate a corresponding DID document:
"@context": "https://www.w3.org/ns/did/v1",
"id": "<DID>",
"verificationMethod": [{
"id": "<DID>#key-1",
"id": "<DID>#0",
"type": "JsonWebKey2020",
"controller": "<DID>",
"publicKeyJwk": {
Expand All @@ -63,15 +63,15 @@ The following steps must be used to generate a corresponding DID document:

```json
{
"assertionMethod": ["<DID>#key-1"]
"assertionMethod": ["<DID>#0"]
}
```

11. If the first certificate in the chain has the key usage bit position for `keyAgreement` set or is missing the key usage extension, add the following to the DID document:

```json
{
"keyAgreement": ["<DID>#key-1"]
"keyAgreement": ["<DID>#0"]
}
```

Expand Down

0 comments on commit 964c7b7

Please sign in to comment.