@sphereon/ssi-sdk.kms-rest-client 0.34.1-feature.SSISDK.70.integrate.digidentity.311 → 0.34.1-feature.SSISDK.82.and.SSISDK.70.345

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.kms-rest-client",
3
3
  "description": "contains the client side to call REST endpoints of a KMS server",
4
- "version": "0.34.1-feature.SSISDK.70.integrate.digidentity.311+490be696",
4
+ "version": "0.34.1-feature.SSISDK.82.and.SSISDK.70.345+e5abbf1a",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
@@ -28,7 +28,7 @@
28
28
  "generate-plugin-schema": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
29
29
  },
30
30
  "dependencies": {
31
- "@sphereon/ssi-types": "0.34.1-feature.SSISDK.70.integrate.digidentity.311+490be696",
31
+ "@sphereon/ssi-types": "0.34.1-feature.SSISDK.82.and.SSISDK.70.345+e5abbf1a",
32
32
  "cross-fetch": "^3.1.8"
33
33
  },
34
34
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  "KMS",
57
57
  "REST"
58
58
  ],
59
- "gitHead": "490be6964cbd50714ef1d11f0de2718a2ff9f24a"
59
+ "gitHead": "e5abbf1a0404fbc2aeb350a248183f70598ffbc0"
60
60
  }
@@ -16,10 +16,7 @@
16
16
  "type": "string"
17
17
  }
18
18
  },
19
- "required": [
20
- "input",
21
- "keyInfo"
22
- ]
19
+ "required": ["input", "keyInfo"]
23
20
  },
24
21
  "KeyInfo": {
25
22
  "type": "object",
@@ -160,56 +157,28 @@
160
157
  "description": "X.509 certificate SHA-256 thumbprint (base64url-encoded)."
161
158
  }
162
159
  },
163
- "required": [
164
- "kty"
165
- ],
160
+ "required": ["kty"],
166
161
  "additionalProperties": false,
167
162
  "description": "Represents a JSON Web Key (JWK) as defined by the JSON Web Key specification."
168
163
  },
169
164
  "JwkKeyType": {
170
165
  "type": "string",
171
- "enum": [
172
- "EC",
173
- "RSA",
174
- "OKP",
175
- "oct"
176
- ],
166
+ "enum": ["EC", "RSA", "OKP", "oct"],
177
167
  "description": "JSON Web Key (JWK) key type parameter identifying the cryptographic algorithm family."
178
168
  },
179
169
  "JwkUse": {
180
170
  "type": "string",
181
- "enum": [
182
- "sig",
183
- "enc"
184
- ],
171
+ "enum": ["sig", "enc"],
185
172
  "description": "Intended use of the key (signing or encryption)."
186
173
  },
187
174
  "KeyOperations": {
188
175
  "type": "string",
189
- "enum": [
190
- "sign",
191
- "verify",
192
- "encrypt",
193
- "decrypt",
194
- "wrapKey",
195
- "unwrapKey",
196
- "deriveKey",
197
- "deriveBits"
198
- ],
176
+ "enum": ["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"],
199
177
  "description": "Specific operations the key is intended for."
200
178
  },
201
179
  "Curve": {
202
180
  "type": "string",
203
- "enum": [
204
- "P-256",
205
- "P-384",
206
- "P-521",
207
- "secp256k1",
208
- "Ed25519",
209
- "Ed448",
210
- "X25519",
211
- "X448"
212
- ],
181
+ "enum": ["P-256", "P-384", "P-521", "secp256k1", "Ed25519", "Ed448", "X25519", "X448"],
213
182
  "description": "Elliptic curve identifier."
214
183
  },
215
184
  "SignatureAlgorithm": {
@@ -232,27 +201,17 @@
232
201
  },
233
202
  "KeyVisibility": {
234
203
  "type": "string",
235
- "enum": [
236
- "PUBLIC",
237
- "PRIVATE"
238
- ],
204
+ "enum": ["PUBLIC", "PRIVATE"],
239
205
  "description": "Indicates the visibility status of a cryptographic key."
240
206
  },
241
207
  "KeyType": {
242
208
  "type": "string",
243
- "enum": [
244
- "OKP",
245
- "EC",
246
- "RSA"
247
- ],
209
+ "enum": ["OKP", "EC", "RSA"],
248
210
  "description": "Cryptographic key type identifier."
249
211
  },
250
212
  "KeyEncoding": {
251
213
  "type": "string",
252
- "enum": [
253
- "COSE",
254
- "JOSE"
255
- ],
214
+ "enum": ["COSE", "JOSE"],
256
215
  "description": "The encoding format of the cryptographic key."
257
216
  },
258
217
  "CreateRawSignatureResponse": {
@@ -263,9 +222,7 @@
263
222
  "description": "The created signature encoded as a base64 string."
264
223
  }
265
224
  },
266
- "required": [
267
- "signature"
268
- ],
225
+ "required": ["signature"],
269
226
  "additionalProperties": false,
270
227
  "description": "Response body containing the created signature."
271
228
  },
@@ -279,9 +236,7 @@
279
236
  "type": "string"
280
237
  }
281
238
  },
282
- "required": [
283
- "aliasOrKid"
284
- ],
239
+ "required": ["aliasOrKid"],
285
240
  "additionalProperties": false
286
241
  },
287
242
  "KmsClientGenerateKeyArgs": {
@@ -320,9 +275,7 @@
320
275
  "$ref": "#/components/schemas/ManagedKeyPair"
321
276
  }
322
277
  },
323
- "required": [
324
- "keyPair"
325
- ],
278
+ "required": ["keyPair"],
326
279
  "additionalProperties": false,
327
280
  "description": "Response body containing a generated key pair."
328
281
  },
@@ -348,12 +301,7 @@
348
301
  "$ref": "#/components/schemas/JoseKeyPair"
349
302
  }
350
303
  },
351
- "required": [
352
- "providerId",
353
- "alias",
354
- "cose",
355
- "jose"
356
- ],
304
+ "required": ["providerId", "alias", "cose", "jose"],
357
305
  "additionalProperties": false,
358
306
  "description": "Represents a key pair used by a crypto provider, encapsulating both JOSE and COSE key pairs."
359
307
  },
@@ -367,9 +315,7 @@
367
315
  "$ref": "#/components/schemas/CoseKey"
368
316
  }
369
317
  },
370
- "required": [
371
- "publicCoseKey"
372
- ],
318
+ "required": ["publicCoseKey"],
373
319
  "additionalProperties": false,
374
320
  "description": "Represents a cryptographic key pair for COSE (CBOR Object Signing and Encryption) operations."
375
321
  },
@@ -422,20 +368,13 @@
422
368
  "description": "X.509 certificate chain as base64-encoded certificates."
423
369
  }
424
370
  },
425
- "required": [
426
- "kty"
427
- ],
371
+ "required": ["kty"],
428
372
  "additionalProperties": false,
429
373
  "description": "Represents a COSE (CBOR Object Signing and Encryption) key in JSON format."
430
374
  },
431
375
  "CoseKeyType": {
432
376
  "type": "number",
433
- "enum": [
434
- 1,
435
- 2,
436
- 3,
437
- 4
438
- ],
377
+ "enum": [1, 2, 3, 4],
439
378
  "description": "COSE key type parameter. 1=OKP (Octet Key Pair), 2=EC2 (Elliptic Curve), 3=RSA, 4=Symmetric."
440
379
  },
441
380
  "JoseKeyPair": {
@@ -448,9 +387,7 @@
448
387
  "$ref": "#/components/schemas/Jwk"
449
388
  }
450
389
  },
451
- "required": [
452
- "publicJwk"
453
- ],
390
+ "required": ["publicJwk"],
454
391
  "additionalProperties": false,
455
392
  "description": "Data class representing a cryptographic key pair used with JOSE (JSON Object Signing and Encryption)."
456
393
  },
@@ -464,9 +401,7 @@
464
401
  "type": "string"
465
402
  }
466
403
  },
467
- "required": [
468
- "aliasOrKid"
469
- ],
404
+ "required": ["aliasOrKid"],
470
405
  "additionalProperties": false
471
406
  },
472
407
  "GetKeyResponse": {
@@ -476,9 +411,7 @@
476
411
  "$ref": "#/components/schemas/ManagedKeyInfo"
477
412
  }
478
413
  },
479
- "required": [
480
- "keyInfo"
481
- ],
414
+ "required": ["keyInfo"],
482
415
  "additionalProperties": false,
483
416
  "description": "Response body containing a managed key."
484
417
  },
@@ -527,11 +460,7 @@
527
460
  "description": "Additional configuration options as key-value pairs."
528
461
  }
529
462
  },
530
- "required": [
531
- "key",
532
- "alias",
533
- "providerId"
534
- ],
463
+ "required": ["key", "alias", "providerId"],
535
464
  "additionalProperties": false,
536
465
  "description": "Represents a managed cryptographic key information that is guaranteed to be present and resolved, part of a KMS providing concrete access to the key."
537
466
  },
@@ -545,9 +474,7 @@
545
474
  "type": "string"
546
475
  }
547
476
  },
548
- "required": [
549
- "providerId"
550
- ],
477
+ "required": ["providerId"],
551
478
  "additionalProperties": false
552
479
  },
553
480
  "KeyProviderResponse": {
@@ -561,20 +488,13 @@
561
488
  "$ref": "#/components/schemas/KeyProviderType"
562
489
  }
563
490
  },
564
- "required": [
565
- "providerId",
566
- "type"
567
- ],
491
+ "required": ["providerId", "type"],
568
492
  "additionalProperties": false,
569
493
  "description": "Response body containing the details of a Key Provider instance."
570
494
  },
571
495
  "KeyProviderType": {
572
496
  "type": "string",
573
- "enum": [
574
- "SOFTWARE",
575
- "AZURE_KEYVAULT",
576
- "AWS_KMS"
577
- ],
497
+ "enum": ["SOFTWARE", "AZURE_KEYVAULT", "AWS_KMS"],
578
498
  "description": "The type of Key Provider. Determines the required configuration settings. - AZURE_KEYVAULT: Microsoft Azure Key Vault or Managed HSM. - AWS_KMS: Amazon Web Services Key Management Service."
579
499
  },
580
500
  "kmsClientGetResolverArgs": {
@@ -587,9 +507,7 @@
587
507
  "type": "string"
588
508
  }
589
509
  },
590
- "required": [
591
- "resolverId"
592
- ],
510
+ "required": ["resolverId"],
593
511
  "additionalProperties": false
594
512
  },
595
513
  "Resolver": {
@@ -614,21 +532,13 @@
614
532
  "description": "List of key types supported by this resolver."
615
533
  }
616
534
  },
617
- "required": [
618
- "resolverId"
619
- ],
535
+ "required": ["resolverId"],
620
536
  "additionalProperties": false,
621
537
  "description": "Represents a key resolver configuration."
622
538
  },
623
539
  "IdentifierMethod": {
624
540
  "type": "string",
625
- "enum": [
626
- "JWK",
627
- "KID",
628
- "COSE_KEY",
629
- "X5C",
630
- "DID"
631
- ],
541
+ "enum": ["JWK", "KID", "COSE_KEY", "X5C", "DID"],
632
542
  "description": "Method used to identify cryptographic keys."
633
543
  },
634
544
  "KmsClientIsValidRawSignatureArgs": {
@@ -648,11 +558,7 @@
648
558
  "type": "string"
649
559
  }
650
560
  },
651
- "required": [
652
- "input",
653
- "keyInfo",
654
- "signature"
655
- ]
561
+ "required": ["input", "keyInfo", "signature"]
656
562
  },
657
563
  "VerifyRawSignatureResponse": {
658
564
  "type": "object",
@@ -662,9 +568,7 @@
662
568
  "description": "Indicates whether the signature is valid or not."
663
569
  }
664
570
  },
665
- "required": [
666
- "isValid"
667
- ],
571
+ "required": ["isValid"],
668
572
  "additionalProperties": false,
669
573
  "description": "Response body containing the details of the signature verification."
670
574
  },
@@ -687,9 +591,7 @@
687
591
  }
688
592
  }
689
593
  },
690
- "required": [
691
- "providers"
692
- ],
594
+ "required": ["providers"],
693
595
  "additionalProperties": false,
694
596
  "description": "Response body containing the details of a Key Provider instance."
695
597
  },
@@ -704,10 +606,7 @@
704
606
  "$ref": "#/components/schemas/KeyProviderType"
705
607
  }
706
608
  },
707
- "required": [
708
- "providerId",
709
- "type"
710
- ],
609
+ "required": ["providerId", "type"],
711
610
  "additionalProperties": false,
