Skip to content

Commit

Permalink
Fix did-vaa test failed errors.
Browse files Browse the repository at this point in the history
Co-authored-by: 张波 <[email protected]>
  • Loading branch information
caict-develop-zhangbo and 张波 authored May 26, 2021
1 parent 60e141e commit eb38a76
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions packages/did-core-test-server/suites/implementations/did-vaa.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,30 @@
"didDocumentDataModel": {
"properties": {
"id": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ",
"controllor": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ",
"created": "2020-11-25T18:23:33.019Z",
"controller": ["did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ"],
"publicKey": [
{
"id": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#key1",
"type": "RsaVerificationKey2018",
"controller": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ",
"controller": ["did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ"],
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDb/A4iQ0Lq6NU9Q3i91vbqZ8jh\nUj/Hr64683e9NvNkFBeFePp7wfuZJRSTMrllP5LEQwXPmeZzQBJjKkY34iQV7EXA\nARKMisvqUR/ucU1mj7ZCiFM+MNCcxn+eD1WfBsXMYfne/BPJPhIUfjjIzBaTQuhI\ntLhGD6WrDv6fovK/GQIDAQAB\n-----END PUBLIC KEY-----\n"
}
],
"service": [
{
"id": "did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC#resolver",
"id": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#resolver",
"type": "DIDResolve",
"serviceEndpoint": "https://www.citln.cn"
}
]
],
"proof": {
"created": "2020-11-25T18:23:33.019Z",
"signatureValue": "Tov28noNERDLNfvY1QHnS4zUYXJjLy1oiXXYb533wkq77rfdzy77/vRfBKVAt7iNY1GjpL5tytZpmPjYFLDFwz6SOdlsuCrKTM8sIGLybRS12EOWZl7PAfdYPwknpG4aK7Zmvc7u9ORN9o+YLTK3rP9H4GyJpYWUScy3S3YZU6A=",
"type": "RsaSignature2018",
"verificationMethod": "did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#key1"
},
"updated": "2020-11-25T18:23:33.019Z"
}
},
"application/did+ld+json": {
Expand All @@ -39,12 +47,12 @@
]
}
},
"representation": "{\"@context\":\"https://www.w3.org/2019/did/v1\",\"id\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC\",\"controllor\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC\",\"publicKey\":[{\"id\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC#key1\",\"type\":\"RsaVerificationKey2018\",\"controller\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC\",\"publicKeyPem\":\"-----BEGIN PUBLIC KEY-----\\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDb/A4iQ0Lq6NU9Q3i91vbqZ8jh\\nUj/Hr64683e9NvNkFBeFePp7wfuZJRSTMrllP5LEQwXPmeZzQBJjKkY34iQV7EXA\\nARKMisvqUR/ucU1mj7ZCiFM+MNCcxn+eD1WfBsXMYfne/BPJPhIUfjjIzBaTQuhI\\ntLhGD6WrDv6fovK/GQIDAQAB\\n-----END PUBLIC KEY-----\\n\"}],\"created\":\"2020-11-25T18:23:33Z\",\"updated\":\"2020-11-25T18:23:33Z\",\"proof\":{\"type\":\"RsaSignature2018\",\"created\":\"2020-11-25T18:23:33Z\",\"verificationMethod\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC#key1\",\"signatureValue\":\"Tov28noNERDLNfvY1QHnS4zUYXJjLy1oiXXYb533wkq77rfdzy77/vRfBKVAt7iNY1GjpL5tytZpmPjYFLDFwz6SOdlsuCrKTM8sIGLybRS12EOWZl7PAfdYPwknpG4aK7Zmvc7u9ORN9o+YLTK3rP9H4GyJpYWUScy3S3YZU6A=\"},\"service\":[{\"id\":\"did:vaa:3wJVWDQWtDFx27FqvSqyo5xsTsxC#resolver\",\"type\":\"DIDResolve\",\"serviceEndpoint\":\"https://www.citln.cn\"}]}",
"representation": "{\"@context\":[\"https://www.w3.org/ns/did/v1\"],\"id\":\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ\",\"controller\":[\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ\"],\"publicKey\":[{\"id\":\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#key1\",\"type\":\"RsaVerificationKey2018\",\"controller\":[\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ\"],\"publicKeyPem\":\"-----BEGIN PUBLIC KEY-----\\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDb/A4iQ0Lq6NU9Q3i91vbqZ8jh\\nUj/Hr64683e9NvNkFBeFePp7wfuZJRSTMrllP5LEQwXPmeZzQBJjKkY34iQV7EXA\\nARKMisvqUR/ucU1mj7ZCiFM+MNCcxn+eD1WfBsXMYfne/BPJPhIUfjjIzBaTQuhI\\ntLhGD6WrDv6fovK/GQIDAQAB\\n-----END PUBLIC KEY-----\\n\"}],\"created\":\"2020-11-25T18:23:33.019Z\",\"updated\":\"2020-11-25T18:23:33.019Z\",\"proof\":{\"type\":\"RsaSignature2018\",\"created\":\"2020-11-25T18:23:33.019Z\",\"verificationMethod\":\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#key1\",\"signatureValue\":\"Tov28noNERDLNfvY1QHnS4zUYXJjLy1oiXXYb533wkq77rfdzy77/vRfBKVAt7iNY1GjpL5tytZpmPjYFLDFwz6SOdlsuCrKTM8sIGLybRS12EOWZl7PAfdYPwknpG4aK7Zmvc7u9ORN9o+YLTK3rP9H4GyJpYWUScy3S3YZU6A=\"},\"service\":[{\"id\":\"did:vaa:2H9XwzRXZ1o5ZwSoYDEZn24eHXcQ#resolver\",\"type\":\"DIDResolve\",\"serviceEndpoint\":\"https://www.citln.cn\"}]}",
"didDocumentMetadata": {
},
"didResolutionMetadata": {
"contentType": "application/did+ld+json"
}
}
}
}
}

0 comments on commit eb38a76

Please sign in to comment.