@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/dist/index.js CHANGED
@@ -20,10 +20,7 @@ var plugin_schema_default = {
20
20
  type: "string"
21
21
  }
22
22
  },
23
- required: [
24
- "input",
25
- "keyInfo"
26
- ]
23
+ required: ["input", "keyInfo"]
27
24
  },
28
25
  KeyInfo: {
29
26
  type: "object",
@@ -164,56 +161,28 @@ var plugin_schema_default = {
164
161
  description: "X.509 certificate SHA-256 thumbprint (base64url-encoded)."
165
162
  }
166
163
  },
167
- required: [
168
- "kty"
169
- ],
164
+ required: ["kty"],
170
165
  additionalProperties: false,
171
166
  description: "Represents a JSON Web Key (JWK) as defined by the JSON Web Key specification."
172
167
  },
173
168
  JwkKeyType: {
174
169
  type: "string",
175
- enum: [
176
- "EC",
177
- "RSA",
178
- "OKP",
179
- "oct"
180
- ],
170
+ enum: ["EC", "RSA", "OKP", "oct"],
181
171
  description: "JSON Web Key (JWK) key type parameter identifying the cryptographic algorithm family."
182
172
  },
183
173
  JwkUse: {
184
174
  type: "string",
185
- enum: [
186
- "sig",
187
- "enc"
188
- ],
175
+ enum: ["sig", "enc"],
189
176
  description: "Intended use of the key (signing or encryption)."
190
177
  },
191
178
  KeyOperations: {
192
179
  type: "string",
193
- enum: [
194
- "sign",
195
- "verify",
196
- "encrypt",
197
- "decrypt",
198
- "wrapKey",
199
- "unwrapKey",
200
- "deriveKey",
201
- "deriveBits"
202
- ],
180
+ enum: ["sign", "verify", "encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"],
203
181
  description: "Specific operations the key is intended for."
204
182
  },
205
183
  Curve: {
206
184
  type: "string",
207
- enum: [
208
- "P-256",
209
- "P-384",
210
- "P-521",
211
- "secp256k1",
212
- "Ed25519",
213
- "Ed448",
214
- "X25519",
215
- "X448"
216
- ],
185
+ enum: ["P-256", "P-384", "P-521", "secp256k1", "Ed25519", "Ed448", "X25519", "X448"],
217
186
  description: "Elliptic curve identifier."
218
187
  },
219
188
  SignatureAlgorithm: {
@@ -236,27 +205,17 @@ var plugin_schema_default = {
236
205
  },
237
206
  KeyVisibility: {
238
207
  type: "string",
239
- enum: [
240
- "PUBLIC",
241
- "PRIVATE"
242
- ],
208
+ enum: ["PUBLIC", "PRIVATE"],
243
209
  description: "Indicates the visibility status of a cryptographic key."
244
210
  },
245
211
  KeyType: {
246
212
  type: "string",
247
- enum: [
248
- "OKP",
249
- "EC",
250
- "RSA"
251
- ],
213
+ enum: ["OKP", "EC", "RSA"],
252
214
  description: "Cryptographic key type identifier."
253
215
  },
254
216
  KeyEncoding: {
255
217
  type: "string",
256
- enum: [
257
- "COSE",
258
- "JOSE"
259
- ],
218
+ enum: ["COSE", "JOSE"],
260
219
  description: "The encoding format of the cryptographic key."
261
220
  },
262
221
  CreateRawSignatureResponse: {
@@ -267,9 +226,7 @@ var plugin_schema_default = {
267
226
  description: "The created signature encoded as a base64 string."
268
227
  }
269
228
  },
270
- required: [
271
- "signature"
272
- ],
229
+ required: ["signature"],
273
230
  additionalProperties: false,
274
231
  description: "Response body containing the created signature."
275
232
  },
@@ -283,9 +240,7 @@ var plugin_schema_default = {
283
240
  type: "string"
284
241
  }
285
242
  },