712
611
  "description": "Response body containing the details of a Key Provider instance."
713
612
  },
@@ -733,9 +632,7 @@
733
632
  }
734
633
  }
735
634
  },
736
- "required": [
737
- "keyInfos"
738
- ],
635
+ "required": ["keyInfos"],
739
636
  "additionalProperties": false,
740
637
  "description": "Response body containing all the managed keys."
741
638
  },
@@ -758,9 +655,7 @@
758
655
  }
759
656
  }
760
657
  },
761
- "required": [
762
- "resolvers"
763
- ],
658
+ "required": ["resolvers"],
764
659
  "additionalProperties": false,
765
660
  "description": "Response body containing all the resolvers."
766
661
  },
@@ -777,10 +672,7 @@
777
672
  "type": "string"
778
673
  }
779
674
  },
780
- "required": [
781
- "providerId",
782
- "aliasOrKid"
783
- ],
675
+ "required": ["providerId", "aliasOrKid"],
784
676
  "additionalProperties": false
785
677
  },
786
678
  "KmsClientProviderGenerateKeyArgs": {
@@ -810,9 +702,7 @@
810
702
  "type": "string"
811
703
  }
812
704
  },
813
- "required": [
814
- "providerId"
815
- ]
705
+ "required": ["providerId"]
816
706
  },
817
707
  "KmsClientProviderGetKeyArgs": {
818
708
  "type": "object",
@@ -827,10 +717,7 @@
827
717
  "type": "string"
828
718
  }
829
719
  },
830
- "required": [
831
- "providerId",
832
- "aliasOrKid"
833
- ],
720
+ "required": ["providerId", "aliasOrKid"],
834
721
  "additionalProperties": false
835
722
  },
836
723
  "KmsClientProviderListKeysArgs": {
@@ -843,9 +730,7 @@
843
730
  "type": "string"
844
731
  }
845
732
  },
846
- "required": [
847
- "providerId"
848
- ],
733
+ "required": ["providerId"],
849
734
  "additionalProperties": false
850
735
  },
851
736
  "KmsClientProviderStoreKeyArgs": {
@@ -869,10 +754,7 @@
869
754
  "type": "string"
870
755
  }
871
756
  },
872
- "required": [
873
- "keyInfo",
874
- "providerId"
875
- ]
757
+ "required": ["keyInfo", "providerId"]
876
758
  },
877
759
  "ResolvedKeyInfo": {
878
760
  "type": "object",
@@ -919,9 +801,7 @@
919
801
  "description": "Additional configuration options as key-value pairs."
920
802
  }
921
803
  },
922
- "required": [
923
- "key"
924
- ],
804
+ "required": ["key"],
925
805
  "additionalProperties": false,
926
806
  "description": "Represents a resolved cryptographic key information where the key is guaranteed to be present and resolved, providing concrete access to the key."
927
807
  },
@@ -932,9 +812,7 @@
932
812
  "$ref": "#/components/schemas/ManagedKeyInfo"
933
813
  }
934
814
  },
935
- "required": [
936
- "keyInfo"
937
- ],
815
+ "required": ["keyInfo"],
938
816
  "additionalProperties": false,
939
817
  "description": "Response body containing a stored key."
940
818
  },
@@ -966,10 +844,7 @@
966
844
  "$ref": "#/components/schemas/String"
967
845
  }
968
846
  },
969
- "required": [
970
- "keyInfo",
971
- "resolverId"
972
- ]
847
+ "required": ["keyInfo", "resolverId"]
973
848
  },
974
849
  "String": {
975
850
  "type": "object",
@@ -978,9 +853,7 @@
978
853
  "type": "number"
979
854
  }
980
855
  },
981
- "required": [
982
- "length"
983
- ],
856
+ "required": ["length"],
984
857
  "additionalProperties": {
985
858
  "type": "string"
986
859
  }
@@ -1003,9 +876,7 @@
1003
876
  "type": "string"
1004
877
  }
1005
878
  },
1006
- "required": [
1007
- "keyInfo"
1008
- ]
879
+ "required": ["keyInfo"]
1009
880
  }
1010
881
  },
1011
882
  "methods": {
@@ -1165,4 +1036,4 @@
1165
1036
  }
1166
1037
  }
1167
1038
  }
1168
- }
1039
+ }