@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.33.1-feature.jose.vcdm.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +287 -0
  3. package/dist/index.cjs +3147 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +222 -0
  6. package/dist/index.d.ts +222 -0
  7. package/dist/index.js +3117 -0
  8. package/dist/index.js.map +1 -0
  9. package/package.json +122 -0
  10. package/plugin.schema.json +12425 -0
  11. package/src/__tests__/context.loader.test.ts +41 -0
  12. package/src/__tests__/diwala.test.ts +129 -0
  13. package/src/__tests__/fixtures/diwala.ts +43 -0
  14. package/src/__tests__/issue-verify-flow-statuslist.test.ts +94 -0
  15. package/src/__tests__/issue-verify-flow-vcdm2.test.ts +268 -0
  16. package/src/__tests__/issue-verify-flow.test.ts +306 -0
  17. package/src/__tests__/localAgent.test.ts +36 -0
  18. package/src/__tests__/mocks.ts +473 -0
  19. package/src/__tests__/restAgent.test.ts +58 -0
  20. package/src/__tests__/shared/vcHandlerLocalAgentLogic.ts +160 -0
  21. package/src/agent/CredentialProviderJsonld.ts +281 -0
  22. package/src/agent/index.ts +1 -0
  23. package/src/contexts/X25519KeyAgreementKey2019.json +26 -0
  24. package/src/contexts/bbs-bls-signature-2020-v1.json +129 -0
  25. package/src/contexts/citizenship-v1.json +54 -0
  26. package/src/contexts/did_v0.11.json +64 -0
  27. package/src/contexts/ed25519-signature-2018-v1.json +91 -0
  28. package/src/contexts/ed25519-signature-2020-v1.json +77 -0
  29. package/src/contexts/eip712.json +93 -0
  30. package/src/contexts/json-web-signature-2020-v1.json +71 -0
  31. package/src/contexts/kyc-v1.json +8 -0
  32. package/src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json +21 -0
  33. package/src/contexts/odrl.json +199 -0
  34. package/src/contexts/profile-v1.json +8 -0
  35. package/src/contexts/socialmedia-v1.json +7 -0
  36. package/src/contexts/transmute_v1.json +21 -0
  37. package/src/contexts/vc-revocation-list-2020-v1.json +46 -0
  38. package/src/contexts/vc-status-list-2021-v1.json +48 -0
  39. package/src/contexts/veramo.io_contexts_profile_v1.json +8 -0
  40. package/src/contexts/w3id.org_security_suites_ed25519-2018_v1.json +63 -0
  41. package/src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json +87 -0
  42. package/src/contexts/w3id.org_security_suites_x25519-2019_v1.json +26 -0
  43. package/src/contexts/w3id.org_security_v1.json +50 -0
  44. package/src/contexts/w3id.org_security_v2.json +63 -0
  45. package/src/contexts/w3id.org_security_v3-unstable.json +722 -0
  46. package/src/contexts/www.w3.org_2018_credentials_v1.json +237 -0
  47. package/src/contexts/www.w3.org_ns_credentials_v2.json +331 -0
  48. package/src/contexts/www.w3.org_ns_did_v1.json +58 -0
  49. package/src/enums.ts +28 -0
  50. package/src/index.ts +12 -0
  51. package/src/ld-context-loader.ts +32 -0
  52. package/src/ld-credential-module.ts +281 -0
  53. package/src/ld-default-contexts.ts +49 -0
  54. package/src/ld-document-loader.ts +156 -0
  55. package/src/ld-suite-loader.ts +83 -0
  56. package/src/ld-suites.ts +41 -0
  57. package/src/modules.d.ts +13 -0
  58. package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +100 -0
  59. package/src/suites/Ed25519Signature2018.ts +109 -0
  60. package/src/suites/Ed25519Signature2020.ts +93 -0
  61. package/src/suites/index.ts +3 -0
@@ -0,0 +1,722 @@
1
+ {
2
+ "@context": [
3
+ {
4
+ "@version": 1.1,
5
+ "id": "@id",
6
+ "type": "@type",
7
+ "@protected": true,
8
+ "JsonWebKey2020": {
9
+ "@id": "https://w3id.org/security#JsonWebKey2020"
10
+ },
11
+ "JsonWebSignature2020": {
12
+ "@id": "https://w3id.org/security#JsonWebSignature2020",
13
+ "@context": {
14
+ "@version": 1.1,
15
+ "id": "@id",
16
+ "type": "@type",
17
+ "@protected": true,
18
+ "challenge": "https://w3id.org/security#challenge",
19
+ "created": {
20
+ "@id": "http://purl.org/dc/terms/created",
21
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
22
+ },
23
+ "domain": "https://w3id.org/security#domain",
24
+ "expires": {
25
+ "@id": "https://w3id.org/security#expiration",
26
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
27
+ },
28
+ "jws": "https://w3id.org/security#jws",
29
+ "nonce": "https://w3id.org/security#nonce",
30
+ "proofPurpose": {
31
+ "@id": "https://w3id.org/security#proofPurpose",
32
+ "@type": "@vocab",
33
+ "@context": {
34
+ "@version": 1.1,
35
+ "@protected": true,
36
+ "id": "@id",
37
+ "type": "@type",
38
+ "assertionMethod": {
39
+ "@id": "https://w3id.org/security#assertionMethod",
40
+ "@type": "@id",
41
+ "@container": "@set"
42
+ },
43
+ "authentication": {
44
+ "@id": "https://w3id.org/security#authenticationMethod",
45
+ "@type": "@id",
46
+ "@container": "@set"
47
+ },
48
+ "capabilityInvocation": {
49
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
50
+ "@type": "@id",
51
+ "@container": "@set"
52
+ },
53
+ "capabilityDelegation": {
54
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
55
+ "@type": "@id",
56
+ "@container": "@set"
57
+ },
58
+ "keyAgreement": {
59
+ "@id": "https://w3id.org/security#keyAgreementMethod",
60
+ "@type": "@id",
61
+ "@container": "@set"
62
+ }
63
+ }
64
+ },
65
+ "verificationMethod": {
66
+ "@id": "https://w3id.org/security#verificationMethod",
67
+ "@type": "@id"
68
+ }
69
+ }
70
+ },
71
+ "Ed25519VerificationKey2020": {
72
+ "@id": "https://w3id.org/security#Ed25519VerificationKey2020"
73
+ },
74
+ "Ed25519Signature2020": {
75
+ "@id": "https://w3id.org/security#Ed25519Signature2020",
76
+ "@context": {
77
+ "@protected": true,
78
+ "id": "@id",
79
+ "type": "@type",
80
+ "challenge": "https://w3id.org/security#challenge",
81
+ "created": {
82
+ "@id": "http://purl.org/dc/terms/created",
83
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
84
+ },
85
+ "domain": "https://w3id.org/security#domain",
86
+ "expires": {
87
+ "@id": "https://w3id.org/security#expiration",
88
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
89
+ },
90
+ "nonce": "https://w3id.org/security#nonce",
91
+ "proofPurpose": {
92
+ "@id": "https://w3id.org/security#proofPurpose",
93
+ "@type": "@vocab",
94
+ "@context": {
95
+ "@version": 1.1,
96
+ "@protected": true,
97
+ "id": "@id",
98
+ "type": "@type",
99
+ "assertionMethod": {
100
+ "@id": "https://w3id.org/security#assertionMethod",
101
+ "@type": "@id",
102
+ "@container": "@set"
103
+ },
104
+ "authentication": {
105
+ "@id": "https://w3id.org/security#authenticationMethod",
106
+ "@type": "@id",
107
+ "@container": "@set"
108
+ },
109
+ "capabilityInvocation": {
110
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
111
+ "@type": "@id",
112
+ "@container": "@set"
113
+ },
114
+ "capabilityDelegation": {
115
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
116
+ "@type": "@id",
117
+ "@container": "@set"
118
+ },
119
+ "keyAgreement": {
120
+ "@id": "https://w3id.org/security#keyAgreementMethod",
121
+ "@type": "@id",
122
+ "@container": "@set"
123
+ }
124
+ }
125
+ },
126
+ "proofValue": {
127
+ "@id": "https://w3id.org/security#proofValue",
128
+ "@type": "https://w3id.org/security#multibase"
129
+ },
130
+ "verificationMethod": {
131
+ "@id": "https://w3id.org/security#verificationMethod",
132
+ "@type": "@id"
133
+ }
134
+ }
135
+ },
136
+ "publicKeyJwk": {
137
+ "@id": "https://w3id.org/security#publicKeyJwk",
138
+ "@type": "@json"
139
+ },
140
+ "ethereumAddress": {
141
+ "@id": "https://w3id.org/security#ethereumAddress"
142
+ },
143
+ "publicKeyHex": {
144
+ "@id": "https://w3id.org/security#publicKeyHex"
145
+ },
146
+ "blockchainAccountId": {
147
+ "@id": "https://w3id.org/security#blockchainAccountId"
148
+ },
149
+ "MerkleProof2019": {
150
+ "@id": "https://w3id.org/security#MerkleProof2019"
151
+ },
152
+ "Bls12381G1Key2020": {
153
+ "@id": "https://w3id.org/security#Bls12381G1Key2020"
154
+ },
155
+ "Bls12381G2Key2020": {
156
+ "@id": "https://w3id.org/security#Bls12381G2Key2020"
157
+ },
158
+ "BbsBlsSignature2020": {
159
+ "@id": "https://w3id.org/security#BbsBlsSignature2020",
160
+ "@context": {
161
+ "@protected": true,
162
+ "id": "@id",
163
+ "type": "@type",
164
+ "challenge": "https://w3id.org/security#challenge",
165
+ "created": {
166
+ "@id": "http://purl.org/dc/terms/created",
167
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
168
+ },
169
+ "domain": "https://w3id.org/security#domain",
170
+ "nonce": "https://w3id.org/security#nonce",
171
+ "proofPurpose": {
172
+ "@id": "https://w3id.org/security#proofPurpose",
173
+ "@type": "@vocab",
174
+ "@context": {
175
+ "@version": 1.1,
176
+ "@protected": true,
177
+ "id": "@id",
178
+ "type": "@type",
179
+ "assertionMethod": {
180
+ "@id": "https://w3id.org/security#assertionMethod",
181
+ "@type": "@id",
182
+ "@container": "@set"
183
+ },
184
+ "authentication": {
185
+ "@id": "https://w3id.org/security#authenticationMethod",
186
+ "@type": "@id",
187
+ "@container": "@set"
188
+ },
189
+ "capabilityInvocation": {
190
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
191
+ "@type": "@id",
192
+ "@container": "@set"
193
+ },
194
+ "capabilityDelegation": {
195
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
196
+ "@type": "@id",
197
+ "@container": "@set"
198
+ },
199
+ "keyAgreement": {
200
+ "@id": "https://w3id.org/security#keyAgreementMethod",
201
+ "@type": "@id",
202
+ "@container": "@set"
203
+ }
204
+ }
205
+ },
206
+ "proofValue": "https://w3id.org/security#proofValue",
207
+ "verificationMethod": {
208
+ "@id": "https://w3id.org/security#verificationMethod",
209
+ "@type": "@id"
210
+ }
211
+ }
212
+ },
213
+ "BbsBlsSignatureProof2020": {
214
+ "@id": "https://w3id.org/security#BbsBlsSignatureProof2020",
215
+ "@context": {
216
+ "@protected": true,
217
+ "id": "@id",
218
+ "type": "@type",
219
+ "challenge": "https://w3id.org/security#challenge",
220
+ "created": {
221
+ "@id": "http://purl.org/dc/terms/created",
222
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
223
+ },
224
+ "domain": "https://w3id.org/security#domain",
225
+ "nonce": "https://w3id.org/security#nonce",
226
+ "proofPurpose": {
227
+ "@id": "https://w3id.org/security#proofPurpose",
228
+ "@type": "@vocab",
229
+ "@context": {
230
+ "@version": 1.1,
231
+ "@protected": true,
232
+ "id": "@id",
233
+ "type": "@type",
234
+ "assertionMethod": {
235
+ "@id": "https://w3id.org/security#assertionMethod",
236
+ "@type": "@id",
237
+ "@container": "@set"
238
+ },
239
+ "authentication": {
240
+ "@id": "https://w3id.org/security#authenticationMethod",
241
+ "@type": "@id",
242
+ "@container": "@set"
243
+ },
244
+ "capabilityInvocation": {
245
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
246
+ "@type": "@id",
247
+ "@container": "@set"
248
+ },
249
+ "capabilityDelegation": {
250
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
251
+ "@type": "@id",
252
+ "@container": "@set"
253
+ },
254
+ "keyAgreement": {
255
+ "@id": "https://w3id.org/security#keyAgreementMethod",
256
+ "@type": "@id",
257
+ "@container": "@set"
258
+ }
259
+ }
260
+ },
261
+ "proofValue": "https://w3id.org/security#proofValue",
262
+ "verificationMethod": {
263
+ "@id": "https://w3id.org/security#verificationMethod",
264
+ "@type": "@id"
265
+ }
266
+ }
267
+ },
268
+
269
+ "EcdsaKoblitzSignature2016": "https://w3id.org/security#EcdsaKoblitzSignature2016",
270
+ "Ed25519Signature2018": {
271
+ "@id": "https://w3id.org/security#Ed25519Signature2018",
272
+ "@context": {
273
+ "@protected": true,
274
+
275
+ "id": "@id",
276
+ "type": "@type",
277
+
278
+ "challenge": "https://w3id.org/security#challenge",
279
+ "created": {
280
+ "@id": "http://purl.org/dc/terms/created",
281
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
282
+ },
283
+ "domain": "https://w3id.org/security#domain",
284
+ "expires": {
285
+ "@id": "https://w3id.org/security#expiration",
286
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
287
+ },
288
+ "jws": "https://w3id.org/security#jws",
289
+ "nonce": "https://w3id.org/security#nonce",
290
+ "proofPurpose": {
291
+ "@id": "https://w3id.org/security#proofPurpose",
292
+ "@type": "@vocab",
293
+ "@context": {
294
+ "@version": 1.1,
295
+ "@protected": true,
296
+ "id": "@id",
297
+ "type": "@type",
298
+ "assertionMethod": {
299
+ "@id": "https://w3id.org/security#assertionMethod",
300
+ "@type": "@id",
301
+ "@container": "@set"
302
+ },
303
+ "authentication": {
304
+ "@id": "https://w3id.org/security#authenticationMethod",
305
+ "@type": "@id",
306
+ "@container": "@set"
307
+ },
308
+ "capabilityInvocation": {
309
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
310
+ "@type": "@id",
311
+ "@container": "@set"
312
+ },
313
+ "capabilityDelegation": {
314
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
315
+ "@type": "@id",
316
+ "@container": "@set"
317
+ },
318
+ "keyAgreement": {
319
+ "@id": "https://w3id.org/security#keyAgreementMethod",
320
+ "@type": "@id",
321
+ "@container": "@set"
322
+ }
323
+ }
324
+ },
325
+ "proofValue": "https://w3id.org/security#proofValue",
326
+ "verificationMethod": {
327
+ "@id": "https://w3id.org/security#verificationMethod",
328
+ "@type": "@id"
329
+ }
330
+ }
331
+ },
332
+ "EncryptedMessage": "https://w3id.org/security#EncryptedMessage",
333
+ "GraphSignature2012": "https://w3id.org/security#GraphSignature2012",
334
+ "LinkedDataSignature2015": "https://w3id.org/security#LinkedDataSignature2015",
335
+ "LinkedDataSignature2016": "https://w3id.org/security#LinkedDataSignature2016",
336
+ "CryptographicKey": "https://w3id.org/security#Key",
337
+ "authenticationTag": "https://w3id.org/security#authenticationTag",
338
+ "canonicalizationAlgorithm": "https://w3id.org/security#canonicalizationAlgorithm",
339
+ "cipherAlgorithm": "https://w3id.org/security#cipherAlgorithm",
340
+ "cipherData": "https://w3id.org/security#cipherData",
341
+ "cipherKey": "https://w3id.org/security#cipherKey",
342
+ "created": {
343
+ "@id": "http://purl.org/dc/terms/created",
344
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
345
+ },
346
+ "creator": {
347
+ "@id": "http://purl.org/dc/terms/creator",
348
+ "@type": "@id"
349
+ },
350
+ "digestAlgorithm": "https://w3id.org/security#digestAlgorithm",
351
+ "digestValue": "https://w3id.org/security#digestValue",
352
+ "domain": "https://w3id.org/security#domain",
353
+ "encryptionKey": "https://w3id.org/security#encryptionKey",
354
+ "expiration": {
355
+ "@id": "https://w3id.org/security#expiration",
356
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
357
+ },
358
+ "expires": {
359
+ "@id": "https://w3id.org/security#expiration",
360
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
361
+ },
362
+ "initializationVector": "https://w3id.org/security#initializationVector",
363
+ "iterationCount": "https://w3id.org/security#iterationCount",
364
+ "nonce": "https://w3id.org/security#nonce",
365
+ "normalizationAlgorithm": "https://w3id.org/security#normalizationAlgorithm",
366
+ "owner": "https://w3id.org/security#owner",
367
+ "password": "https://w3id.org/security#password",
368
+ "privateKey": "https://w3id.org/security#privateKey",
369
+ "privateKeyPem": "https://w3id.org/security#privateKeyPem",
370
+ "publicKey": "https://w3id.org/security#publicKey",
371
+ "publicKeyBase58": "https://w3id.org/security#publicKeyBase58",
372
+ "publicKeyPem": "https://w3id.org/security#publicKeyPem",
373
+ "publicKeyWif": "https://w3id.org/security#publicKeyWif",
374
+ "publicKeyService": "https://w3id.org/security#publicKeyService",
375
+ "revoked": {
376
+ "@id": "https://w3id.org/security#revoked",
377
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
378
+ },
379
+ "salt": "https://w3id.org/security#salt",
380
+ "signature": "https://w3id.org/security#signature",
381
+ "signatureAlgorithm": "https://w3id.org/security#signingAlgorithm",
382
+ "signatureValue": "https://w3id.org/security#signatureValue",
383
+ "proofValue": "https://w3id.org/security#proofValue",
384
+
385
+ "AesKeyWrappingKey2019": "https://w3id.org/security#AesKeyWrappingKey2019",
386
+ "DeleteKeyOperation": "https://w3id.org/security#DeleteKeyOperation",
387
+ "DeriveSecretOperation": "https://w3id.org/security#DeriveSecretOperation",
388
+ "EcdsaSecp256k1Signature2019": {
389
+ "@id": "https://w3id.org/security#EcdsaSecp256k1Signature2019",
390
+ "@context": {
391
+ "@protected": true,
392
+
393
+ "id": "@id",
394
+ "type": "@type",
395
+
396
+ "challenge": "https://w3id.org/security#challenge",
397
+ "created": {
398
+ "@id": "http://purl.org/dc/terms/created",
399
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
400
+ },
401
+ "domain": "https://w3id.org/security#domain",
402
+ "expires": {
403
+ "@id": "https://w3id.org/security#expiration",
404
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
405
+ },
406
+ "jws": "https://w3id.org/security#jws",
407
+ "nonce": "https://w3id.org/security#nonce",
408
+ "proofPurpose": {
409
+ "@id": "https://w3id.org/security#proofPurpose",
410
+ "@type": "@vocab",
411
+ "@context": {
412
+ "@version": 1.1,
413
+ "@protected": true,
414
+ "id": "@id",
415
+ "type": "@type",
416
+ "assertionMethod": {
417
+ "@id": "https://w3id.org/security#assertionMethod",
418
+ "@type": "@id",
419
+ "@container": "@set"
420
+ },
421
+ "authentication": {
422
+ "@id": "https://w3id.org/security#authenticationMethod",
423
+ "@type": "@id",
424
+ "@container": "@set"
425
+ },
426
+ "capabilityInvocation": {
427
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
428
+ "@type": "@id",
429
+ "@container": "@set"
430
+ },
431
+ "capabilityDelegation": {
432
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
433
+ "@type": "@id",
434
+ "@container": "@set"
435
+ },
436
+ "keyAgreement": {
437
+ "@id": "https://w3id.org/security#keyAgreementMethod",
438
+ "@type": "@id",
439
+ "@container": "@set"
440
+ }
441
+ }
442
+ },
443
+ "proofValue": "https://w3id.org/security#proofValue",
444
+ "verificationMethod": {
445
+ "@id": "https://w3id.org/security#verificationMethod",
446
+ "@type": "@id"
447
+ }
448
+ }
449
+ },
450
+ "EcdsaSecp256r1Signature2019": {
451
+ "@id": "https://w3id.org/security#EcdsaSecp256r1Signature2019",
452
+ "@context": {
453
+ "@protected": true,
454
+
455
+ "id": "@id",
456
+ "type": "@type",
457
+
458
+ "challenge": "https://w3id.org/security#challenge",
459
+ "created": {
460
+ "@id": "http://purl.org/dc/terms/created",
461
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
462
+ },
463
+ "domain": "https://w3id.org/security#domain",
464
+ "expires": {
465
+ "@id": "https://w3id.org/security#expiration",
466
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
467
+ },
468
+ "jws": "https://w3id.org/security#jws",
469
+ "nonce": "https://w3id.org/security#nonce",
470
+ "proofPurpose": {
471
+ "@id": "https://w3id.org/security#proofPurpose",
472
+ "@type": "@vocab",
473
+ "@context": {
474
+ "@version": 1.1,
475
+ "@protected": true,
476
+ "id": "@id",
477
+ "type": "@type",
478
+ "assertionMethod": {
479
+ "@id": "https://w3id.org/security#assertionMethod",
480
+ "@type": "@id",
481
+ "@container": "@set"
482
+ },
483
+ "authentication": {
484
+ "@id": "https://w3id.org/security#authenticationMethod",
485
+ "@type": "@id",
486
+ "@container": "@set"
487
+ },
488
+ "capabilityInvocation": {
489
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
490
+ "@type": "@id",
491
+ "@container": "@set"
492
+ },
493
+ "capabilityDelegation": {
494
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
495
+ "@type": "@id",
496
+ "@container": "@set"
497
+ },
498
+ "keyAgreement": {
499
+ "@id": "https://w3id.org/security#keyAgreementMethod",
500
+ "@type": "@id",
501
+ "@container": "@set"
502
+ }
503
+ }
504
+ },
505
+ "proofValue": "https://w3id.org/security#proofValue",
506
+ "verificationMethod": {
507
+ "@id": "https://w3id.org/security#verificationMethod",
508
+ "@type": "@id"
509
+ }
510
+ }
511
+ },
512
+ "EcdsaSecp256k1VerificationKey2019": "https://w3id.org/security#EcdsaSecp256k1VerificationKey2019",
513
+ "EcdsaSecp256r1VerificationKey2019": "https://w3id.org/security#EcdsaSecp256r1VerificationKey2019",
514
+ "Ed25519VerificationKey2018": "https://w3id.org/security#Ed25519VerificationKey2018",
515
+ "EquihashProof2018": "https://w3id.org/security#EquihashProof2018",
516
+ "ExportKeyOperation": "https://w3id.org/security#ExportKeyOperation",
517
+ "GenerateKeyOperation": "https://w3id.org/security#GenerateKeyOperation",
518
+ "KmsOperation": "https://w3id.org/security#KmsOperation",
519
+ "RevokeKeyOperation": "https://w3id.org/security#RevokeKeyOperation",
520
+ "RsaSignature2018": {
521
+ "@id": "https://w3id.org/security#RsaSignature2018",
522
+ "@context": {
523
+ "@protected": true,
524
+
525
+ "challenge": "https://w3id.org/security#challenge",
526
+ "created": {
527
+ "@id": "http://purl.org/dc/terms/created",
528
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
529
+ },
530
+ "domain": "https://w3id.org/security#domain",
531
+ "expires": {
532
+ "@id": "https://w3id.org/security#expiration",
533
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
534
+ },
535
+ "jws": "https://w3id.org/security#jws",
536
+ "nonce": "https://w3id.org/security#nonce",
537
+ "proofPurpose": {
538
+ "@id": "https://w3id.org/security#proofPurpose",
539
+ "@type": "@vocab",
540
+ "@context": {
541
+ "@version": 1.1,
542
+ "@protected": true,
543
+ "id": "@id",
544
+ "type": "@type",
545
+ "assertionMethod": {
546
+ "@id": "https://w3id.org/security#assertionMethod",
547
+ "@type": "@id",
548
+ "@container": "@set"
549
+ },
550
+ "authentication": {
551
+ "@id": "https://w3id.org/security#authenticationMethod",
552
+ "@type": "@id",
553
+ "@container": "@set"
554
+ },
555
+ "capabilityInvocation": {
556
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
557
+ "@type": "@id",
558
+ "@container": "@set"
559
+ },
560
+ "capabilityDelegation": {
561
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
562
+ "@type": "@id",
563
+ "@container": "@set"
564
+ },
565
+ "keyAgreement": {
566
+ "@id": "https://w3id.org/security#keyAgreementMethod",
567
+ "@type": "@id",
568
+ "@container": "@set"
569
+ }
570
+ }
571
+ },
572
+ "proofValue": "https://w3id.org/security#proofValue",
573
+ "verificationMethod": {
574
+ "@id": "https://w3id.org/security#verificationMethod",
575
+ "@type": "@id"
576
+ }
577
+ }
578
+ },
579
+ "RsaVerificationKey2018": "https://w3id.org/security#RsaVerificationKey2018",
580
+ "Sha256HmacKey2019": "https://w3id.org/security#Sha256HmacKey2019",
581
+ "SignOperation": "https://w3id.org/security#SignOperation",
582
+ "UnwrapKeyOperation": "https://w3id.org/security#UnwrapKeyOperation",
583
+ "VerifyOperation": "https://w3id.org/security#VerifyOperation",
584
+ "WrapKeyOperation": "https://w3id.org/security#WrapKeyOperation",
585
+ "X25519KeyAgreementKey2019": "https://w3id.org/security#X25519KeyAgreementKey2019",
586
+
587
+ "allowedAction": "https://w3id.org/security#allowedAction",
588
+ "assertionMethod": {
589
+ "@id": "https://w3id.org/security#assertionMethod",
590
+ "@type": "@id",
591
+ "@container": "@set"
592
+ },
593
+ "authentication": {
594
+ "@id": "https://w3id.org/security#authenticationMethod",
595
+ "@type": "@id",
596
+ "@container": "@set"
597
+ },
598
+ "capability": {
599
+ "@id": "https://w3id.org/security#capability",
600
+ "@type": "@id"
601
+ },
602
+ "capabilityAction": "https://w3id.org/security#capabilityAction",
603
+ "capabilityChain": {
604
+ "@id": "https://w3id.org/security#capabilityChain",
605
+ "@type": "@id",
606
+ "@container": "@list"
607
+ },
608
+ "capabilityDelegation": {
609
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
610
+ "@type": "@id",
611
+ "@container": "@set"
612
+ },
613
+ "capabilityInvocation": {
614
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
615
+ "@type": "@id",
616
+ "@container": "@set"
617
+ },
618
+ "caveat": {
619
+ "@id": "https://w3id.org/security#caveat",
620
+ "@type": "@id",
621
+ "@container": "@set"
622
+ },
623
+ "challenge": "https://w3id.org/security#challenge",
624
+ "ciphertext": "https://w3id.org/security#ciphertext",
625
+ "controller": {
626
+ "@id": "https://w3id.org/security#controller",
627
+ "@type": "@id"
628
+ },
629
+ "delegator": {
630
+ "@id": "https://w3id.org/security#delegator",
631
+ "@type": "@id"
632
+ },
633
+ "equihashParameterK": {
634
+ "@id": "https://w3id.org/security#equihashParameterK",
635
+ "@type": "http://www.w3.org/2001/XMLSchema#:integer"
636
+ },
637
+ "equihashParameterN": {
638
+ "@id": "https://w3id.org/security#equihashParameterN",
639
+ "@type": "http://www.w3.org/2001/XMLSchema#:integer"
640
+ },
641
+ "invocationTarget": {
642
+ "@id": "https://w3id.org/security#invocationTarget",
643
+ "@type": "@id"
644
+ },
645
+ "invoker": {
646
+ "@id": "https://w3id.org/security#invoker",
647
+ "@type": "@id"
648
+ },
649
+ "jws": "https://w3id.org/security#jws",
650
+ "keyAgreement": {
651
+ "@id": "https://w3id.org/security#keyAgreementMethod",
652
+ "@type": "@id",
653
+ "@container": "@set"
654
+ },
655
+ "kmsModule": {
656
+ "@id": "https://w3id.org/security#kmsModule"
657
+ },
658
+ "parentCapability": {
659
+ "@id": "https://w3id.org/security#parentCapability",
660
+ "@type": "@id"
661
+ },
662
+ "plaintext": "https://w3id.org/security#plaintext",
663
+ "proof": {
664
+ "@id": "https://w3id.org/security#proof",
665
+ "@type": "@id",
666
+ "@container": "@graph"
667
+ },
668
+ "proofPurpose": {
669
+ "@id": "https://w3id.org/security#proofPurpose",
670
+ "@type": "@vocab",
671
+ "@context": {
672
+ "@version": 1.1,
673
+ "@protected": true,
674
+ "id": "@id",
675
+ "type": "@type",
676
+ "assertionMethod": {
677
+ "@id": "https://w3id.org/security#assertionMethod",
678
+ "@type": "@id",
679
+ "@container": "@set"
680
+ },
681
+ "authentication": {
682
+ "@id": "https://w3id.org/security#authenticationMethod",
683
+ "@type": "@id",
684
+ "@container": "@set"
685
+ },
686
+ "capabilityInvocation": {
687
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
688
+ "@type": "@id",
689
+ "@container": "@set"
690
+ },
691
+ "capabilityDelegation": {
692
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
693
+ "@type": "@id",
694
+ "@container": "@set"
695
+ },
696
+ "keyAgreement": {
697
+ "@id": "https://w3id.org/security#keyAgreementMethod",
698
+ "@type": "@id",
699
+ "@container": "@set"
700
+ }
701
+ }
702
+ },
703
+ "referenceId": "https://w3id.org/security#referenceId",
704
+ "unwrappedKey": "https://w3id.org/security#unwrappedKey",
705
+ "verificationMethod": {
706
+ "@id": "https://w3id.org/security#verificationMethod",
707
+ "@type": "@id"
708
+ },
709
+ "verifyData": "https://w3id.org/security#verifyData",
710
+ "wrappedKey": "https://w3id.org/security#wrappedKey",
711
+ "x509CertificateChain": {
712
+ "@id": "https://w3id.org/security#x509CertificateChain",
713
+ "@type": "https://w3id.org/security#multibase",
714
+ "@container": "@list"
715
+ },
716
+ "x509CertificateFingerprint": {
717
+ "@id": "https://w3id.org/security#x509CertificateFingerprint",
718
+ "@type": "https://w3id.org/security#multibase"
719
+ }
720
+ }
721
+ ]
722
+ }