Files: 59cd5210437ca134f6d0863cc9ba87847790c76f / did-pkh / tests / vc-eth-eip712vm.jsonld
2615 bytesRaw
1 | { |
2 | "@context": [ |
3 | "https://www.w3.org/2018/credentials/v1" |
4 | ], |
5 | "type": [ |
6 | "VerifiableCredential" |
7 | ], |
8 | "credentialSubject": { |
9 | "id": "_:1" |
10 | }, |
11 | "issuer": "did:pkh:eth:0xdebee5349ba59faa2b9831f108a0f712d8ab26bb", |
12 | "issuanceDate": "2021-06-16T20:55:45.850Z", |
13 | "proof": { |
14 | "@context": [ |
15 | { |
16 | "Eip712Method2021": "https://w3id.org/security#Eip712Method2021", |
17 | "Eip712Signature2021": { |
18 | "@context": { |
19 | "@protected": true, |
20 | "@version": 1.1, |
21 | "challenge": "https://w3id.org/security#challenge", |
22 | "created": { |
23 | "@id": "http://purl.org/dc/terms/created", |
24 | "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
25 | }, |
26 | "domain": "https://w3id.org/security#domain", |
27 | "expires": { |
28 | "@id": "https://w3id.org/security#expiration", |
29 | "@type": "http://www.w3.org/2001/XMLSchema#dateTime" |
30 | }, |
31 | "id": "@id", |
32 | "nonce": "https://w3id.org/security#nonce", |
33 | "proofPurpose": { |
34 | "@context": { |
35 | "@protected": true, |
36 | "@version": 1.1, |
37 | "assertionMethod": { |
38 | "@container": "@set", |
39 | "@id": "https://w3id.org/security#assertionMethod", |
40 | "@type": "@id" |
41 | }, |
42 | "authentication": { |
43 | "@container": "@set", |
44 | "@id": "https://w3id.org/security#authenticationMethod", |
45 | "@type": "@id" |
46 | }, |
47 | "id": "@id", |
48 | "type": "@type" |
49 | }, |
50 | "@id": "https://w3id.org/security#proofPurpose", |
51 | "@type": "@vocab" |
52 | }, |
53 | "proofValue": "https://w3id.org/security#proofValue", |
54 | "publicKeyJwk": { |
55 | "@id": "https://w3id.org/security#publicKeyJwk", |
56 | "@type": "@json" |
57 | }, |
58 | "type": "@type", |
59 | "verificationMethod": { |
60 | "@id": "https://w3id.org/security#verificationMethod", |
61 | "@type": "@id" |
62 | } |
63 | }, |
64 | "@id": "https://w3id.org/security#Eip712Signature2021" |
65 | } |
66 | } |
67 | ], |
68 | "type": "Eip712Signature2021", |
69 | "proofPurpose": "assertionMethod", |
70 | "proofValue": "0x97f9776899dfc8aacbffd96ca6bfbb34a1e2281fc5bedc39e3ce02c6dd9255cf238466eabfc4c7b10933362f488dbc7bcd230168d1f551f56827e1189c9448081c", |
71 | "verificationMethod": "did:pkh:eth:0xdebee5349ba59faa2b9831f108a0f712d8ab26bb#Recovery2020", |
72 | "created": "2021-06-16T20:55:45.850Z" |
73 | } |
74 | } |
75 |
Built with git-ssb-web