286
- required: [
287
- "aliasOrKid"
288
- ],
243
+ required: ["aliasOrKid"],
289
244
  additionalProperties: false
290
245
  },
291
246
  KmsClientGenerateKeyArgs: {
@@ -324,9 +279,7 @@ var plugin_schema_default = {
324
279
  $ref: "#/components/schemas/ManagedKeyPair"
325
280
  }
326
281
  },
327
- required: [
328
- "keyPair"
329
- ],
282
+ required: ["keyPair"],
330
283
  additionalProperties: false,
331
284
  description: "Response body containing a generated key pair."
332
285
  },
@@ -352,12 +305,7 @@ var plugin_schema_default = {
352
305
  $ref: "#/components/schemas/JoseKeyPair"
353
306
  }
354
307
  },
355
- required: [
356
- "providerId",
357
- "alias",
358
- "cose",
359
- "jose"
360
- ],
308
+ required: ["providerId", "alias", "cose", "jose"],
361
309
  additionalProperties: false,
362
310
  description: "Represents a key pair used by a crypto provider, encapsulating both JOSE and COSE key pairs."
363
311
  },
@@ -371,9 +319,7 @@ var plugin_schema_default = {
371
319
  $ref: "#/components/schemas/CoseKey"
372
320
  }
373
321
  },
374
- required: [
375
- "publicCoseKey"
376
- ],
322
+ required: ["publicCoseKey"],
377
323
  additionalProperties: false,
378
324
  description: "Represents a cryptographic key pair for COSE (CBOR Object Signing and Encryption) operations."
379
325
  },
@@ -426,20 +372,13 @@ var plugin_schema_default = {
426
372
  description: "X.509 certificate chain as base64-encoded certificates."
427
373
  }
428
374
  },
429
- required: [
430
- "kty"
431
- ],
375
+ required: ["kty"],
432
376
  additionalProperties: false,
433
377
  description: "Represents a COSE (CBOR Object Signing and Encryption) key in JSON format."
434
378
  },
435
379
  CoseKeyType: {
436
380
  type: "number",
437
- enum: [
438
- 1,
439
- 2,
440
- 3,
441
- 4
442
- ],
381
+ enum: [1, 2, 3, 4],
443
382
  description: "COSE key type parameter. 1=OKP (Octet Key Pair), 2=EC2 (Elliptic Curve), 3=RSA, 4=Symmetric."
444
383
  },
445
384
  JoseKeyPair: {
@@ -452,9 +391,7 @@ var plugin_schema_default = {
452
391
  $ref: "#/components/schemas/Jwk"
453
392
  }
454
393
  },
455
- required: [
456
- "publicJwk"
457
- ],
394
+ required: ["publicJwk"],
458
395
  additionalProperties: false,
459
396
  description: "Data class representing a cryptographic key pair used with JOSE (JSON Object Signing and Encryption)."
460
397
  },
@@ -468,9 +405,7 @@ var plugin_schema_default = {
468
405
  type: "string"
469
406
  }
470
407
  },
471
- required: [
472
- "aliasOrKid"
473
- ],
408
+ required: ["aliasOrKid"],
474
409
  additionalProperties: false
475
410
  },
476
411
  GetKeyResponse: {
@@ -480,9 +415,7 @@ var plugin_schema_default = {
480
415
  $ref: "#/components/schemas/ManagedKeyInfo"
481
416
  }
482
417
  },
483
- required: [
484
- "keyInfo"
485
- ],
418
+ required: ["keyInfo"],
486
419
  additionalProperties: false,
487
420
  description: "Response body containing a managed key."
488
421
  },
@@ -531,11 +464,7 @@ var plugin_schema_default = {
531
464
  description: "Additional configuration options as key-value pairs."
532
465
  }
533
466
  },
534
- required: [
535
- "key",
536
- "alias",
537
- "providerId"
538
- ],
467
+ required: ["key", "alias", "providerId"],
539
468
  additionalProperties: false,
540
469
  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."
541
470
  },
@@ -549,9 +478,7 @@ var plugin_schema_default = {
549
478
  type: "string"
550
479
  }
