generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
resolve.json
53 lines (53 loc) · 1.24 KB
/
resolve.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"description": "did:dht resolution",
"vectors": [
{
"description": "methodNotSupported error returned when did method is not dht",
"input": {
"didUri": "did:web:example.com"
},
"output": {
"didResolutionMetadata": {
"error": "methodNotSupported"
}
},
"errors": true
},
{
"description": "notFound error returned when not published",
"input": {
"didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy"
},
"output": {
"didResolutionMetadata": {
"error": "notFound"
}
},
"errors": true
},
{
"description": "invalidPublicKey error returned for suffix with invalid character",
"input": {
"didUri": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfov"
},
"output": {
"didResolutionMetadata": {
"error": "invalidPublicKey"
}
},
"errors": true
},
{
"description": "invalidDid error returned for invalid did",
"input": {
"didUri": "invalid-did"
},
"output": {
"didResolutionMetadata": {
"error": "invalidDid"
}
},
"errors": true
}
]
}