generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
did:jwk
resolve test vectors (#69)
* update did-jwk resolve test vectors * add README to describe did-jwk test vectors * add @amika-sq to CODEOWNERS * use supported dsa algorithms in `did-jwk` test vectors
- Loading branch information
Showing
3 changed files
with
101 additions
and
73 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* @decentralgabe @mistermoe @phoebe-lew @frankhinek | ||
* @decentralgabe @mistermoe @phoebe-lew @frankhinek @amika-sq | ||
test-harness @nitro-neal @finn-tbd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# `did:jwk` Test Vectors | ||
|
||
## Resolve | ||
|
||
Resolution test vectors are available [here](./resolve.json) | ||
|
||
### Input | ||
|
||
the value of `input` is a string that is to be treated as a DID URI | ||
|
||
### Output | ||
|
||
the value of `output` is an object that contains the following properties | ||
|
||
| Property | Description | | ||
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| `didDocument` | the expected [didDocument](https://www.w3.org/TR/did-core/#dfn-diddocument) when `input` is resolved. Note that `didDocument` is set to `null` if resolution is unsuccessful | | ||
| `didDocumentMetadata` | the expected [didDocumentMetadata](https://www.w3.org/TR/did-core/#dfn-diddocumentmetadata) when `input` is resolved. Note for `did:jwk` this is _always_ an empty object | | ||
| `didResolutionMetadata` | the expected [didResolutionMetadata](https://www.w3.org/TR/did-core/#dfn-didresolutionmetadata) when `input` is resolved. Note for `did:jwk`, on success, this is _always_ an empty object | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters