Skip to content

Commit

Permalink
Add did:unisot DID Method to the did-test-suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkostanic authored and msporny committed May 17, 2021
1 parent f387c20 commit 271a4f9
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
require('../implementations/did-ethr-2021-consensys-mesh.json'),
require('../implementations/did-trust.json'),
require('../implementations/did-v1-vof.json'),
require('../implementations/did-monid.json')
require('../implementations/did-monid.json'),
require('../implementations/did-unisot.json')
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
require('../implementations/did-ethr-2021-consensys-mesh.json'),
require('../implementations/did-trust.json'),
require('../implementations/did-v1-vof.json'),
require('../implementations/did-monid.json')
require('../implementations/did-monid.json'),
require('../implementations/did-unisot.json')
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
require('../implementations/did-ethr-2021-consensys-mesh.json'),
require('../implementations/did-trust.json'),
require('../implementations/did-v1-vof.json'),
require('../implementations/did-monid.json')
require('../implementations/did-monid.json'),
require('../implementations/did-unisot.json')
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
require('../implementations/did-ethr-2021-consensys-mesh.json'),
require('../implementations/did-trust.json'),
require('../implementations/did-v1-vof.json'),
require('../implementations/did-monid.json')
require('../implementations/did-monid.json'),
require('../implementations/did-unisot.json')
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"didMethod": "did:unisot",
"implementation": "@unisot/unisot-did-resolverer",
"implementer": "UNISOT AS",
"supportedContentTypes": [
"application/did+ld+json",
"application/did+json"
],
"dids": [
"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
],
"didParameters": {
"versionId": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7?versionId=bafyreidmpfv7aumgqeqacprb2yv3t7sapsoro6dpopopyxtelknfbxifia",
"versionTime": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7?versionTime=2021-03-16T10:09:21Z"
},
"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7": {
"didDocumentDataModel": {
"properties": {
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7",
"verificationMethod": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
],
"authentication": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
],
"assertionMethod": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
],
"keyAgreement": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
],
"capabilityInvocation": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
],
"capabilityDelegation": [
{
"id": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#Key1",
"type": "EcdsaSecp256k1Signature2019",
"controller": "did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7"
}
]
}
},
"application/did+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {}
},
"representation": "{\"@context\":[\"https:\/\/www.w3.org\/ns\/did\/v1\",\"https:\/\/w3id.org\/security\/v1\"],\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"verificationMethod\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"authentication\":[\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"assertionMethod\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"keyAgreement\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"capabilityInvocation\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"capabilityDelegation\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"service\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#vcs\",\"type\":\"VerifiableCredentialService\",\"serviceEndpoint\":\"https:\/\/service.example.com\/vc\"}],\"created\":\"2021-05-17T09:21:38.612Z\"}",
"didResolutionMetadata": {
"contentType": "application/did+json"
},
"didDocumentMetadata": {
"created": "2021-05-17T09:21:38.612Z"
}
},
"application/did+ld+json": {
"didDocumentDataModel": {
"representationSpecificEntries": {
"@context": "https://www.w3.org/ns/did/v1"
}
},
"representation": "{\"@context\":[\"https:\/\/www.w3.org\/ns\/did\/v1\",\"https:\/\/w3id.org\/security\/v1\"],\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"verificationMethod\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"authentication\":[\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"assertionMethod\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"keyAgreement\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"capabilityInvocation\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"capabilityDelegation\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\",\"type\":\"EcdsaSecp256k1VerificationKey2019\",\"controller\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7\"}],\"service\":[{\"id\":\"did:unisot:test:mtF5XVLJvXEeffY8fo2eUfpXqs9CqQzpj7#vcs\",\"type\":\"VerifiableCredentialService\",\"serviceEndpoint\":\"https:\/\/service.example.com\/vc\"}],\"created\":\"2021-05-17T09:21:38.612Z\"}",
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
},
"didDocumentMetadata": {
"created": "2021-05-17T09:21:38.612Z"
}
}
}
}

0 comments on commit 271a4f9

Please sign in to comment.