Created
January 17, 2020 15:23
-
-
Save mattcollier/7fe85e09d03dc7d2eb94dcd86e2a1733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@context": "https://www.w3.org/2018/credentials/v1", | |
| "type": "VerifiablePresentation", | |
| "holder": "did:v1:test:nym:z6MkjrFvxZyHF6pNLqMynYSfL14oUkSPvENaqCUE2ygrtDNV", | |
| "capability": [ | |
| { | |
| "@context": "https://w3id.org/security/v2", | |
| "id": "urn:zcap:z1AG2QMLAG894Wx8X1iYegUXQ", | |
| "invoker": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "delegator": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "referenceId": "de490d6e-767f-435b-aff5-333ea183b266-edv-configuration", | |
| "allowedAction": [ | |
| "read", | |
| "write" | |
| ], | |
| "invocationTarget": { | |
| "id": "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/documents", | |
| "type": "urn:edv:documents" | |
| }, | |
| "parentCapability": "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/zcaps/documents", | |
| "proof": { | |
| "type": "Ed25519Signature2018", | |
| "created": "2020-01-17T15:21:47Z", | |
| "verificationMethod": "did:key:z6Mko8RFFW776CFUvgKWXarcXuXqdyCHs7ZJdtnxxXmkd7Z5", | |
| "proofPurpose": "capabilityDelegation", | |
| "capabilityChain": [ | |
| "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/zcaps/documents" | |
| ], | |
| "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Zm0CvSZzaYFk1KnOg7gpTpKS2lF-T5tdhHKYFUg9rIHdU2LFAGMs9nt-wkV58MxOKkx3y6oD85NxgVgGg02fAw" | |
| } | |
| }, | |
| { | |
| "@context": "https://w3id.org/security/v2", | |
| "id": "urn:zcap:z1A4mUeqtXLGpxQF8PuApTmAm", | |
| "invoker": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "delegator": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "referenceId": "de490d6e-767f-435b-aff5-333ea183b266-edv-authorizations", | |
| "allowedAction": [ | |
| "read", | |
| "write" | |
| ], | |
| "invocationTarget": { | |
| "id": "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/authorizations", | |
| "type": "urn:edv:authorizations" | |
| }, | |
| "parentCapability": "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/zcaps/authorizations", | |
| "proof": { | |
| "type": "Ed25519Signature2018", | |
| "created": "2020-01-17T15:21:47Z", | |
| "verificationMethod": "did:key:z6Mko8RFFW776CFUvgKWXarcXuXqdyCHs7ZJdtnxxXmkd7Z5", | |
| "proofPurpose": "capabilityDelegation", | |
| "capabilityChain": [ | |
| "https://localhost:38443/edvs/z19m2uKN97sQN8FKcrFPrfMbB/zcaps/authorizations" | |
| ], | |
| "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..MCBY7spOb7GwE8yDgQT5uHGcgpFJM9iSVYmIeEKlnt9dm1-L7U5Fj3bG3AdFxijTfb2E0VXDfSPe_w6JRkXxBw" | |
| } | |
| }, | |
| { | |
| "@context": "https://w3id.org/security/v2", | |
| "id": "urn:zcap:z19rk7xxWUTBZ43rJbp3N9TvC", | |
| "invoker": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "delegator": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "referenceId": "de490d6e-767f-435b-aff5-333ea183b266-key-assertionMethod", | |
| "allowedAction": "sign", | |
| "invocationTarget": { | |
| "id": "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/keys/z19pYXViZ9xxdg6kD2TkoYjCa", | |
| "type": "Ed25519VerificationKey2018" | |
| }, | |
| "parentCapability": "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/keys/z19pYXViZ9xxdg6kD2TkoYjCa", | |
| "proof": { | |
| "type": "Ed25519Signature2018", | |
| "created": "2020-01-17T15:21:48Z", | |
| "verificationMethod": "did:key:z6Mko8RFFW776CFUvgKWXarcXuXqdyCHs7ZJdtnxxXmkd7Z5", | |
| "proofPurpose": "capabilityDelegation", | |
| "capabilityChain": [ | |
| "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/keys/z19pYXViZ9xxdg6kD2TkoYjCa" | |
| ], | |
| "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ghUfG5Z1bksvyst6VbZJP2I8maMCfB8HluRvVqAzgHNlpGs0chrmNRkRauLuQnQfxHPJXwKLAM3Q-3dRzWMLAw" | |
| } | |
| }, | |
| { | |
| "@context": "https://w3id.org/security/v2", | |
| "id": "urn:zcap:z1AC99GY9jG9WiD2URg7AzuRB", | |
| "invoker": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "delegator": "did:key:z6MktVoCaFAcStwxYfqgVRWerky9kFk5adXRAsm3fPRES18g", | |
| "referenceId": "de490d6e-767f-435b-aff5-333ea183b266-key-authorizations", | |
| "allowedAction": [ | |
| "read", | |
| "write" | |
| ], | |
| "invocationTarget": { | |
| "id": "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/authorizations", | |
| "type": "urn:webkms:authorizations" | |
| }, | |
| "parentCapability": "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/zcaps/authorizations", | |
| "proof": { | |
| "type": "Ed25519Signature2018", | |
| "created": "2020-01-17T15:21:47Z", | |
| "verificationMethod": "did:key:z6Mko8RFFW776CFUvgKWXarcXuXqdyCHs7ZJdtnxxXmkd7Z5", | |
| "proofPurpose": "capabilityDelegation", | |
| "capabilityChain": [ | |
| "https://localhost:38443/kms/keystores/z19sabG2zvNRpeuGXwopcBeNY/zcaps/authorizations" | |
| ], | |
| "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..CK4QRnWf_HrFNuR4PRyJ16fQQlzeidS-ymaScHeTF0O79JZz14XlWxkl_DzV5_LKOHuyxVs-4nfMwHo1kWEtBQ" | |
| } | |
| } | |
| ], | |
| "proof": { | |
| "type": "Ed25519Signature2018", | |
| "created": "2020-06-18T21:19:10Z", | |
| "proofPurpose": "authentication", | |
| "verificationMethod": "did:v1:test:nym:z6MkjrFvxZyHF6pNLqMynYSfL14oUkSPvENaqCUE2ygrtDNV#key", | |
| "challenge": "c0ae1c8e-c7e7-469f-b252-86e6a0e7387e", | |
| "jws": "BavEll0/I1..W3JT24=" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment