@veramo/credential-ld 3.1.5-next.115 → 3.1.5-next.119

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