@sphereon/ssi-sdk-ext.jwt-service 0.24.1-next.103 → 0.24.1-next.105

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.
@@ -9,7 +9,7 @@
9
9
  "type": "object",
10
10
  "properties": {
11
11
  "mode": {
12
- "$ref": "#/components/schemas/CreateJwsMode"
12
+ "$ref": "#/components/schemas/JwsIdentifierMode"
13
13
  },
14
14
  "issuer": {
15
15
  "anyOf": [
@@ -292,6 +292,56 @@
292
292
  "opts"
293
293
  ]
294
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
+ "jwk": {
308
+ "$ref": "#/components/schemas/JWK"
309
+ },
310
+ "jwkThumbprint": {
311
+ "type": "string"
312
+ },
313
+ "kmsKeyRef": {
314
+ "type": "string"
315
+ },
316
+ "method": {
317
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
318
+ },
319
+ "opts": {
320
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
321
+ },
322
+ "key": {
323
+ "$ref": "#/components/schemas/IKey"
324
+ },
325
+ "kid": {
326
+ "type": "string"
327
+ },
328
+ "issuer": {
329
+ "type": "string"
330
+ },
331
+ "identifier": {
332
+ "$ref": "#/components/schemas/ManagedIdentifierType"
333
+ }
334
+ },
335
+ "required": [
336
+ "identifier",
337
+ "jwk",
338
+ "jwkThumbprint",
339
+ "key",
340
+ "kmsKeyRef",
341
+ "method",
342
+ "opts"
343
+ ]
344
+ },
295
345
  {
296
346
  "type": "object",
297
347
  "properties": {
@@ -471,6 +521,39 @@
471
521
  "required": [
472
522
  "identifier"
473
523
  ]
524
+ },
525
+ {
526
+ "type": "object",
527
+ "properties": {
528
+ "noIssPayloadUpdate": {
529
+ "type": "boolean"
530
+ },
531
+ "noIdentifierInHeader": {
532
+ "type": "boolean"
533
+ },
534
+ "lazyDisabled": {
535
+ "type": "boolean"
536
+ },
537
+ "method": {
538
+ "type": "string",
539
+ "const": "cose_key"
540
+ },
541
+ "identifier": {
542
+ "$ref": "#/components/schemas/ManagedIdentifierType"
543
+ },
544
+ "kmsKeyRef": {
545
+ "type": "string"
546
+ },
547
+ "issuer": {
548
+ "type": "string"
549
+ },
550
+ "kid": {
551
+ "type": "string"
552
+ }
553
+ },
554
+ "required": [
555
+ "identifier"
556
+ ]
474
557
  }
475
558
  ]
476
559
  },
@@ -537,7 +620,7 @@
537
620
  "payload"
538
621
  ]
539
622
  },
540
- "CreateJwsMode": {
623
+ "JwsIdentifierMode": {
541
624
  "type": "string",
542
625
  "enum": [
543
626
  "x5c",
@@ -551,10 +634,34 @@
551
634
  "type": "object",
552
635
  "properties": {
553
636
  "kty": {
554
- "type": "string"
637
+ "anyOf": [
638
+ {
639
+ "$ref": "#/components/schemas/JwkKeyType"
640
+ },
641
+ {
642
+ "$ref": "#/components/schemas/JwkKeyTypeString"
643
+ }
644
+ ]
555
645
  },
556
646
  "crv": {
557
- "type": "string"
647
+ "anyOf": [
648
+ {
649
+ "$ref": "#/components/schemas/JoseCurve"
650
+ },
651
+ {
652
+ "$ref": "#/components/schemas/JoseCurveString"
653
+ }
654
+ ]
655
+ },
656
+ "alg": {
657
+ "anyOf": [
658
+ {
659
+ "$ref": "#/components/schemas/JoseSignatureAlgorithm"
660
+ },
661
+ {
662
+ "$ref": "#/components/schemas/JoseSignatureAlgorithmString"
663
+ }
664
+ ]
558
665
  },
559
666
  "x": {
560
667
  "type": "string"
@@ -586,7 +693,14 @@
586
693
  "key_ops": {
587
694
  "type": "array",
588
695
  "items": {
589
- "type": "string"
696
+ "anyOf": [
697
+ {
698
+ "$ref": "#/components/schemas/JoseKeyOperation"
699
+ },
700
+ {
701
+ "$ref": "#/components/schemas/JoseKeyOperationString"
702
+ }
703
+ ]
590
704
  }
591
705
  },
592
706
  "kid": {
@@ -639,6 +753,9 @@
639
753
  "x5u": {
640
754
  "type": "string",
641
755
  "description": "JWK \"x5u\" (X.509 URL) Parameter."
756
+ },
757
+ "iv": {
758
+ "type": "string"
642
759
  }
643
760
  },
644
761
  "additionalProperties": {},
@@ -646,6 +763,118 @@
646
763
  "kty"
647
764
  ]
648
765
  },
766
+ "JwkKeyType": {
767
+ "type": "string",
768
+ "enum": [
769
+ "EC",
770
+ "RSA",
771
+ "oct",
772
+ "OKP"
773
+ ]
774
+ },
775
+ "JwkKeyTypeString": {
776
+ "type": "string",
777
+ "enum": [
778
+ "EC",
779
+ "RSA",
780
+ "oct",
781
+ "OKP"
782
+ ]
783
+ },
784
+ "JoseCurve": {
785
+ "type": "string",
786
+ "enum": [
787
+ "P-256",
788
+ "P-384",
789
+ "P-521",
790
+ "X25519",
791
+ "X448",
792
+ "EdDSA",
793
+ "Ed25519",
794
+ "Ed448",
795
+ "secp256k1"
796
+ ]
797
+ },
798
+ "JoseCurveString": {
799
+ "type": "string",
800
+ "enum": [
801
+ "P-256",
802
+ "P-384",
803
+ "P-521",
804
+ "X25519",
805
+ "X448",
806
+ "EdDSA",
807
+ "Ed25519",
808
+ "Ed448",
809
+ "secp256k1"
810
+ ]
811
+ },
812
+ "JoseSignatureAlgorithm": {
813
+ "type": "string",
814
+ "enum": [
815
+ "RS256",
816
+ "RS384",
817
+ "RS512",
818
+ "ES256",
819
+ "ES256K",
820
+ "ES384",
821
+ "ES512",
822
+ "EdDSA",
823
+ "HS256",
824
+ "HS384",
825
+ "HS512",
826
+ "PS256",
827
+ "PS384",
828
+ "PS512",
829
+ "none"
830
+ ]
831
+ },
832
+ "JoseSignatureAlgorithmString": {
833
+ "type": "string",
834
+ "enum": [
835
+ "RS256",
836
+ "RS384",
837
+ "RS512",
838
+ "ES256",
839
+ "ES256K",
840
+ "ES384",
841
+ "ES512",
842
+ "EdDSA",
843
+ "HS256",
844
+ "HS384",
845
+ "HS512",
846
+ "PS256",
847
+ "PS384",
848
+ "PS512",
849
+ "none"
850
+ ]
851
+ },
852
+ "JoseKeyOperation": {
853
+ "type": "string",
854
+ "enum": [
855
+ "sign",
856
+ "verify",
857
+ "encrypt",
858
+ "decrypt",
859
+ "wrapKey",
860
+ "unwrapKey",
861
+ "deriveKey",
862
+ "deriveBits"
863
+ ]
864
+ },
865
+ "JoseKeyOperationString": {
866
+ "type": "string",
867
+ "enum": [
868
+ "sign",
869
+ "verify",
870
+ "encrypt",
871
+ "decrypt",
872
+ "wrapKey",
873
+ "unwrapKey",
874
+ "deriveKey",
875
+ "deriveBits"
876
+ ]
877
+ },
649
878
  "ManagedIdentifierMethod": {
650
879
  "type": "string",
651
880
  "enum": [
@@ -653,7 +882,8 @@
653
882
  "jwk",
654
883
  "x5c",
655
884
  "kid",
656
- "key"
885
+ "key",
886
+ "cose_key"
657
887
  ]
658
888
  },
659
889
  "ManagedIdentifierOpts": {
@@ -792,6 +1022,30 @@
792
1022
  "required": [
793
1023
  "identifier"
794
1024
  ]
1025
+ },
1026
+ {
1027
+ "type": "object",
1028
+ "properties": {
1029
+ "method": {
1030
+ "type": "string",
1031
+ "const": "cose_key"
1032
+ },
1033
+ "identifier": {
1034
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1035
+ },
1036
+ "kmsKeyRef": {
1037
+ "type": "string"
1038
+ },
1039
+ "issuer": {
1040
+ "type": "string"
1041
+ },
1042
+ "kid": {
1043
+ "type": "string"
1044
+ }
1045
+ },
1046
+ "required": [
1047
+ "identifier"
1048
+ ]
795
1049
  }
796
1050
  ]
797
1051
  },
@@ -814,6 +1068,9 @@
814
1068
  },
815
1069
  {
816
1070
  "$ref": "#/components/schemas/IKey"
1071
+ },
1072
+ {
1073
+ "$ref": "#/components/schemas/ICoseKeyJson"
817
1074
  }
818
1075
  ],
819
1076
  "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"
@@ -976,6 +1233,107 @@
976
1233
  ],
977
1234
  "description": "Represents a service endpoint URL or a map of URLs"
978
1235
  },
1236
+ "ICoseKeyJson": {
1237
+ "type": "object",
1238
+ "properties": {
1239
+ "kty": {
1240
+ "$ref": "#/components/schemas/ICoseKeyType"
1241
+ },
1242
+ "kid": {
1243
+ "type": "string"
1244
+ },
1245
+ "alg": {
1246
+ "$ref": "#/components/schemas/ICoseSignatureAlgorithm"
1247
+ },
1248
+ "key_ops": {
1249
+ "type": "array",
1250
+ "items": {
1251
+ "$ref": "#/components/schemas/ICoseKeyOperation"
1252
+ }
1253
+ },
1254
+ "baseIV": {
1255
+ "type": "string"
1256
+ },
1257
+ "crv": {
1258
+ "$ref": "#/components/schemas/ICoseCurve"
1259
+ },
1260
+ "x": {
1261
+ "type": "string"
1262
+ },
1263
+ "y": {
1264
+ "type": "string"
1265
+ },
1266
+ "d": {
1267
+ "type": "string"
1268
+ },
1269
+ "x5chain": {
1270
+ "type": "array",
1271
+ "items": {
1272
+ "type": "string"
1273
+ }
1274
+ }
1275
+ },
1276
+ "required": [
1277
+ "kty"
1278
+ ],
1279
+ "additionalProperties": {},
1280
+ "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"
1281
+ },
1282
+ "ICoseKeyType": {
1283
+ "type": "number",
1284
+ "enum": [
1285
+ 1,
1286
+ 2,
1287
+ 3,
1288
+ 4,
1289
+ 0
1290
+ ]
1291
+ },
1292
+ "ICoseSignatureAlgorithm": {
1293
+ "type": "number",
1294
+ "enum": [
1295
+ -7,
1296
+ -47,
1297
+ -35,
1298
+ -36,
1299
+ -8,
1300
+ 4,
1301
+ 5,
1302
+ 6,
1303
+ 7,
1304
+ -37,
1305
+ -38,
1306
+ -39
1307
+ ]
1308
+ },
1309
+ "ICoseKeyOperation": {
1310
+ "type": "number",
1311
+ "enum": [
1312
+ 1,
1313
+ 2,
1314
+ 3,
1315
+ 4,
1316
+ 5,
1317
+ 6,
1318
+ 7,
1319
+ 8,
1320
+ 9,
1321
+ 10
1322
+ ]
1323
+ },
1324
+ "ICoseCurve": {
1325
+ "type": "number",
1326
+ "enum": [
1327
+ 1,
1328
+ 2,
1329
+ 3,
1330
+ 4,
1331
+ 5,
1332
+ 6,
1333
+ 7,
1334
+ -1
1335
+ ]
1336
+ },
979
1337
  "DIDDocumentSection": {
980
1338
  "type": "string",
981
1339
  "enum": [
@@ -1081,7 +1439,7 @@
1081
1439
  }
1082
1440
  },
1083
1441
  "mode": {
1084
- "$ref": "#/components/schemas/CreateJwsMode"
1442
+ "$ref": "#/components/schemas/JwsIdentifierMode"
1085
1443
  },
