forked from
smokesignal.events/atproto-plc
Rust and WASM did-method-plc tools and structures
1[
2 {
3 "did": "did:web:example.com",
4 "reason": "wrong method"
5 },
6 {
7 "did": "did:plc:tooshort",
8 "reason": "too short"
9 },
10 {
11 "did": "did:plc:EWVI7NXZYOUN6ZHXRHS64OIZ",
12 "reason": "uppercase not allowed"
13 },
14 {
15 "did": "did:plc:0189abcdefghijklmnopqrst",
16 "reason": "contains invalid characters 0,1,8,9"
17 },
18 {
19 "did": "DID:PLC:ewvi7nxzyoun6zhxrhs64oiz",
20 "reason": "prefix must be lowercase"
21 },
22 {
23 "did": "did:plc:ewvi7nxzyoun6zhxrhs64oizextra",
24 "reason": "too long"
25 }
26]