551
480
  },
552
- required: [
553
- "providerId"
554
- ],
481
+ required: ["providerId"],
555
482
  additionalProperties: false
556
483
  },
557
484
  KeyProviderResponse: {
@@ -565,20 +492,13 @@ var plugin_schema_default = {
565
492
  $ref: "#/components/schemas/KeyProviderType"
566
493
  }
567
494
  },
568
- required: [
569
- "providerId",
570
- "type"
571
- ],
495
+ required: ["providerId", "type"],
572
496
  additionalProperties: false,
573
497
  description: "Response body containing the details of a Key Provider instance."
574
498
  },
575
499
  KeyProviderType: {
576
500
  type: "string",
577
- enum: [
578
- "SOFTWARE",
579
- "AZURE_KEYVAULT",
580
- "AWS_KMS"
581
- ],
501
+ enum: ["SOFTWARE", "AZURE_KEYVAULT", "AWS_KMS"],
582
502
  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."
583
503
  },
584
504
  kmsClientGetResolverArgs: {
@@ -591,9 +511,7 @@ var plugin_schema_default = {
591
511
  type: "string"
592
512
  }
593
513
  },
594
- required: [
595
- "resolverId"
596
- ],
514
+ required: ["resolverId"],
597
515
  additionalProperties: false
598
516
  },
599
517
  Resolver: {
@@ -618,21 +536,13 @@ var plugin_schema_default = {
618
536
  description: "List of key types supported by this resolver."
619
537
  }
620
538
  },
621
- required: [
622
- "resolverId"
623
- ],
539
+ required: ["resolverId"],
624
540
  additionalProperties: false,
625
541
  description: "Represents a key resolver configuration."
626
542
  },
627
543
  IdentifierMethod: {
628
544
  type: "string",
629
- enum: [
630
- "JWK",
631
- "KID",
632
- "COSE_KEY",
633
- "X5C",
634
- "DID"
635
- ],
545
+ enum: ["JWK", "KID", "COSE_KEY", "X5C", "DID"],
636
546
  description: "Method used to identify cryptographic keys."
637
547
  },
638
548
  KmsClientIsValidRawSignatureArgs: {
@@ -652,11 +562,7 @@ var plugin_schema_default = {
652
562
  type: "string"
653
563
  }
654
564
  },
655
- required: [
656
- "input",
657
- "keyInfo",
658
- "signature"
659
- ]
565
+ required: ["input", "keyInfo", "signature"]
660
566
  },
661
567
  VerifyRawSignatureResponse: {
662
568
  type: "object",
@@ -666,9 +572,7 @@ var plugin_schema_default = {
666
572
  description: "Indicates whether the signature is valid or not."
667
573
  }
668
574
  },
669
- required: [
670
- "isValid"
671
- ],
575
+ required: ["isValid"],
672
576
  additionalProperties: false,
673
577
  description: "Response body containing the details of the signature verification."
674
578
  },
@@ -691,9 +595,7 @@ var plugin_schema_default = {
691
595
  }
692
596
  }
693
597
  },
694
- required: [
695
- "providers"
696
- ],
598
+ required: ["providers"],
697
599
  additionalProperties: false,
698
600
  description: "Response body containing the details of a Key Provider instance."
699
601
  },
@@ -708,10 +610,7 @@ var plugin_schema_default = {
708
610
  $ref: "#/components/schemas/KeyProviderType"
709
611
  }
710
612
  },
711
- required: [
712
- "providerId",
713
- "type"
714
- ],
613
+ required: ["providerId", "type"],
715
614
  additionalProperties: false,
716
615
  description: "Response body containing the details of a Key Provider instance."
717
616
  },
@@ -737,9 +636,7 @@ var plugin_schema_default = {
737
636
  }
738
637
  }
739
638
  },
740
- required: [
741
- "keyInfos"
742
- ],
639
+ required: ["keyInfos"],
743
640
  additionalProperties: false,
744
641
  description: "Response body containing all the managed keys."
745
642
  },
@@ -762,9 +659,7 @@ var plugin_schema_default = {
762
659
  }
763
660
  }
764
661
  },
765
- required: [
766
- "resolvers"
767
- ],
662
+ required: ["resolvers"],
768
663
  additionalProperties: false,
769
664
  description: "Response body containing all the resolvers."
770
665
  },
@@ -781,10 +676,7 @@ var plugin_schema_default = {
781
676
  type: "string"
782
677
  }
783
678
  },
784
- required: [
785
- "providerId",
786
- "aliasOrKid"
787
- ],
679
+ required: ["providerId", "aliasOrKid"],
788
680
  additionalProperties: false
789
681
  },
790
682
  KmsClientProviderGenerateKeyArgs: {
@@ -814,9 +706,7 @@ var plugin_schema_default = {
814
706
  type: "string"
815
707
  }
816
708
  },
817
- required: [
818
- "providerId"
819
- ]
709
+ required: ["providerId"]
820
710
  },
821
711
  KmsClientProviderGetKeyArgs: {
822
712
  type: "object",
@@ -831,10 +721,7 @@ var plugin_schema_default = {
831
721
  type: "string"
832
722
  }
833
723
  },
834
- required: [
835
- "providerId",
836
- "aliasOrKid"
837
- ],
724
+ required: ["providerId", "aliasOrKid"],
838
725
  additionalProperties: false
839
726
  },
840
727
  KmsClientProviderListKeysArgs: {
@@ -847,9 +734,7 @@ var plugin_schema_default = {
847
734
  type: "string"
848
735
  }
849
736
  },
850
- required: [
851
- "providerId"
852
- ],
737
+ required: ["providerId"],
853
738
  additionalProperties: false
854
739
  },
855
740
  KmsClientProviderStoreKeyArgs: {
@@ -873,10 +758,7 @@ var plugin_schema_default = {
873
758
  type: "string"
874
759
  }
875
760
  },
876
- required: [
877
- "keyInfo",
878
- "providerId"
879
- ]
761
+ required: ["keyInfo", "providerId"]
880
762
  },
881
763
  ResolvedKeyInfo: {
882
764
  type: "object",
@@ -923,9 +805,7 @@ var plugin_schema_default = {
923
805
  description: "Additional configuration options as key-value pairs."
924
806
  }
925
807
  },
926
- required: [
927
- "key"
928
- ],
808
+ required: ["key"],
929
809
  additionalProperties: false,
930
810
  description: "Represents a resolved cryptographic key information where the key is guaranteed to be present and resolved, providing concrete access to the key."
931
811
  },
@@ -936,9 +816,7 @@ var plugin_schema_default = {
936
816
  $ref: "#/components/schemas/ManagedKeyInfo"
937
817
  }
938
818
  },
939
- required: [
940
- "keyInfo"
941
- ],
819
+ required: ["keyInfo"],
942
820
  additionalProperties: false,
943
821
  description: "Response body containing a stored key."
944
822
  },
@@ -970,10 +848,7 @@ var plugin_schema_default = {
970
848
  $ref: "#/components/schemas/String"
971
849
  }
972
850
  },
973
- required: [
974
- "keyInfo",
975
- "resolverId"
976
- ]
851
+ required: ["keyInfo", "resolverId"]
977
852
  },
978
853
  String: {
979
854
  type: "object",
@@ -982,9 +857,7 @@ var plugin_schema_default = {
982
857
  type: "number"
983
858
  }
984
859
  },
985
- required: [
986
- "length"
987
- ],
860
+ required: ["length"],
988
861
  additionalProperties: {
989
862
  type: "string"
990
863
  }
@@ -1007,9 +880,7 @@ var plugin_schema_default = {
1007
880
  type: "string"
1008
881
  }
1009
882
  },
1010
- required: [
1011
- "keyInfo"
1012
- ]
883
+ required: ["keyInfo"]
1013
884
  }
1014
885
  },
1015
886
  methods: {