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

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