@sphereon/ssi-sdk-ext.jwt-service 0.24.1-next.98 → 0.24.1-unstable.111
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.
- package/README.md +73 -374
- package/dist/agent/JwtService.d.ts +1 -0
- package/dist/agent/JwtService.d.ts.map +1 -1
- package/dist/agent/JwtService.js +7 -1
- package/dist/agent/JwtService.js.map +1 -1
- package/dist/functions/index.d.ts +17 -3
- package/dist/functions/index.d.ts.map +1 -1
- package/dist/functions/index.js +142 -12
- package/dist/functions/index.js.map +1 -1
- package/dist/types/IJwtService.d.ts +33 -8
- package/dist/types/IJwtService.d.ts.map +1 -1
- package/dist/types/IJwtService.js +15 -3
- package/dist/types/IJwtService.js.map +1 -1
- package/package.json +13 -13
- package/plugin.schema.json +2412 -112
- package/src/agent/JwtService.ts +9 -1
- package/src/functions/index.ts +168 -16
- package/src/types/IJwtService.ts +59 -13
package/plugin.schema.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
11
|
"mode": {
|
|
12
|
-
"$ref": "#/components/schemas/
|
|
12
|
+
"$ref": "#/components/schemas/JwsIdentifierMode"
|
|
13
13
|
},
|
|
14
14
|
"issuer": {
|
|
15
15
|
"anyOf": [
|
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
"noIdentifierInHeader": {
|
|
23
23
|
"type": "boolean"
|
|
24
24
|
},
|
|
25
|
+
"lazyDisabled": {
|
|
26
|
+
"type": "boolean"
|
|
27
|
+
},
|
|
25
28
|
"jwk": {
|
|
26
29
|
"$ref": "#/components/schemas/JWK"
|
|
27
30
|
},
|
|
@@ -46,6 +49,26 @@
|
|
|
46
49
|
"issuer": {
|
|
47
50
|
"type": "string"
|
|
48
51
|
},
|
|
52
|
+
"clientId": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"clientIdScheme": {
|
|
56
|
+
"anyOf": [
|
|
57
|
+
{
|
|
58
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "string",
|
|
62
|
+
"const": "did"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"identifier": {
|
|
70
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
71
|
+
},
|
|
49
72
|
"x5c": {
|
|
50
73
|
"type": "array",
|
|
51
74
|
"items": {
|
|
@@ -56,6 +79,7 @@
|
|
|
56
79
|
},
|
|
57
80
|
"required": [
|
|
58
81
|
"certificate",
|
|
82
|
+
"identifier",
|
|
59
83
|
"jwk",
|
|
60
84
|
"jwkThumbprint",
|
|
61
85
|
"key",
|
|
@@ -74,6 +98,9 @@
|
|
|
74
98
|
"noIdentifierInHeader": {
|
|
75
99
|
"type": "boolean"
|
|
76
100
|
},
|
|
101
|
+
"lazyDisabled": {
|
|
102
|
+
"type": "boolean"
|
|
103
|
+
},
|
|
77
104
|
"jwk": {
|
|
78
105
|
"$ref": "#/components/schemas/JWK"
|
|
79
106
|
},
|
|
@@ -98,8 +125,25 @@
|
|
|
98
125
|
"issuer": {
|
|
99
126
|
"type": "string"
|
|
100
127
|
},
|
|
128
|
+
"clientId": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"clientIdScheme": {
|
|
132
|
+
"anyOf": [
|
|
133
|
+
{
|
|
134
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "string",
|
|
138
|
+
"const": "did"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "string"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
101
145
|
"identifier": {
|
|
102
|
-
"$ref": "#/components/schemas/
|
|
146
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
103
147
|
},
|
|
104
148
|
"did": {
|
|
105
149
|
"type": "string"
|
|
@@ -140,6 +184,9 @@
|
|
|
140
184
|
"noIdentifierInHeader": {
|
|
141
185
|
"type": "boolean"
|
|
142
186
|
},
|
|
187
|
+
"lazyDisabled": {
|
|
188
|
+
"type": "boolean"
|
|
189
|
+
},
|
|
143
190
|
"jwk": {
|
|
144
191
|
"$ref": "#/components/schemas/JWK"
|
|
145
192
|
},
|
|
@@ -163,9 +210,30 @@
|
|
|
163
210
|
},
|
|
164
211
|
"issuer": {
|
|
165
212
|
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"clientId": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"clientIdScheme": {
|
|
218
|
+
"anyOf": [
|
|
219
|
+
{
|
|
220
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "string",
|
|
224
|
+
"const": "did"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "string"
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"identifier": {
|
|
232
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
166
233
|
}
|
|
167
234
|
},
|
|
168
235
|
"required": [
|
|
236
|
+
"identifier",
|
|
169
237
|
"jwk",
|
|
170
238
|
"jwkThumbprint",
|
|
171
239
|
"key",
|
|
@@ -183,6 +251,9 @@
|
|
|
183
251
|
"noIdentifierInHeader": {
|
|
184
252
|
"type": "boolean"
|
|
185
253
|
},
|
|
254
|
+
"lazyDisabled": {
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
},
|
|
186
257
|
"jwk": {
|
|
187
258
|
"$ref": "#/components/schemas/JWK"
|
|
188
259
|
},
|
|
@@ -206,9 +277,30 @@
|
|
|
206
277
|
},
|
|
207
278
|
"issuer": {
|
|
208
279
|
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"clientId": {
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"clientIdScheme": {
|
|
285
|
+
"anyOf": [
|
|
286
|
+
{
|
|
287
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"type": "string",
|
|
291
|
+
"const": "did"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"type": "string"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"identifier": {
|
|
299
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
209
300
|
}
|
|
210
301
|
},
|
|
211
302
|
"required": [
|
|
303
|
+
"identifier",
|
|
212
304
|
"jwk",
|
|
213
305
|
"jwkThumbprint",
|
|
214
306
|
"key",
|
|
@@ -227,6 +319,76 @@
|
|
|
227
319
|
"noIdentifierInHeader": {
|
|
228
320
|
"type": "boolean"
|
|
229
321
|
},
|
|
322
|
+
"lazyDisabled": {
|
|
323
|
+
"type": "boolean"
|
|
324
|
+
},
|
|
325
|
+
"jwk": {
|
|
326
|
+
"$ref": "#/components/schemas/JWK"
|
|
327
|
+
},
|
|
328
|
+
"jwkThumbprint": {
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
"kmsKeyRef": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
},
|
|
334
|
+
"method": {
|
|
335
|
+
"$ref": "#/components/schemas/ManagedIdentifierMethod"
|
|
336
|
+
},
|
|
337
|
+
"opts": {
|
|
338
|
+
"$ref": "#/components/schemas/ManagedIdentifierOpts"
|
|
339
|
+
},
|
|
340
|
+
"key": {
|
|
341
|
+
"$ref": "#/components/schemas/IKey"
|
|
342
|
+
},
|
|
343
|
+
"kid": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
"issuer": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"clientId": {
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
"clientIdScheme": {
|
|
353
|
+
"anyOf": [
|
|
354
|
+
{
|
|
355
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"type": "string",
|
|
359
|
+
"const": "did"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"identifier": {
|
|
367
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"required": [
|
|
371
|
+
"identifier",
|
|
372
|
+
"jwk",
|
|
373
|
+
"jwkThumbprint",
|
|
374
|
+
"key",
|
|
375
|
+
"kmsKeyRef",
|
|
376
|
+
"method",
|
|
377
|
+
"opts"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"noIssPayloadUpdate": {
|
|
384
|
+
"type": "boolean"
|
|
385
|
+
},
|
|
386
|
+
"noIdentifierInHeader": {
|
|
387
|
+
"type": "boolean"
|
|
388
|
+
},
|
|
389
|
+
"lazyDisabled": {
|
|
390
|
+
"type": "boolean"
|
|
391
|
+
},
|
|
230
392
|
"jwk": {
|
|
231
393
|
"$ref": "#/components/schemas/JWK"
|
|
232
394
|
},
|
|
@@ -250,9 +412,30 @@
|
|
|
250
412
|
},
|
|
251
413
|
"issuer": {
|
|
252
414
|
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"clientId": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"clientIdScheme": {
|
|
420
|
+
"anyOf": [
|
|
421
|
+
{
|
|
422
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"type": "string",
|
|
426
|
+
"const": "did"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"type": "string"
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
"identifier": {
|
|
434
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
253
435
|
}
|
|
254
436
|
},
|
|
255
437
|
"required": [
|
|
438
|
+
"identifier",
|
|
256
439
|
"jwk",
|
|
257
440
|
"jwkThumbprint",
|
|
258
441
|
"key",
|
|
@@ -270,6 +453,9 @@
|
|
|
270
453
|
"noIdentifierInHeader": {
|
|
271
454
|
"type": "boolean"
|
|
272
455
|
},
|
|
456
|
+
"lazyDisabled": {
|
|
457
|
+
"type": "boolean"
|
|
458
|
+
},
|
|
273
459
|
"method": {
|
|
274
460
|
"type": "string",
|
|
275
461
|
"const": "jwk"
|
|
@@ -285,6 +471,23 @@
|
|
|
285
471
|
},
|
|
286
472
|
"kid": {
|
|
287
473
|
"type": "string"
|
|
474
|
+
},
|
|
475
|
+
"clientId": {
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"clientIdScheme": {
|
|
479
|
+
"anyOf": [
|
|
480
|
+
{
|
|
481
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"type": "string",
|
|
485
|
+
"const": "did"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"type": "string"
|
|
489
|
+
}
|
|
490
|
+
]
|
|
288
491
|
}
|
|
289
492
|
},
|
|
290
493
|
"required": [
|
|
@@ -300,6 +503,9 @@
|
|
|
300
503
|
"noIdentifierInHeader": {
|
|
301
504
|
"type": "boolean"
|
|
302
505
|
},
|
|
506
|
+
"lazyDisabled": {
|
|
507
|
+
"type": "boolean"
|
|
508
|
+
},
|
|
303
509
|
"method": {
|
|
304
510
|
"type": "string",
|
|
305
511
|
"const": "x5c"
|
|
@@ -315,6 +521,23 @@
|
|
|
315
521
|
},
|
|
316
522
|
"kid": {
|
|
317
523
|
"type": "string"
|
|
524
|
+
},
|
|
525
|
+
"clientId": {
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
"clientIdScheme": {
|
|
529
|
+
"anyOf": [
|
|
530
|
+
{
|
|
531
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"type": "string",
|
|
535
|
+
"const": "did"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "string"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
318
541
|
}
|
|
319
542
|
},
|
|
320
543
|
"required": [
|
|
@@ -330,6 +553,9 @@
|
|
|
330
553
|
"noIdentifierInHeader": {
|
|
331
554
|
"type": "boolean"
|
|
332
555
|
},
|
|
556
|
+
"lazyDisabled": {
|
|
557
|
+
"type": "boolean"
|
|
558
|
+
},
|
|
333
559
|
"method": {
|
|
334
560
|
"type": "string",
|
|
335
561
|
"const": "did"
|
|
@@ -346,6 +572,23 @@
|
|
|
346
572
|
"kid": {
|
|
347
573
|
"type": "string"
|
|
348
574
|
},
|
|
575
|
+
"clientId": {
|
|
576
|
+
"type": "string"
|
|
577
|
+
},
|
|
578
|
+
"clientIdScheme": {
|
|
579
|
+
"anyOf": [
|
|
580
|
+
{
|
|
581
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "string",
|
|
585
|
+
"const": "did"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "string"
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
},
|
|
349
592
|
"keyType": {
|
|
350
593
|
"$ref": "#/components/schemas/TKeyType"
|
|
351
594
|
},
|
|
@@ -375,6 +618,9 @@
|
|
|
375
618
|
"noIdentifierInHeader": {
|
|
376
619
|
"type": "boolean"
|
|
377
620
|
},
|
|
621
|
+
"lazyDisabled": {
|
|
622
|
+
"type": "boolean"
|
|
623
|
+
},
|
|
378
624
|
"method": {
|
|
379
625
|
"type": "string",
|
|
380
626
|
"const": "kid"
|
|
@@ -390,6 +636,23 @@
|
|
|
390
636
|
},
|
|
391
637
|
"kid": {
|
|
392
638
|
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"clientId": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
"clientIdScheme": {
|
|
644
|
+
"anyOf": [
|
|
645
|
+
{
|
|
646
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"type": "string",
|
|
650
|
+
"const": "did"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"type": "string"
|
|
654
|
+
}
|
|
655
|
+
]
|
|
393
656
|
}
|
|
394
657
|
},
|
|
395
658
|
"required": [
|
|
@@ -405,6 +668,9 @@
|
|
|
405
668
|
"noIdentifierInHeader": {
|
|
406
669
|
"type": "boolean"
|
|
407
670
|
},
|
|
671
|
+
"lazyDisabled": {
|
|
672
|
+
"type": "boolean"
|
|
673
|
+
},
|
|
408
674
|
"method": {
|
|
409
675
|
"type": "string",
|
|
410
676
|
"const": "key"
|
|
@@ -420,61 +686,145 @@
|
|
|
420
686
|
},
|
|
421
687
|
"kid": {
|
|
422
688
|
"type": "string"
|
|
689
|
+
},
|
|
690
|
+
"clientId": {
|
|
691
|
+
"type": "string"
|
|
692
|
+
},
|
|
693
|
+
"clientIdScheme": {
|
|
694
|
+
"anyOf": [
|
|
695
|
+
{
|
|
696
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"type": "string",
|
|
700
|
+
"const": "did"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"type": "string"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
423
706
|
}
|
|
424
707
|
},
|
|
425
708
|
"required": [
|
|
426
709
|
"identifier"
|
|
427
710
|
]
|
|
428
|
-
}
|
|
429
|
-
]
|
|
430
|
-
},
|
|
431
|
-
"protectedHeader": {
|
|
432
|
-
"$ref": "#/components/schemas/JwtHeader"
|
|
433
|
-
},
|
|
434
|
-
"payload": {
|
|
435
|
-
"anyOf": [
|
|
436
|
-
{
|
|
437
|
-
"$ref": "#/components/schemas/JwtPayload"
|
|
438
711
|
},
|
|
439
712
|
{
|
|
440
713
|
"type": "object",
|
|
441
714
|
"properties": {
|
|
442
|
-
"
|
|
443
|
-
"type": "
|
|
715
|
+
"noIssPayloadUpdate": {
|
|
716
|
+
"type": "boolean"
|
|
444
717
|
},
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
{
|
|
448
|
-
"type": "object",
|
|
449
|
-
"properties": {
|
|
450
|
-
"byteLength": {
|
|
451
|
-
"type": "number"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"required": [
|
|
455
|
-
"byteLength"
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
{}
|
|
459
|
-
]
|
|
718
|
+
"noIdentifierInHeader": {
|
|
719
|
+
"type": "boolean"
|
|
460
720
|
},
|
|
461
|
-
"
|
|
462
|
-
"type": "
|
|
721
|
+
"lazyDisabled": {
|
|
722
|
+
"type": "boolean"
|
|
463
723
|
},
|
|
464
|
-
"
|
|
465
|
-
"type": "
|
|
724
|
+
"method": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"const": "cose_key"
|
|
466
727
|
},
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
"
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
"
|
|
477
|
-
|
|
728
|
+
"identifier": {
|
|
729
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
730
|
+
},
|
|
731
|
+
"kmsKeyRef": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"issuer": {
|
|
735
|
+
"type": "string"
|
|
736
|
+
},
|
|
737
|
+
"kid": {
|
|
738
|
+
"type": "string"
|
|
739
|
+
},
|
|
740
|
+
"clientId": {
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"clientIdScheme": {
|
|
744
|
+
"anyOf": [
|
|
745
|
+
{
|
|
746
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"type": "string",
|
|
750
|
+
"const": "did"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"type": "string"
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"required": [
|
|
759
|
+
"identifier"
|
|
760
|
+
]
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
"clientId": {
|
|
765
|
+
"type": "string"
|
|
766
|
+
},
|
|
767
|
+
"clientIdScheme": {
|
|
768
|
+
"anyOf": [
|
|
769
|
+
{
|
|
770
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"type": "string",
|
|
774
|
+
"const": "did"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"type": "string"
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
},
|
|
781
|
+
"protectedHeader": {
|
|
782
|
+
"$ref": "#/components/schemas/JwtHeader"
|
|
783
|
+
},
|
|
784
|
+
"payload": {
|
|
785
|
+
"anyOf": [
|
|
786
|
+
{
|
|
787
|
+
"$ref": "#/components/schemas/JwtPayload"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"type": "object",
|
|
791
|
+
"properties": {
|
|
792
|
+
"BYTES_PER_ELEMENT": {
|
|
793
|
+
"type": "number"
|
|
794
|
+
},
|
|
795
|
+
"buffer": {
|
|
796
|
+
"anyOf": [
|
|
797
|
+
{
|
|
798
|
+
"type": "object",
|
|
799
|
+
"properties": {
|
|
800
|
+
"byteLength": {
|
|
801
|
+
"type": "number"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"required": [
|
|
805
|
+
"byteLength"
|
|
806
|
+
]
|
|
807
|
+
},
|
|
808
|
+
{}
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
"byteLength": {
|
|
812
|
+
"type": "number"
|
|
813
|
+
},
|
|
814
|
+
"byteOffset": {
|
|
815
|
+
"type": "number"
|
|
816
|
+
},
|
|
817
|
+
"length": {
|
|
818
|
+
"type": "number"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"required": [
|
|
822
|
+
"BYTES_PER_ELEMENT",
|
|
823
|
+
"buffer",
|
|
824
|
+
"byteLength",
|
|
825
|
+
"byteOffset",
|
|
826
|
+
"length"
|
|
827
|
+
],
|
|
478
828
|
"additionalProperties": {
|
|
479
829
|
"type": "number"
|
|
480
830
|
}
|
|
@@ -491,7 +841,7 @@
|
|
|
491
841
|
"payload"
|
|
492
842
|
]
|
|
493
843
|
},
|
|
494
|
-
"
|
|
844
|
+
"JwsIdentifierMode": {
|
|
495
845
|
"type": "string",
|
|
496
846
|
"enum": [
|
|
497
847
|
"x5c",
|
|
@@ -505,10 +855,34 @@
|
|
|
505
855
|
"type": "object",
|
|
506
856
|
"properties": {
|
|
507
857
|
"kty": {
|
|
508
|
-
"
|
|
858
|
+
"anyOf": [
|
|
859
|
+
{
|
|
860
|
+
"$ref": "#/components/schemas/JwkKeyType"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"$ref": "#/components/schemas/JwkKeyTypeString"
|
|
864
|
+
}
|
|
865
|
+
]
|
|
509
866
|
},
|
|
510
867
|
"crv": {
|
|
511
|
-
"
|
|
868
|
+
"anyOf": [
|
|
869
|
+
{
|
|
870
|
+
"$ref": "#/components/schemas/JoseCurve"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"$ref": "#/components/schemas/JoseCurveString"
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"alg": {
|
|
878
|
+
"anyOf": [
|
|
879
|
+
{
|
|
880
|
+
"$ref": "#/components/schemas/JoseSignatureAlgorithm"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"$ref": "#/components/schemas/JoseSignatureAlgorithmString"
|
|
884
|
+
}
|
|
885
|
+
]
|
|
512
886
|
},
|
|
513
887
|
"x": {
|
|
514
888
|
"type": "string"
|
|
@@ -540,7 +914,14 @@
|
|
|
540
914
|
"key_ops": {
|
|
541
915
|
"type": "array",
|
|
542
916
|
"items": {
|
|
543
|
-
"
|
|
917
|
+
"anyOf": [
|
|
918
|
+
{
|
|
919
|
+
"$ref": "#/components/schemas/JoseKeyOperation"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"$ref": "#/components/schemas/JoseKeyOperationString"
|
|
923
|
+
}
|
|
924
|
+
]
|
|
544
925
|
}
|
|
545
926
|
},
|
|
546
927
|
"kid": {
|
|
@@ -593,6 +974,9 @@
|
|
|
593
974
|
"x5u": {
|
|
594
975
|
"type": "string",
|
|
595
976
|
"description": "JWK \"x5u\" (X.509 URL) Parameter."
|
|
977
|
+
},
|
|
978
|
+
"iv": {
|
|
979
|
+
"type": "string"
|
|
596
980
|
}
|
|
597
981
|
},
|
|
598
982
|
"additionalProperties": {},
|
|
@@ -600,6 +984,118 @@
|
|
|
600
984
|
"kty"
|
|
601
985
|
]
|
|
602
986
|
},
|
|
987
|
+
"JwkKeyType": {
|
|
988
|
+
"type": "string",
|
|
989
|
+
"enum": [
|
|
990
|
+
"EC",
|
|
991
|
+
"RSA",
|
|
992
|
+
"oct",
|
|
993
|
+
"OKP"
|
|
994
|
+
]
|
|
995
|
+
},
|
|
996
|
+
"JwkKeyTypeString": {
|
|
997
|
+
"type": "string",
|
|
998
|
+
"enum": [
|
|
999
|
+
"EC",
|
|
1000
|
+
"RSA",
|
|
1001
|
+
"oct",
|
|
1002
|
+
"OKP"
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
"JoseCurve": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"enum": [
|
|
1008
|
+
"P-256",
|
|
1009
|
+
"P-384",
|
|
1010
|
+
"P-521",
|
|
1011
|
+
"X25519",
|
|
1012
|
+
"X448",
|
|
1013
|
+
"EdDSA",
|
|
1014
|
+
"Ed25519",
|
|
1015
|
+
"Ed448",
|
|
1016
|
+
"secp256k1"
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
"JoseCurveString": {
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"enum": [
|
|
1022
|
+
"P-256",
|
|
1023
|
+
"P-384",
|
|
1024
|
+
"P-521",
|
|
1025
|
+
"X25519",
|
|
1026
|
+
"X448",
|
|
1027
|
+
"EdDSA",
|
|
1028
|
+
"Ed25519",
|
|
1029
|
+
"Ed448",
|
|
1030
|
+
"secp256k1"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"JoseSignatureAlgorithm": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"enum": [
|
|
1036
|
+
"RS256",
|
|
1037
|
+
"RS384",
|
|
1038
|
+
"RS512",
|
|
1039
|
+
"ES256",
|
|
1040
|
+
"ES256K",
|
|
1041
|
+
"ES384",
|
|
1042
|
+
"ES512",
|
|
1043
|
+
"EdDSA",
|
|
1044
|
+
"HS256",
|
|
1045
|
+
"HS384",
|
|
1046
|
+
"HS512",
|
|
1047
|
+
"PS256",
|
|
1048
|
+
"PS384",
|
|
1049
|
+
"PS512",
|
|
1050
|
+
"none"
|
|
1051
|
+
]
|
|
1052
|
+
},
|
|
1053
|
+
"JoseSignatureAlgorithmString": {
|
|
1054
|
+
"type": "string",
|
|
1055
|
+
"enum": [
|
|
1056
|
+
"RS256",
|
|
1057
|
+
"RS384",
|
|
1058
|
+
"RS512",
|
|
1059
|
+
"ES256",
|
|
1060
|
+
"ES256K",
|
|
1061
|
+
"ES384",
|
|
1062
|
+
"ES512",
|
|
1063
|
+
"EdDSA",
|
|
1064
|
+
"HS256",
|
|
1065
|
+
"HS384",
|
|
1066
|
+
"HS512",
|
|
1067
|
+
"PS256",
|
|
1068
|
+
"PS384",
|
|
1069
|
+
"PS512",
|
|
1070
|
+
"none"
|
|
1071
|
+
]
|
|
1072
|
+
},
|
|
1073
|
+
"JoseKeyOperation": {
|
|
1074
|
+
"type": "string",
|
|
1075
|
+
"enum": [
|
|
1076
|
+
"sign",
|
|
1077
|
+
"verify",
|
|
1078
|
+
"encrypt",
|
|
1079
|
+
"decrypt",
|
|
1080
|
+
"wrapKey",
|
|
1081
|
+
"unwrapKey",
|
|
1082
|
+
"deriveKey",
|
|
1083
|
+
"deriveBits"
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
"JoseKeyOperationString": {
|
|
1087
|
+
"type": "string",
|
|
1088
|
+
"enum": [
|
|
1089
|
+
"sign",
|
|
1090
|
+
"verify",
|
|
1091
|
+
"encrypt",
|
|
1092
|
+
"decrypt",
|
|
1093
|
+
"wrapKey",
|
|
1094
|
+
"unwrapKey",
|
|
1095
|
+
"deriveKey",
|
|
1096
|
+
"deriveBits"
|
|
1097
|
+
]
|
|
1098
|
+
},
|
|
603
1099
|
"ManagedIdentifierMethod": {
|
|
604
1100
|
"type": "string",
|
|
605
1101
|
"enum": [
|
|
@@ -607,7 +1103,8 @@
|
|
|
607
1103
|
"jwk",
|
|
608
1104
|
"x5c",
|
|
609
1105
|
"kid",
|
|
610
|
-
"key"
|
|
1106
|
+
"key",
|
|
1107
|
+
"cose_key"
|
|
611
1108
|
]
|
|
612
1109
|
},
|
|
613
1110
|
"ManagedIdentifierOpts": {
|
|
@@ -630,6 +1127,23 @@
|
|
|
630
1127
|
},
|
|
631
1128
|
"kid": {
|
|
632
1129
|
"type": "string"
|
|
1130
|
+
},
|
|
1131
|
+
"clientId": {
|
|
1132
|
+
"type": "string"
|
|
1133
|
+
},
|
|
1134
|
+
"clientIdScheme": {
|
|
1135
|
+
"anyOf": [
|
|
1136
|
+
{
|
|
1137
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"type": "string",
|
|
1141
|
+
"const": "did"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"type": "string"
|
|
1145
|
+
}
|
|
1146
|
+
]
|
|
633
1147
|
}
|
|
634
1148
|
},
|
|
635
1149
|
"required": [
|
|
@@ -654,6 +1168,23 @@
|
|
|
654
1168
|
},
|
|
655
1169
|
"kid": {
|
|
656
1170
|
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"clientId": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
},
|
|
1175
|
+
"clientIdScheme": {
|
|
1176
|
+
"anyOf": [
|
|
1177
|
+
{
|
|
1178
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"type": "string",
|
|
1182
|
+
"const": "did"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"type": "string"
|
|
1186
|
+
}
|
|
1187
|
+
]
|
|
657
1188
|
}
|
|
658
1189
|
},
|
|
659
1190
|
"required": [
|
|
@@ -679,6 +1210,23 @@
|
|
|
679
1210
|
"kid": {
|
|
680
1211
|
"type": "string"
|
|
681
1212
|
},
|
|
1213
|
+
"clientId": {
|
|
1214
|
+
"type": "string"
|
|
1215
|
+
},
|
|
1216
|
+
"clientIdScheme": {
|
|
1217
|
+
"anyOf": [
|
|
1218
|
+
{
|
|
1219
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"type": "string",
|
|
1223
|
+
"const": "did"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
}
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
682
1230
|
"keyType": {
|
|
683
1231
|
"$ref": "#/components/schemas/TKeyType"
|
|
684
1232
|
},
|
|
@@ -717,6 +1265,23 @@
|
|
|
717
1265
|
},
|
|
718
1266
|
"kid": {
|
|
719
1267
|
"type": "string"
|
|
1268
|
+
},
|
|
1269
|
+
"clientId": {
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
},
|
|
1272
|
+
"clientIdScheme": {
|
|
1273
|
+
"anyOf": [
|
|
1274
|
+
{
|
|
1275
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"type": "string",
|
|
1279
|
+
"const": "did"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"type": "string"
|
|
1283
|
+
}
|
|
1284
|
+
]
|
|
720
1285
|
}
|
|
721
1286
|
},
|
|
722
1287
|
"required": [
|
|
@@ -741,45 +1306,106 @@
|
|
|
741
1306
|
},
|
|
742
1307
|
"kid": {
|
|
743
1308
|
"type": "string"
|
|
1309
|
+
},
|
|
1310
|
+
"clientId": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
},
|
|
1313
|
+
"clientIdScheme": {
|
|
1314
|
+
"anyOf": [
|
|
1315
|
+
{
|
|
1316
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"type": "string",
|
|
1320
|
+
"const": "did"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"type": "string"
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
744
1326
|
}
|
|
745
1327
|
},
|
|
746
1328
|
"required": [
|
|
747
1329
|
"identifier"
|
|
748
1330
|
]
|
|
749
|
-
}
|
|
750
|
-
]
|
|
751
|
-
},
|
|
752
|
-
"ManagedIdentifierType": {
|
|
753
|
-
"anyOf": [
|
|
754
|
-
{
|
|
755
|
-
"$ref": "#/components/schemas/IIdentifier"
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"type": "string"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"type": "array",
|
|
762
|
-
"items": {
|
|
763
|
-
"type": "string"
|
|
764
|
-
}
|
|
765
1331
|
},
|
|
766
1332
|
{
|
|
767
|
-
"
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
1333
|
+
"type": "object",
|
|
1334
|
+
"properties": {
|
|
1335
|
+
"method": {
|
|
1336
|
+
"type": "string",
|
|
1337
|
+
"const": "cose_key"
|
|
1338
|
+
},
|
|
1339
|
+
"identifier": {
|
|
1340
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1341
|
+
},
|
|
1342
|
+
"kmsKeyRef": {
|
|
1343
|
+
"type": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"issuer": {
|
|
1346
|
+
"type": "string"
|
|
1347
|
+
},
|
|
1348
|
+
"kid": {
|
|
1349
|
+
"type": "string"
|
|
1350
|
+
},
|
|
1351
|
+
"clientId": {
|
|
1352
|
+
"type": "string"
|
|
1353
|
+
},
|
|
1354
|
+
"clientIdScheme": {
|
|
1355
|
+
"anyOf": [
|
|
1356
|
+
{
|
|
1357
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"type": "string",
|
|
1361
|
+
"const": "did"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"type": "string"
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"required": [
|
|
1370
|
+
"identifier"
|
|
1371
|
+
]
|
|
1372
|
+
}
|
|
1373
|
+
]
|
|
1374
|
+
},
|
|
1375
|
+
"ManagedIdentifierType": {
|
|
1376
|
+
"anyOf": [
|
|
1377
|
+
{
|
|
1378
|
+
"$ref": "#/components/schemas/IIdentifier"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"type": "array",
|
|
1385
|
+
"items": {
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"$ref": "#/components/schemas/JWK"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"$ref": "#/components/schemas/IKey"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1399
|
+
"description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
|
|
1400
|
+
},
|
|
1401
|
+
"IIdentifier": {
|
|
1402
|
+
"type": "object",
|
|
1403
|
+
"properties": {
|
|
1404
|
+
"did": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "Decentralized identifier"
|
|
1407
|
+
},
|
|
1408
|
+
"alias": {
|
|
783
1409
|
"type": "string",
|
|
784
1410
|
"description": "Optional. Identifier alias. Can be used to reference an object in an external system"
|
|
785
1411
|
},
|
|
@@ -930,6 +1556,114 @@
|
|
|
930
1556
|
],
|
|
931
1557
|
"description": "Represents a service endpoint URL or a map of URLs"
|
|
932
1558
|
},
|
|
1559
|
+
"ICoseKeyJson": {
|
|
1560
|
+
"type": "object",
|
|
1561
|
+
"properties": {
|
|
1562
|
+
"kty": {
|
|
1563
|
+
"$ref": "#/components/schemas/ICoseKeyType"
|
|
1564
|
+
},
|
|
1565
|
+
"kid": {
|
|
1566
|
+
"type": "string"
|
|
1567
|
+
},
|
|
1568
|
+
"alg": {
|
|
1569
|
+
"$ref": "#/components/schemas/ICoseSignatureAlgorithm"
|
|
1570
|
+
},
|
|
1571
|
+
"key_ops": {
|
|
1572
|
+
"type": "array",
|
|
1573
|
+
"items": {
|
|
1574
|
+
"$ref": "#/components/schemas/ICoseKeyOperation"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"baseIV": {
|
|
1578
|
+
"type": "string"
|
|
1579
|
+
},
|
|
1580
|
+
"crv": {
|
|
1581
|
+
"$ref": "#/components/schemas/ICoseCurve"
|
|
1582
|
+
},
|
|
1583
|
+
"x": {
|
|
1584
|
+
"type": "string"
|
|
1585
|
+
},
|
|
1586
|
+
"y": {
|
|
1587
|
+
"type": "string"
|
|
1588
|
+
},
|
|
1589
|
+
"d": {
|
|
1590
|
+
"type": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"x5chain": {
|
|
1593
|
+
"type": "array",
|
|
1594
|
+
"items": {
|
|
1595
|
+
"type": "string"
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"required": [
|
|
1600
|
+
"kty"
|
|
1601
|
+
],
|
|
1602
|
+
"additionalProperties": {},
|
|
1603
|
+
"description": "See our mdl-mdoc and crypto library for more information https://github.com/Sphereon-Opensource/mdoc-cbor-crypto-multiplatform\n\nConversion functions are available in above library. Conversion functions are also available for TS in our"
|
|
1604
|
+
},
|
|
1605
|
+
"ICoseKeyType": {
|
|
1606
|
+
"type": "number",
|
|
1607
|
+
"enum": [
|
|
1608
|
+
1,
|
|
1609
|
+
2,
|
|
1610
|
+
3,
|
|
1611
|
+
4,
|
|
1612
|
+
0
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
"ICoseSignatureAlgorithm": {
|
|
1616
|
+
"type": "number",
|
|
1617
|
+
"enum": [
|
|
1618
|
+
-7,
|
|
1619
|
+
-47,
|
|
1620
|
+
-35,
|
|
1621
|
+
-36,
|
|
1622
|
+
-8,
|
|
1623
|
+
4,
|
|
1624
|
+
5,
|
|
1625
|
+
6,
|
|
1626
|
+
7,
|
|
1627
|
+
-37,
|
|
1628
|
+
-38,
|
|
1629
|
+
-39
|
|
1630
|
+
]
|
|
1631
|
+
},
|
|
1632
|
+
"ICoseKeyOperation": {
|
|
1633
|
+
"type": "number",
|
|
1634
|
+
"enum": [
|
|
1635
|
+
1,
|
|
1636
|
+
2,
|
|
1637
|
+
3,
|
|
1638
|
+
4,
|
|
1639
|
+
5,
|
|
1640
|
+
6,
|
|
1641
|
+
7,
|
|
1642
|
+
8,
|
|
1643
|
+
9,
|
|
1644
|
+
10
|
|
1645
|
+
]
|
|
1646
|
+
},
|
|
1647
|
+
"ICoseCurve": {
|
|
1648
|
+
"type": "number",
|
|
1649
|
+
"enum": [
|
|
1650
|
+
1,
|
|
1651
|
+
2,
|
|
1652
|
+
3,
|
|
1653
|
+
4,
|
|
1654
|
+
5,
|
|
1655
|
+
6,
|
|
1656
|
+
7,
|
|
1657
|
+
-1
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
"ClientIdScheme": {
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"enum": [
|
|
1663
|
+
"x509_san_dns",
|
|
1664
|
+
"x509_san_uri"
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
933
1667
|
"DIDDocumentSection": {
|
|
934
1668
|
"type": "string",
|
|
935
1669
|
"enum": [
|
|
@@ -1035,7 +1769,7 @@
|
|
|
1035
1769
|
}
|
|
1036
1770
|
},
|
|
1037
1771
|
"mode": {
|
|
1038
|
-
"$ref": "#/components/schemas/
|
|
1772
|
+
"$ref": "#/components/schemas/JwsIdentifierMode"
|
|
1039
1773
|
},
|
|
1040
1774
|
"issuer": {
|
|
1041
1775
|
"anyOf": [
|
|
@@ -1048,6 +1782,9 @@
|
|
|
1048
1782
|
"noIdentifierInHeader": {
|
|
1049
1783
|
"type": "boolean"
|
|
1050
1784
|
},
|
|
1785
|
+
"lazyDisabled": {
|
|
1786
|
+
"type": "boolean"
|
|
1787
|
+
},
|
|
1051
1788
|
"jwk": {
|
|
1052
1789
|
"$ref": "#/components/schemas/JWK"
|
|
1053
1790
|
},
|
|
@@ -1072,6 +1809,26 @@
|
|
|
1072
1809
|
"issuer": {
|
|
1073
1810
|
"type": "string"
|
|
1074
1811
|
},
|
|
1812
|
+
"clientId": {
|
|
1813
|
+
"type": "string"
|
|
1814
|
+
},
|
|
1815
|
+
"clientIdScheme": {
|
|
1816
|
+
"anyOf": [
|
|
1817
|
+
{
|
|
1818
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"type": "string",
|
|
1822
|
+
"const": "did"
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"type": "string"
|
|
1826
|
+
}
|
|
1827
|
+
]
|
|
1828
|
+
},
|
|
1829
|
+
"identifier": {
|
|
1830
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1831
|
+
},
|
|
1075
1832
|
"x5c": {
|
|
1076
1833
|
"type": "array",
|
|
1077
1834
|
"items": {
|
|
@@ -1082,6 +1839,7 @@
|
|
|
1082
1839
|
},
|
|
1083
1840
|
"required": [
|
|
1084
1841
|
"certificate",
|
|
1842
|
+
"identifier",
|
|
1085
1843
|
"jwk",
|
|
1086
1844
|
"jwkThumbprint",
|
|
1087
1845
|
"key",
|
|
@@ -1100,6 +1858,9 @@
|
|
|
1100
1858
|
"noIdentifierInHeader": {
|
|
1101
1859
|
"type": "boolean"
|
|
1102
1860
|
},
|
|
1861
|
+
"lazyDisabled": {
|
|
1862
|
+
"type": "boolean"
|
|
1863
|
+
},
|
|
1103
1864
|
"jwk": {
|
|
1104
1865
|
"$ref": "#/components/schemas/JWK"
|
|
1105
1866
|
},
|
|
@@ -1124,8 +1885,25 @@
|
|
|
1124
1885
|
"issuer": {
|
|
1125
1886
|
"type": "string"
|
|
1126
1887
|
},
|
|
1888
|
+
"clientId": {
|
|
1889
|
+
"type": "string"
|
|
1890
|
+
},
|
|
1891
|
+
"clientIdScheme": {
|
|
1892
|
+
"anyOf": [
|
|
1893
|
+
{
|
|
1894
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"type": "string",
|
|
1898
|
+
"const": "did"
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"type": "string"
|
|
1902
|
+
}
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1127
1905
|
"identifier": {
|
|
1128
|
-
"$ref": "#/components/schemas/
|
|
1906
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1129
1907
|
},
|
|
1130
1908
|
"did": {
|
|
1131
1909
|
"type": "string"
|
|
@@ -1166,6 +1944,9 @@
|
|
|
1166
1944
|
"noIdentifierInHeader": {
|
|
1167
1945
|
"type": "boolean"
|
|
1168
1946
|
},
|
|
1947
|
+
"lazyDisabled": {
|
|
1948
|
+
"type": "boolean"
|
|
1949
|
+
},
|
|
1169
1950
|
"jwk": {
|
|
1170
1951
|
"$ref": "#/components/schemas/JWK"
|
|
1171
1952
|
},
|
|
@@ -1189,9 +1970,30 @@
|
|
|
1189
1970
|
},
|
|
1190
1971
|
"issuer": {
|
|
1191
1972
|
"type": "string"
|
|
1973
|
+
},
|
|
1974
|
+
"clientId": {
|
|
1975
|
+
"type": "string"
|
|
1976
|
+
},
|
|
1977
|
+
"clientIdScheme": {
|
|
1978
|
+
"anyOf": [
|
|
1979
|
+
{
|
|
1980
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"type": "string",
|
|
1984
|
+
"const": "did"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"type": "string"
|
|
1988
|
+
}
|
|
1989
|
+
]
|
|
1990
|
+
},
|
|
1991
|
+
"identifier": {
|
|
1992
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1192
1993
|
}
|
|
1193
1994
|
},
|
|
1194
1995
|
"required": [
|
|
1996
|
+
"identifier",
|
|
1195
1997
|
"jwk",
|
|
1196
1998
|
"jwkThumbprint",
|
|
1197
1999
|
"key",
|
|
@@ -1209,6 +2011,9 @@
|
|
|
1209
2011
|
"noIdentifierInHeader": {
|
|
1210
2012
|
"type": "boolean"
|
|
1211
2013
|
},
|
|
2014
|
+
"lazyDisabled": {
|
|
2015
|
+
"type": "boolean"
|
|
2016
|
+
},
|
|
1212
2017
|
"jwk": {
|
|
1213
2018
|
"$ref": "#/components/schemas/JWK"
|
|
1214
2019
|
},
|
|
@@ -1232,9 +2037,30 @@
|
|
|
1232
2037
|
},
|
|
1233
2038
|
"issuer": {
|
|
1234
2039
|
"type": "string"
|
|
2040
|
+
},
|
|
2041
|
+
"clientId": {
|
|
2042
|
+
"type": "string"
|
|
2043
|
+
},
|
|
2044
|
+
"clientIdScheme": {
|
|
2045
|
+
"anyOf": [
|
|
2046
|
+
{
|
|
2047
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"type": "string",
|
|
2051
|
+
"const": "did"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"type": "string"
|
|
2055
|
+
}
|
|
2056
|
+
]
|
|
2057
|
+
},
|
|
2058
|
+
"identifier": {
|
|
2059
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1235
2060
|
}
|
|
1236
2061
|
},
|
|
1237
2062
|
"required": [
|
|
2063
|
+
"identifier",
|
|
1238
2064
|
"jwk",
|
|
1239
2065
|
"jwkThumbprint",
|
|
1240
2066
|
"key",
|
|
@@ -1253,6 +2079,9 @@
|
|
|
1253
2079
|
"noIdentifierInHeader": {
|
|
1254
2080
|
"type": "boolean"
|
|
1255
2081
|
},
|
|
2082
|
+
"lazyDisabled": {
|
|
2083
|
+
"type": "boolean"
|
|
2084
|
+
},
|
|
1256
2085
|
"jwk": {
|
|
1257
2086
|
"$ref": "#/components/schemas/JWK"
|
|
1258
2087
|
},
|
|
@@ -1276,9 +2105,30 @@
|
|
|
1276
2105
|
},
|
|
1277
2106
|
"issuer": {
|
|
1278
2107
|
"type": "string"
|
|
2108
|
+
},
|
|
2109
|
+
"clientId": {
|
|
2110
|
+
"type": "string"
|
|
2111
|
+
},
|
|
2112
|
+
"clientIdScheme": {
|
|
2113
|
+
"anyOf": [
|
|
2114
|
+
{
|
|
2115
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"type": "string",
|
|
2119
|
+
"const": "did"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"type": "string"
|
|
2123
|
+
}
|
|
2124
|
+
]
|
|
2125
|
+
},
|
|
2126
|
+
"identifier": {
|
|
2127
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1279
2128
|
}
|
|
1280
2129
|
},
|
|
1281
2130
|
"required": [
|
|
2131
|
+
"identifier",
|
|
1282
2132
|
"jwk",
|
|
1283
2133
|
"jwkThumbprint",
|
|
1284
2134
|
"key",
|
|
@@ -1296,25 +2146,62 @@
|
|
|
1296
2146
|
"noIdentifierInHeader": {
|
|
1297
2147
|
"type": "boolean"
|
|
1298
2148
|
},
|
|
1299
|
-
"
|
|
1300
|
-
"type": "
|
|
1301
|
-
"const": "jwk"
|
|
2149
|
+
"lazyDisabled": {
|
|
2150
|
+
"type": "boolean"
|
|
1302
2151
|
},
|
|
1303
|
-
"
|
|
1304
|
-
"$ref": "#/components/schemas/
|
|
2152
|
+
"jwk": {
|
|
2153
|
+
"$ref": "#/components/schemas/JWK"
|
|
2154
|
+
},
|
|
2155
|
+
"jwkThumbprint": {
|
|
2156
|
+
"type": "string"
|
|
1305
2157
|
},
|
|
1306
2158
|
"kmsKeyRef": {
|
|
1307
2159
|
"type": "string"
|
|
1308
2160
|
},
|
|
2161
|
+
"method": {
|
|
2162
|
+
"$ref": "#/components/schemas/ManagedIdentifierMethod"
|
|
2163
|
+
},
|
|
2164
|
+
"opts": {
|
|
2165
|
+
"$ref": "#/components/schemas/ManagedIdentifierOpts"
|
|
2166
|
+
},
|
|
2167
|
+
"key": {
|
|
2168
|
+
"$ref": "#/components/schemas/IKey"
|
|
2169
|
+
},
|
|
2170
|
+
"kid": {
|
|
2171
|
+
"type": "string"
|
|
2172
|
+
},
|
|
1309
2173
|
"issuer": {
|
|
1310
2174
|
"type": "string"
|
|
1311
2175
|
},
|
|
1312
|
-
"
|
|
2176
|
+
"clientId": {
|
|
1313
2177
|
"type": "string"
|
|
2178
|
+
},
|
|
2179
|
+
"clientIdScheme": {
|
|
2180
|
+
"anyOf": [
|
|
2181
|
+
{
|
|
2182
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"type": "string",
|
|
2186
|
+
"const": "did"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"type": "string"
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
"identifier": {
|
|
2194
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1314
2195
|
}
|
|
1315
2196
|
},
|
|
1316
2197
|
"required": [
|
|
1317
|
-
"identifier"
|
|
2198
|
+
"identifier",
|
|
2199
|
+
"jwk",
|
|
2200
|
+
"jwkThumbprint",
|
|
2201
|
+
"key",
|
|
2202
|
+
"kmsKeyRef",
|
|
2203
|
+
"method",
|
|
2204
|
+
"opts"
|
|
1318
2205
|
]
|
|
1319
2206
|
},
|
|
1320
2207
|
{
|
|
@@ -1326,9 +2213,12 @@
|
|
|
1326
2213
|
"noIdentifierInHeader": {
|
|
1327
2214
|
"type": "boolean"
|
|
1328
2215
|
},
|
|
2216
|
+
"lazyDisabled": {
|
|
2217
|
+
"type": "boolean"
|
|
2218
|
+
},
|
|
1329
2219
|
"method": {
|
|
1330
2220
|
"type": "string",
|
|
1331
|
-
"const": "
|
|
2221
|
+
"const": "jwk"
|
|
1332
2222
|
},
|
|
1333
2223
|
"identifier": {
|
|
1334
2224
|
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
@@ -1341,7 +2231,74 @@
|
|
|
1341
2231
|
},
|
|
1342
2232
|
"kid": {
|
|
1343
2233
|
"type": "string"
|
|
1344
|
-
}
|
|
2234
|
+
},
|
|
2235
|
+
"clientId": {
|
|
2236
|
+
"type": "string"
|
|
2237
|
+
},
|
|
2238
|
+
"clientIdScheme": {
|
|
2239
|
+
"anyOf": [
|
|
2240
|
+
{
|
|
2241
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
"type": "string",
|
|
2245
|
+
"const": "did"
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"type": "string"
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"required": [
|
|
2254
|
+
"identifier"
|
|
2255
|
+
]
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"type": "object",
|
|
2259
|
+
"properties": {
|
|
2260
|
+
"noIssPayloadUpdate": {
|
|
2261
|
+
"type": "boolean"
|
|
2262
|
+
},
|
|
2263
|
+
"noIdentifierInHeader": {
|
|
2264
|
+
"type": "boolean"
|
|
2265
|
+
},
|
|
2266
|
+
"lazyDisabled": {
|
|
2267
|
+
"type": "boolean"
|
|
2268
|
+
},
|
|
2269
|
+
"method": {
|
|
2270
|
+
"type": "string",
|
|
2271
|
+
"const": "x5c"
|
|
2272
|
+
},
|
|
2273
|
+
"identifier": {
|
|
2274
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
2275
|
+
},
|
|
2276
|
+
"kmsKeyRef": {
|
|
2277
|
+
"type": "string"
|
|
2278
|
+
},
|
|
2279
|
+
"issuer": {
|
|
2280
|
+
"type": "string"
|
|
2281
|
+
},
|
|
2282
|
+
"kid": {
|
|
2283
|
+
"type": "string"
|
|
2284
|
+
},
|
|
2285
|
+
"clientId": {
|
|
2286
|
+
"type": "string"
|
|
2287
|
+
},
|
|
2288
|
+
"clientIdScheme": {
|
|
2289
|
+
"anyOf": [
|
|
2290
|
+
{
|
|
2291
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"type": "string",
|
|
2295
|
+
"const": "did"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"type": "string"
|
|
2299
|
+
}
|
|
2300
|
+
]
|
|
2301
|
+
}
|
|
1345
2302
|
},
|
|
1346
2303
|
"required": [
|
|
1347
2304
|
"identifier"
|
|
@@ -1356,6 +2313,9 @@
|
|
|
1356
2313
|
"noIdentifierInHeader": {
|
|
1357
2314
|
"type": "boolean"
|
|
1358
2315
|
},
|
|
2316
|
+
"lazyDisabled": {
|
|
2317
|
+
"type": "boolean"
|
|
2318
|
+
},
|
|
1359
2319
|
"method": {
|
|
1360
2320
|
"type": "string",
|
|
1361
2321
|
"const": "did"
|
|
@@ -1372,6 +2332,23 @@
|
|
|
1372
2332
|
"kid": {
|
|
1373
2333
|
"type": "string"
|
|
1374
2334
|
},
|
|
2335
|
+
"clientId": {
|
|
2336
|
+
"type": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"clientIdScheme": {
|
|
2339
|
+
"anyOf": [
|
|
2340
|
+
{
|
|
2341
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"type": "string",
|
|
2345
|
+
"const": "did"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"type": "string"
|
|
2349
|
+
}
|
|
2350
|
+
]
|
|
2351
|
+
},
|
|
1375
2352
|
"keyType": {
|
|
1376
2353
|
"$ref": "#/components/schemas/TKeyType"
|
|
1377
2354
|
},
|
|
@@ -1401,6 +2378,9 @@
|
|
|
1401
2378
|
"noIdentifierInHeader": {
|
|
1402
2379
|
"type": "boolean"
|
|
1403
2380
|
},
|
|
2381
|
+
"lazyDisabled": {
|
|
2382
|
+
"type": "boolean"
|
|
2383
|
+
},
|
|
1404
2384
|
"method": {
|
|
1405
2385
|
"type": "string",
|
|
1406
2386
|
"const": "kid"
|
|
@@ -1416,6 +2396,23 @@
|
|
|
1416
2396
|
},
|
|
1417
2397
|
"kid": {
|
|
1418
2398
|
"type": "string"
|
|
2399
|
+
},
|
|
2400
|
+
"clientId": {
|
|
2401
|
+
"type": "string"
|
|
2402
|
+
},
|
|
2403
|
+
"clientIdScheme": {
|
|
2404
|
+
"anyOf": [
|
|
2405
|
+
{
|
|
2406
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"type": "string",
|
|
2410
|
+
"const": "did"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"type": "string"
|
|
2414
|
+
}
|
|
2415
|
+
]
|
|
1419
2416
|
}
|
|
1420
2417
|
},
|
|
1421
2418
|
"required": [
|
|
@@ -1431,6 +2428,9 @@
|
|
|
1431
2428
|
"noIdentifierInHeader": {
|
|
1432
2429
|
"type": "boolean"
|
|
1433
2430
|
},
|
|
2431
|
+
"lazyDisabled": {
|
|
2432
|
+
"type": "boolean"
|
|
2433
|
+
},
|
|
1434
2434
|
"method": {
|
|
1435
2435
|
"type": "string",
|
|
1436
2436
|
"const": "key"
|
|
@@ -1446,6 +2446,73 @@
|
|
|
1446
2446
|
},
|
|
1447
2447
|
"kid": {
|
|
1448
2448
|
"type": "string"
|
|
2449
|
+
},
|
|
2450
|
+
"clientId": {
|
|
2451
|
+
"type": "string"
|
|
2452
|
+
},
|
|
2453
|
+
"clientIdScheme": {
|
|
2454
|
+
"anyOf": [
|
|
2455
|
+
{
|
|
2456
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"type": "string",
|
|
2460
|
+
"const": "did"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"type": "string"
|
|
2464
|
+
}
|
|
2465
|
+
]
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
"required": [
|
|
2469
|
+
"identifier"
|
|
2470
|
+
]
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"type": "object",
|
|
2474
|
+
"properties": {
|
|
2475
|
+
"noIssPayloadUpdate": {
|
|
2476
|
+
"type": "boolean"
|
|
2477
|
+
},
|
|
2478
|
+
"noIdentifierInHeader": {
|
|
2479
|
+
"type": "boolean"
|
|
2480
|
+
},
|
|
2481
|
+
"lazyDisabled": {
|
|
2482
|
+
"type": "boolean"
|
|
2483
|
+
},
|
|
2484
|
+
"method": {
|
|
2485
|
+
"type": "string",
|
|
2486
|
+
"const": "cose_key"
|
|
2487
|
+
},
|
|
2488
|
+
"identifier": {
|
|
2489
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
2490
|
+
},
|
|
2491
|
+
"kmsKeyRef": {
|
|
2492
|
+
"type": "string"
|
|
2493
|
+
},
|
|
2494
|
+
"issuer": {
|
|
2495
|
+
"type": "string"
|
|
2496
|
+
},
|
|
2497
|
+
"kid": {
|
|
2498
|
+
"type": "string"
|
|
2499
|
+
},
|
|
2500
|
+
"clientId": {
|
|
2501
|
+
"type": "string"
|
|
2502
|
+
},
|
|
2503
|
+
"clientIdScheme": {
|
|
2504
|
+
"anyOf": [
|
|
2505
|
+
{
|
|
2506
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
"type": "string",
|
|
2510
|
+
"const": "did"
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"type": "string"
|
|
2514
|
+
}
|
|
2515
|
+
]
|
|
1449
2516
|
}
|
|
1450
2517
|
},
|
|
1451
2518
|
"required": [
|
|
@@ -1454,6 +2521,23 @@
|
|
|
1454
2521
|
}
|
|
1455
2522
|
]
|
|
1456
2523
|
},
|
|
2524
|
+
"clientId": {
|
|
2525
|
+
"type": "string"
|
|
2526
|
+
},
|
|
2527
|
+
"clientIdScheme": {
|
|
2528
|
+
"anyOf": [
|
|
2529
|
+
{
|
|
2530
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
"type": "string",
|
|
2534
|
+
"const": "did"
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"type": "string"
|
|
2538
|
+
}
|
|
2539
|
+
]
|
|
2540
|
+
},
|
|
1457
2541
|
"protectedHeader": {
|
|
1458
2542
|
"$ref": "#/components/schemas/JwtHeader"
|
|
1459
2543
|
},
|
|
@@ -1699,6 +2783,26 @@
|
|
|
1699
2783
|
"issuer": {
|
|
1700
2784
|
"type": "string"
|
|
1701
2785
|
},
|
|
2786
|
+
"clientId": {
|
|
2787
|
+
"type": "string"
|
|
2788
|
+
},
|
|
2789
|
+
"clientIdScheme": {
|
|
2790
|
+
"anyOf": [
|
|
2791
|
+
{
|
|
2792
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"type": "string",
|
|
2796
|
+
"const": "did"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"type": "string"
|
|
2800
|
+
}
|
|
2801
|
+
]
|
|
2802
|
+
},
|
|
2803
|
+
"identifier": {
|
|
2804
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
2805
|
+
},
|
|
1702
2806
|
"x5c": {
|
|
1703
2807
|
"type": "array",
|
|
1704
2808
|
"items": {
|
|
@@ -1709,6 +2813,7 @@
|
|
|
1709
2813
|
},
|
|
1710
2814
|
"required": [
|
|
1711
2815
|
"certificate",
|
|
2816
|
+
"identifier",
|
|
1712
2817
|
"jwk",
|
|
1713
2818
|
"jwkThumbprint",
|
|
1714
2819
|
"key",
|
|
@@ -1745,8 +2850,25 @@
|
|
|
1745
2850
|
"issuer": {
|
|
1746
2851
|
"type": "string"
|
|
1747
2852
|
},
|
|
2853
|
+
"clientId": {
|
|
2854
|
+
"type": "string"
|
|
2855
|
+
},
|
|
2856
|
+
"clientIdScheme": {
|
|
2857
|
+
"anyOf": [
|
|
2858
|
+
{
|
|
2859
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"type": "string",
|
|
2863
|
+
"const": "did"
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"type": "string"
|
|
2867
|
+
}
|
|
2868
|
+
]
|
|
2869
|
+
},
|
|
1748
2870
|
"identifier": {
|
|
1749
|
-
"$ref": "#/components/schemas/
|
|
2871
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1750
2872
|
},
|
|
1751
2873
|
"did": {
|
|
1752
2874
|
"type": "string"
|
|
@@ -1804,9 +2926,30 @@
|
|
|
1804
2926
|
},
|
|
1805
2927
|
"issuer": {
|
|
1806
2928
|
"type": "string"
|
|
2929
|
+
},
|
|
2930
|
+
"clientId": {
|
|
2931
|
+
"type": "string"
|
|
2932
|
+
},
|
|
2933
|
+
"clientIdScheme": {
|
|
2934
|
+
"anyOf": [
|
|
2935
|
+
{
|
|
2936
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"type": "string",
|
|
2940
|
+
"const": "did"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"type": "string"
|
|
2944
|
+
}
|
|
2945
|
+
]
|
|
2946
|
+
},
|
|
2947
|
+
"identifier": {
|
|
2948
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1807
2949
|
}
|
|
1808
2950
|
},
|
|
1809
2951
|
"required": [
|
|
2952
|
+
"identifier",
|
|
1810
2953
|
"jwk",
|
|
1811
2954
|
"jwkThumbprint",
|
|
1812
2955
|
"key",
|
|
@@ -1841,9 +2984,30 @@
|
|
|
1841
2984
|
},
|
|
1842
2985
|
"issuer": {
|
|
1843
2986
|
"type": "string"
|
|
2987
|
+
},
|
|
2988
|
+
"clientId": {
|
|
2989
|
+
"type": "string"
|
|
2990
|
+
},
|
|
2991
|
+
"clientIdScheme": {
|
|
2992
|
+
"anyOf": [
|
|
2993
|
+
{
|
|
2994
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"type": "string",
|
|
2998
|
+
"const": "did"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"type": "string"
|
|
3002
|
+
}
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
3005
|
+
"identifier": {
|
|
3006
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1844
3007
|
}
|
|
1845
3008
|
},
|
|
1846
3009
|
"required": [
|
|
3010
|
+
"identifier",
|
|
1847
3011
|
"jwk",
|
|
1848
3012
|
"jwkThumbprint",
|
|
1849
3013
|
"key",
|
|
@@ -1879,9 +3043,30 @@
|
|
|
1879
3043
|
},
|
|
1880
3044
|
"issuer": {
|
|
1881
3045
|
"type": "string"
|
|
3046
|
+
},
|
|
3047
|
+
"clientId": {
|
|
3048
|
+
"type": "string"
|
|
3049
|
+
},
|
|
3050
|
+
"clientIdScheme": {
|
|
3051
|
+
"anyOf": [
|
|
3052
|
+
{
|
|
3053
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"type": "string",
|
|
3057
|
+
"const": "did"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"type": "string"
|
|
3061
|
+
}
|
|
3062
|
+
]
|
|
3063
|
+
},
|
|
3064
|
+
"identifier": {
|
|
3065
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
1882
3066
|
}
|
|
1883
3067
|
},
|
|
1884
3068
|
"required": [
|
|
3069
|
+
"identifier",
|
|
1885
3070
|
"jwk",
|
|
1886
3071
|
"jwkThumbprint",
|
|
1887
3072
|
"key",
|
|
@@ -1889,25 +3074,1131 @@
|
|
|
1889
3074
|
"method",
|
|
1890
3075
|
"opts"
|
|
1891
3076
|
]
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"type": "object",
|
|
3080
|
+
"properties": {
|
|
3081
|
+
"jwk": {
|
|
3082
|
+
"$ref": "#/components/schemas/JWK"
|
|
3083
|
+
},
|
|
3084
|
+
"jwkThumbprint": {
|
|
3085
|
+
"type": "string"
|
|
3086
|
+
},
|
|
3087
|
+
"kmsKeyRef": {
|
|
3088
|
+
"type": "string"
|
|
3089
|
+
},
|
|
3090
|
+
"method": {
|
|
3091
|
+
"$ref": "#/components/schemas/ManagedIdentifierMethod"
|
|
3092
|
+
},
|
|
3093
|
+
"opts": {
|
|
3094
|
+
"$ref": "#/components/schemas/ManagedIdentifierOpts"
|
|
3095
|
+
},
|
|
3096
|
+
"key": {
|
|
3097
|
+
"$ref": "#/components/schemas/IKey"
|
|
3098
|
+
},
|
|
3099
|
+
"kid": {
|
|
3100
|
+
"type": "string"
|
|
3101
|
+
},
|
|
3102
|
+
"issuer": {
|
|
3103
|
+
"type": "string"
|
|
3104
|
+
},
|
|
3105
|
+
"clientId": {
|
|
3106
|
+
"type": "string"
|
|
3107
|
+
},
|
|
3108
|
+
"clientIdScheme": {
|
|
3109
|
+
"anyOf": [
|
|
3110
|
+
{
|
|
3111
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"type": "string",
|
|
3115
|
+
"const": "did"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"type": "string"
|
|
3119
|
+
}
|
|
3120
|
+
]
|
|
3121
|
+
},
|
|
3122
|
+
"identifier": {
|
|
3123
|
+
"$ref": "#/components/schemas/ManagedIdentifierType"
|
|
3124
|
+
}
|
|
3125
|
+
},
|
|
3126
|
+
"required": [
|
|
3127
|
+
"identifier",
|
|
3128
|
+
"jwk",
|
|
3129
|
+
"jwkThumbprint",
|
|
3130
|
+
"key",
|
|
3131
|
+
"kmsKeyRef",
|
|
3132
|
+
"method",
|
|
3133
|
+
"opts"
|
|
3134
|
+
]
|
|
3135
|
+
}
|
|
3136
|
+
]
|
|
3137
|
+
},
|
|
3138
|
+
"VerifyJwsArgs": {
|
|
3139
|
+
"type": "object",
|
|
3140
|
+
"properties": {
|
|
3141
|
+
"jws": {
|
|
3142
|
+
"$ref": "#/components/schemas/Jws"
|
|
3143
|
+
},
|
|
3144
|
+
"jwk": {
|
|
3145
|
+
"$ref": "#/components/schemas/JWK"
|
|
3146
|
+
},
|
|
3147
|
+
"opts": {
|
|
3148
|
+
"type": "object",
|
|
3149
|
+
"properties": {
|
|
3150
|
+
"x5c": {
|
|
3151
|
+
"type": "object",
|
|
3152
|
+
"properties": {
|
|
3153
|
+
"trustRootWhenNoAnchors": {
|
|
3154
|
+
"type": "boolean"
|
|
3155
|
+
},
|
|
3156
|
+
"allowSingleNoCAChainElement": {
|
|
3157
|
+
"type": "boolean"
|
|
3158
|
+
},
|
|
3159
|
+
"blindlyTrustedAnchors": {
|
|
3160
|
+
"allOf": [
|
|
3161
|
+
{
|
|
3162
|
+
"type": "array",
|
|
3163
|
+
"items": {
|
|
3164
|
+
"type": "string"
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"type": "object",
|
|
3169
|
+
"properties": {}
|
|
3170
|
+
}
|
|
3171
|
+
]
|
|
3172
|
+
},
|
|
3173
|
+
"client": {
|
|
3174
|
+
"type": "object",
|
|
3175
|
+
"properties": {
|
|
3176
|
+
"clientId": {
|
|
3177
|
+
"type": "string"
|
|
3178
|
+
},
|
|
3179
|
+
"clientIdScheme": {
|
|
3180
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
3181
|
+
}
|
|
3182
|
+
},
|
|
3183
|
+
"required": [
|
|
3184
|
+
"clientId",
|
|
3185
|
+
"clientIdScheme"
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
"method": {
|
|
3189
|
+
"type": "object",
|
|
3190
|
+
"properties": {}
|
|
3191
|
+
},
|
|
3192
|
+
"verify": {
|
|
3193
|
+
"type": "boolean"
|
|
3194
|
+
},
|
|
3195
|
+
"verificationTime": {
|
|
3196
|
+
"type": "string"
|
|
3197
|
+
},
|
|
3198
|
+
"trustAnchors": {
|
|
3199
|
+
"allOf": [
|
|
3200
|
+
{
|
|
3201
|
+
"type": "array",
|
|
3202
|
+
"items": {
|
|
3203
|
+
"type": "string"
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"type": "object",
|
|
3208
|
+
"properties": {}
|
|
3209
|
+
}
|
|
3210
|
+
]
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
},
|
|
3214
|
+
"did": {
|
|
3215
|
+
"type": "object",
|
|
3216
|
+
"properties": {
|
|
3217
|
+
"method": {
|
|
3218
|
+
"type": "object",
|
|
3219
|
+
"properties": {}
|
|
3220
|
+
},
|
|
3221
|
+
"noVerificationMethodFallback": {
|
|
3222
|
+
"type": "boolean"
|
|
3223
|
+
},
|
|
3224
|
+
"vmRelationship": {
|
|
3225
|
+
"anyOf": [
|
|
3226
|
+
{
|
|
3227
|
+
"type": "object",
|
|
3228
|
+
"properties": {}
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"type": "object",
|
|
3232
|
+
"properties": {}
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"type": "object",
|
|
3236
|
+
"properties": {}
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"type": "object",
|
|
3240
|
+
"properties": {}
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
"type": "object",
|
|
3244
|
+
"properties": {}
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"type": "object",
|
|
3248
|
+
"properties": {}
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"type": "object",
|
|
3252
|
+
"properties": {}
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"type": "object",
|
|
3256
|
+
"properties": {}
|
|
3257
|
+
}
|
|
3258
|
+
]
|
|
3259
|
+
},
|
|
3260
|
+
"localResolution": {
|
|
3261
|
+
"type": "boolean"
|
|
3262
|
+
},
|
|
3263
|
+
"uniresolverResolution": {
|
|
3264
|
+
"type": "boolean"
|
|
3265
|
+
},
|
|
3266
|
+
"resolverResolution": {
|
|
3267
|
+
"type": "boolean"
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
"required": [
|
|
3275
|
+
"jws"
|
|
3276
|
+
]
|
|
3277
|
+
},
|
|
3278
|
+
"Jws": {
|
|
3279
|
+
"anyOf": [
|
|
3280
|
+
{
|
|
3281
|
+
"$ref": "#/components/schemas/JwsCompact"
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"$ref": "#/components/schemas/JwsJsonFlattened"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"$ref": "#/components/schemas/JwsJsonGeneral"
|
|
3288
|
+
}
|
|
3289
|
+
]
|
|
3290
|
+
},
|
|
3291
|
+
"IJwsValidationResult": {
|
|
3292
|
+
"type": "object",
|
|
3293
|
+
"properties": {
|
|
3294
|
+
"jws": {
|
|
3295
|
+
"$ref": "#/components/schemas/JwsJsonGeneralWithIdentifiers"
|
|
3296
|
+
},
|
|
3297
|
+
"name": {
|
|
3298
|
+
"type": "string",
|
|
3299
|
+
"description": "The name of the validation or its subsystem. Mainly used for information purposes. Not assumed to be unique"
|
|
3300
|
+
},
|
|
3301
|
+
"error": {
|
|
3302
|
+
"type": "boolean",
|
|
3303
|
+
"description": "Whether the validation was successful or not"
|
|
3304
|
+
},
|
|
3305
|
+
"critical": {
|
|
3306
|
+
"type": "boolean",
|
|
3307
|
+
"description": "Whether an error can be ignored or not (up to processing logic)"
|
|
3308
|
+
},
|
|
3309
|
+
"message": {
|
|
3310
|
+
"type": "string",
|
|
3311
|
+
"description": "Any status/info message about the validation"
|
|
3312
|
+
},
|
|
3313
|
+
"verificationTime": {
|
|
3314
|
+
"type": "string",
|
|
3315
|
+
"format": "date-time",
|
|
3316
|
+
"description": "The date and time of the validation"
|
|
3317
|
+
}
|
|
3318
|
+
},
|
|
3319
|
+
"required": [
|
|
3320
|
+
"critical",
|
|
3321
|
+
"error",
|
|
3322
|
+
"jws",
|
|
3323
|
+
"message",
|
|
3324
|
+
"name",
|
|
3325
|
+
"verificationTime"
|
|
3326
|
+
]
|
|
3327
|
+
},
|
|
3328
|
+
"JwsJsonGeneralWithIdentifiers": {
|
|
3329
|
+
"type": "object",
|
|
3330
|
+
"properties": {
|
|
3331
|
+
"payload": {
|
|
3332
|
+
"type": "string"
|
|
3333
|
+
},
|
|
3334
|
+
"signatures": {
|
|
3335
|
+
"type": "array",
|
|
3336
|
+
"items": {
|
|
3337
|
+
"$ref": "#/components/schemas/JwsJsonSignatureWithIdentifier"
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"required": [
|
|
3342
|
+
"payload",
|
|
3343
|
+
"signatures"
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3346
|
+
"JwsJsonSignatureWithIdentifier": {
|
|
3347
|
+
"type": "object",
|
|
3348
|
+
"properties": {
|
|
3349
|
+
"protected": {
|
|
3350
|
+
"type": "string"
|
|
3351
|
+
},
|
|
3352
|
+
"header": {
|
|
3353
|
+
"$ref": "#/components/schemas/JwtHeader"
|
|
3354
|
+
},
|
|
3355
|
+
"signature": {
|
|
3356
|
+
"type": "string"
|
|
3357
|
+
},
|
|
3358
|
+
"identifier": {
|
|
3359
|
+
"$ref": "#/components/schemas/ExternalIdentifierResult"
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
"required": [
|
|
3363
|
+
"identifier",
|
|
3364
|
+
"protected",
|
|
3365
|
+
"signature"
|
|
3366
|
+
]
|
|
3367
|
+
},
|
|
3368
|
+
"ExternalIdentifierResult": {
|
|
3369
|
+
"anyOf": [
|
|
3370
|
+
{
|
|
3371
|
+
"type": "object",
|
|
3372
|
+
"properties": {
|
|
3373
|
+
"method": {
|
|
3374
|
+
"$ref": "#/components/schemas/ExternalIdentifierMethod"
|
|
3375
|
+
},
|
|
3376
|
+
"jwks": {
|
|
3377
|
+
"type": "array",
|
|
3378
|
+
"items": {
|
|
3379
|
+
"$ref": "#/components/schemas/ExternalJwkInfo"
|
|
3380
|
+
}
|
|
3381
|
+
},
|
|
3382
|
+
"did": {
|
|
3383
|
+
"type": "string"
|
|
3384
|
+
},
|
|
3385
|
+
"didDocument": {
|
|
3386
|
+
"$ref": "#/components/schemas/DIDDocument"
|
|
3387
|
+
},
|
|
3388
|
+
"didJwks": {
|
|
3389
|
+
"$ref": "#/components/schemas/DidDocumentJwks"
|
|
3390
|
+
},
|
|
3391
|
+
"didResolutionResult": {
|
|
3392
|
+
"type": "object",
|
|
3393
|
+
"properties": {
|
|
3394
|
+
"@context": {
|
|
3395
|
+
"anyOf": [
|
|
3396
|
+
{
|
|
3397
|
+
"type": "string",
|
|
3398
|
+
"const": "https://w3id.org/did-resolution/v1"
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"type": "string"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"type": "array",
|
|
3405
|
+
"items": {
|
|
3406
|
+
"type": "string"
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
]
|
|
3410
|
+
},
|
|
3411
|
+
"didResolutionMetadata": {
|
|
3412
|
+
"$ref": "#/components/schemas/DIDResolutionMetadata"
|
|
3413
|
+
},
|
|
3414
|
+
"didDocumentMetadata": {
|
|
3415
|
+
"$ref": "#/components/schemas/DIDDocumentMetadata"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
"required": [
|
|
3419
|
+
"didResolutionMetadata",
|
|
3420
|
+
"didDocumentMetadata"
|
|
3421
|
+
]
|
|
3422
|
+
},
|
|
3423
|
+
"didParsed": {
|
|
3424
|
+
"$ref": "#/components/schemas/IParsedDID"
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
"required": [
|
|
3428
|
+
"did",
|
|
3429
|
+
"didParsed",
|
|
3430
|
+
"didResolutionResult",
|
|
3431
|
+
"jwks",
|
|
3432
|
+
"method"
|
|
3433
|
+
]
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"type": "object",
|
|
3437
|
+
"properties": {
|
|
3438
|
+
"method": {
|
|
3439
|
+
"$ref": "#/components/schemas/ExternalIdentifierMethod"
|
|
3440
|
+
},
|
|
3441
|
+
"jwks": {
|
|
3442
|
+
"type": "array",
|
|
3443
|
+
"items": {
|
|
3444
|
+
"$ref": "#/components/schemas/ExternalJwkInfo"
|
|
3445
|
+
}
|
|
3446
|
+
},
|
|
3447
|
+
"x5c": {
|
|
3448
|
+
"type": "array",
|
|
3449
|
+
"items": {
|
|
3450
|
+
"type": "string"
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
"issuerJWK": {
|
|
3454
|
+
"$ref": "#/components/schemas/JWK"
|
|
3455
|
+
},
|
|
3456
|
+
"verificationResult": {
|
|
3457
|
+
"$ref": "#/components/schemas/X509ValidationResult"
|
|
3458
|
+
},
|
|
3459
|
+
"certificates": {
|
|
3460
|
+
"type": "array",
|
|
3461
|
+
"items": {}
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
"required": [
|
|
3465
|
+
"certificates",
|
|
3466
|
+
"issuerJWK",
|
|
3467
|
+
"jwks",
|
|
3468
|
+
"method",
|
|
3469
|
+
"x5c"
|
|
3470
|
+
]
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"type": "object",
|
|
3474
|
+
"properties": {
|
|
3475
|
+
"method": {
|
|
3476
|
+
"$ref": "#/components/schemas/ExternalIdentifierMethod"
|
|
3477
|
+
},
|
|
3478
|
+
"jwks": {
|
|
3479
|
+
"type": "array",
|
|
3480
|
+
"items": {
|
|
3481
|
+
"$ref": "#/components/schemas/ExternalJwkInfo"
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
"jwk": {
|
|
3485
|
+
"$ref": "#/components/schemas/JWK"
|
|
3486
|
+
},
|
|
3487
|
+
"x5c": {
|
|
3488
|
+
"$ref": "#/components/schemas/ExternalIdentifierX5cResult"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
"required": [
|
|
3492
|
+
"jwk",
|
|
3493
|
+
"jwks",
|
|
3494
|
+
"method"
|
|
3495
|
+
]
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"type": "object",
|
|
3499
|
+
"properties": {
|
|
3500
|
+
"method": {
|
|
3501
|
+
"$ref": "#/components/schemas/ExternalIdentifierMethod"
|
|
3502
|
+
},
|
|
3503
|
+
"jwks": {
|
|
3504
|
+
"type": "array",
|
|
3505
|
+
"items": {
|
|
3506
|
+
"$ref": "#/components/schemas/ExternalJwkInfo"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
"coseKey": {
|
|
3510
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
3511
|
+
},
|
|
3512
|
+
"x5c": {
|
|
3513
|
+
"$ref": "#/components/schemas/ExternalIdentifierX5cResult"
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
"required": [
|
|
3517
|
+
"coseKey",
|
|
3518
|
+
"jwks",
|
|
3519
|
+
"method"
|
|
3520
|
+
]
|
|
3521
|
+
}
|
|
3522
|
+
]
|
|
3523
|
+
},
|
|
3524
|
+
"ExternalIdentifierMethod": {
|
|
3525
|
+
"type": "string",
|
|
3526
|
+
"enum": [
|
|
3527
|
+
"did",
|
|
3528
|
+
"jwk",
|
|
3529
|
+
"x5c",
|
|
3530
|
+
"kid",
|
|
3531
|
+
"cose_key",
|
|
3532
|
+
"oidc-discovery",
|
|
3533
|
+
"jwks-url",
|
|
3534
|
+
"oid4vci-issuer"
|
|
3535
|
+
]
|
|
3536
|
+
},
|
|
3537
|
+
"ExternalJwkInfo": {
|
|
3538
|
+
"type": "object",
|
|
3539
|
+
"properties": {
|
|
3540
|
+
"jwk": {
|
|
3541
|
+
"$ref": "#/components/schemas/JWK"
|
|
3542
|
+
},
|
|
3543
|
+
"jwkThumbprint": {
|
|
3544
|
+
"type": "string"
|
|
3545
|
+
},
|
|
3546
|
+
"kid": {
|
|
3547
|
+
"type": "string"
|
|
3548
|
+
},
|
|
3549
|
+
"publicKeyHex": {
|
|
3550
|
+
"type": "string"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"required": [
|
|
3554
|
+
"jwk",
|
|
3555
|
+
"jwkThumbprint",
|
|
3556
|
+
"publicKeyHex"
|
|
3557
|
+
]
|
|
3558
|
+
},
|
|
3559
|
+
"DIDDocument": {
|
|
3560
|
+
"type": "object",
|
|
3561
|
+
"properties": {
|
|
3562
|
+
"authentication": {
|
|
3563
|
+
"type": "array",
|
|
3564
|
+
"items": {
|
|
3565
|
+
"anyOf": [
|
|
3566
|
+
{
|
|
3567
|
+
"type": "string"
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3571
|
+
}
|
|
3572
|
+
]
|
|
3573
|
+
}
|
|
3574
|
+
},
|
|
3575
|
+
"assertionMethod": {
|
|
3576
|
+
"type": "array",
|
|
3577
|
+
"items": {
|
|
3578
|
+
"anyOf": [
|
|
3579
|
+
{
|
|
3580
|
+
"type": "string"
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3584
|
+
}
|
|
3585
|
+
]
|
|
3586
|
+
}
|
|
3587
|
+
},
|
|
3588
|
+
"keyAgreement": {
|
|
3589
|
+
"type": "array",
|
|
3590
|
+
"items": {
|
|
3591
|
+
"anyOf": [
|
|
3592
|
+
{
|
|
3593
|
+
"type": "string"
|
|
3594
|
+
},
|
|
3595
|
+
{
|
|
3596
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3597
|
+
}
|
|
3598
|
+
]
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
"capabilityInvocation": {
|
|
3602
|
+
"type": "array",
|
|
3603
|
+
"items": {
|
|
3604
|
+
"anyOf": [
|
|
3605
|
+
{
|
|
3606
|
+
"type": "string"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3610
|
+
}
|
|
3611
|
+
]
|
|
3612
|
+
}
|
|
3613
|
+
},
|
|
3614
|
+
"capabilityDelegation": {
|
|
3615
|
+
"type": "array",
|
|
3616
|
+
"items": {
|
|
3617
|
+
"anyOf": [
|
|
3618
|
+
{
|
|
3619
|
+
"type": "string"
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3623
|
+
}
|
|
3624
|
+
]
|
|
3625
|
+
}
|
|
3626
|
+
},
|
|
3627
|
+
"@context": {
|
|
3628
|
+
"anyOf": [
|
|
3629
|
+
{
|
|
3630
|
+
"type": "string",
|
|
3631
|
+
"const": "https://www.w3.org/ns/did/v1"
|
|
3632
|
+
},
|
|
3633
|
+
{
|
|
3634
|
+
"type": "string"
|
|
3635
|
+
},
|
|
3636
|
+
{
|
|
3637
|
+
"type": "array",
|
|
3638
|
+
"items": {
|
|
3639
|
+
"type": "string"
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
]
|
|
3643
|
+
},
|
|
3644
|
+
"id": {
|
|
3645
|
+
"type": "string"
|
|
3646
|
+
},
|
|
3647
|
+
"alsoKnownAs": {
|
|
3648
|
+
"type": "array",
|
|
3649
|
+
"items": {
|
|
3650
|
+
"type": "string"
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
"controller": {
|
|
3654
|
+
"anyOf": [
|
|
3655
|
+
{
|
|
3656
|
+
"type": "string"
|
|
3657
|
+
},
|
|
3658
|
+
{
|
|
3659
|
+
"type": "array",
|
|
3660
|
+
"items": {
|
|
3661
|
+
"type": "string"
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
]
|
|
3665
|
+
},
|
|
3666
|
+
"verificationMethod": {
|
|
3667
|
+
"type": "array",
|
|
3668
|
+
"items": {
|
|
3669
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3672
|
+
"service": {
|
|
3673
|
+
"type": "array",
|
|
3674
|
+
"items": {
|
|
3675
|
+
"$ref": "#/components/schemas/Service"
|
|
3676
|
+
}
|
|
3677
|
+
},
|
|
3678
|
+
"publicKey": {
|
|
3679
|
+
"type": "array",
|
|
3680
|
+
"items": {
|
|
3681
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3682
|
+
},
|
|
3683
|
+
"deprecated": true
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
"required": [
|
|
3687
|
+
"id"
|
|
3688
|
+
],
|
|
3689
|
+
"description": "Represents a DID document."
|
|
3690
|
+
},
|
|
3691
|
+
"VerificationMethod": {
|
|
3692
|
+
"type": "object",
|
|
3693
|
+
"properties": {
|
|
3694
|
+
"id": {
|
|
3695
|
+
"type": "string"
|
|
3696
|
+
},
|
|
3697
|
+
"type": {
|
|
3698
|
+
"type": "string"
|
|
3699
|
+
},
|
|
3700
|
+
"controller": {
|
|
3701
|
+
"type": "string"
|
|
3702
|
+
},
|
|
3703
|
+
"publicKeyBase58": {
|
|
3704
|
+
"type": "string"
|
|
3705
|
+
},
|
|
3706
|
+
"publicKeyBase64": {
|
|
3707
|
+
"type": "string"
|
|
3708
|
+
},
|
|
3709
|
+
"publicKeyJwk": {
|
|
3710
|
+
"$ref": "#/components/schemas/JsonWebKey"
|
|
3711
|
+
},
|
|
3712
|
+
"publicKeyHex": {
|
|
3713
|
+
"type": "string"
|
|
3714
|
+
},
|
|
3715
|
+
"publicKeyMultibase": {
|
|
3716
|
+
"type": "string"
|
|
3717
|
+
},
|
|
3718
|
+
"blockchainAccountId": {
|
|
3719
|
+
"type": "string"
|
|
3720
|
+
},
|
|
3721
|
+
"ethereumAddress": {
|
|
3722
|
+
"type": "string"
|
|
3723
|
+
},
|
|
3724
|
+
"conditionOr": {
|
|
3725
|
+
"type": "array",
|
|
3726
|
+
"items": {
|
|
3727
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3728
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
"conditionAnd": {
|
|
3731
|
+
"type": "array",
|
|
3732
|
+
"items": {
|
|
3733
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
"threshold": {
|
|
3737
|
+
"type": "number"
|
|
3738
|
+
},
|
|
3739
|
+
"conditionThreshold": {
|
|
3740
|
+
"type": "array",
|
|
3741
|
+
"items": {
|
|
3742
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3743
|
+
}
|
|
3744
|
+
},
|
|
3745
|
+
"conditionWeightedThreshold": {
|
|
3746
|
+
"type": "array",
|
|
3747
|
+
"items": {
|
|
3748
|
+
"$ref": "#/components/schemas/ConditionWeightedThreshold"
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
"conditionDelegated": {
|
|
3752
|
+
"type": "string"
|
|
3753
|
+
},
|
|
3754
|
+
"relationshipParent": {
|
|
3755
|
+
"type": "array",
|
|
3756
|
+
"items": {
|
|
3757
|
+
"type": "string"
|
|
3758
|
+
}
|
|
3759
|
+
},
|
|
3760
|
+
"relationshipChild": {
|
|
3761
|
+
"type": "array",
|
|
3762
|
+
"items": {
|
|
3763
|
+
"type": "string"
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
"relationshipSibling": {
|
|
3767
|
+
"type": "array",
|
|
3768
|
+
"items": {
|
|
3769
|
+
"type": "string"
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
"required": [
|
|
3774
|
+
"id",
|
|
3775
|
+
"type",
|
|
3776
|
+
"controller"
|
|
3777
|
+
],
|
|
3778
|
+
"description": "Represents the properties of a Verification Method listed in a DID document.\n\nThis data type includes public key representations that are no longer present in the spec but are still used by several DID methods / resolvers and kept for backward compatibility."
|
|
3779
|
+
},
|
|
3780
|
+
"JsonWebKey": {
|
|
3781
|
+
"type": "object",
|
|
3782
|
+
"properties": {
|
|
3783
|
+
"alg": {
|
|
3784
|
+
"type": "string"
|
|
3785
|
+
},
|
|
3786
|
+
"crv": {
|
|
3787
|
+
"type": "string"
|
|
3788
|
+
},
|
|
3789
|
+
"e": {
|
|
3790
|
+
"type": "string"
|
|
3791
|
+
},
|
|
3792
|
+
"ext": {
|
|
3793
|
+
"type": "boolean"
|
|
3794
|
+
},
|
|
3795
|
+
"key_ops": {
|
|
3796
|
+
"type": "array",
|
|
3797
|
+
"items": {
|
|
3798
|
+
"type": "string"
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3801
|
+
"kid": {
|
|
3802
|
+
"type": "string"
|
|
3803
|
+
},
|
|
3804
|
+
"kty": {
|
|
3805
|
+
"type": "string"
|
|
3806
|
+
},
|
|
3807
|
+
"n": {
|
|
3808
|
+
"type": "string"
|
|
3809
|
+
},
|
|
3810
|
+
"use": {
|
|
3811
|
+
"type": "string"
|
|
3812
|
+
},
|
|
3813
|
+
"x": {
|
|
3814
|
+
"type": "string"
|
|
3815
|
+
},
|
|
3816
|
+
"y": {
|
|
3817
|
+
"type": "string"
|
|
3818
|
+
}
|
|
3819
|
+
},
|
|
3820
|
+
"required": [
|
|
3821
|
+
"kty"
|
|
3822
|
+
],
|
|
3823
|
+
"description": "Encapsulates a JSON web key type that includes only the public properties that can be used in DID documents.\n\nThe private properties are intentionally omitted to discourage the use (and accidental disclosure) of private keys in DID documents."
|
|
3824
|
+
},
|
|
3825
|
+
"ConditionWeightedThreshold": {
|
|
3826
|
+
"type": "object",
|
|
3827
|
+
"properties": {
|
|
3828
|
+
"condition": {
|
|
3829
|
+
"$ref": "#/components/schemas/VerificationMethod"
|
|
3830
|
+
},
|
|
3831
|
+
"weight": {
|
|
3832
|
+
"type": "number"
|
|
3833
|
+
}
|
|
3834
|
+
},
|
|
3835
|
+
"required": [
|
|
3836
|
+
"condition",
|
|
3837
|
+
"weight"
|
|
3838
|
+
]
|
|
3839
|
+
},
|
|
3840
|
+
"Service": {
|
|
3841
|
+
"type": "object",
|
|
3842
|
+
"properties": {
|
|
3843
|
+
"id": {
|
|
3844
|
+
"type": "string"
|
|
3845
|
+
},
|
|
3846
|
+
"type": {
|
|
3847
|
+
"type": "string"
|
|
3848
|
+
},
|
|
3849
|
+
"serviceEndpoint": {
|
|
3850
|
+
"anyOf": [
|
|
3851
|
+
{
|
|
3852
|
+
"$ref": "#/components/schemas/ServiceEndpoint"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"type": "array",
|
|
3856
|
+
"items": {
|
|
3857
|
+
"$ref": "#/components/schemas/ServiceEndpoint"
|
|
3858
|
+
}
|
|
3859
|
+
}
|
|
3860
|
+
]
|
|
3861
|
+
}
|
|
3862
|
+
},
|
|
3863
|
+
"required": [
|
|
3864
|
+
"id",
|
|
3865
|
+
"type",
|
|
3866
|
+
"serviceEndpoint"
|
|
3867
|
+
],
|
|
3868
|
+
"description": "Represents a Service entry in a {@link https://www.w3.org/TR/did-core/#did-document-properties | DID document } ."
|
|
3869
|
+
},
|
|
3870
|
+
"ServiceEndpoint": {
|
|
3871
|
+
"anyOf": [
|
|
3872
|
+
{
|
|
3873
|
+
"type": "string"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"type": "object"
|
|
3877
|
+
}
|
|
3878
|
+
],
|
|
3879
|
+
"description": "Represents an endpoint of a Service entry in a DID document."
|
|
3880
|
+
},
|
|
3881
|
+
"DidDocumentJwks": {
|
|
3882
|
+
"type": "object",
|
|
3883
|
+
"properties": {
|
|
3884
|
+
"verificationMethod": {
|
|
3885
|
+
"type": "array",
|
|
3886
|
+
"items": {
|
|
3887
|
+
"$ref": "#/components/schemas/JWK"
|
|
3888
|
+
}
|
|
3889
|
+
},
|
|
3890
|
+
"authentication": {
|
|
3891
|
+
"type": "array",
|
|
3892
|
+
"items": {
|
|
3893
|
+
"$ref": "#/components/schemas/JWK"
|
|
3894
|
+
}
|
|
3895
|
+
},
|
|
3896
|
+
"assertionMethod": {
|
|
3897
|
+
"type": "array",
|
|
3898
|
+
"items": {
|
|
3899
|
+
"$ref": "#/components/schemas/JWK"
|
|
3900
|
+
}
|
|
3901
|
+
},
|
|
3902
|
+
"keyAgreement": {
|
|
3903
|
+
"type": "array",
|
|
3904
|
+
"items": {
|
|
3905
|
+
"$ref": "#/components/schemas/JWK"
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
"capabilityInvocation": {
|
|
3909
|
+
"type": "array",
|
|
3910
|
+
"items": {
|
|
3911
|
+
"$ref": "#/components/schemas/JWK"
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
"capabilityDelegation": {
|
|
3915
|
+
"type": "array",
|
|
3916
|
+
"items": {
|
|
3917
|
+
"$ref": "#/components/schemas/JWK"
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"required": [
|
|
3922
|
+
"verificationMethod",
|
|
3923
|
+
"authentication",
|
|
3924
|
+
"assertionMethod",
|
|
3925
|
+
"keyAgreement",
|
|
3926
|
+
"capabilityInvocation",
|
|
3927
|
+
"capabilityDelegation"
|
|
3928
|
+
]
|
|
3929
|
+
},
|
|
3930
|
+
"DIDResolutionMetadata": {
|
|
3931
|
+
"type": "object",
|
|
3932
|
+
"properties": {
|
|
3933
|
+
"contentType": {
|
|
3934
|
+
"type": "string"
|
|
3935
|
+
},
|
|
3936
|
+
"error": {
|
|
3937
|
+
"type": "string"
|
|
3938
|
+
}
|
|
3939
|
+
},
|
|
3940
|
+
"description": "Encapsulates the resolution metadata resulting from a {@link Resolvable.resolve } operation."
|
|
3941
|
+
},
|
|
3942
|
+
"DIDDocumentMetadata": {
|
|
3943
|
+
"type": "object",
|
|
3944
|
+
"properties": {
|
|
3945
|
+
"created": {
|
|
3946
|
+
"type": "string"
|
|
3947
|
+
},
|
|
3948
|
+
"updated": {
|
|
3949
|
+
"type": "string"
|
|
3950
|
+
},
|
|
3951
|
+
"deactivated": {
|
|
3952
|
+
"type": "boolean"
|
|
3953
|
+
},
|
|
3954
|
+
"versionId": {
|
|
3955
|
+
"type": "string"
|
|
3956
|
+
},
|
|
3957
|
+
"nextUpdate": {
|
|
3958
|
+
"type": "string"
|
|
3959
|
+
},
|
|
3960
|
+
"nextVersionId": {
|
|
3961
|
+
"type": "string"
|
|
3962
|
+
},
|
|
3963
|
+
"equivalentId": {
|
|
3964
|
+
"type": "string"
|
|
3965
|
+
},
|
|
3966
|
+
"canonicalId": {
|
|
3967
|
+
"type": "string"
|
|
3968
|
+
}
|
|
3969
|
+
},
|
|
3970
|
+
"description": "Represents metadata about the DID document resulting from a {@link Resolvable.resolve } operation."
|
|
3971
|
+
},
|
|
3972
|
+
"IParsedDID": {
|
|
3973
|
+
"type": "object",
|
|
3974
|
+
"properties": {
|
|
3975
|
+
"did": {
|
|
3976
|
+
"type": "string"
|
|
3977
|
+
},
|
|
3978
|
+
"didUrl": {
|
|
3979
|
+
"type": "string"
|
|
3980
|
+
},
|
|
3981
|
+
"method": {
|
|
3982
|
+
"type": "string"
|
|
3983
|
+
},
|
|
3984
|
+
"id": {
|
|
3985
|
+
"type": "string"
|
|
3986
|
+
},
|
|
3987
|
+
"path": {
|
|
3988
|
+
"type": "string"
|
|
3989
|
+
},
|
|
3990
|
+
"fragment": {
|
|
3991
|
+
"type": "string"
|
|
3992
|
+
},
|
|
3993
|
+
"query": {
|
|
3994
|
+
"type": "string"
|
|
3995
|
+
},
|
|
3996
|
+
"params": {
|
|
3997
|
+
"type": "object",
|
|
3998
|
+
"additionalProperties": {
|
|
3999
|
+
"type": "string"
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
},
|
|
4003
|
+
"required": [
|
|
4004
|
+
"did",
|
|
4005
|
+
"didUrl",
|
|
4006
|
+
"method",
|
|
4007
|
+
"id"
|
|
4008
|
+
]
|
|
4009
|
+
},
|
|
4010
|
+
"X509ValidationResult": {
|
|
4011
|
+
"type": "object",
|
|
4012
|
+
"properties": {
|
|
4013
|
+
"error": {
|
|
4014
|
+
"type": "boolean"
|
|
4015
|
+
},
|
|
4016
|
+
"critical": {
|
|
4017
|
+
"type": "boolean"
|
|
4018
|
+
},
|
|
4019
|
+
"message": {
|
|
4020
|
+
"type": "string"
|
|
4021
|
+
},
|
|
4022
|
+
"verificationTime": {
|
|
4023
|
+
"type": "string",
|
|
4024
|
+
"format": "date-time"
|
|
4025
|
+
},
|
|
4026
|
+
"certificateChain": {
|
|
4027
|
+
"type": "array",
|
|
4028
|
+
"items": {
|
|
4029
|
+
"$ref": "#/components/schemas/CertificateInfo"
|
|
4030
|
+
}
|
|
4031
|
+
},
|
|
4032
|
+
"client": {
|
|
4033
|
+
"type": "object",
|
|
4034
|
+
"properties": {
|
|
4035
|
+
"clientId": {
|
|
4036
|
+
"type": "string"
|
|
4037
|
+
},
|
|
4038
|
+
"clientIdScheme": {
|
|
4039
|
+
"$ref": "#/components/schemas/ClientIdScheme"
|
|
4040
|
+
}
|
|
4041
|
+
},
|
|
4042
|
+
"required": [
|
|
4043
|
+
"clientId",
|
|
4044
|
+
"clientIdScheme"
|
|
4045
|
+
]
|
|
4046
|
+
}
|
|
4047
|
+
},
|
|
4048
|
+
"required": [
|
|
4049
|
+
"error",
|
|
4050
|
+
"critical",
|
|
4051
|
+
"message",
|
|
4052
|
+
"verificationTime"
|
|
4053
|
+
]
|
|
4054
|
+
},
|
|
4055
|
+
"CertificateInfo": {
|
|
4056
|
+
"type": "object",
|
|
4057
|
+
"properties": {
|
|
4058
|
+
"certificate": {},
|
|
4059
|
+
"notBefore": {
|
|
4060
|
+
"type": "string",
|
|
4061
|
+
"format": "date-time"
|
|
4062
|
+
},
|
|
4063
|
+
"notAfter": {
|
|
4064
|
+
"type": "string",
|
|
4065
|
+
"format": "date-time"
|
|
4066
|
+
},
|
|
4067
|
+
"publicKeyJWK": {},
|
|
4068
|
+
"issuer": {
|
|
4069
|
+
"type": "object",
|
|
4070
|
+
"properties": {
|
|
4071
|
+
"dn": {
|
|
4072
|
+
"$ref": "#/components/schemas/DNInfo"
|
|
4073
|
+
}
|
|
4074
|
+
},
|
|
4075
|
+
"required": [
|
|
4076
|
+
"dn"
|
|
4077
|
+
]
|
|
4078
|
+
},
|
|
4079
|
+
"subject": {
|
|
4080
|
+
"type": "object",
|
|
4081
|
+
"properties": {
|
|
4082
|
+
"dn": {
|
|
4083
|
+
"$ref": "#/components/schemas/DNInfo"
|
|
4084
|
+
},
|
|
4085
|
+
"subjectAlternativeNames": {
|
|
4086
|
+
"type": "array",
|
|
4087
|
+
"items": {
|
|
4088
|
+
"$ref": "#/components/schemas/SubjectAlternativeName"
|
|
4089
|
+
}
|
|
4090
|
+
}
|
|
4091
|
+
},
|
|
4092
|
+
"required": [
|
|
4093
|
+
"dn",
|
|
4094
|
+
"subjectAlternativeNames"
|
|
4095
|
+
]
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
4098
|
+
"required": [
|
|
4099
|
+
"notBefore",
|
|
4100
|
+
"notAfter",
|
|
4101
|
+
"issuer",
|
|
4102
|
+
"subject"
|
|
4103
|
+
]
|
|
4104
|
+
},
|
|
4105
|
+
"DNInfo": {
|
|
4106
|
+
"type": "object",
|
|
4107
|
+
"properties": {
|
|
4108
|
+
"DN": {
|
|
4109
|
+
"type": "string"
|
|
4110
|
+
},
|
|
4111
|
+
"attributes": {
|
|
4112
|
+
"type": "object",
|
|
4113
|
+
"additionalProperties": {
|
|
4114
|
+
"type": "string"
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
},
|
|
4118
|
+
"required": [
|
|
4119
|
+
"DN",
|
|
4120
|
+
"attributes"
|
|
4121
|
+
]
|
|
4122
|
+
},
|
|
4123
|
+
"SubjectAlternativeName": {
|
|
4124
|
+
"type": "object",
|
|
4125
|
+
"properties": {
|
|
4126
|
+
"value": {
|
|
4127
|
+
"type": "string"
|
|
4128
|
+
},
|
|
4129
|
+
"type": {
|
|
4130
|
+
"$ref": "#/components/schemas/SubjectAlternativeGeneralName"
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
"required": [
|
|
4134
|
+
"value",
|
|
4135
|
+
"type"
|
|
4136
|
+
]
|
|
4137
|
+
},
|
|
4138
|
+
"SubjectAlternativeGeneralName": {
|
|
4139
|
+
"type": "number",
|
|
4140
|
+
"enum": [
|
|
4141
|
+
1,
|
|
4142
|
+
2,
|
|
4143
|
+
6,
|
|
4144
|
+
7
|
|
4145
|
+
],
|
|
4146
|
+
"description": "otherName [0] OtherName, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }"
|
|
4147
|
+
},
|
|
4148
|
+
"ExternalIdentifierX5cResult": {
|
|
4149
|
+
"type": "object",
|
|
4150
|
+
"properties": {
|
|
4151
|
+
"method": {
|
|
4152
|
+
"type": "string",
|
|
4153
|
+
"const": "x5c"
|
|
4154
|
+
},
|
|
4155
|
+
"jwks": {
|
|
4156
|
+
"type": "array",
|
|
4157
|
+
"items": {
|
|
4158
|
+
"$ref": "#/components/schemas/ExternalJwkInfo"
|
|
4159
|
+
}
|
|
4160
|
+
},
|
|
4161
|
+
"x5c": {
|
|
4162
|
+
"type": "array",
|
|
4163
|
+
"items": {
|
|
4164
|
+
"type": "string"
|
|
4165
|
+
}
|
|
4166
|
+
},
|
|
4167
|
+
"issuerJWK": {
|
|
4168
|
+
"$ref": "#/components/schemas/JWK"
|
|
4169
|
+
},
|
|
4170
|
+
"verificationResult": {
|
|
4171
|
+
"$ref": "#/components/schemas/X509ValidationResult"
|
|
4172
|
+
},
|
|
4173
|
+
"certificates": {
|
|
4174
|
+
"type": "array",
|
|
4175
|
+
"items": {}
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
"required": [
|
|
4179
|
+
"certificates",
|
|
4180
|
+
"issuerJWK",
|
|
4181
|
+
"jwks",
|
|
4182
|
+
"method",
|
|
4183
|
+
"x5c"
|
|
4184
|
+
]
|
|
4185
|
+
}
|
|
4186
|
+
},
|
|
4187
|
+
"methods": {
|
|
4188
|
+
"jwtCreateJwsCompactSignature": {
|
|
4189
|
+
"description": "",
|
|
4190
|
+
"arguments": {
|
|
4191
|
+
"$ref": "#/components/schemas/CreateJwsCompactArgs"
|
|
4192
|
+
},
|
|
4193
|
+
"returnType": {
|
|
4194
|
+
"$ref": "#/components/schemas/JwsCompactResult"
|
|
4195
|
+
}
|
|
4196
|
+
},
|
|
4197
|
+
"jwtCreateJwsJsonFlattenedSignature": {
|
|
4198
|
+
"description": "",
|
|
4199
|
+
"arguments": {
|
|
4200
|
+
"$ref": "#/components/schemas/CreateJwsFlattenedArgs"
|
|
4201
|
+
},
|
|
1911
4202
|
"returnType": {
|
|
1912
4203
|
"$ref": "#/components/schemas/JwsJsonFlattened"
|
|
1913
4204
|
}
|
|
@@ -1929,6 +4220,15 @@
|
|
|
1929
4220
|
"returnType": {
|
|
1930
4221
|
"$ref": "#/components/schemas/PreparedJwsObject"
|
|
1931
4222
|
}
|
|
4223
|
+
},
|
|
4224
|
+
"jwtVerifyJwsSignature": {
|
|
4225
|
+
"description": "",
|
|
4226
|
+
"arguments": {
|
|
4227
|
+
"$ref": "#/components/schemas/VerifyJwsArgs"
|
|
4228
|
+
},
|
|
4229
|
+
"returnType": {
|
|
4230
|
+
"$ref": "#/components/schemas/IJwsValidationResult"
|
|
4231
|
+
}
|
|
1932
4232
|
}
|
|
1933
4233
|
}
|
|
1934
4234
|
}
|