1086
1444
  "issuer": {
1087
1445
  "anyOf": [
@@ -1376,25 +1734,42 @@
1376
1734
  "lazyDisabled": {
1377
1735
  "type": "boolean"
1378
1736
  },
1379
- "method": {
1380
- "type": "string",
1381
- "const": "jwk"
1737
+ "jwk": {
1738
+ "$ref": "#/components/schemas/JWK"
1382
1739
  },
1383
- "identifier": {
1384
- "$ref": "#/components/schemas/ManagedIdentifierType"
1740
+ "jwkThumbprint": {
1741
+ "type": "string"
1385
1742
  },
1386
1743
  "kmsKeyRef": {
1387
1744
  "type": "string"
1388
1745
  },
1389
- "issuer": {
1390
- "type": "string"
1746
+ "method": {
1747
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
1748
+ },
1749
+ "opts": {
1750
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
1751
+ },
1752
+ "key": {
1753
+ "$ref": "#/components/schemas/IKey"
1391
1754
  },
1392
1755
  "kid": {
1393
1756
  "type": "string"
1757
+ },
1758
+ "issuer": {
1759
+ "type": "string"
1760
+ },
1761
+ "identifier": {
1762
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1394
1763
  }
1395
1764
  },
1396
1765
  "required": [
1397
- "identifier"
1766
+ "identifier",
1767
+ "jwk",
1768
+ "jwkThumbprint",
1769
+ "key",
1770
+ "kmsKeyRef",
1771
+ "method",
1772
+ "opts"
1398
1773
  ]
1399
1774
  },
1400
1775
  {
@@ -1411,7 +1786,7 @@
1411
1786
  },
1412
1787
  "method": {
1413
1788
  "type": "string",
1414
- "const": "x5c"
1789
+ "const": "jwk"
1415
1790
  },
1416
1791
  "identifier": {
1417
1792
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1444,7 +1819,40 @@
1444
1819
  },
1445
1820
  "method": {
1446
1821
  "type": "string",
1447
- "const": "did"
1822
+ "const": "x5c"
1823
+ },
1824
+ "identifier": {
1825
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1826
+ },
1827
+ "kmsKeyRef": {
1828
+ "type": "string"
1829
+ },
1830
+ "issuer": {
1831
+ "type": "string"
1832
+ },
1833
+ "kid": {
1834
+ "type": "string"
1835
+ }
1836
+ },
1837
+ "required": [
1838
+ "identifier"
1839
+ ]
1840
+ },
1841
+ {
1842
+ "type": "object",
1843
+ "properties": {
1844
+ "noIssPayloadUpdate": {
1845
+ "type": "boolean"
1846
+ },
1847
+ "noIdentifierInHeader": {
1848
+ "type": "boolean"
1849
+ },
1850
+ "lazyDisabled": {
1851
+ "type": "boolean"
1852
+ },
1853
+ "method": {
1854
+ "type": "string",
1855
+ "const": "did"
1448
1856
  },
1449
1857
  "identifier": {
1450
1858
  "$ref": "#/components/schemas/ManagedIdentifierType"
@@ -1543,6 +1951,39 @@
1543
1951
  "required": [
1544
1952
  "identifier"
1545
1953
  ]
1954
+ },
1955
+ {
1956
+ "type": "object",
1957
+ "properties": {
1958
+ "noIssPayloadUpdate": {
1959
+ "type": "boolean"
1960
+ },
1961
+ "noIdentifierInHeader": {
1962
+ "type": "boolean"
1963
+ },
1964
+ "lazyDisabled": {
1965
+ "type": "boolean"
1966
+ },
1967
+ "method": {
1968
+ "type": "string",
1969
+ "const": "cose_key"
1970
+ },
1971
+ "identifier": {
1972
+ "$ref": "#/components/schemas/ManagedIdentifierType"
1973
+ },
1974
+ "kmsKeyRef": {
1975
+ "type": "string"
1976
+ },
1977
+ "issuer": {
1978
+ "type": "string"
1979
+ },
1980
+ "kid": {
1981
+ "type": "string"
1982
+ }
1983
+ },
1984
+ "required": [
1985
+ "identifier"
1986
+ ]
1546
1987
  }
1547
1988
  ]
1548
1989
  },
@@ -1957,6 +2398,47 @@
1957
2398
  "opts"
1958
2399
  ]
1959
2400
  },
2401
+ {
2402
+ "type": "object",
2403
+ "properties": {
2404
+ "jwk": {
2405
+ "$ref": "#/components/schemas/JWK"
2406
+ },
2407
+ "jwkThumbprint": {
2408
+ "type": "string"
2409
+ },
2410
+ "kmsKeyRef": {
2411
+ "type": "string"
2412
+ },
2413
+ "method": {
2414
+ "$ref": "#/components/schemas/ManagedIdentifierMethod"
2415
+ },
2416
+ "opts": {
2417
+ "$ref": "#/components/schemas/ManagedIdentifierOpts"
2418
+ },
2419
+ "key": {
2420
+ "$ref": "#/components/schemas/IKey"
2421
+ },
2422
+ "kid": {
2423
+ "type": "string"
2424
+ },
2425
+ "issuer": {
2426
+ "type": "string"
2427
+ },
2428
+ "identifier": {
2429
+ "$ref": "#/components/schemas/ManagedIdentifierType"
2430
+ }
2431
+ },
2432
+ "required": [
2433
+ "identifier",
2434
+ "jwk",
2435
+ "jwkThumbprint",
2436
+ "key",
2437
+ "kmsKeyRef",
2438
+ "method",
2439
+ "opts"
2440
+ ]
2441
+ },
1960
2442
  {
1961
2443
  "type": "object",
1962
2444
  "properties": {
@@ -1999,43 +2481,1107 @@
1999
2481
  ]
2000
2482
  }
2001
2483
  ]
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
2484
  },
