Skip to content

Commit 7bc57aa

Browse files
committed
Add more DID test vectors
1 parent e89ac80 commit 7bc57aa

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/test/java/com/apicatalog/did/DidTest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,21 @@ static Stream<String[]> validVectors() {
9696
"web",
9797
"method:specific:identifier"
9898
},
99+
{
100+
"did:tdw:example.com:dids:12345",
101+
"tdw",
102+
"example.com:dids:12345"
103+
},
104+
{
105+
"did:tdw:12345.example.com",
106+
"tdw",
107+
"12345.example.com",
108+
},
109+
{
110+
"did:tdw:example.com_12345",
111+
"tdw",
112+
"example.com_12345"
113+
}
99114
});
100115
}
101116

0 commit comments

Comments
 (0)