@sphereon/ssi-sdk-ext.jwt-service 0.24.1-next.100

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.
@@ -0,0 +1,2044 @@
1
+ {
2
+ "IJwtService": {
3
+ "components": {
4
+ "schemas": {
5
+ "CreateJwsCompactArgs": {
6
+ "$ref": "#/components/schemas/CreateJwsArgs"
7
+ },
8
+ "CreateJwsArgs": {
9
+ "type": "object",
10
+ "properties": {
11
+ "mode": {
12
+ "$ref": "#/components/schemas/CreateJwsMode"
13
+ },
14
+ "issuer": {
15
+ "anyOf": [
16
+ {
17
+ "type": "object",
18
+ "properties": {
19
+ "noIssPayloadUpdate": {
20
+ "type": "boolean"
21
+ },
22
+ "noIdentifierInHeader": {
23
+ "type": "boolean"
24
+ },
25
+ "lazyDisabled": {
26
+ "type": "boolean"
27
+ },
28
+ "jwk": {
29
+ "$ref": "#/components/schemas/JWK"
30
+ },
31
+ "jwkThumbprint": {
32
+ "type": "string"
33
+ },
34
+ "kmsKeyRef": {
35
+ "type": "string"
36
+ },
37
+ "method": {
38
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
39
+ },
40
+ "opts": {
41
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
42
+ },
43
+ "key": {
44
+ "$ref": "#/components/schemas/IKey"
45
+ },
46
+ "kid": {
47
+ "type": "string"
48
+ },
49
+ "issuer": {
50
+ "type": "string"
51
+ },
52
+ "identifier": {
53
+ "$ref": "#/components/schemas/ManagedIdentifierType"
54
+ },
55
+ "x5c": {
56
+ "type": "array",
57
+ "items": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ "certificate": {}
62
+ },
63
+ "required": [
64
+ "certificate",
65
+ "identifier",
66
+ "jwk",
67
+ "jwkThumbprint",
68
+ "key",
69
+ "kmsKeyRef",
70
+ "method",
71
+ "opts",
72
+ "x5c"
73
+ ]
74
+ },
75
+ {
76
+ "type": "object",
77
+ "properties": {
78
+ "noIssPayloadUpdate": {
79
+ "type": "boolean"
80
+ },
81
+ "noIdentifierInHeader": {
82
+ "type": "boolean"
83
+ },
84
+ "lazyDisabled": {
85
+ "type": "boolean"
86
+ },
87
+ "jwk": {
88
+ "$ref": "#/components/schemas/JWK"
89
+ },
90
+ "jwkThumbprint": {
91
+ "type": "string"
92
+ },
93
+ "kmsKeyRef": {
94
+ "type": "string"
95
+ },
96
+ "method": {
97
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
98
+ },
99
+ "opts": {
100
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
101
+ },
102
+ "key": {
103
+ "$ref": "#/components/schemas/IKey"
104
+ },
105
+ "kid": {
106
+ "type": "string"
107
+ },
108
+ "issuer": {
109
+ "type": "string"
110
+ },
111
+ "identifier": {
112
+ "$ref": "#/components/schemas/ManagedIdentifierType"
113
+ },
114
+ "did": {
115
+ "type": "string"
116
+ },
117
+ "keys": {
118
+ "type": "array",
119
+ "items": {
120
+ "$ref": "#/components/schemas/IKey"
121
+ }
122
+ },
123
+ "verificationMethodSection": {
124
+ "$ref": "#/components/schemas/DIDDocumentSection"
125
+ },
126
+ "controllerKeyId": {
127
+ "type": "string"
128
+ }
129
+ },
130
+ "required": [
131
+ "did",
132
+ "identifier",
133
+ "issuer",
134
+ "jwk",
135
+ "jwkThumbprint",
136
+ "key",
137
+ "keys",
138
+ "kid",
139
+ "kmsKeyRef",
140
+ "method",
141
+ "opts"
142
+ ]
143
+ },
144
+ {
145
+ "type": "object",
146
+ "properties": {
147
+ "noIssPayloadUpdate": {
148
+ "type": "boolean"
149
+ },
150
+ "noIdentifierInHeader": {
151
+ "type": "boolean"
152
+ },
153
+ "lazyDisabled": {
154
+ "type": "boolean"
155
+ },
156
+ "jwk": {
157
+ "$ref": "#/components/schemas/JWK"
158
+ },
159
+ "jwkThumbprint": {
160
+ "type": "string"
161
+ },
162
+ "kmsKeyRef": {
163
+ "type": "string"
164
+ },
165
+ "method": {
166
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
167
+ },
168
+ "opts": {
169
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
170
+ },
171
+ "key": {
172
+ "$ref": "#/components/schemas/IKey"
173
+ },
174
+ "kid": {
175
+ "type": "string"
176
+ },
177
+ "issuer": {
178
+ "type": "string"
179
+ },
180
+ "identifier": {
181
+ "$ref": "#/components/schemas/ManagedIdentifierType"
182
+ }
183
+ },
184
+ "required": [
185
+ "identifier",
186
+ "jwk",
187
+ "jwkThumbprint",
188
+ "key",
189
+ "kmsKeyRef",
190
+ "method",
191
+ "opts"
192
+ ]
193
+ },
194
+ {
195
+ "type": "object",
196
+ "properties": {
197
+ "noIssPayloadUpdate": {
198
+ "type": "boolean"
199
+ },
200
+ "noIdentifierInHeader": {
201
+ "type": "boolean"
202
+ },
203
+ "lazyDisabled": {
204
+ "type": "boolean"
205
+ },
206
+ "jwk": {
207
+ "$ref": "#/components/schemas/JWK"
208
+ },
209
+ "jwkThumbprint": {
210
+ "type": "string"
211
+ },
212
+ "kmsKeyRef": {
213
+ "type": "string"
214
+ },
215
+ "method": {
216
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
217
+ },
218
+ "opts": {
219
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
220
+ },
221
+ "key": {
222
+ "$ref": "#/components/schemas/IKey"
223
+ },
224
+ "kid": {
225
+ "type": "string"
226
+ },
227
+ "issuer": {
228
+ "type": "string"
229
+ },
230
+ "identifier": {
231
+ "$ref": "#/components/schemas/ManagedIdentifierType"
232
+ }
233
+ },
234
+ "required": [
235
+ "identifier",
236
+ "jwk",
237
+ "jwkThumbprint",
238
+ "key",
239
+ "kid",
240
+ "kmsKeyRef",
241
+ "method",
242
+ "opts"
243
+ ]
244
+ },
245
+ {
246
+ "type": "object",
247
+ "properties": {
248
+ "noIssPayloadUpdate": {
249
+ "type": "boolean"
250
+ },
251
+ "noIdentifierInHeader": {
252
+ "type": "boolean"
253
+ },
254
+ "lazyDisabled": {
255
+ "type": "boolean"
256
+ },
257
+ "jwk": {
258
+ "$ref": "#/components/schemas/JWK"
259
+ },
260
+ "jwkThumbprint": {
261
+ "type": "string"
262
+ },
263
+ "kmsKeyRef": {
264
+ "type": "string"
265
+ },
266
+ "method": {
267
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
268
+ },
269
+ "opts": {
270
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
271
+ },
272
+ "key": {
273
+ "$ref": "#/components/schemas/IKey"
274
+ },
275
+ "kid": {
276
+ "type": "string"
277
+ },
278
+ "issuer": {
279
+ "type": "string"
280
+ },
281
+ "identifier": {
282
+ "$ref": "#/components/schemas/ManagedIdentifierType"
283
+ }
284
+ },
285
+ "required": [
286
+ "identifier",
287
+ "jwk",
288
+ "jwkThumbprint",
289
+ "key",
290
+ "kmsKeyRef",
291
+ "method",
292
+ "opts"
293
+ ]
294
+ },
295
+ {
296
+ "type": "object",
297
+ "properties": {
298
+ "noIssPayloadUpdate": {
299
+ "type": "boolean"
300
+ },
301
+ "noIdentifierInHeader": {
302
+ "type": "boolean"
303
+ },
304
+ "lazyDisabled": {
305
+ "type": "boolean"
306
+ },
307
+ "method": {
308
+ "type": "string",
309
+ "const": "jwk"
310
+ },
311
+ "identifier": {
312
+ "$ref": "#/components/schemas/ManagedIdentifierType"
313
+ },
314
+ "kmsKeyRef": {
315
+ "type": "string"
316
+ },
317
+ "issuer": {
318
+ "type": "string"
319
+ },
320
+ "kid": {
321
+ "type": "string"
322
+ }
323
+ },
324
+ "required": [
325
+ "identifier"
326
+ ]
327
+ },
328
+ {
329
+ "type": "object",
330
+ "properties": {
331
+ "noIssPayloadUpdate": {
332
+ "type": "boolean"
333
+ },
334
+ "noIdentifierInHeader": {
335
+ "type": "boolean"
336
+ },
337
+ "lazyDisabled": {
338
+ "type": "boolean"
339
+ },
340
+ "method": {
341
+ "type": "string",
342
+ "const": "x5c"
343
+ },
344
+ "identifier": {
345
+ "$ref": "#/components/schemas/ManagedIdentifierType"
346
+ },
347
+ "kmsKeyRef": {
348
+ "type": "string"
349
+ },
350
+ "issuer": {
351
+ "type": "string"
352
+ },
353
+ "kid": {
354
+ "type": "string"
355
+ }
356
+ },
357
+ "required": [
358
+ "identifier"
359
+ ]
360
+ },
361
+ {
362
+ "type": "object",
363
+ "properties": {
364
+ "noIssPayloadUpdate": {
365
+ "type": "boolean"
366
+ },
367
+ "noIdentifierInHeader": {
368
+ "type": "boolean"
369
+ },
370
+ "lazyDisabled": {
371
+ "type": "boolean"
372
+ },
373
+ "method": {
374
+ "type": "string",
375
+ "const": "did"
376
+ },
377
+ "identifier": {
378
+ "$ref": "#/components/schemas/ManagedIdentifierType"
379
+ },
380
+ "kmsKeyRef": {
381
+ "type": "string"
382
+ },
383
+ "issuer": {
384
+ "type": "string"
385
+ },
386
+ "kid": {
387
+ "type": "string"
388
+ },
389
+ "keyType": {
390
+ "$ref": "#/components/schemas/TKeyType"
391
+ },
392
+ "offlineWhenNoDIDRegistered": {
393
+ "type": "boolean"
394
+ },
395
+ "noVerificationMethodFallback": {
396
+ "type": "boolean"
397
+ },
398
+ "controllerKey": {
399
+ "type": "boolean"
400
+ },
401
+ "vmRelationship": {
402
+ "$ref": "#/components/schemas/DIDDocumentSection"
403
+ }
404
+ },
405
+ "required": [
406
+ "identifier"
407
+ ]
408
+ },
409
+ {
410
+ "type": "object",
411
+ "properties": {
412
+ "noIssPayloadUpdate": {
413
+ "type": "boolean"
414
+ },
415
+ "noIdentifierInHeader": {
416
+ "type": "boolean"
417
+ },
418
+ "lazyDisabled": {
419
+ "type": "boolean"
420
+ },
421
+ "method": {
422
+ "type": "string",
423
+ "const": "kid"
424
+ },
425
+ "identifier": {
426
+ "$ref": "#/components/schemas/ManagedIdentifierType"
427
+ },
428
+ "kmsKeyRef": {
429
+ "type": "string"
430
+ },
431
+ "issuer": {
432
+ "type": "string"
433
+ },
434
+ "kid": {
435
+ "type": "string"
436
+ }
437
+ },
438
+ "required": [
439
+ "identifier"
440
+ ]
441
+ },
442
+ {
443
+ "type": "object",
444
+ "properties": {
445
+ "noIssPayloadUpdate": {
446
+ "type": "boolean"
447
+ },
448
+ "noIdentifierInHeader": {
449
+ "type": "boolean"
450
+ },
451
+ "lazyDisabled": {
452
+ "type": "boolean"
453
+ },
454
+ "method": {
455
+ "type": "string",
456
+ "const": "key"
457
+ },
458
+ "identifier": {
459
+ "$ref": "#/components/schemas/ManagedIdentifierType"
460
+ },
461
+ "kmsKeyRef": {
462
+ "type": "string"
463
+ },
464
+ "issuer": {
465
+ "type": "string"
466
+ },
467
+ "kid": {
468
+ "type": "string"
469
+ }
470
+ },
471
+ "required": [
472
+ "identifier"
473
+ ]
474
+ }
475
+ ]
476
+ },
477
+ "protectedHeader": {
478
+ "$ref": "#/components/schemas/JwtHeader"
479
+ },
480
+ "payload": {
481
+ "anyOf": [
482
+ {
483
+ "$ref": "#/components/schemas/JwtPayload"
484
+ },
485
+ {
486
+ "type": "object",
487
+ "properties": {
488
+ "BYTES_PER_ELEMENT": {
489
+ "type": "number"
490
+ },
491
+ "buffer": {
492
+ "anyOf": [
493
+ {
494
+ "type": "object",
495
+ "properties": {
496
+ "byteLength": {
497
+ "type": "number"
498
+ }
499
+ },
500
+ "required": [
501
+ "byteLength"
502
+ ]
503
+ },
504
+ {}
505
+ ]
506
+ },
507
+ "byteLength": {
508
+ "type": "number"
509
+ },
510
+ "byteOffset": {
511
+ "type": "number"
512
+ },
513
+ "length": {
514
+ "type": "number"
515
+ }
516
+ },
517
+ "required": [
518
+ "BYTES_PER_ELEMENT",
519
+ "buffer",
520
+ "byteLength",
521
+ "byteOffset",
522
+ "length"
523
+ ],
524
+ "additionalProperties": {
525
+ "type": "number"
526
+ }
527
+ },
528
+ {
529
+ "type": "string"
530
+ }
531
+ ]
532
+ }
533
+ },
534
+ "required": [
535
+ "issuer",
536
+ "protectedHeader",
537
+ "payload"
538
+ ]
539
+ },
540
+ "CreateJwsMode": {
541
+ "type": "string",
542
+ "enum": [
543
+ "x5c",
544
+ "kid",
545
+ "jwk",
546
+ "did",
547
+ "auto"
548
+ ]
549
+ },
550
+ "JWK": {
551
+ "type": "object",
552
+ "properties": {
553
+ "kty": {
554
+ "type": "string"
555
+ },
556
+ "crv": {
557
+ "type": "string"
558
+ },
559
+ "x": {
560
+ "type": "string"
561
+ },
562
+ "y": {
563
+ "type": "string"
564
+ },
565
+ "e": {
566
+ "type": "string"
567
+ },
568
+ "n": {
569
+ "type": "string"
570
+ },
571
+ "d": {
572
+ "type": "string"
573
+ },
574
+ "dp": {
575
+ "type": "string"
576
+ },
577
+ "dq": {
578
+ "type": "string"
579
+ },
580
+ "ext": {
581
+ "type": "boolean"
582
+ },
583
+ "k": {
584
+ "type": "string"
585
+ },
586
+ "key_ops": {
587
+ "type": "array",
588
+ "items": {
589
+ "type": "string"
590
+ }
591
+ },
592
+ "kid": {
593
+ "type": "string"
594
+ },
595
+ "oth": {
596
+ "type": "array",
597
+ "items": {
598
+ "type": "object",
599
+ "properties": {
600
+ "d": {
601
+ "type": "string"
602
+ },
603
+ "r": {
604
+ "type": "string"
605
+ },
606
+ "t": {
607
+ "type": "string"
608
+ }
609
+ }
610
+ }
611
+ },
612
+ "p": {
613
+ "type": "string"
614
+ },
615
+ "q": {
616
+ "type": "string"
617
+ },
618
+ "qi": {
619
+ "type": "string"
620
+ },
621
+ "use": {
622
+ "type": "string"
623
+ },
624
+ "x5c": {
625
+ "type": "array",
626
+ "items": {
627
+ "type": "string"
628
+ },
629
+ "description": "JWK \"x5c\" (X.509 Certificate Chain) Parameter."
630
+ },
631
+ "x5t": {
632
+ "type": "string",
633
+ "description": "JWK \"x5t\" (X.509 Certificate SHA-1 Thumbprint) Parameter."
634
+ },
635
+ "x5t#S256": {
636
+ "type": "string",
637
+ "description": "\"x5t#S256\" (X.509 Certificate SHA-256 Thumbprint) Parameter."
638
+ },
639
+ "x5u": {
640
+ "type": "string",
641
+ "description": "JWK \"x5u\" (X.509 URL) Parameter."
642
+ }
643
+ },
644
+ "additionalProperties": {},
645
+ "required": [
646
+ "kty"
647
+ ]
648
+ },
649
+ "ManagedIdentifierMethod": {
650
+ "type": "string",
651
+ "enum": [
652
+ "did",
653
+ "jwk",
654
+ "x5c",
655
+ "kid",
656
+ "key"
657
+ ]
658
+ },
659
+ "ManagedIdentifierOpts": {
660
+ "anyOf": [
661
+ {
662
+ "type": "object",
663
+ "properties": {
664
+ "method": {
665
+ "type": "string",
666
+ "const": "jwk"
667
+ },
668
+ "identifier": {
669
+ "$ref": "#/components/schemas/ManagedIdentifierType"
670
+ },
671
+ "kmsKeyRef": {
672
+ "type": "string"
673
+ },
674
+ "issuer": {
675
+ "type": "string"
676
+ },
677
+ "kid": {
678
+ "type": "string"
679
+ }
680
+ },
681
+ "required": [
682
+ "identifier"
683
+ ]
684
+ },
685
+ {
686
+ "type": "object",
687
+ "properties": {
688
+ "method": {
689
+ "type": "string",
690
+ "const": "x5c"
691
+ },
692
+ "identifier": {
693
+ "$ref": "#/components/schemas/ManagedIdentifierType"
694
+ },
695
+ "kmsKeyRef": {
696
+ "type": "string"
697
+ },
698
+ "issuer": {
699
+ "type": "string"
700
+ },
701
+ "kid": {
702
+ "type": "string"
703
+ }
704
+ },
705
+ "required": [
706
+ "identifier"
707
+ ]
708
+ },
709
+ {
710
+ "type": "object",
711
+ "properties": {
712
+ "method": {
713
+ "type": "string",
714
+ "const": "did"
715
+ },
716
+ "identifier": {
717
+ "$ref": "#/components/schemas/ManagedIdentifierType"
718
+ },
719
+ "kmsKeyRef": {
720
+ "type": "string"
721
+ },
722
+ "issuer": {
723
+ "type": "string"
724
+ },
725
+ "kid": {
726
+ "type": "string"
727
+ },
728
+ "keyType": {
729
+ "$ref": "#/components/schemas/TKeyType"
730
+ },
731
+ "offlineWhenNoDIDRegistered": {
732
+ "type": "boolean"
733
+ },
734
+ "noVerificationMethodFallback": {
735
+ "type": "boolean"
736
+ },
737
+ "controllerKey": {
738
+ "type": "boolean"
739
+ },
740
+ "vmRelationship": {
741
+ "$ref": "#/components/schemas/DIDDocumentSection"
742
+ }
743
+ },
744
+ "required": [
745
+ "identifier"
746
+ ]
747
+ },
748
+ {
749
+ "type": "object",
750
+ "properties": {
751
+ "method": {
752
+ "type": "string",
753
+ "const": "kid"
754
+ },
755
+ "identifier": {
756
+ "$ref": "#/components/schemas/ManagedIdentifierType"
757
+ },
758
+ "kmsKeyRef": {
759
+ "type": "string"
760
+ },
761
+ "issuer": {
762
+ "type": "string"
763
+ },
764
+ "kid": {
765
+ "type": "string"
766
+ }
767
+ },
768
+ "required": [
769
+ "identifier"
770
+ ]
771
+ },
772
+ {
773
+ "type": "object",
774
+ "properties": {
775
+ "method": {
776
+ "type": "string",
777
+ "const": "key"
778
+ },
779
+ "identifier": {
780
+ "$ref": "#/components/schemas/ManagedIdentifierType"
781
+ },
782
+ "kmsKeyRef": {
783
+ "type": "string"
784
+ },
785
+ "issuer": {
786
+ "type": "string"
787
+ },
788
+ "kid": {
789
+ "type": "string"
790
+ }
791
+ },
792
+ "required": [
793
+ "identifier"
794
+ ]
795
+ }
796
+ ]
797
+ },
798
+ "ManagedIdentifierType": {
799
+ "anyOf": [
800
+ {
801
+ "$ref": "#/components/schemas/IIdentifier"
802
+ },
803
+ {
804
+ "type": "string"
805
+ },
806
+ {
807
+ "type": "array",
808
+ "items": {
809
+ "type": "string"
810
+ }
811
+ },
812
+ {
813
+ "$ref": "#/components/schemas/JWK"
814
+ },
815
+ {
816
+ "$ref": "#/components/schemas/IKey"
817
+ }
818
+ ],
819
+ "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"
820
+ },
821
+ "IIdentifier": {
822
+ "type": "object",
823
+ "properties": {
824
+ "did": {
825
+ "type": "string",
826
+ "description": "Decentralized identifier"
827
+ },
828
+ "alias": {
829
+ "type": "string",
830
+ "description": "Optional. Identifier alias. Can be used to reference an object in an external system"
831
+ },
832
+ "provider": {
833
+ "type": "string",
834
+ "description": "Identifier provider name"
835
+ },
836
+ "controllerKeyId": {
837
+ "type": "string",
838
+ "description": "Controller key id"
839
+ },
840
+ "keys": {
841
+ "type": "array",
842
+ "items": {
843
+ "$ref": "#/components/schemas/IKey"
844
+ },
845
+ "description": "Array of managed keys"
846
+ },
847
+ "services": {
848
+ "type": "array",
849
+ "items": {
850
+ "$ref": "#/components/schemas/IService"
851
+ },
852
+ "description": "Array of services"
853
+ }
854
+ },
855
+ "required": [
856
+ "did",
857
+ "provider",
858
+ "keys",
859
+ "services"
860
+ ],
861
+ "description": "Identifier interface"
862
+ },
863
+ "IKey": {
864
+ "type": "object",
865
+ "properties": {
866
+ "kid": {
867
+ "type": "string",
868
+ "description": "Key ID"
869
+ },
870
+ "kms": {
871
+ "type": "string",
872
+ "description": "Key Management System"
873
+ },
874
+ "type": {
875
+ "$ref": "#/components/schemas/TKeyType",
876
+ "description": "Key type"
877
+ },
878
+ "publicKeyHex": {
879
+ "type": "string",
880
+ "description": "Public key"
881
+ },
882
+ "privateKeyHex": {
883
+ "type": "string",
884
+ "description": "Optional. Private key"
885
+ },
886
+ "meta": {
887
+ "anyOf": [
888
+ {
889
+ "$ref": "#/components/schemas/KeyMetadata"
890
+ },
891
+ {
892
+ "type": "null"
893
+ }
894
+ ],
895
+ "description": "Optional. Key metadata. This should be used to determine which algorithms are supported."
896
+ }
897
+ },
898
+ "required": [
899
+ "kid",
900
+ "kms",
901
+ "type",
902
+ "publicKeyHex"
903
+ ],
904
+ "description": "Cryptographic key"
905
+ },
906
+ "TKeyType": {
907
+ "type": "string",
908
+ "enum": [
909
+ "Ed25519",
910
+ "Secp256k1",
911
+ "Secp256r1",
912
+ "X25519",
913
+ "Bls12381G1",
914
+ "Bls12381G2",
915
+ "RSA"
916
+ ],
917
+ "description": "Cryptographic key type."
918
+ },
919
+ "KeyMetadata": {
920
+ "type": "object",
921
+ "properties": {
922
+ "algorithms": {
923
+ "type": "array",
924
+ "items": {
925
+ "type": "string"
926
+ }
927
+ }
928
+ },
929
+ "description": "This encapsulates data about a key.\n\nImplementations of {@link @veramo/key-manager#AbstractKeyManagementSystem | AbstractKeyManagementSystem } should populate this object, for each key, with the algorithms that can be performed using it.\n\nThis can also be used to add various tags to the keys under management."
930
+ },
931
+ "IService": {
932
+ "type": "object",
933
+ "properties": {
934
+ "id": {
935
+ "type": "string",
936
+ "description": "ID"
937
+ },
938
+ "type": {
939
+ "type": "string",
940
+ "description": "Service type"
941
+ },
942
+ "serviceEndpoint": {
943
+ "anyOf": [
944
+ {
945
+ "$ref": "#/components/schemas/IServiceEndpoint"
946
+ },
947
+ {
948
+ "type": "array",
949
+ "items": {
950
+ "$ref": "#/components/schemas/IServiceEndpoint"
951
+ }
952
+ }
953
+ ],
954
+ "description": "Endpoint URL"
955
+ },
956
+ "description": {
957
+ "type": "string",
958
+ "description": "Optional. Description"
959
+ }
960
+ },
961
+ "required": [
962
+ "id",
963
+ "type",
964
+ "serviceEndpoint"
965
+ ],
966
+ "description": "Identifier service"
967
+ },
968
+ "IServiceEndpoint": {
969
+ "anyOf": [
970
+ {
971
+ "type": "string"
972
+ },
973
+ {
974
+ "type": "object"
975
+ }
976
+ ],
977
+ "description": "Represents a service endpoint URL or a map of URLs"
978
+ },
979
+ "DIDDocumentSection": {
980
+ "type": "string",
981
+ "enum": [
982
+ "verificationMethod",
983
+ "publicKey",
984
+ "service",
985
+ "authentication",
986
+ "assertionMethod",
987
+ "keyAgreement",
988
+ "capabilityInvocation",
989
+ "capabilityDelegation"
990
+ ],
991
+ "description": "Refers to a section of a DID document. Either the list of verification methods or services or one of the verification relationships.\n\nSee {@link https://www.w3.org/TR/did-core/#verification-relationships | verification relationships }"
992
+ },
993
+ "JwtHeader": {
994
+ "type": "object",
995
+ "properties": {
996
+ "typ": {
997
+ "type": "string"
998
+ },
999
+ "alg": {
1000
+ "type": "string"
1001
+ },
1002
+ "kid": {
1003
+ "type": "string"
1004
+ },
1005
+ "jwk": {
1006
+ "$ref": "#/components/schemas/JWK"
1007
+ },
1008
+ "x5c": {
1009
+ "type": "array",
1010
+ "items": {
1011
+ "type": "string"
1012
+ }
1013
+ }
1014
+ },
1015
+ "additionalProperties": {}
1016
+ },
1017
+ "JwtPayload": {
1018
+ "type": "object",
1019
+ "additionalProperties": {},
1020
+ "properties": {
1021
+ "iss": {
1022
+ "type": "string"
1023
+ },
1024
+ "sub": {
1025
+ "type": "string"
1026
+ },
1027
+ "aud": {
1028
+ "anyOf": [
1029
+ {
1030
+ "type": "array",
1031
+ "items": {
1032
+ "type": "string"
1033
+ }
1034
+ },
1035
+ {
1036
+ "type": "string"
1037
+ }
1038
+ ]
1039
+ },
1040
+ "exp": {
1041
+ "type": "number"
1042
+ },
1043
+ "nbf": {
1044
+ "type": "number"
1045
+ },
1046
+ "iat": {
1047
+ "type": "number"
1048
+ },
1049
+ "jti": {
1050
+ "type": "string"
1051
+ }
1052
+ }
1053
+ },
1054
+ "JwsCompactResult": {
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "jwt": {
1058
+ "$ref": "#/components/schemas/JwsCompact"
1059
+ }
1060
+ },
1061
+ "required": [
1062
+ "jwt"
1063
+ ]
1064
+ },
1065
+ "JwsCompact": {
1066
+ "type": "string"
1067
+ },
1068
+ "CreateJwsFlattenedArgs": {
1069
+ "$ref": "#/components/schemas/CreateJwsJsonArgs"
1070
+ },
1071
+ "CreateJwsJsonArgs": {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "unprotectedHeader": {
1075
+ "$ref": "#/components/schemas/JwtHeader"
1076
+ },
1077
+ "existingSignatures": {
1078
+ "type": "array",
1079
+ "items": {
1080
+ "$ref": "#/components/schemas/JwsJsonSignature"
1081
+ }
1082
+ },
1083
+ "mode": {
1084
+ "$ref": "#/components/schemas/CreateJwsMode"
1085
+ },
1086
+ "issuer": {
1087
+ "anyOf": [
1088
+ {
1089
+ "type": "object",
1090
+ "properties": {
1091
+ "noIssPayloadUpdate": {
1092
+ "type": "boolean"
1093
+ },
1094
+ "noIdentifierInHeader": {
1095
+ "type": "boolean"
1096
+ },
1097
+ "lazyDisabled": {
1098
+ "type": "boolean"
1099
+ },
1100
+ "jwk": {
1101
+ "$ref": "#/components/schemas/JWK"
1102
+ },
1103
+ "jwkThumbprint": {
1104
+ "type": "string"
1105
+ },
1106
+ "kmsKeyRef": {
1107
+ "type": "string"
1108
+ },
1109
+ "method": {
1110
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1111
+ },
1112
+ "opts": {
1113
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1114
+ },
1115
+ "key": {
1116
+ "$ref": "#/components/schemas/IKey"
1117
+ },
1118
+ "kid": {
1119
+ "type": "string"
1120
+ },
1121
+ "issuer": {
1122
+ "type": "string"
1123
+ },
1124
+ "identifier": {
1125
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1126
+ },
1127
+ "x5c": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "string"
1131
+ }
1132
+ },
1133
+ "certificate": {}
1134
+ },
1135
+ "required": [
1136
+ "certificate",
1137
+ "identifier",
1138
+ "jwk",
1139
+ "jwkThumbprint",
1140
+ "key",
1141
+ "kmsKeyRef",
1142
+ "method",
1143
+ "opts",
1144
+ "x5c"
1145
+ ]
1146
+ },
1147
+ {
1148
+ "type": "object",
1149
+ "properties": {
1150
+ "noIssPayloadUpdate": {
1151
+ "type": "boolean"
1152
+ },
1153
+ "noIdentifierInHeader": {
1154
+ "type": "boolean"
1155
+ },
1156
+ "lazyDisabled": {
1157
+ "type": "boolean"
1158
+ },
1159
+ "jwk": {
1160
+ "$ref": "#/components/schemas/JWK"
1161
+ },
1162
+ "jwkThumbprint": {
1163
+ "type": "string"
1164
+ },
1165
+ "kmsKeyRef": {
1166
+ "type": "string"
1167
+ },
1168
+ "method": {
1169
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1170
+ },
1171
+ "opts": {
1172
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1173
+ },
1174
+ "key": {
1175
+ "$ref": "#/components/schemas/IKey"
1176
+ },
1177
+ "kid": {
1178
+ "type": "string"
1179
+ },
1180
+ "issuer": {
1181
+ "type": "string"
1182
+ },
1183
+ "identifier": {
1184
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1185
+ },
1186
+ "did": {
1187
+ "type": "string"
1188
+ },
1189
+ "keys": {
1190
+ "type": "array",
1191
+ "items": {
1192
+ "$ref": "#/components/schemas/IKey"
1193
+ }
1194
+ },
1195
+ "verificationMethodSection": {
1196
+ "$ref": "#/components/schemas/DIDDocumentSection"
1197
+ },
1198
+ "controllerKeyId": {
1199
+ "type": "string"
1200
+ }
1201
+ },
1202
+ "required": [
1203
+ "did",
1204
+ "identifier",
1205
+ "issuer",
1206
+ "jwk",
1207
+ "jwkThumbprint",
1208
+ "key",
1209
+ "keys",
1210
+ "kid",
1211
+ "kmsKeyRef",
1212
+ "method",
1213
+ "opts"
1214
+ ]
1215
+ },
1216
+ {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "noIssPayloadUpdate": {
1220
+ "type": "boolean"
1221
+ },
1222
+ "noIdentifierInHeader": {
1223
+ "type": "boolean"
1224
+ },
1225
+ "lazyDisabled": {
1226
+ "type": "boolean"
1227
+ },
1228
+ "jwk": {
1229
+ "$ref": "#/components/schemas/JWK"
1230
+ },
1231
+ "jwkThumbprint": {
1232
+ "type": "string"
1233
+ },
1234
+ "kmsKeyRef": {
1235
+ "type": "string"
1236
+ },
1237
+ "method": {
1238
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1239
+ },
1240
+ "opts": {
1241
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1242
+ },
1243
+ "key": {
1244
+ "$ref": "#/components/schemas/IKey"
1245
+ },
1246
+ "kid": {
1247
+ "type": "string"
1248
+ },
1249
+ "issuer": {
1250
+ "type": "string"
1251
+ },
1252
+ "identifier": {
1253
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "identifier",
1258
+ "jwk",
1259
+ "jwkThumbprint",
1260
+ "key",
1261
+ "kmsKeyRef",
1262
+ "method",
1263
+ "opts"
1264
+ ]
1265
+ },
1266
+ {
1267
+ "type": "object",
1268
+ "properties": {
1269
+ "noIssPayloadUpdate": {
1270
+ "type": "boolean"
1271
+ },
1272
+ "noIdentifierInHeader": {
1273
+ "type": "boolean"
1274
+ },
1275
+ "lazyDisabled": {
1276
+ "type": "boolean"
1277
+ },
1278
+ "jwk": {
1279
+ "$ref": "#/components/schemas/JWK"
1280
+ },
1281
+ "jwkThumbprint": {
1282
+ "type": "string"
1283
+ },
1284
+ "kmsKeyRef": {
1285
+ "type": "string"
1286
+ },
1287
+ "method": {
1288
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1289
+ },
1290
+ "opts": {
1291
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1292
+ },
1293
+ "key": {
1294
+ "$ref": "#/components/schemas/IKey"
1295
+ },
1296
+ "kid": {
1297
+ "type": "string"
1298
+ },
1299
+ "issuer": {
1300
+ "type": "string"
1301
+ },
1302
+ "identifier": {
1303
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1304
+ }
1305
+ },
1306
+ "required": [
1307
+ "identifier",
1308
+ "jwk",
1309
+ "jwkThumbprint",
1310
+ "key",
1311
+ "kid",
1312
+ "kmsKeyRef",
1313
+ "method",
1314
+ "opts"
1315
+ ]
1316
+ },
1317
+ {
1318
+ "type": "object",
1319
+ "properties": {
1320
+ "noIssPayloadUpdate": {
1321
+ "type": "boolean"
1322
+ },
1323
+ "noIdentifierInHeader": {
1324
+ "type": "boolean"
1325
+ },
1326
+ "lazyDisabled": {
1327
+ "type": "boolean"
1328
+ },
1329
+ "jwk": {
1330
+ "$ref": "#/components/schemas/JWK"
1331
+ },
1332
+ "jwkThumbprint": {
1333
+ "type": "string"
1334
+ },
1335
+ "kmsKeyRef": {
1336
+ "type": "string"
1337
+ },
1338
+ "method": {
1339
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1340
+ },
1341
+ "opts": {
1342
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1343
+ },
1344
+ "key": {
1345
+ "$ref": "#/components/schemas/IKey"
1346
+ },
1347
+ "kid": {
1348
+ "type": "string"
1349
+ },
1350
+ "issuer": {
1351
+ "type": "string"
1352
+ },
1353
+ "identifier": {
1354
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1355
+ }
1356
+ },
1357
+ "required": [
1358
+ "identifier",
1359
+ "jwk",
1360
+ "jwkThumbprint",
1361
+ "key",
1362
+ "kmsKeyRef",
1363
+ "method",
1364
+ "opts"
1365
+ ]
1366
+ },
1367
+ {
1368
+ "type": "object",
1369
+ "properties": {
1370
+ "noIssPayloadUpdate": {
1371
+ "type": "boolean"
1372
+ },
1373
+ "noIdentifierInHeader": {
1374
+ "type": "boolean"
1375
+ },
1376
+ "lazyDisabled": {
1377
+ "type": "boolean"
1378
+ },
1379
+ "method": {
1380
+ "type": "string",
1381
+ "const": "jwk"
1382
+ },
1383
+ "identifier": {
1384
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1385
+ },
1386
+ "kmsKeyRef": {
1387
+ "type": "string"
1388
+ },
1389
+ "issuer": {
1390
+ "type": "string"
1391
+ },
1392
+ "kid": {
1393
+ "type": "string"
1394
+ }
1395
+ },
1396
+ "required": [
1397
+ "identifier"
1398
+ ]
1399
+ },
1400
+ {
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "noIssPayloadUpdate": {
1404
+ "type": "boolean"
1405
+ },
1406
+ "noIdentifierInHeader": {
1407
+ "type": "boolean"
1408
+ },
1409
+ "lazyDisabled": {
1410
+ "type": "boolean"
1411
+ },
1412
+ "method": {
1413
+ "type": "string",
1414
+ "const": "x5c"
1415
+ },
1416
+ "identifier": {
1417
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1418
+ },
1419
+ "kmsKeyRef": {
1420
+ "type": "string"
1421
+ },
1422
+ "issuer": {
1423
+ "type": "string"
1424
+ },
1425
+ "kid": {
1426
+ "type": "string"
1427
+ }
1428
+ },
1429
+ "required": [
1430
+ "identifier"
1431
+ ]
1432
+ },
1433
+ {
1434
+ "type": "object",
1435
+ "properties": {
1436
+ "noIssPayloadUpdate": {
1437
+ "type": "boolean"
1438
+ },
1439
+ "noIdentifierInHeader": {
1440
+ "type": "boolean"
1441
+ },
1442
+ "lazyDisabled": {
1443
+ "type": "boolean"
1444
+ },
1445
+ "method": {
1446
+ "type": "string",
1447
+ "const": "did"
1448
+ },
1449
+ "identifier": {
1450
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1451
+ },
1452
+ "kmsKeyRef": {
1453
+ "type": "string"
1454
+ },
1455
+ "issuer": {
1456
+ "type": "string"
1457
+ },
1458
+ "kid": {
1459
+ "type": "string"
1460
+ },
1461
+ "keyType": {
1462
+ "$ref": "#/components/schemas/TKeyType"
1463
+ },
1464
+ "offlineWhenNoDIDRegistered": {
1465
+ "type": "boolean"
1466
+ },
1467
+ "noVerificationMethodFallback": {
1468
+ "type": "boolean"
1469
+ },
1470
+ "controllerKey": {
1471
+ "type": "boolean"
1472
+ },
1473
+ "vmRelationship": {
1474
+ "$ref": "#/components/schemas/DIDDocumentSection"
1475
+ }
1476
+ },
1477
+ "required": [
1478
+ "identifier"
1479
+ ]
1480
+ },
1481
+ {
1482
+ "type": "object",
1483
+ "properties": {
1484
+ "noIssPayloadUpdate": {
1485
+ "type": "boolean"
1486
+ },
1487
+ "noIdentifierInHeader": {
1488
+ "type": "boolean"
1489
+ },
1490
+ "lazyDisabled": {
1491
+ "type": "boolean"
1492
+ },
1493
+ "method": {
1494
+ "type": "string",
1495
+ "const": "kid"
1496
+ },
1497
+ "identifier": {
1498
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1499
+ },
1500
+ "kmsKeyRef": {
1501
+ "type": "string"
1502
+ },
1503
+ "issuer": {
1504
+ "type": "string"
1505
+ },
1506
+ "kid": {
1507
+ "type": "string"
1508
+ }
1509
+ },
1510
+ "required": [
1511
+ "identifier"
1512
+ ]
1513
+ },
1514
+ {
1515
+ "type": "object",
1516
+ "properties": {
1517
+ "noIssPayloadUpdate": {
1518
+ "type": "boolean"
1519
+ },
1520
+ "noIdentifierInHeader": {
1521
+ "type": "boolean"
1522
+ },
1523
+ "lazyDisabled": {
1524
+ "type": "boolean"
1525
+ },
1526
+ "method": {
1527
+ "type": "string",
1528
+ "const": "key"
1529
+ },
1530
+ "identifier": {
1531
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1532
+ },
1533
+ "kmsKeyRef": {
1534
+ "type": "string"
1535
+ },
1536
+ "issuer": {
1537
+ "type": "string"
1538
+ },
1539
+ "kid": {
1540
+ "type": "string"
1541
+ }
1542
+ },
1543
+ "required": [
1544
+ "identifier"
1545
+ ]
1546
+ }
1547
+ ]
1548
+ },
1549
+ "protectedHeader": {
1550
+ "$ref": "#/components/schemas/JwtHeader"
1551
+ },
1552
+ "payload": {
1553
+ "anyOf": [
1554
+ {
1555
+ "$ref": "#/components/schemas/JwtPayload"
1556
+ },
1557
+ {
1558
+ "type": "object",
1559
+ "properties": {
1560
+ "BYTES_PER_ELEMENT": {
1561
+ "type": "number"
1562
+ },
1563
+ "buffer": {
1564
+ "anyOf": [
1565
+ {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "byteLength": {
1569
+ "type": "number"
1570
+ }
1571
+ },
1572
+ "required": [
1573
+ "byteLength"
1574
+ ]
1575
+ },
1576
+ {}
1577
+ ]
1578
+ },
1579
+ "byteLength": {
1580
+ "type": "number"
1581
+ },
1582
+ "byteOffset": {
1583
+ "type": "number"
1584
+ },
1585
+ "length": {
1586
+ "type": "number"
1587
+ }
1588
+ },
1589
+ "required": [
1590
+ "BYTES_PER_ELEMENT",
1591
+ "buffer",
1592
+ "byteLength",
1593
+ "byteOffset",
1594
+ "length"
1595
+ ],
1596
+ "additionalProperties": {
1597
+ "type": "number"
1598
+ }
1599
+ },
1600
+ {
1601
+ "type": "string"
1602
+ }
1603
+ ]
1604
+ }
1605
+ },
1606
+ "required": [
1607
+ "issuer",
1608
+ "payload",
1609
+ "protectedHeader"
1610
+ ]
1611
+ },
1612
+ "JwsJsonSignature": {
1613
+ "type": "object",
1614
+ "properties": {
1615
+ "protected": {
1616
+ "type": "string"
1617
+ },
1618
+ "header": {
1619
+ "$ref": "#/components/schemas/JwtHeader"
1620
+ },
1621
+ "signature": {
1622
+ "type": "string"
1623
+ }
1624
+ },
1625
+ "required": [
1626
+ "protected",
1627
+ "signature"
1628
+ ]
1629
+ },
1630
+ "JwsJsonFlattened": {
1631
+ "type": "object",
1632
+ "properties": {
1633
+ "payload": {
1634
+ "type": "string"
1635
+ },
1636
+ "protected": {
1637
+ "type": "string"
1638
+ },
1639
+ "header": {
1640
+ "$ref": "#/components/schemas/JwtHeader"
1641
+ },
1642
+ "signature": {
1643
+ "type": "string"
1644
+ }
1645
+ },
1646
+ "required": [
1647
+ "payload",
1648
+ "protected",
1649
+ "signature"
1650
+ ]
1651
+ },
1652
+ "JwsJsonGeneral": {
1653
+ "type": "object",
1654
+ "properties": {
1655
+ "payload": {
1656
+ "type": "string"
1657
+ },
1658
+ "signatures": {
1659
+ "type": "array",
1660
+ "items": {
1661
+ "$ref": "#/components/schemas/JwsJsonSignature"
1662
+ }
1663
+ }
1664
+ },
1665
+ "required": [
1666
+ "payload",
1667
+ "signatures"
1668
+ ]
1669
+ },
1670
+ "PreparedJwsObject": {
1671
+ "type": "object",
1672
+ "properties": {
1673
+ "jws": {
1674
+ "$ref": "#/components/schemas/PreparedJws"
1675
+ },
1676
+ "b64": {
1677
+ "type": "object",
1678
+ "properties": {
1679
+ "payload": {
1680
+ "type": "string"
1681
+ },
1682
+ "protectedHeader": {
1683
+ "type": "string"
1684
+ }
1685
+ },
1686
+ "required": [
1687
+ "payload",
1688
+ "protectedHeader"
1689
+ ]
1690
+ },
1691
+ "identifier": {
1692
+ "$ref": "#/components/schemas/ManagedIdentifierResult"
1693
+ }
1694
+ },
1695
+ "required": [
1696
+ "jws",
1697
+ "b64",
1698
+ "identifier"
1699
+ ]
1700
+ },
1701
+ "PreparedJws": {
1702
+ "type": "object",
1703
+ "properties": {
1704
+ "protectedHeader": {
1705
+ "$ref": "#/components/schemas/JwtHeader"
1706
+ },
1707
+ "payload": {
1708
+ "type": "object",
1709
+ "properties": {
1710
+ "BYTES_PER_ELEMENT": {
1711
+ "type": "number"
1712
+ },
1713
+ "buffer": {
1714
+ "anyOf": [
1715
+ {
1716
+ "type": "object",
1717
+ "properties": {
1718
+ "byteLength": {
1719
+ "type": "number"
1720
+ }
1721
+ },
1722
+ "required": [
1723
+ "byteLength"
1724
+ ]
1725
+ },
1726
+ {}
1727
+ ]
1728
+ },
1729
+ "byteLength": {
1730
+ "type": "number"
1731
+ },
1732
+ "byteOffset": {
1733
+ "type": "number"
1734
+ },
1735
+ "length": {
1736
+ "type": "number"
1737
+ }
1738
+ },
1739
+ "required": [
1740
+ "BYTES_PER_ELEMENT",
1741
+ "buffer",
1742
+ "byteLength",
1743
+ "byteOffset",
1744
+ "length"
1745
+ ],
1746
+ "additionalProperties": {
1747
+ "type": "number"
1748
+ }
1749
+ },
1750
+ "unprotectedHeader": {
1751
+ "$ref": "#/components/schemas/JwtHeader"
1752
+ },
1753
+ "existingSignatures": {
1754
+ "type": "array",
1755
+ "items": {
1756
+ "$ref": "#/components/schemas/JwsJsonSignature"
1757
+ }
1758
+ }
1759
+ },
1760
+ "required": [
1761
+ "protectedHeader",
1762
+ "payload"
1763
+ ]
1764
+ },
1765
+ "ManagedIdentifierResult": {
1766
+ "anyOf": [
1767
+ {
1768
+ "type": "object",
1769
+ "properties": {
1770
+ "jwk": {
1771
+ "$ref": "#/components/schemas/JWK"
1772
+ },
1773
+ "jwkThumbprint": {
1774
+ "type": "string"
1775
+ },
1776
+ "kmsKeyRef": {
1777
+ "type": "string"
1778
+ },
1779
+ "method": {
1780
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1781
+ },
1782
+ "opts": {
1783
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1784
+ },
1785
+ "key": {
1786
+ "$ref": "#/components/schemas/IKey"
1787
+ },
1788
+ "kid": {
1789
+ "type": "string"
1790
+ },
1791
+ "issuer": {
1792
+ "type": "string"
1793
+ },
1794
+ "identifier": {
1795
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1796
+ },
1797
+ "x5c": {
1798
+ "type": "array",
1799
+ "items": {
1800
+ "type": "string"
1801
+ }
1802
+ },
1803
+ "certificate": {}
1804
+ },
1805
+ "required": [
1806
+ "certificate",
1807
+ "identifier",
1808
+ "jwk",
1809
+ "jwkThumbprint",
1810
+ "key",
1811
+ "kmsKeyRef",
1812
+ "method",
1813
+ "opts",
1814
+ "x5c"
1815
+ ]
1816
+ },
1817
+ {
1818
+ "type": "object",
1819
+ "properties": {
1820
+ "jwk": {
1821
+ "$ref": "#/components/schemas/JWK"
1822
+ },
1823
+ "jwkThumbprint": {
1824
+ "type": "string"
1825
+ },
1826
+ "kmsKeyRef": {
1827
+ "type": "string"
1828
+ },
1829
+ "method": {
1830
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1831
+ },
1832
+ "opts": {
1833
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1834
+ },
1835
+ "key": {
1836
+ "$ref": "#/components/schemas/IKey"
1837
+ },
1838
+ "kid": {
1839
+ "type": "string"
1840
+ },
1841
+ "issuer": {
1842
+ "type": "string"
1843
+ },
1844
+ "identifier": {
1845
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1846
+ },
1847
+ "did": {
1848
+ "type": "string"
1849
+ },
1850
+ "keys": {
1851
+ "type": "array",
1852
+ "items": {
1853
+ "$ref": "#/components/schemas/IKey"
1854
+ }
1855
+ },
1856
+ "verificationMethodSection": {
1857
+ "$ref": "#/components/schemas/DIDDocumentSection"
1858
+ },
1859
+ "controllerKeyId": {
1860
+ "type": "string"
1861
+ }
1862
+ },
1863
+ "required": [
1864
+ "did",
1865
+ "identifier",
1866
+ "issuer",
1867
+ "jwk",
1868
+ "jwkThumbprint",
1869
+ "key",
1870
+ "keys",
1871
+ "kid",
1872
+ "kmsKeyRef",
1873
+ "method",
1874
+ "opts"
1875
+ ]
1876
+ },
1877
+ {
1878
+ "type": "object",
1879
+ "properties": {
1880
+ "jwk": {
1881
+ "$ref": "#/components/schemas/JWK"
1882
+ },
1883
+ "jwkThumbprint": {
1884
+ "type": "string"
1885
+ },
1886
+ "kmsKeyRef": {
1887
+ "type": "string"
1888
+ },
1889
+ "method": {
1890
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1891
+ },
1892
+ "opts": {
1893
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1894
+ },
1895
+ "key": {
1896
+ "$ref": "#/components/schemas/IKey"
1897
+ },
1898
+ "kid": {
1899
+ "type": "string"
1900
+ },
1901
+ "issuer": {
1902
+ "type": "string"
1903
+ },
1904
+ "identifier": {
1905
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1906
+ }
1907
+ },
1908
+ "required": [
1909
+ "identifier",
1910
+ "jwk",
1911
+ "jwkThumbprint",
1912
+ "key",
1913
+ "kmsKeyRef",
1914
+ "method",
1915
+ "opts"
1916
+ ]
1917
+ },
1918
+ {
1919
+ "type": "object",
1920
+ "properties": {
1921
+ "jwk": {
1922
+ "$ref": "#/components/schemas/JWK"
1923
+ },
1924
+ "jwkThumbprint": {
1925
+ "type": "string"
1926
+ },
1927
+ "kmsKeyRef": {
1928
+ "type": "string"
1929
+ },
1930
+ "method": {
1931
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1932
+ },
1933
+ "opts": {
1934
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1935
+ },
1936
+ "key": {
1937
+ "$ref": "#/components/schemas/IKey"
1938
+ },
1939
+ "kid": {
1940
+ "type": "string"
1941
+ },
1942
+ "issuer": {
1943
+ "type": "string"
1944
+ },
1945
+ "identifier": {
1946
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1947
+ }
1948
+ },
1949
+ "required": [
1950
+ "identifier",
1951
+ "jwk",
1952
+ "jwkThumbprint",
1953
+ "key",
1954
+ "kid",
1955
+ "kmsKeyRef",
1956
+ "method",
1957
+ "opts"
1958
+ ]
1959
+ },
1960
+ {
1961
+ "type": "object",
1962
+ "properties": {
1963
+ "jwk": {
1964
+ "$ref": "#/components/schemas/JWK"
1965
+ },
1966
+ "jwkThumbprint": {
1967
+ "type": "string"
1968
+ },
1969
+ "kmsKeyRef": {
1970
+ "type": "string"
1971
+ },
1972
+ "method": {
1973
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1974
+ },
1975
+ "opts": {
1976
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1977
+ },
1978
+ "key": {
1979
+ "$ref": "#/components/schemas/IKey"
1980
+ },
1981
+ "kid": {
1982
+ "type": "string"
1983
+ },
1984
+ "issuer": {
1985
+ "type": "string"
1986
+ },
1987
+ "identifier": {
1988
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1989
+ }
1990
+ },
1991
+ "required": [
1992
+ "identifier",
1993
+ "jwk",
1994
+ "jwkThumbprint",
1995
+ "key",
1996
+ "kmsKeyRef",
1997
+ "method",
1998
+ "opts"
1999
+ ]
2000
+ }
2001
+ ]
2002
+ }
2003
+ },
2004
+ "methods": {
2005
+ "jwtCreateJwsCompactSignature": {
2006
+ "description": "",
2007
+ "arguments": {
2008
+ "$ref": "#/components/schemas/CreateJwsCompactArgs"
2009
+ },
2010
+ "returnType": {
2011
+ "$ref": "#/components/schemas/JwsCompactResult"
2012
+ }
2013
+ },
2014
+ "jwtCreateJwsJsonFlattenedSignature": {
2015
+ "description": "",
2016
+ "arguments": {
2017
+ "$ref": "#/components/schemas/CreateJwsFlattenedArgs"
2018
+ },
2019
+ "returnType": {
2020
+ "$ref": "#/components/schemas/JwsJsonFlattened"
2021
+ }
2022
+ },
2023
+ "jwtCreateJwsJsonGeneralSignature": {
2024
+ "description": "",
2025
+ "arguments": {
2026
+ "$ref": "#/components/schemas/CreateJwsJsonArgs"
2027
+ },
2028
+ "returnType": {
2029
+ "$ref": "#/components/schemas/JwsJsonGeneral"
2030
+ }
2031
+ },
2032
+ "jwtPrepareJws": {
2033
+ "description": "",
2034
+ "arguments": {
2035
+ "$ref": "#/components/schemas/CreateJwsJsonArgs"
2036
+ },
2037
+ "returnType": {
2038
+ "$ref": "#/components/schemas/PreparedJwsObject"
2039
+ }
2040
+ }
2041
+ }
2042
+ }
2043
+ }
2044
+ }