2014
- "jwtCreateJwsJsonFlattenedSignature": {
2015
- "description": "",
2016
- "arguments": {
2017
- "$ref": "#/components/schemas/CreateJwsFlattenedArgs"
2485
+ "VerifyJwsArgs": {
2486
+ "type": "object",
2487
+ "properties": {
2488
+ "jws": {
2489
+ "$ref": "#/components/schemas/Jws"
2490
+ },
2491
+ "jwk": {
2492
+ "$ref": "#/components/schemas/JWK"
2493
+ },
2494
+ "opts": {
2495
+ "type": "object",
2496
+ "properties": {
2497
+ "x5c": {
2498
+ "type": "object",
2499
+ "properties": {
2500
+ "trustRootWhenNoAnchors": {
2501
+ "type": "boolean"
2502
+ },
2503
+ "allowSingleNoCAChainElement": {
2504
+ "type": "boolean"
2505
+ },
2506
+ "blindlyTrustedAnchors": {
2507
+ "allOf": [
2508
+ {
2509
+ "type": "array",
2510
+ "items": {
2511
+ "type": "string"
2512
+ }
2513
+ },
2514
+ {
2515
+ "type": "object",
2516
+ "properties": {}
2517
+ }
2518
+ ]
2519
+ },
2520
+ "client": {
2521
+ "type": "object",
2522
+ "properties": {
2523
+ "clientId": {
2524
+ "type": "string"
2525
+ },
2526
+ "clientIdScheme": {
2527
+ "$ref": "#/components/schemas/ClientIdScheme"
2528
+ }
2529
+ },
2530
+ "required": [
2531
+ "clientId",
2532
+ "clientIdScheme"
2533
+ ]
2534
+ },
2535
+ "method": {
2536
+ "type": "object",
2537
+ "properties": {}
2538
+ },
2539
+ "verify": {
2540
+ "type": "boolean"
2541
+ },
2542
+ "verificationTime": {
2543
+ "type": "string"
2544
+ },
2545
+ "trustAnchors": {
2546
+ "allOf": [
2547
+ {
2548
+ "type": "array",
2549
+ "items": {
2550
+ "type": "string"
2551
+ }
2552
+ },
2553
+ {
2554
+ "type": "object",
2555
+ "properties": {}
2556
+ }
2557
+ ]
2558
+ }
2559
+ }
2560
+ },
2561
+ "did": {
2562
+ "type": "object",
2563
+ "properties": {
2564
+ "method": {
2565
+ "type": "object",
2566
+ "properties": {}
2567
+ },
2568
+ "noVerificationMethodFallback": {
2569
+ "type": "boolean"
2570
+ },
2571
+ "vmRelationship": {
2572
+ "anyOf": [
2573
+ {
2574
+ "type": "object",
2575
+ "properties": {}
2576
+ },
2577
+ {
2578
+ "type": "object",
2579
+ "properties": {}
2580
+ },
2581
+ {
2582
+ "type": "object",
2583
+ "properties": {}
2584
+ },
2585
+ {
2586
+ "type": "object",
2587
+ "properties": {}
2588
+ },
2589
+ {
2590
+ "type": "object",
2591
+ "properties": {}
2592
+ },
2593
+ {
2594
+ "type": "object",
2595
+ "properties": {}
2596
+ },
2597
+ {
2598
+ "type": "object",
2599
+ "properties": {}
2600
+ },
2601
+ {
2602
+ "type": "object",
2603
+ "properties": {}
2604
+ }
2605
+ ]
2606
+ },
2607
+ "localResolution": {
2608
+ "type": "boolean"
2609
+ },
2610
+ "uniresolverResolution": {
2611
+ "type": "boolean"
2612
+ },
2613
+ "resolverResolution": {
2614
+ "type": "boolean"
2615
+ }
2616
+ }
2617
+ }
2618
+ }
2619
+ }
2018
2620
  },
2019
- "returnType": {
2020
- "$ref": "#/components/schemas/JwsJsonFlattened"
2021
- }
2621
+ "required": [
2622
+ "jws"
2623
+ ]
2022
2624
  },
2023
- "jwtCreateJwsJsonGeneralSignature": {
2024
- "description": "",
2025
- "arguments": {
2026
- "$ref": "#/components/schemas/CreateJwsJsonArgs"
2027
- },
2028
- "returnType": {
2029
- "$ref": "#/components/schemas/JwsJsonGeneral"
2030
- }
2625
+ "Jws": {
2626
+ "anyOf": [
2627
+ {
2628
+ "$ref": "#/components/schemas/JwsCompact"
2629
+ },
2630
+ {
2631
+ "$ref": "#/components/schemas/JwsJsonFlattened"
2632
+ },
2633
+ {
2634
+ "$ref": "#/components/schemas/JwsJsonGeneral"
2635
+ }
2636
+ ]
2031
2637
  },
2032
- "jwtPrepareJws": {
2033
- "description": "",
2034
- "arguments": {
2035
- "$ref": "#/components/schemas/CreateJwsJsonArgs"
2036
- },
2037
- "returnType": {
2038
- "$ref": "#/components/schemas/PreparedJwsObject"
2638
+ "ClientIdScheme": {
2639
+ "type": "string",
2640
+ "enum": [
2641
+ "x509_san_dns",
2642
+ "x509_san_uri"
2643
+ ]
2644
+ },
2645
+ "IJwsValidationResult": {
2646
+ "type": "object",
2647
+ "properties": {
2648
+ "jws": {
2649
+ "$ref": "#/components/schemas/JwsJsonGeneralWithIdentifiers"
2650
+ },
2651
+ "name": {
2652
+ "type": "string",
2653
+ "description": "The name of the validation or its subsystem. Mainly used for information purposes. Not assumed to be unique"
2654
+ },
2655
+ "error": {
2656
+ "type": "boolean",
2657
+ "description": "Whether the validation was successful or not"
2658
+ },
2659
+ "critical": {
2660
+ "type": "boolean",
2661
+ "description": "Whether an error can be ignored or not (up to processing logic)"
2662
+ },
2663
+ "message": {
2664
+ "type": "string",
2665
+ "description": "Any status/info message about the validation"
2666
+ },
2667
+ "verificationTime": {
2668
+ "type": "string",
2669
+ "format": "date-time",
2670
+ "description": "The date and time of the validation"
2671
+ }
2672
+ },
2673
+ "required": [
2674
+ "critical",
2675
+ "error",
2676
+ "jws",
2677
+ "message",
2678
+ "name",
2679
+ "verificationTime"
2680
+ ]
2681
+ },
2682
+ "JwsJsonGeneralWithIdentifiers": {
2683
+ "type": "object",
2684
+ "properties": {
2685
+ "payload": {
2686
+ "type": "string"
2687
+ },
2688
+ "signatures": {
2689
+ "type": "array",
2690
+ "items": {
2691
+ "$ref": "#/components/schemas/JwsJsonSignatureWithIdentifier"
2692
+ }
2693
+ }
2694
+ },
2695
+ "required": [
2696
+ "payload",
2697
+ "signatures"
2698
+ ]
2699
+ },
2700
+ "JwsJsonSignatureWithIdentifier": {
2701
+ "type": "object",
2702
+ "properties": {
2703
+ "protected": {
2704
+ "type": "string"
2705
+ },
2706
+ "header": {
2707
+ "$ref": "#/components/schemas/JwtHeader"
2708
+ },
2709
+ "signature": {
2710
+ "type": "string"
2711
+ },
2712
+ "identifier": {
2713
+ "$ref": "#/components/schemas/ExternalIdentifierResult"
2714
+ }
2715
+ },
2716
+ "required": [
2717
+ "identifier",
2718
+ "protected",
2719
+ "signature"
2720
+ ]
2721
+ },
2722
+ "ExternalIdentifierResult": {
2723
+ "anyOf": [
2724
+ {
2725
+ "type": "object",
2726
+ "properties": {
2727
+ "method": {
2728
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2729
+ },
2730
+ "jwks": {
2731
+ "type": "array",
2732
+ "items": {
2733
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2734
+ }
2735
+ },
2736
+ "did": {
2737
+ "type": "string"
2738
+ },
2739
+ "didDocument": {
2740
+ "$ref": "#/components/schemas/DIDDocument"
2741
+ },
2742
+ "didJwks": {
2743
+ "$ref": "#/components/schemas/DidDocumentJwks"
2744
+ },
2745
+ "didResolutionResult": {
2746
+ "type": "object",
2747
+ "properties": {
2748
+ "@context": {
2749
+ "anyOf": [
2750
+ {
2751
+ "type": "string",
2752
+ "const": "https://w3id.org/did-resolution/v1"
2753
+ },
2754
+ {
2755
+ "type": "string"
2756
+ },
2757
+ {
2758
+ "type": "array",
2759
+ "items": {
2760
+ "type": "string"
2761
+ }
2762
+ }
2763
+ ]
2764
+ },
2765
+ "didResolutionMetadata": {
2766
+ "$ref": "#/components/schemas/DIDResolutionMetadata"
2767
+ },
2768
+ "didDocumentMetadata": {
2769
+ "$ref": "#/components/schemas/DIDDocumentMetadata"
2770
+ }
2771
+ },
2772
+ "required": [
2773
+ "didResolutionMetadata",
2774
+ "didDocumentMetadata"
2775
+ ]
2776
+ },
2777
+ "didParsed": {
2778
+ "$ref": "#/components/schemas/IParsedDID"
2779
+ }
2780
+ },
2781
+ "required": [
2782
+ "did",
2783
+ "didParsed",
2784
+ "didResolutionResult",
2785
+ "jwks",
2786
+ "method"
2787
+ ]
2788
+ },
2789
+ {
2790
+ "type": "object",
2791
+ "properties": {
2792
+ "method": {
2793
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2794
+ },
2795
+ "jwks": {
2796
+ "type": "array",
2797
+ "items": {
2798
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2799
+ }
2800
+ },
2801
+ "x5c": {
2802
+ "type": "array",
2803
+ "items": {
2804
+ "type": "string"
2805
+ }
2806
+ },
2807
+ "issuerJWK": {
2808
+ "$ref": "#/components/schemas/JWK"
2809
+ },
2810
+ "verificationResult": {
2811
+ "$ref": "#/components/schemas/X509ValidationResult"
2812
+ },
2813
+ "certificates": {
2814
+ "type": "array",
2815
+ "items": {}
2816
+ }
2817
+ },
2818
+ "required": [
2819
+ "certificates",
2820
+ "issuerJWK",
2821
+ "jwks",
2822
+ "method",
2823
+ "x5c"
2824
+ ]
2825
+ },
2826
+ {
2827
+ "type": "object",
2828
+ "properties": {
2829
+ "method": {
2830
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2831
+ },
2832
+ "jwks": {
2833
+ "type": "array",
2834
+ "items": {
2835
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2836
+ }
2837
+ },
2838
+ "jwk": {
2839
+ "$ref": "#/components/schemas/JWK"
2840
+ },
2841
+ "x5c": {
2842
+ "$ref": "#/components/schemas/ExternalIdentifierX5cResult"
2843
+ }
2844
+ },
2845
+ "required": [
2846
+ "jwk",
2847
+ "jwks",
2848
+ "method"
2849
+ ]
2850
+ },
2851
+ {
2852
+ "type": "object",
2853
+ "properties": {
2854
+ "method": {
2855
+ "$ref": "#/components/schemas/ExternalIdentifierMethod"
2856
+ },
2857
+ "jwks": {
2858
+ "type": "array",
2859
+ "items": {
2860
+ "$ref": "#/components/schemas/ExternalJwkInfo"
2861
+ }
2862
+ },
2863
+ "coseKey": {
2864
+ "$ref": "#/components/schemas/ICoseKeyJson"
2865
+ },
2866
+ "x5c": {
2867
+ "$ref": "#/components/schemas/ExternalIdentifierX5cResult"
2868
+ }
2869
+ },
2870
+ "required": [
2871
+ "coseKey",
2872
+ "jwks",
2873
+ "method"
2874
+ ]
2875
+ }
2876
+ ]
2877
+ },
2878
+ "ExternalIdentifierMethod": {
2879
+ "type": "string",
2880
+ "enum": [
2881
+ "did",
2882
+ "jwk",
2883
+ "x5c",
2884
+ "kid",
2885
+ "cose_key",
2886
+ "oidc-discovery",
2887
+ "jwks-url",
2888
+ "oid4vci-issuer"
2889
+ ]
2890
+ },
2891
+ "ExternalJwkInfo": {
2892
+ "type": "object",
2893
+ "properties": {
2894
+ "jwk": {
2895
+ "$ref": "#/components/schemas/JWK"
2896
+ },
2897
+ "jwkThumbprint": {
2898
+ "type": "string"
2899
+ },
2900
+ "kid": {
2901
+ "type": "string"
2902
+ },
2903
+ "publicKeyHex": {
2904
+ "type": "string"
2905
+ }
2906
+ },
2907
+ "required": [
2908
+ "jwk",
2909
+ "jwkThumbprint",
2910
+ "publicKeyHex"
2911
+ ]
2912
+ },
2913
+ "DIDDocument": {
2914
+ "type": "object",
2915
+ "properties": {
2916
+ "authentication": {
2917
+ "type": "array",
2918
+ "items": {
2919
+ "anyOf": [
2920
+ {
2921
+ "type": "string"
2922
+ },
2923
+ {
2924
+ "$ref": "#/components/schemas/VerificationMethod"
2925
+ }
2926
+ ]
2927
+ }
2928
+ },
2929
+ "assertionMethod": {
2930
+ "type": "array",
2931
+ "items": {
2932
+ "anyOf": [
2933
+ {
2934
+ "type": "string"
2935
+ },
2936
+ {
2937
+ "$ref": "#/components/schemas/VerificationMethod"
2938
+ }
2939
+ ]
2940
+ }
2941
+ },
2942
+ "keyAgreement": {
2943
+ "type": "array",
2944
+ "items": {
2945
+ "anyOf": [
2946
+ {
2947
+ "type": "string"
2948
+ },
2949
+ {
2950
+ "$ref": "#/components/schemas/VerificationMethod"
2951
+ }
2952
+ ]
2953
+ }
2954
+ },
2955
+ "capabilityInvocation": {
2956
+ "type": "array",
2957
+ "items": {
2958
+ "anyOf": [
2959
+ {
2960
+ "type": "string"
2961
+ },
2962
+ {
2963
+ "$ref": "#/components/schemas/VerificationMethod"
2964
+ }
2965
+ ]
2966
+ }
2967
+ },
2968
+ "capabilityDelegation": {
2969
+ "type": "array",
2970
+ "items": {
2971
+ "anyOf": [
2972
+ {
2973
+ "type": "string"
2974
+ },
2975
+ {
2976
+ "$ref": "#/components/schemas/VerificationMethod"
2977
+ }
2978
+ ]
2979
+ }
2980
+ },
2981
+ "@context": {
2982
+ "anyOf": [
2983
+ {
2984
+ "type": "string",
2985
+ "const": "https://www.w3.org/ns/did/v1"
2986
+ },
2987
+ {
2988
+ "type": "string"
2989
+ },
2990
+ {
2991
+ "type": "array",
2992
+ "items": {
2993
+ "type": "string"
2994
+ }
2995
+ }
2996
+ ]
2997
+ },
2998
+ "id": {
2999
+ "type": "string"
3000
+ },
3001
+ "alsoKnownAs": {
3002
+ "type": "array",
3003
+ "items": {
3004
+ "type": "string"
3005
+ }
3006
+ },
3007
+ "controller": {
3008
+ "anyOf": [
3009
+ {
3010
+ "type": "string"
3011
+ },
3012
+ {
3013
+ "type": "array",
3014
+ "items": {
3015
+ "type": "string"
3016
+ }
3017
+ }
3018
+ ]
3019
+ },
3020
+ "verificationMethod": {
3021
+ "type": "array",
3022
+ "items": {
3023
+ "$ref": "#/components/schemas/VerificationMethod"
3024
+ }
3025
+ },
3026
+ "service": {
3027
+ "type": "array",
3028
+ "items": {
3029
+ "$ref": "#/components/schemas/Service"
3030
+ }
3031
+ },
3032
+ "publicKey": {
3033
+ "type": "array",
3034
+ "items": {
3035
+ "$ref": "#/components/schemas/VerificationMethod"
3036
+ },
3037
+ "deprecated": true
3038
+ }
3039
+ },
3040
+ "required": [
3041
+ "id"
3042
+ ],
3043
+ "description": "Represents a DID document."
3044
+ },
3045
+ "VerificationMethod": {
3046
+ "type": "object",
3047
+ "properties": {
3048
+ "id": {
3049
+ "type": "string"
3050
+ },
3051
+ "type": {
3052
+ "type": "string"
3053
+ },
3054
+ "controller": {
3055
+ "type": "string"
3056
+ },
3057
+ "publicKeyBase58": {
3058
+ "type": "string"
3059
+ },
3060
+ "publicKeyBase64": {
3061
+ "type": "string"
3062
+ },
3063
+ "publicKeyJwk": {
3064
+ "$ref": "#/components/schemas/JsonWebKey"
3065
+ },
3066
+ "publicKeyHex": {
3067
+ "type": "string"
3068
+ },
3069
+ "publicKeyMultibase": {
3070
+ "type": "string"
3071
+ },
3072
+ "blockchainAccountId": {
3073
+ "type": "string"
3074
+ },
3075
+ "ethereumAddress": {
3076
+ "type": "string"
3077
+ },
3078
+ "conditionOr": {
3079
+ "type": "array",
3080
+ "items": {
3081
+ "$ref": "#/components/schemas/VerificationMethod"
3082
+ }
3083
+ },
3084
+ "conditionAnd": {
3085
+ "type": "array",
3086
+ "items": {
3087
+ "$ref": "#/components/schemas/VerificationMethod"
3088
+ }
3089
+ },
3090
+ "threshold": {
3091
+ "type": "number"
3092
+ },
3093
+ "conditionThreshold": {
3094
+ "type": "array",
3095
+ "items": {
3096
+ "$ref": "#/components/schemas/VerificationMethod"
3097
+ }
3098
+ },
3099
+ "conditionWeightedThreshold": {
3100
+ "type": "array",
3101
+ "items": {
3102
+ "$ref": "#/components/schemas/ConditionWeightedThreshold"
3103
+ }
3104
+ },
3105
+ "conditionDelegated": {
3106
+ "type": "string"
3107
+ },
3108
+ "relationshipParent": {
3109
+ "type": "array",
3110
+ "items": {
3111
+ "type": "string"
3112
+ }
3113
+ },
3114
+ "relationshipChild": {
3115
+ "type": "array",
3116
+ "items": {
3117
+ "type": "string"
3118
+ }
3119
+ },
3120
+ "relationshipSibling": {
3121
+ "type": "array",
3122
+ "items": {
3123
+ "type": "string"
3124
+ }
3125
+ }
3126
+ },
3127
+ "required": [
3128
+ "id",
3129
+ "type",
3130
+ "controller"
3131
+ ],
3132
+ "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."
3133
+ },
3134
+ "JsonWebKey": {
3135
+ "type": "object",
3136
+ "properties": {
3137
+ "alg": {
3138
+ "type": "string"
3139
+ },
3140
+ "crv": {
3141
+ "type": "string"
3142
+ },
3143
+ "e": {
3144
+ "type": "string"
3145
+ },
3146
+ "ext": {
3147
+ "type": "boolean"
3148
+ },
3149
+ "key_ops": {
3150
+ "type": "array",
3151
+ "items": {
3152
+ "type": "string"
3153
+ }
3154
+ },
3155
+ "kid": {
3156
+ "type": "string"
3157
+ },
3158
+ "kty": {
3159
+ "type": "string"
3160
+ },
3161
+ "n": {
3162
+ "type": "string"
3163
+ },
3164
+ "use": {
3165
+ "type": "string"
3166
+ },
3167
+ "x": {
3168
+ "type": "string"
3169
+ },
3170
+ "y": {
3171
+ "type": "string"
3172
+ }
3173
+ },
3174
+ "required": [
3175
+ "kty"
3176
+ ],
3177
+ "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."
3178
+ },
3179
+ "ConditionWeightedThreshold": {
3180
+ "type": "object",
3181
+ "properties": {
3182
+ "condition": {
3183
+ "$ref": "#/components/schemas/VerificationMethod"
3184
+ },
3185
+ "weight": {
3186
+ "type": "number"
3187
+ }
3188
+ },
3189
+ "required": [
3190
+ "condition",
3191
+ "weight"
3192
+ ]
3193
+ },
3194
+ "Service": {
3195
+ "type": "object",
3196
+ "properties": {
3197
+ "id": {
3198
+ "type": "string"
3199
+ },
3200
+ "type": {
3201
+ "type": "string"
3202
+ },
3203
+ "serviceEndpoint": {
3204
+ "anyOf": [
3205
+ {
3206
+ "$ref": "#/components/schemas/ServiceEndpoint"
3207
+ },
3208
+ {
3209
+ "type": "array",
3210
+ "items": {
3211
+ "$ref": "#/components/schemas/ServiceEndpoint"
3212
+ }
3213
+ }
3214
+ ]
3215
+ }
3216
+ },
3217
+ "required": [
3218
+ "id",
3219
+ "type",
3220
+ "serviceEndpoint"
3221
+ ],
3222
+ "description": "Represents a Service entry in a {@link https://www.w3.org/TR/did-core/#did-document-properties | DID document } ."
3223
+ },
3224
+ "ServiceEndpoint": {
3225
+ "anyOf": [
3226
+ {
3227
+ "type": "string"
3228
+ },
3229
+ {
3230
+ "type": "object"
3231
+ }
3232
+ ],
3233
+ "description": "Represents an endpoint of a Service entry in a DID document."
3234
+ },
3235
+ "DidDocumentJwks": {
3236
+ "type": "object",
3237
+ "properties": {
3238
+ "verificationMethod": {
3239
+ "type": "array",
3240
+ "items": {
3241
+ "$ref": "#/components/schemas/JWK"
3242
+ }
3243
+ },
3244
+ "authentication": {
3245
+ "type": "array",
3246
+ "items": {
3247
+ "$ref": "#/components/schemas/JWK"
3248
+ }
3249
+ },
3250
+ "assertionMethod": {
3251
+ "type": "array",
3252
+ "items": {
3253
+ "$ref": "#/components/schemas/JWK"
3254
+ }
3255
+ },
3256
+ "keyAgreement": {
3257
+ "type": "array",
3258
+ "items": {
3259
+ "$ref": "#/components/schemas/JWK"
3260
+ }
3261
+ },
3262
+ "capabilityInvocation": {
3263
+ "type": "array",
3264
+ "items": {
3265
+ "$ref": "#/components/schemas/JWK"
3266
+ }
3267
+ },
3268
+ "capabilityDelegation": {
3269
+ "type": "array",
3270
+ "items": {
3271
+ "$ref": "#/components/schemas/JWK"
3272
+ }
3273
+ }
3274
+ },
3275
+ "required": [
3276
+ "verificationMethod",
3277
+ "authentication",
3278
+ "assertionMethod",
3279
+ "keyAgreement",
3280
+ "capabilityInvocation",
3281
+ "capabilityDelegation"
3282
+ ]
3283
+ },
3284
+ "DIDResolutionMetadata": {
3285
+ "type": "object",
3286
+ "properties": {
3287
+ "contentType": {
3288
+ "type": "string"
3289
+ },
3290
+ "error": {
3291
+ "type": "string"
3292
+ }
3293
+ },
3294
+ "description": "Encapsulates the resolution metadata resulting from a {@link Resolvable.resolve } operation."
3295
+ },
3296
+ "DIDDocumentMetadata": {
3297
+ "type": "object",
3298
+ "properties": {
3299
+ "created": {
3300
+ "type": "string"
3301
+ },
3302
+ "updated": {
3303
+ "type": "string"
3304
+ },
3305
+ "deactivated": {
3306
+ "type": "boolean"
3307
+ },
3308
+ "versionId": {
3309
+ "type": "string"
3310
+ },
3311
+ "nextUpdate": {
3312
+ "type": "string"
3313
+ },
3314
+ "nextVersionId": {
3315
+ "type": "string"
3316
+ },
3317
+ "equivalentId": {
3318
+ "type": "string"
3319
+ },
3320
+ "canonicalId": {
3321
+ "type": "string"
3322
+ }
3323
+ },
3324
+ "description": "Represents metadata about the DID document resulting from a {@link Resolvable.resolve } operation."
3325
+ },
3326
+ "IParsedDID": {
3327
+ "type": "object",
3328
+ "properties": {
3329
+ "did": {
3330
+ "type": "string"
3331
+ },
3332
+ "didUrl": {
3333
+ "type": "string"
3334
+ },
3335
+ "method": {
3336
+ "type": "string"
3337
+ },
3338
+ "id": {
3339
+ "type": "string"
3340
+ },
3341
+ "path": {
3342
+ "type": "string"
3343
+ },
3344
+ "fragment": {
3345
+ "type": "string"
3346
+ },
3347
+ "query": {
3348
+ "type": "string"
3349
+ },
3350
+ "params": {
3351
+ "type": "object",
3352
+ "additionalProperties": {
3353
+ "type": "string"
3354
+ }
3355
+ }
3356
+ },
3357
+ "required": [
3358
+ "did",
3359
+ "didUrl",
3360
+ "method",
3361
+ "id"
3362
+ ]
3363
+ },
3364
+ "X509ValidationResult": {
3365
+ "type": "object",
3366
+ "properties": {
3367
+ "error": {
3368
+ "type": "boolean"
3369
+ },
3370
+ "critical": {
3371
+ "type": "boolean"
3372
+ },
3373
+ "message": {
3374
+ "type": "string"
3375
+ },
3376
+ "verificationTime": {
3377
+ "type": "string",
3378
+ "format": "date-time"
3379
+ },
3380
+ "certificateChain": {
3381
+ "type": "array",
3382
+ "items": {
3383
+ "$ref": "#/components/schemas/CertificateInfo"
3384
+ }
3385
+ },
3386
+ "client": {
3387
+ "type": "object",
3388
+ "properties": {
3389
+ "clientId": {
3390
+ "type": "string"
3391
+ },
3392
+ "clientIdScheme": {
3393
+ "$ref": "#/components/schemas/ClientIdScheme"
3394
+ }
3395
+ },
3396
+ "required": [
3397
+ "clientId",
3398
+ "clientIdScheme"
3399
+ ]
3400
+ }
3401
+ },
3402
+ "required": [
3403
+ "error",
3404
+ "critical",
3405
+ "message",
3406
+ "verificationTime"
3407
+ ]
3408
+ },
3409
+ "CertificateInfo": {
3410
+ "type": "object",
3411
+ "properties": {
3412
+ "certificate": {},
3413
+ "notBefore": {
3414
+ "type": "string",
3415
+ "format": "date-time"
3416
+ },
3417
+ "notAfter": {
3418
+ "type": "string",
3419
+ "format": "date-time"
3420
+ },
3421
+ "publicKeyJWK": {},
3422
+ "issuer": {
3423
+ "type": "object",
3424
+ "properties": {
3425
+ "dn": {
3426
+ "$ref": "#/components/schemas/DNInfo"
3427
+ }
3428
+ },
3429
+ "required": [
3430
+ "dn"
3431
+ ]
3432
+ },
3433
+ "subject": {
3434
+ "type": "object",
3435
+ "properties": {
3436
+ "dn": {
3437
+ "$ref": "#/components/schemas/DNInfo"
3438
+ },
3439
+ "subjectAlternativeNames": {
3440
+ "type": "array",
3441
+ "items": {
3442
+ "$ref": "#/components/schemas/SubjectAlternativeName"
3443
+ }
3444
+ }
3445
+ },
3446
+ "required": [
3447
+ "dn",
3448
+ "subjectAlternativeNames"
3449
+ ]
3450
+ }
3451
+ },
3452
+ "required": [
3453
+ "notBefore",
3454
+ "notAfter",
3455
+ "issuer",
3456
+ "subject"
3457
+ ]
3458
+ },
3459
+ "DNInfo": {
3460
+ "type": "object",
3461
+ "properties": {
3462
+ "DN": {
3463
+ "type": "string"
3464
+ },
3465
+ "attributes": {
3466
+ "type": "object",
3467
+ "additionalProperties": {
3468
+ "type": "string"
3469
+ }
3470
+ }
3471
+ },
3472
+ "required": [
3473
+ "DN",
3474
+ "attributes"
3475
+ ]
3476
+ },
3477
+ "SubjectAlternativeName": {
3478
+ "type": "object",
3479
+ "properties": {
3480
+ "value": {
3481
+ "type": "string"
3482
+ },
3483
+ "type": {
3484
+ "$ref": "#/components/schemas/SubjectAlternativeGeneralName"
3485
+ }
3486
+ },
3487
+ "required": [
3488
+ "value",
3489
+ "type"
3490
+ ]
3491
+ },
3492
+ "SubjectAlternativeGeneralName": {
3493
+ "type": "number",
3494
+ "enum": [
3495
+ 1,
3496
+ 2,
3497
+ 6,
3498
+ 7
3499
+ ],
3500
+ "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 }"
3501
+ },
3502
+ "ExternalIdentifierX5cResult": {
3503
+ "type": "object",
3504
+ "properties": {
3505
+ "method": {
3506
+ "type": "string",
3507
+ "const": "x5c"
3508
+ },
3509
+ "jwks": {
3510
+ "type": "array",
3511
+ "items": {
3512
+ "$ref": "#/components/schemas/ExternalJwkInfo"
3513
+ }
3514
+ },
3515
+ "x5c": {
3516
+ "type": "array",
3517
+ "items": {
3518
+ "type": "string"
3519
+ }
3520
+ },
3521
+ "issuerJWK": {
3522
+ "$ref": "#/components/schemas/JWK"
3523
+ },
3524
+ "verificationResult": {
3525
+ "$ref": "#/components/schemas/X509ValidationResult"
3526
+ },
3527
+ "certificates": {
3528
+ "type": "array",
3529
+ "items": {}
3530
+ }
3531
+ },
3532
+ "required": [
3533
+ "certificates",
3534
+ "issuerJWK",
3535
+ "jwks",
3536
+ "method",
3537
+ "x5c"
3538
+ ]
3539
+ }
3540
+ },
3541
+ "methods": {
3542
+ "jwtCreateJwsCompactSignature": {
3543
+ "description": "",
3544
+ "arguments": {
3545
+ "$ref": "#/components/schemas/CreateJwsCompactArgs"
3546
+ },
3547
+ "returnType": {
3548
+ "$ref": "#/components/schemas/JwsCompactResult"
3549
+ }
3550
+ },
3551
+ "jwtCreateJwsJsonFlattenedSignature": {
3552
+ "description": "",
3553
+ "arguments": {
3554
+ "$ref": "#/components/schemas/CreateJwsFlattenedArgs"
3555
+ },
3556
+ "returnType": {
3557
+ "$ref": "#/components/schemas/JwsJsonFlattened"
3558
+ }
3559
+ },
3560
+ "jwtCreateJwsJsonGeneralSignature": {
3561
+ "description": "",
3562
+ "arguments": {
3563
+ "$ref": "#/components/schemas/CreateJwsJsonArgs"
3564
+ },
3565
+ "returnType": {
3566
+ "$ref": "#/components/schemas/JwsJsonGeneral"
3567
+ }
3568
+ },
3569
+ "jwtPrepareJws": {
3570
+ "description": "",
3571
+ "arguments": {
3572
+ "$ref": "#/components/schemas/CreateJwsJsonArgs"
3573
+ },
3574
+ "returnType": {
3575
+ "$ref": "#/components/schemas/PreparedJwsObject"
3576
+ }
3577
+ },
3578
+ "jwtVerifyJwsSignature": {
3579
+ "description": "",
3580
+ "arguments": {
3581
+ "$ref": "#/components/schemas/VerifyJwsArgs"
3582
+ },
3583
+ "returnType": {
3584
+ "$ref": "#/components/schemas/IJwsValidationResult"
2039
3585
  }
2040
3586
  }
2041
3587
  }