@sphereon/ssi-sdk.kms-rest-client 0.34.1-feature.IDK.11.52 → 0.34.1-feature.IDK.11.54
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/LICENSE +1 -1
- package/README.md +369 -0
- package/dist/index.cjs +2007 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1362 -23
- package/dist/index.d.ts +1362 -23
- package/dist/index.js +2007 -37
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/agent/KmsRestClient.ts +26 -25
- package/src/index.ts +1 -0
- package/src/types/IKmsRestClient.ts +15 -14
package/dist/index.d.cts
CHANGED
|
@@ -1126,6 +1126,430 @@ var plugin_schema = {
|
|
|
1126
1126
|
IKmsRestClient: IKmsRestClient$1
|
|
1127
1127
|
};
|
|
1128
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* KMS REST Server API
|
|
1131
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1132
|
+
*
|
|
1133
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1134
|
+
* Contact: support@sphereon.com
|
|
1135
|
+
*
|
|
1136
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1137
|
+
* https://openapi-generator.tech
|
|
1138
|
+
* Do not edit the class manually.
|
|
1139
|
+
*/
|
|
1140
|
+
/**
|
|
1141
|
+
* Determines how configuration values are looked up. - VALUE: The actual configuration values are provided directly. - CONFIG_SERVICE: Configuration values are looked up from a configuration service using keys. - SECRET_SERVICE: Configuration values are looked up from a secret service using keys.
|
|
1142
|
+
* @export
|
|
1143
|
+
*/
|
|
1144
|
+
declare const LookupMode: {
|
|
1145
|
+
readonly Value: "VALUE";
|
|
1146
|
+
readonly ConfigService: "CONFIG_SERVICE";
|
|
1147
|
+
readonly SecretService: "SECRET_SERVICE";
|
|
1148
|
+
};
|
|
1149
|
+
type LookupMode = (typeof LookupMode)[keyof typeof LookupMode];
|
|
1150
|
+
declare function instanceOfLookupMode(value: any): boolean;
|
|
1151
|
+
declare function LookupModeFromJSON(json: any): LookupMode;
|
|
1152
|
+
declare function LookupModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): LookupMode;
|
|
1153
|
+
declare function LookupModeToJSON(value?: LookupMode | null): any;
|
|
1154
|
+
declare function LookupModeToJSONTyped(value: any, ignoreDiscriminator: boolean): LookupMode;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* KMS REST Server API
|
|
1158
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1159
|
+
*
|
|
1160
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1161
|
+
* Contact: support@sphereon.com
|
|
1162
|
+
*
|
|
1163
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1164
|
+
* https://openapi-generator.tech
|
|
1165
|
+
* Do not edit the class manually.
|
|
1166
|
+
*/
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Credentials obtained by assuming an IAM role.
|
|
1170
|
+
* @export
|
|
1171
|
+
* @interface AwsAssumeRoleCredentials
|
|
1172
|
+
*/
|
|
1173
|
+
interface AwsAssumeRoleCredentials {
|
|
1174
|
+
/**
|
|
1175
|
+
* The Amazon Resource Name (ARN) of the role to assume.
|
|
1176
|
+
* @type {string}
|
|
1177
|
+
* @memberof AwsAssumeRoleCredentials
|
|
1178
|
+
*/
|
|
1179
|
+
roleArn: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* An identifier for the assumed role session. Use characters compatible with file systems.
|
|
1182
|
+
* @type {string}
|
|
1183
|
+
* @memberof AwsAssumeRoleCredentials
|
|
1184
|
+
*/
|
|
1185
|
+
roleSessionName: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* An optional external ID that might be required by the role's trust policy.
|
|
1188
|
+
* @type {string}
|
|
1189
|
+
* @memberof AwsAssumeRoleCredentials
|
|
1190
|
+
*/
|
|
1191
|
+
externalId?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
*
|
|
1194
|
+
* @type {LookupMode}
|
|
1195
|
+
* @memberof AwsAssumeRoleCredentials
|
|
1196
|
+
*/
|
|
1197
|
+
lookupMode?: LookupMode;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* Check if a given object implements the AwsAssumeRoleCredentials interface.
|
|
1201
|
+
*/
|
|
1202
|
+
declare function instanceOfAwsAssumeRoleCredentials(value: object): value is AwsAssumeRoleCredentials;
|
|
1203
|
+
declare function AwsAssumeRoleCredentialsFromJSON(json: any): AwsAssumeRoleCredentials;
|
|
1204
|
+
declare function AwsAssumeRoleCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AwsAssumeRoleCredentials;
|
|
1205
|
+
declare function AwsAssumeRoleCredentialsToJSON(json: any): AwsAssumeRoleCredentials;
|
|
1206
|
+
declare function AwsAssumeRoleCredentialsToJSONTyped(value?: AwsAssumeRoleCredentials | null, ignoreDiscriminator?: boolean): any;
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* KMS REST Server API
|
|
1210
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1211
|
+
*
|
|
1212
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1213
|
+
* Contact: support@sphereon.com
|
|
1214
|
+
*
|
|
1215
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1216
|
+
* https://openapi-generator.tech
|
|
1217
|
+
* Do not edit the class manually.
|
|
1218
|
+
*/
|
|
1219
|
+
/**
|
|
1220
|
+
* Optional advanced AWS SDK client settings.
|
|
1221
|
+
* @export
|
|
1222
|
+
* @interface AwsClientConfiguration
|
|
1223
|
+
*/
|
|
1224
|
+
interface AwsClientConfiguration {
|
|
1225
|
+
/**
|
|
1226
|
+
* Amount of time (in milliseconds) to wait when initially establishing a connection before giving up.
|
|
1227
|
+
* @type {number}
|
|
1228
|
+
* @memberof AwsClientConfiguration
|
|
1229
|
+
*/
|
|
1230
|
+
connectionTimeoutInMillis?: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* Amount of time (in milliseconds) to wait for data to be transferred over an established, open connection before timing out.
|
|
1233
|
+
* @type {number}
|
|
1234
|
+
* @memberof AwsClientConfiguration
|
|
1235
|
+
*/
|
|
1236
|
+
socketTimeoutInMillis?: number;
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Check if a given object implements the AwsClientConfiguration interface.
|
|
1240
|
+
*/
|
|
1241
|
+
declare function instanceOfAwsClientConfiguration(value: object): value is AwsClientConfiguration;
|
|
1242
|
+
declare function AwsClientConfigurationFromJSON(json: any): AwsClientConfiguration;
|
|
1243
|
+
declare function AwsClientConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): AwsClientConfiguration;
|
|
1244
|
+
declare function AwsClientConfigurationToJSON(json: any): AwsClientConfiguration;
|
|
1245
|
+
declare function AwsClientConfigurationToJSONTyped(value?: AwsClientConfiguration | null, ignoreDiscriminator?: boolean): any;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* KMS REST Server API
|
|
1249
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1250
|
+
*
|
|
1251
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1252
|
+
* Contact: support@sphereon.com
|
|
1253
|
+
*
|
|
1254
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1255
|
+
* https://openapi-generator.tech
|
|
1256
|
+
* Do not edit the class manually.
|
|
1257
|
+
*/
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Explicit AWS access key ID and secret access key. Use with caution; prefer IAM roles or other mechanisms where possible.
|
|
1261
|
+
* @export
|
|
1262
|
+
* @interface AwsStaticCredentials
|
|
1263
|
+
*/
|
|
1264
|
+
interface AwsStaticCredentials {
|
|
1265
|
+
/**
|
|
1266
|
+
* AWS Access Key ID.
|
|
1267
|
+
* @type {string}
|
|
1268
|
+
* @memberof AwsStaticCredentials
|
|
1269
|
+
*/
|
|
1270
|
+
accesskid: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* AWS Secret Access Key.
|
|
1273
|
+
* @type {string}
|
|
1274
|
+
* @memberof AwsStaticCredentials
|
|
1275
|
+
*/
|
|
1276
|
+
secretAccessKey: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Optional AWS session token, typically used with temporary credentials.
|
|
1279
|
+
* @type {string}
|
|
1280
|
+
* @memberof AwsStaticCredentials
|
|
1281
|
+
*/
|
|
1282
|
+
sessionToken?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @type {LookupMode}
|
|
1286
|
+
* @memberof AwsStaticCredentials
|
|
1287
|
+
*/
|
|
1288
|
+
lookupMode?: LookupMode;
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* Check if a given object implements the AwsStaticCredentials interface.
|
|
1292
|
+
*/
|
|
1293
|
+
declare function instanceOfAwsStaticCredentials(value: object): value is AwsStaticCredentials;
|
|
1294
|
+
declare function AwsStaticCredentialsFromJSON(json: any): AwsStaticCredentials;
|
|
1295
|
+
declare function AwsStaticCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AwsStaticCredentials;
|
|
1296
|
+
declare function AwsStaticCredentialsToJSON(json: any): AwsStaticCredentials;
|
|
1297
|
+
declare function AwsStaticCredentialsToJSONTyped(value?: AwsStaticCredentials | null, ignoreDiscriminator?: boolean): any;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* KMS REST Server API
|
|
1301
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1302
|
+
*
|
|
1303
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1304
|
+
* Contact: support@sphereon.com
|
|
1305
|
+
*
|
|
1306
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1307
|
+
* https://openapi-generator.tech
|
|
1308
|
+
* Do not edit the class manually.
|
|
1309
|
+
*/
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Credentials obtained using a web identity token (e.g., from Cognito, OIDC provider).
|
|
1313
|
+
* @export
|
|
1314
|
+
* @interface AwsWebIdentityTokenCredentials
|
|
1315
|
+
*/
|
|
1316
|
+
interface AwsWebIdentityTokenCredentials {
|
|
1317
|
+
/**
|
|
1318
|
+
* The Amazon Resource Name (ARN) of the role to assume.
|
|
1319
|
+
* @type {string}
|
|
1320
|
+
* @memberof AwsWebIdentityTokenCredentials
|
|
1321
|
+
*/
|
|
1322
|
+
roleArn: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* An identifier for the assumed role session.
|
|
1325
|
+
* @type {string}
|
|
1326
|
+
* @memberof AwsWebIdentityTokenCredentials
|
|
1327
|
+
*/
|
|
1328
|
+
roleSessionName: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* The web identity token (e.g., OIDC token, Cognito token) itself.
|
|
1331
|
+
* @type {string}
|
|
1332
|
+
* @memberof AwsWebIdentityTokenCredentials
|
|
1333
|
+
*/
|
|
1334
|
+
webIdentityToken: string;
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @type {LookupMode}
|
|
1338
|
+
* @memberof AwsWebIdentityTokenCredentials
|
|
1339
|
+
*/
|
|
1340
|
+
lookupMode?: LookupMode;
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* Check if a given object implements the AwsWebIdentityTokenCredentials interface.
|
|
1344
|
+
*/
|
|
1345
|
+
declare function instanceOfAwsWebIdentityTokenCredentials(value: object): value is AwsWebIdentityTokenCredentials;
|
|
1346
|
+
declare function AwsWebIdentityTokenCredentialsFromJSON(json: any): AwsWebIdentityTokenCredentials;
|
|
1347
|
+
declare function AwsWebIdentityTokenCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AwsWebIdentityTokenCredentials;
|
|
1348
|
+
declare function AwsWebIdentityTokenCredentialsToJSON(json: any): AwsWebIdentityTokenCredentials;
|
|
1349
|
+
declare function AwsWebIdentityTokenCredentialsToJSONTyped(value?: AwsWebIdentityTokenCredentials | null, ignoreDiscriminator?: boolean): any;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* KMS REST Server API
|
|
1353
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1354
|
+
*
|
|
1355
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1356
|
+
* Contact: support@sphereon.com
|
|
1357
|
+
*
|
|
1358
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1359
|
+
* https://openapi-generator.tech
|
|
1360
|
+
* Do not edit the class manually.
|
|
1361
|
+
*/
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Configuration settings specific to the AWS_KMS provider type. Defines how to connect and authenticate to AWS KMS. If no specific credential provider is specified, the implementation should rely on the default AWS SDK credential provider chain.
|
|
1365
|
+
* @export
|
|
1366
|
+
* @interface AwsKmsSetting
|
|
1367
|
+
*/
|
|
1368
|
+
interface AwsKmsSetting {
|
|
1369
|
+
/**
|
|
1370
|
+
* The AWS region where the KMS keys reside (e.g., 'us-east-1', 'eu-west-1').
|
|
1371
|
+
* @type {string}
|
|
1372
|
+
* @memberof AwsKmsSetting
|
|
1373
|
+
*/
|
|
1374
|
+
region: string;
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @type {AwsStaticCredentials}
|
|
1378
|
+
* @memberof AwsKmsSetting
|
|
1379
|
+
*/
|
|
1380
|
+
staticCredentials?: AwsStaticCredentials;
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @type {AwsAssumeRoleCredentials}
|
|
1384
|
+
* @memberof AwsKmsSetting
|
|
1385
|
+
*/
|
|
1386
|
+
assumeRoleCredentials?: AwsAssumeRoleCredentials;
|
|
1387
|
+
/**
|
|
1388
|
+
*
|
|
1389
|
+
* @type {AwsWebIdentityTokenCredentials}
|
|
1390
|
+
* @memberof AwsKmsSetting
|
|
1391
|
+
*/
|
|
1392
|
+
webIdentityTokenCredentials?: AwsWebIdentityTokenCredentials;
|
|
1393
|
+
/**
|
|
1394
|
+
* Optional custom endpoint URL for AWS KMS (e.g., for VPC endpoints or local testing).
|
|
1395
|
+
* @type {string}
|
|
1396
|
+
* @memberof AwsKmsSetting
|
|
1397
|
+
*/
|
|
1398
|
+
endpointUrl?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
*
|
|
1401
|
+
* @type {AwsClientConfiguration}
|
|
1402
|
+
* @memberof AwsKmsSetting
|
|
1403
|
+
*/
|
|
1404
|
+
clientConfiguration?: AwsClientConfiguration;
|
|
1405
|
+
}
|
|
1406
|
+
/**
|
|
1407
|
+
* Check if a given object implements the AwsKmsSetting interface.
|
|
1408
|
+
*/
|
|
1409
|
+
declare function instanceOfAwsKmsSetting(value: object): value is AwsKmsSetting;
|
|
1410
|
+
declare function AwsKmsSettingFromJSON(json: any): AwsKmsSetting;
|
|
1411
|
+
declare function AwsKmsSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AwsKmsSetting;
|
|
1412
|
+
declare function AwsKmsSettingToJSON(json: any): AwsKmsSetting;
|
|
1413
|
+
declare function AwsKmsSettingToJSONTyped(value?: AwsKmsSetting | null, ignoreDiscriminator?: boolean): any;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* KMS REST Server API
|
|
1417
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1418
|
+
*
|
|
1419
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1420
|
+
* Contact: support@sphereon.com
|
|
1421
|
+
*
|
|
1422
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1423
|
+
* https://openapi-generator.tech
|
|
1424
|
+
* Do not edit the class manually.
|
|
1425
|
+
*/
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Azure Service Principal credentials using a client secret.
|
|
1429
|
+
* @export
|
|
1430
|
+
* @interface AzureClientSecretCredentialOpts
|
|
1431
|
+
*/
|
|
1432
|
+
interface AzureClientSecretCredentialOpts {
|
|
1433
|
+
/**
|
|
1434
|
+
* The Application (client) ID of the Azure service principal.
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof AzureClientSecretCredentialOpts
|
|
1437
|
+
*/
|
|
1438
|
+
clientId: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* The client secret for the service principal.
|
|
1441
|
+
* @type {string}
|
|
1442
|
+
* @memberof AzureClientSecretCredentialOpts
|
|
1443
|
+
*/
|
|
1444
|
+
clientSecret: string;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {LookupMode}
|
|
1448
|
+
* @memberof AzureClientSecretCredentialOpts
|
|
1449
|
+
*/
|
|
1450
|
+
lookupMode?: LookupMode;
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* Check if a given object implements the AzureClientSecretCredentialOpts interface.
|
|
1454
|
+
*/
|
|
1455
|
+
declare function instanceOfAzureClientSecretCredentialOpts(value: object): value is AzureClientSecretCredentialOpts;
|
|
1456
|
+
declare function AzureClientSecretCredentialOptsFromJSON(json: any): AzureClientSecretCredentialOpts;
|
|
1457
|
+
declare function AzureClientSecretCredentialOptsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureClientSecretCredentialOpts;
|
|
1458
|
+
declare function AzureClientSecretCredentialOptsToJSON(json: any): AzureClientSecretCredentialOpts;
|
|
1459
|
+
declare function AzureClientSecretCredentialOptsToJSONTyped(value?: AzureClientSecretCredentialOpts | null, ignoreDiscriminator?: boolean): any;
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* KMS REST Server API
|
|
1463
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1464
|
+
*
|
|
1465
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1466
|
+
* Contact: support@sphereon.com
|
|
1467
|
+
*
|
|
1468
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1469
|
+
* https://openapi-generator.tech
|
|
1470
|
+
* Do not edit the class manually.
|
|
1471
|
+
*/
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Azure credential options for authenticating to Key Vault. Currently assumes Service Principal with Client Secret.
|
|
1475
|
+
* @export
|
|
1476
|
+
* @interface AzureCredentialOpts
|
|
1477
|
+
*/
|
|
1478
|
+
interface AzureCredentialOpts {
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @type {AzureClientSecretCredentialOpts}
|
|
1482
|
+
* @memberof AzureCredentialOpts
|
|
1483
|
+
*/
|
|
1484
|
+
clientSecretCredentialOpts?: AzureClientSecretCredentialOpts;
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* Check if a given object implements the AzureCredentialOpts interface.
|
|
1488
|
+
*/
|
|
1489
|
+
declare function instanceOfAzureCredentialOpts(value: object): value is AzureCredentialOpts;
|
|
1490
|
+
declare function AzureCredentialOptsFromJSON(json: any): AzureCredentialOpts;
|
|
1491
|
+
declare function AzureCredentialOptsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureCredentialOpts;
|
|
1492
|
+
declare function AzureCredentialOptsToJSON(json: any): AzureCredentialOpts;
|
|
1493
|
+
declare function AzureCredentialOptsToJSONTyped(value?: AzureCredentialOpts | null, ignoreDiscriminator?: boolean): any;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* KMS REST Server API
|
|
1497
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1498
|
+
*
|
|
1499
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1500
|
+
* Contact: support@sphereon.com
|
|
1501
|
+
*
|
|
1502
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1503
|
+
* https://openapi-generator.tech
|
|
1504
|
+
* Do not edit the class manually.
|
|
1505
|
+
*/
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Configuration settings specific to the Azure KeyVault provider type.
|
|
1509
|
+
* @export
|
|
1510
|
+
* @interface AzureKeyVaultSetting
|
|
1511
|
+
*/
|
|
1512
|
+
interface AzureKeyVaultSetting {
|
|
1513
|
+
/**
|
|
1514
|
+
* The URL of the Azure Key Vault or Managed HSM instance.
|
|
1515
|
+
* @type {string}
|
|
1516
|
+
* @memberof AzureKeyVaultSetting
|
|
1517
|
+
*/
|
|
1518
|
+
keyvaultUrl: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* The Azure Active Directory tenant (directory) ID.
|
|
1521
|
+
* @type {string}
|
|
1522
|
+
* @memberof AzureKeyVaultSetting
|
|
1523
|
+
*/
|
|
1524
|
+
tenantId: string;
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @type {AzureCredentialOpts}
|
|
1528
|
+
* @memberof AzureKeyVaultSetting
|
|
1529
|
+
*/
|
|
1530
|
+
credentialOpts: AzureCredentialOpts;
|
|
1531
|
+
/**
|
|
1532
|
+
* An optional identifier for your application using the Key Vault.
|
|
1533
|
+
* @type {string}
|
|
1534
|
+
* @memberof AzureKeyVaultSetting
|
|
1535
|
+
*/
|
|
1536
|
+
applicationId?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @type {LookupMode}
|
|
1540
|
+
* @memberof AzureKeyVaultSetting
|
|
1541
|
+
*/
|
|
1542
|
+
lookupMode?: LookupMode;
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* Check if a given object implements the AzureKeyVaultSetting interface.
|
|
1546
|
+
*/
|
|
1547
|
+
declare function instanceOfAzureKeyVaultSetting(value: object): value is AzureKeyVaultSetting;
|
|
1548
|
+
declare function AzureKeyVaultSettingFromJSON(json: any): AzureKeyVaultSetting;
|
|
1549
|
+
declare function AzureKeyVaultSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureKeyVaultSetting;
|
|
1550
|
+
declare function AzureKeyVaultSettingToJSON(json: any): AzureKeyVaultSetting;
|
|
1551
|
+
declare function AzureKeyVaultSettingToJSONTyped(value?: AzureKeyVaultSetting | null, ignoreDiscriminator?: boolean): any;
|
|
1552
|
+
|
|
1129
1553
|
/**
|
|
1130
1554
|
* KMS REST Server API
|
|
1131
1555
|
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
@@ -1148,6 +1572,11 @@ declare const CoseKeyType: {
|
|
|
1148
1572
|
readonly NUMBER_4: 4;
|
|
1149
1573
|
};
|
|
1150
1574
|
type CoseKeyType = (typeof CoseKeyType)[keyof typeof CoseKeyType];
|
|
1575
|
+
declare function instanceOfCoseKeyType(value: any): boolean;
|
|
1576
|
+
declare function CoseKeyTypeFromJSON(json: any): CoseKeyType;
|
|
1577
|
+
declare function CoseKeyTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoseKeyType;
|
|
1578
|
+
declare function CoseKeyTypeToJSON(value?: CoseKeyType | null): any;
|
|
1579
|
+
declare function CoseKeyTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): CoseKeyType;
|
|
1151
1580
|
|
|
1152
1581
|
/**
|
|
1153
1582
|
* KMS REST Server API
|
|
@@ -1228,6 +1657,14 @@ interface CoseKey {
|
|
|
1228
1657
|
*/
|
|
1229
1658
|
x5chain?: Array<string>;
|
|
1230
1659
|
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Check if a given object implements the CoseKey interface.
|
|
1662
|
+
*/
|
|
1663
|
+
declare function instanceOfCoseKey(value: object): value is CoseKey;
|
|
1664
|
+
declare function CoseKeyFromJSON(json: any): CoseKey;
|
|
1665
|
+
declare function CoseKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoseKey;
|
|
1666
|
+
declare function CoseKeyToJSON(json: any): CoseKey;
|
|
1667
|
+
declare function CoseKeyToJSONTyped(value?: CoseKey | null, ignoreDiscriminator?: boolean): any;
|
|
1231
1668
|
|
|
1232
1669
|
/**
|
|
1233
1670
|
* KMS REST Server API
|
|
@@ -1260,6 +1697,14 @@ interface CoseKeyPair {
|
|
|
1260
1697
|
*/
|
|
1261
1698
|
publicCoseKey: CoseKey;
|
|
1262
1699
|
}
|
|
1700
|
+
/**
|
|
1701
|
+
* Check if a given object implements the CoseKeyPair interface.
|
|
1702
|
+
*/
|
|
1703
|
+
declare function instanceOfCoseKeyPair(value: object): value is CoseKeyPair;
|
|
1704
|
+
declare function CoseKeyPairFromJSON(json: any): CoseKeyPair;
|
|
1705
|
+
declare function CoseKeyPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoseKeyPair;
|
|
1706
|
+
declare function CoseKeyPairToJSON(json: any): CoseKeyPair;
|
|
1707
|
+
declare function CoseKeyPairToJSONTyped(value?: CoseKeyPair | null, ignoreDiscriminator?: boolean): any;
|
|
1263
1708
|
|
|
1264
1709
|
/**
|
|
1265
1710
|
* KMS REST Server API
|
|
@@ -1282,6 +1727,69 @@ declare const KeyProviderType: {
|
|
|
1282
1727
|
readonly AwsKms: "AWS_KMS";
|
|
1283
1728
|
};
|
|
1284
1729
|
type KeyProviderType = (typeof KeyProviderType)[keyof typeof KeyProviderType];
|
|
1730
|
+
declare function instanceOfKeyProviderType(value: any): boolean;
|
|
1731
|
+
declare function KeyProviderTypeFromJSON(json: any): KeyProviderType;
|
|
1732
|
+
declare function KeyProviderTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyProviderType;
|
|
1733
|
+
declare function KeyProviderTypeToJSON(value?: KeyProviderType | null): any;
|
|
1734
|
+
declare function KeyProviderTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyProviderType;
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* KMS REST Server API
|
|
1738
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
1739
|
+
*
|
|
1740
|
+
* The version of the OpenAPI document: 0.0.1
|
|
1741
|
+
* Contact: support@sphereon.com
|
|
1742
|
+
*
|
|
1743
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1744
|
+
* https://openapi-generator.tech
|
|
1745
|
+
* Do not edit the class manually.
|
|
1746
|
+
*/
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Request body for creating a new Key Provider instance.
|
|
1750
|
+
* @export
|
|
1751
|
+
* @interface CreateKeyProvider
|
|
1752
|
+
*/
|
|
1753
|
+
interface CreateKeyProvider {
|
|
1754
|
+
/**
|
|
1755
|
+
*
|
|
1756
|
+
* @type {KeyProviderType}
|
|
1757
|
+
* @memberof CreateKeyProvider
|
|
1758
|
+
*/
|
|
1759
|
+
type: KeyProviderType;
|
|
1760
|
+
/**
|
|
1761
|
+
*
|
|
1762
|
+
* @type {AzureKeyVaultSetting}
|
|
1763
|
+
* @memberof CreateKeyProvider
|
|
1764
|
+
*/
|
|
1765
|
+
azureKeyvaultSettings?: AzureKeyVaultSetting;
|
|
1766
|
+
/**
|
|
1767
|
+
*
|
|
1768
|
+
* @type {AwsKmsSetting}
|
|
1769
|
+
* @memberof CreateKeyProvider
|
|
1770
|
+
*/
|
|
1771
|
+
awsKmsSettings?: AwsKmsSetting;
|
|
1772
|
+
/**
|
|
1773
|
+
* Whether to enable caching for keys retrieved from this provider.
|
|
1774
|
+
* @type {boolean}
|
|
1775
|
+
* @memberof CreateKeyProvider
|
|
1776
|
+
*/
|
|
1777
|
+
cacheEnabled?: boolean;
|
|
1778
|
+
/**
|
|
1779
|
+
* Time-to-live for cached keys in seconds (if cacheEnabled is true).
|
|
1780
|
+
* @type {number}
|
|
1781
|
+
* @memberof CreateKeyProvider
|
|
1782
|
+
*/
|
|
1783
|
+
cacheTTLInSeconds?: number;
|
|
1784
|
+
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Check if a given object implements the CreateKeyProvider interface.
|
|
1787
|
+
*/
|
|
1788
|
+
declare function instanceOfCreateKeyProvider(value: object): value is CreateKeyProvider;
|
|
1789
|
+
declare function CreateKeyProviderFromJSON(json: any): CreateKeyProvider;
|
|
1790
|
+
declare function CreateKeyProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateKeyProvider;
|
|
1791
|
+
declare function CreateKeyProviderToJSON(json: any): CreateKeyProvider;
|
|
1792
|
+
declare function CreateKeyProviderToJSONTyped(value?: CreateKeyProvider | null, ignoreDiscriminator?: boolean): any;
|
|
1285
1793
|
|
|
1286
1794
|
/**
|
|
1287
1795
|
* KMS REST Server API
|
|
@@ -1304,6 +1812,11 @@ declare const KeyType: {
|
|
|
1304
1812
|
readonly Rsa: "RSA";
|
|
1305
1813
|
};
|
|
1306
1814
|
type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
1815
|
+
declare function instanceOfKeyType(value: any): boolean;
|
|
1816
|
+
declare function KeyTypeFromJSON(json: any): KeyType;
|
|
1817
|
+
declare function KeyTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyType;
|
|
1818
|
+
declare function KeyTypeToJSON(value?: KeyType | null): any;
|
|
1819
|
+
declare function KeyTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyType;
|
|
1307
1820
|
|
|
1308
1821
|
/**
|
|
1309
1822
|
* KMS REST Server API
|
|
@@ -1325,6 +1838,11 @@ declare const KeyVisibility: {
|
|
|
1325
1838
|
readonly Private: "PRIVATE";
|
|
1326
1839
|
};
|
|
1327
1840
|
type KeyVisibility = (typeof KeyVisibility)[keyof typeof KeyVisibility];
|
|
1841
|
+
declare function instanceOfKeyVisibility(value: any): boolean;
|
|
1842
|
+
declare function KeyVisibilityFromJSON(json: any): KeyVisibility;
|
|
1843
|
+
declare function KeyVisibilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyVisibility;
|
|
1844
|
+
declare function KeyVisibilityToJSON(value?: KeyVisibility | null): any;
|
|
1845
|
+
declare function KeyVisibilityToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyVisibility;
|
|
1328
1846
|
|
|
1329
1847
|
/**
|
|
1330
1848
|
* KMS REST Server API
|
|
@@ -1356,6 +1874,11 @@ declare const SignatureAlgorithm: {
|
|
|
1356
1874
|
readonly RsaSsaPssSha512Mgf1: "RSA_SSA_PSS_SHA512_MGF1";
|
|
1357
1875
|
};
|
|
1358
1876
|
type SignatureAlgorithm = (typeof SignatureAlgorithm)[keyof typeof SignatureAlgorithm];
|
|
1877
|
+
declare function instanceOfSignatureAlgorithm(value: any): boolean;
|
|
1878
|
+
declare function SignatureAlgorithmFromJSON(json: any): SignatureAlgorithm;
|
|
1879
|
+
declare function SignatureAlgorithmFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignatureAlgorithm;
|
|
1880
|
+
declare function SignatureAlgorithmToJSON(value?: SignatureAlgorithm | null): any;
|
|
1881
|
+
declare function SignatureAlgorithmToJSONTyped(value: any, ignoreDiscriminator: boolean): SignatureAlgorithm;
|
|
1359
1882
|
|
|
1360
1883
|
/**
|
|
1361
1884
|
* KMS REST Server API
|
|
@@ -1377,6 +1900,11 @@ declare const KeyEncoding: {
|
|
|
1377
1900
|
readonly Jose: "JOSE";
|
|
1378
1901
|
};
|
|
1379
1902
|
type KeyEncoding = (typeof KeyEncoding)[keyof typeof KeyEncoding];
|
|
1903
|
+
declare function instanceOfKeyEncoding(value: any): boolean;
|
|
1904
|
+
declare function KeyEncodingFromJSON(json: any): KeyEncoding;
|
|
1905
|
+
declare function KeyEncodingFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyEncoding;
|
|
1906
|
+
declare function KeyEncodingToJSON(value?: KeyEncoding | null): any;
|
|
1907
|
+
declare function KeyEncodingToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyEncoding;
|
|
1380
1908
|
|
|
1381
1909
|
/**
|
|
1382
1910
|
* KMS REST Server API
|
|
@@ -1404,6 +1932,11 @@ declare const Curve: {
|
|
|
1404
1932
|
readonly X448: "X448";
|
|
1405
1933
|
};
|
|
1406
1934
|
type Curve = (typeof Curve)[keyof typeof Curve];
|
|
1935
|
+
declare function instanceOfCurve(value: any): boolean;
|
|
1936
|
+
declare function CurveFromJSON(json: any): Curve;
|
|
1937
|
+
declare function CurveFromJSONTyped(json: any, ignoreDiscriminator: boolean): Curve;
|
|
1938
|
+
declare function CurveToJSON(value?: Curve | null): any;
|
|
1939
|
+
declare function CurveToJSONTyped(value: any, ignoreDiscriminator: boolean): Curve;
|
|
1407
1940
|
|
|
1408
1941
|
/**
|
|
1409
1942
|
* KMS REST Server API
|
|
@@ -1431,6 +1964,11 @@ declare const KeyOperations: {
|
|
|
1431
1964
|
readonly DeriveBits: "deriveBits";
|
|
1432
1965
|
};
|
|
1433
1966
|
type KeyOperations = (typeof KeyOperations)[keyof typeof KeyOperations];
|
|
1967
|
+
declare function instanceOfKeyOperations(value: any): boolean;
|
|
1968
|
+
declare function KeyOperationsFromJSON(json: any): KeyOperations;
|
|
1969
|
+
declare function KeyOperationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyOperations;
|
|
1970
|
+
declare function KeyOperationsToJSON(value?: KeyOperations | null): any;
|
|
1971
|
+
declare function KeyOperationsToJSONTyped(value: any, ignoreDiscriminator: boolean): KeyOperations;
|
|
1434
1972
|
|
|
1435
1973
|
/**
|
|
1436
1974
|
* KMS REST Server API
|
|
@@ -1452,6 +1990,11 @@ declare const JwkUse: {
|
|
|
1452
1990
|
readonly Enc: "enc";
|
|
1453
1991
|
};
|
|
1454
1992
|
type JwkUse = (typeof JwkUse)[keyof typeof JwkUse];
|
|
1993
|
+
declare function instanceOfJwkUse(value: any): boolean;
|
|
1994
|
+
declare function JwkUseFromJSON(json: any): JwkUse;
|
|
1995
|
+
declare function JwkUseFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwkUse;
|
|
1996
|
+
declare function JwkUseToJSON(value?: JwkUse | null): any;
|
|
1997
|
+
declare function JwkUseToJSONTyped(value: any, ignoreDiscriminator: boolean): JwkUse;
|
|
1455
1998
|
|
|
1456
1999
|
/**
|
|
1457
2000
|
* KMS REST Server API
|
|
@@ -1475,6 +2018,11 @@ declare const JwkKeyType: {
|
|
|
1475
2018
|
readonly Oct: "oct";
|
|
1476
2019
|
};
|
|
1477
2020
|
type JwkKeyType = (typeof JwkKeyType)[keyof typeof JwkKeyType];
|
|
2021
|
+
declare function instanceOfJwkKeyType(value: any): boolean;
|
|
2022
|
+
declare function JwkKeyTypeFromJSON(json: any): JwkKeyType;
|
|
2023
|
+
declare function JwkKeyTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwkKeyType;
|
|
2024
|
+
declare function JwkKeyTypeToJSON(value?: JwkKeyType | null): any;
|
|
2025
|
+
declare function JwkKeyTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): JwkKeyType;
|
|
1478
2026
|
|
|
1479
2027
|
/**
|
|
1480
2028
|
* KMS REST Server API
|
|
@@ -1621,6 +2169,14 @@ interface Jwk {
|
|
|
1621
2169
|
*/
|
|
1622
2170
|
x5tS256?: string;
|
|
1623
2171
|
}
|
|
2172
|
+
/**
|
|
2173
|
+
* Check if a given object implements the Jwk interface.
|
|
2174
|
+
*/
|
|
2175
|
+
declare function instanceOfJwk(value: object): value is Jwk;
|
|
2176
|
+
declare function JwkFromJSON(json: any): Jwk;
|
|
2177
|
+
declare function JwkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Jwk;
|
|
2178
|
+
declare function JwkToJSON(json: any): Jwk;
|
|
2179
|
+
declare function JwkToJSONTyped(value?: Jwk | null, ignoreDiscriminator?: boolean): any;
|
|
1624
2180
|
|
|
1625
2181
|
/**
|
|
1626
2182
|
* KMS REST Server API
|
|
@@ -1703,6 +2259,14 @@ interface KeyInfo {
|
|
|
1703
2259
|
[key: string]: string;
|
|
1704
2260
|
};
|
|
1705
2261
|
}
|
|
2262
|
+
/**
|
|
2263
|
+
* Check if a given object implements the KeyInfo interface.
|
|
2264
|
+
*/
|
|
2265
|
+
declare function instanceOfKeyInfo(value: object): value is KeyInfo;
|
|
2266
|
+
declare function KeyInfoFromJSON(json: any): KeyInfo;
|
|
2267
|
+
declare function KeyInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyInfo;
|
|
2268
|
+
declare function KeyInfoToJSON(json: any): KeyInfo;
|
|
2269
|
+
declare function KeyInfoToJSONTyped(value?: KeyInfo | null, ignoreDiscriminator?: boolean): any;
|
|
1706
2270
|
|
|
1707
2271
|
/**
|
|
1708
2272
|
* KMS REST Server API
|
|
@@ -1735,6 +2299,14 @@ interface CreateRawSignature {
|
|
|
1735
2299
|
*/
|
|
1736
2300
|
input: string;
|
|
1737
2301
|
}
|
|
2302
|
+
/**
|
|
2303
|
+
* Check if a given object implements the CreateRawSignature interface.
|
|
2304
|
+
*/
|
|
2305
|
+
declare function instanceOfCreateRawSignature(value: object): value is CreateRawSignature;
|
|
2306
|
+
declare function CreateRawSignatureFromJSON(json: any): CreateRawSignature;
|
|
2307
|
+
declare function CreateRawSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRawSignature;
|
|
2308
|
+
declare function CreateRawSignatureToJSON(json: any): CreateRawSignature;
|
|
2309
|
+
declare function CreateRawSignatureToJSONTyped(value?: CreateRawSignature | null, ignoreDiscriminator?: boolean): any;
|
|
1738
2310
|
|
|
1739
2311
|
/**
|
|
1740
2312
|
* KMS REST Server API
|
|
@@ -1760,6 +2332,221 @@ interface CreateRawSignatureResponse {
|
|
|
1760
2332
|
*/
|
|
1761
2333
|
signature: string;
|
|
1762
2334
|
}
|
|
2335
|
+
/**
|
|
2336
|
+
* Check if a given object implements the CreateRawSignatureResponse interface.
|
|
2337
|
+
*/
|
|
2338
|
+
declare function instanceOfCreateRawSignatureResponse(value: object): value is CreateRawSignatureResponse;
|
|
2339
|
+
declare function CreateRawSignatureResponseFromJSON(json: any): CreateRawSignatureResponse;
|
|
2340
|
+
declare function CreateRawSignatureResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRawSignatureResponse;
|
|
2341
|
+
declare function CreateRawSignatureResponseToJSON(json: any): CreateRawSignatureResponse;
|
|
2342
|
+
declare function CreateRawSignatureResponseToJSONTyped(value?: CreateRawSignatureResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* KMS REST Server API
|
|
2346
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2347
|
+
*
|
|
2348
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2349
|
+
* Contact: support@sphereon.com
|
|
2350
|
+
*
|
|
2351
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2352
|
+
* https://openapi-generator.tech
|
|
2353
|
+
* Do not edit the class manually.
|
|
2354
|
+
*/
|
|
2355
|
+
/**
|
|
2356
|
+
* The input data and metadata required for creating a signature.
|
|
2357
|
+
* @export
|
|
2358
|
+
* @interface SignInput
|
|
2359
|
+
*/
|
|
2360
|
+
interface SignInput {
|
|
2361
|
+
/**
|
|
2362
|
+
* The data to be signed, encoded as a base64 string.
|
|
2363
|
+
* @type {string}
|
|
2364
|
+
* @memberof SignInput
|
|
2365
|
+
*/
|
|
2366
|
+
data: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* The signing mode to be used.
|
|
2369
|
+
* @type {string}
|
|
2370
|
+
* @memberof SignInput
|
|
2371
|
+
*/
|
|
2372
|
+
mode?: SignInputModeEnum;
|
|
2373
|
+
/**
|
|
2374
|
+
* Additional metadata to be included in the signature.
|
|
2375
|
+
* @type {{ [key: string]: any; }}
|
|
2376
|
+
* @memberof SignInput
|
|
2377
|
+
*/
|
|
2378
|
+
metadata?: {
|
|
2379
|
+
[key: string]: any;
|
|
2380
|
+
};
|
|
2381
|
+
}
|
|
2382
|
+
/**
|
|
2383
|
+
* @export
|
|
2384
|
+
*/
|
|
2385
|
+
declare const SignInputModeEnum: {
|
|
2386
|
+
readonly Detached: "DETACHED";
|
|
2387
|
+
readonly Attached: "ATTACHED";
|
|
2388
|
+
};
|
|
2389
|
+
type SignInputModeEnum = (typeof SignInputModeEnum)[keyof typeof SignInputModeEnum];
|
|
2390
|
+
/**
|
|
2391
|
+
* Check if a given object implements the SignInput interface.
|
|
2392
|
+
*/
|
|
2393
|
+
declare function instanceOfSignInput(value: object): value is SignInput;
|
|
2394
|
+
declare function SignInputFromJSON(json: any): SignInput;
|
|
2395
|
+
declare function SignInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInput;
|
|
2396
|
+
declare function SignInputToJSON(json: any): SignInput;
|
|
2397
|
+
declare function SignInputToJSONTyped(value?: SignInput | null, ignoreDiscriminator?: boolean): any;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* KMS REST Server API
|
|
2401
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2402
|
+
*
|
|
2403
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2404
|
+
* Contact: support@sphereon.com
|
|
2405
|
+
*
|
|
2406
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2407
|
+
* https://openapi-generator.tech
|
|
2408
|
+
* Do not edit the class manually.
|
|
2409
|
+
*/
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* Request body for creating a digital signature.
|
|
2413
|
+
* @export
|
|
2414
|
+
* @interface CreateSimpleSignature
|
|
2415
|
+
*/
|
|
2416
|
+
interface CreateSimpleSignature {
|
|
2417
|
+
/**
|
|
2418
|
+
*
|
|
2419
|
+
* @type {SignInput}
|
|
2420
|
+
* @memberof CreateSimpleSignature
|
|
2421
|
+
*/
|
|
2422
|
+
signInput: SignInput;
|
|
2423
|
+
/**
|
|
2424
|
+
*
|
|
2425
|
+
* @type {KeyInfo}
|
|
2426
|
+
* @memberof CreateSimpleSignature
|
|
2427
|
+
*/
|
|
2428
|
+
keyInfo: KeyInfo;
|
|
2429
|
+
/**
|
|
2430
|
+
*
|
|
2431
|
+
* @type {SignatureAlgorithm}
|
|
2432
|
+
* @memberof CreateSimpleSignature
|
|
2433
|
+
*/
|
|
2434
|
+
signatureAlgorithm?: SignatureAlgorithm;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Check if a given object implements the CreateSimpleSignature interface.
|
|
2438
|
+
*/
|
|
2439
|
+
declare function instanceOfCreateSimpleSignature(value: object): value is CreateSimpleSignature;
|
|
2440
|
+
declare function CreateSimpleSignatureFromJSON(json: any): CreateSimpleSignature;
|
|
2441
|
+
declare function CreateSimpleSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSimpleSignature;
|
|
2442
|
+
declare function CreateSimpleSignatureToJSON(json: any): CreateSimpleSignature;
|
|
2443
|
+
declare function CreateSimpleSignatureToJSONTyped(value?: CreateSimpleSignature | null, ignoreDiscriminator?: boolean): any;
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* KMS REST Server API
|
|
2447
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2448
|
+
*
|
|
2449
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2450
|
+
* Contact: support@sphereon.com
|
|
2451
|
+
*
|
|
2452
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2453
|
+
* https://openapi-generator.tech
|
|
2454
|
+
* Do not edit the class manually.
|
|
2455
|
+
*/
|
|
2456
|
+
/**
|
|
2457
|
+
* Cryptographic algorithm type.
|
|
2458
|
+
* @export
|
|
2459
|
+
*/
|
|
2460
|
+
declare const CryptoAlg: {
|
|
2461
|
+
readonly Ed25519: "ED25519";
|
|
2462
|
+
readonly Ecdsa: "ECDSA";
|
|
2463
|
+
readonly Hmac: "HMAC";
|
|
2464
|
+
readonly Rsa: "RSA";
|
|
2465
|
+
};
|
|
2466
|
+
type CryptoAlg = (typeof CryptoAlg)[keyof typeof CryptoAlg];
|
|
2467
|
+
declare function instanceOfCryptoAlg(value: any): boolean;
|
|
2468
|
+
declare function CryptoAlgFromJSON(json: any): CryptoAlg;
|
|
2469
|
+
declare function CryptoAlgFromJSONTyped(json: any, ignoreDiscriminator: boolean): CryptoAlg;
|
|
2470
|
+
declare function CryptoAlgToJSON(value?: CryptoAlg | null): any;
|
|
2471
|
+
declare function CryptoAlgToJSONTyped(value: any, ignoreDiscriminator: boolean): CryptoAlg;
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* KMS REST Server API
|
|
2475
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2476
|
+
*
|
|
2477
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2478
|
+
* Contact: support@sphereon.com
|
|
2479
|
+
*
|
|
2480
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2481
|
+
* https://openapi-generator.tech
|
|
2482
|
+
* Do not edit the class manually.
|
|
2483
|
+
*/
|
|
2484
|
+
/**
|
|
2485
|
+
* Cryptographic digest (hash) algorithm identifier.
|
|
2486
|
+
* @export
|
|
2487
|
+
*/
|
|
2488
|
+
declare const DigestAlg: {
|
|
2489
|
+
readonly None: "NONE";
|
|
2490
|
+
readonly Sha256: "SHA256";
|
|
2491
|
+
readonly Sha384: "SHA384";
|
|
2492
|
+
readonly Sha512: "SHA512";
|
|
2493
|
+
readonly Sha3256: "SHA3_256";
|
|
2494
|
+
readonly Sha3384: "SHA3_384";
|
|
2495
|
+
readonly Sha3512: "SHA3_512";
|
|
2496
|
+
};
|
|
2497
|
+
type DigestAlg = (typeof DigestAlg)[keyof typeof DigestAlg];
|
|
2498
|
+
declare function instanceOfDigestAlg(value: any): boolean;
|
|
2499
|
+
declare function DigestAlgFromJSON(json: any): DigestAlg;
|
|
2500
|
+
declare function DigestAlgFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigestAlg;
|
|
2501
|
+
declare function DigestAlgToJSON(value?: DigestAlg | null): any;
|
|
2502
|
+
declare function DigestAlgToJSONTyped(value: any, ignoreDiscriminator: boolean): DigestAlg;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* KMS REST Server API
|
|
2506
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2507
|
+
*
|
|
2508
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2509
|
+
* Contact: support@sphereon.com
|
|
2510
|
+
*
|
|
2511
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2512
|
+
* https://openapi-generator.tech
|
|
2513
|
+
* Do not edit the class manually.
|
|
2514
|
+
*/
|
|
2515
|
+
/**
|
|
2516
|
+
*
|
|
2517
|
+
* @export
|
|
2518
|
+
* @interface ErrorResponse
|
|
2519
|
+
*/
|
|
2520
|
+
interface ErrorResponse {
|
|
2521
|
+
/**
|
|
2522
|
+
* Error code identifying the type of error.
|
|
2523
|
+
* @type {string}
|
|
2524
|
+
* @memberof ErrorResponse
|
|
2525
|
+
*/
|
|
2526
|
+
code: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* Human-readable error message.
|
|
2529
|
+
* @type {string}
|
|
2530
|
+
* @memberof ErrorResponse
|
|
2531
|
+
*/
|
|
2532
|
+
message: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* Additional error details.
|
|
2535
|
+
* @type {{ [key: string]: any; }}
|
|
2536
|
+
* @memberof ErrorResponse
|
|
2537
|
+
*/
|
|
2538
|
+
details?: {
|
|
2539
|
+
[key: string]: any;
|
|
2540
|
+
};
|
|
2541
|
+
}
|
|
2542
|
+
/**
|
|
2543
|
+
* Check if a given object implements the ErrorResponse interface.
|
|
2544
|
+
*/
|
|
2545
|
+
declare function instanceOfErrorResponse(value: object): value is ErrorResponse;
|
|
2546
|
+
declare function ErrorResponseFromJSON(json: any): ErrorResponse;
|
|
2547
|
+
declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse;
|
|
2548
|
+
declare function ErrorResponseToJSON(json: any): ErrorResponse;
|
|
2549
|
+
declare function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDiscriminator?: boolean): any;
|
|
1763
2550
|
|
|
1764
2551
|
/**
|
|
1765
2552
|
* KMS REST Server API
|
|
@@ -1804,6 +2591,14 @@ interface GenerateKey {
|
|
|
1804
2591
|
*/
|
|
1805
2592
|
alg?: SignatureAlgorithm;
|
|
1806
2593
|
}
|
|
2594
|
+
/**
|
|
2595
|
+
* Check if a given object implements the GenerateKey interface.
|
|
2596
|
+
*/
|
|
2597
|
+
declare function instanceOfGenerateKey(value: object): value is GenerateKey;
|
|
2598
|
+
declare function GenerateKeyFromJSON(json: any): GenerateKey;
|
|
2599
|
+
declare function GenerateKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateKey;
|
|
2600
|
+
declare function GenerateKeyToJSON(json: any): GenerateKey;
|
|
2601
|
+
declare function GenerateKeyToJSONTyped(value?: GenerateKey | null, ignoreDiscriminator?: boolean): any;
|
|
1807
2602
|
|
|
1808
2603
|
/**
|
|
1809
2604
|
* KMS REST Server API
|
|
@@ -1854,6 +2649,14 @@ interface GenerateKeyGlobal {
|
|
|
1854
2649
|
*/
|
|
1855
2650
|
providerId?: string;
|
|
1856
2651
|
}
|
|
2652
|
+
/**
|
|
2653
|
+
* Check if a given object implements the GenerateKeyGlobal interface.
|
|
2654
|
+
*/
|
|
2655
|
+
declare function instanceOfGenerateKeyGlobal(value: object): value is GenerateKeyGlobal;
|
|
2656
|
+
declare function GenerateKeyGlobalFromJSON(json: any): GenerateKeyGlobal;
|
|
2657
|
+
declare function GenerateKeyGlobalFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateKeyGlobal;
|
|
2658
|
+
declare function GenerateKeyGlobalToJSON(json: any): GenerateKeyGlobal;
|
|
2659
|
+
declare function GenerateKeyGlobalToJSONTyped(value?: GenerateKeyGlobal | null, ignoreDiscriminator?: boolean): any;
|
|
1857
2660
|
|
|
1858
2661
|
/**
|
|
1859
2662
|
* KMS REST Server API
|
|
@@ -1886,6 +2689,14 @@ interface JoseKeyPair {
|
|
|
1886
2689
|
*/
|
|
1887
2690
|
publicJwk: Jwk;
|
|
1888
2691
|
}
|
|
2692
|
+
/**
|
|
2693
|
+
* Check if a given object implements the JoseKeyPair interface.
|
|
2694
|
+
*/
|
|
2695
|
+
declare function instanceOfJoseKeyPair(value: object): value is JoseKeyPair;
|
|
2696
|
+
declare function JoseKeyPairFromJSON(json: any): JoseKeyPair;
|
|
2697
|
+
declare function JoseKeyPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): JoseKeyPair;
|
|
2698
|
+
declare function JoseKeyPairToJSON(json: any): JoseKeyPair;
|
|
2699
|
+
declare function JoseKeyPairToJSONTyped(value?: JoseKeyPair | null, ignoreDiscriminator?: boolean): any;
|
|
1889
2700
|
|
|
1890
2701
|
/**
|
|
1891
2702
|
* KMS REST Server API
|
|
@@ -1936,6 +2747,48 @@ interface ManagedKeyPair {
|
|
|
1936
2747
|
*/
|
|
1937
2748
|
jose: JoseKeyPair;
|
|
1938
2749
|
}
|
|
2750
|
+
/**
|
|
2751
|
+
* Check if a given object implements the ManagedKeyPair interface.
|
|
2752
|
+
*/
|
|
2753
|
+
declare function instanceOfManagedKeyPair(value: object): value is ManagedKeyPair;
|
|
2754
|
+
declare function ManagedKeyPairFromJSON(json: any): ManagedKeyPair;
|
|
2755
|
+
declare function ManagedKeyPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedKeyPair;
|
|
2756
|
+
declare function ManagedKeyPairToJSON(json: any): ManagedKeyPair;
|
|
2757
|
+
declare function ManagedKeyPairToJSONTyped(value?: ManagedKeyPair | null, ignoreDiscriminator?: boolean): any;
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* KMS REST Server API
|
|
2761
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2762
|
+
*
|
|
2763
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2764
|
+
* Contact: support@sphereon.com
|
|
2765
|
+
*
|
|
2766
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2767
|
+
* https://openapi-generator.tech
|
|
2768
|
+
* Do not edit the class manually.
|
|
2769
|
+
*/
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* Response body containing a generated key pair.
|
|
2773
|
+
* @export
|
|
2774
|
+
* @interface GenerateKeyResponse
|
|
2775
|
+
*/
|
|
2776
|
+
interface GenerateKeyResponse {
|
|
2777
|
+
/**
|
|
2778
|
+
*
|
|
2779
|
+
* @type {ManagedKeyPair}
|
|
2780
|
+
* @memberof GenerateKeyResponse
|
|
2781
|
+
*/
|
|
2782
|
+
keyPair: ManagedKeyPair;
|
|
2783
|
+
}
|
|
2784
|
+
/**
|
|
2785
|
+
* Check if a given object implements the GenerateKeyResponse interface.
|
|
2786
|
+
*/
|
|
2787
|
+
declare function instanceOfGenerateKeyResponse(value: object): value is GenerateKeyResponse;
|
|
2788
|
+
declare function GenerateKeyResponseFromJSON(json: any): GenerateKeyResponse;
|
|
2789
|
+
declare function GenerateKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateKeyResponse;
|
|
2790
|
+
declare function GenerateKeyResponseToJSON(json: any): GenerateKeyResponse;
|
|
2791
|
+
declare function GenerateKeyResponseToJSONTyped(value?: GenerateKeyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
1939
2792
|
|
|
1940
2793
|
/**
|
|
1941
2794
|
* KMS REST Server API
|
|
@@ -2005,19 +2858,61 @@ interface ManagedKeyInfo {
|
|
|
2005
2858
|
keyType?: KeyType;
|
|
2006
2859
|
/**
|
|
2007
2860
|
*
|
|
2008
|
-
* @type {KeyEncoding}
|
|
2009
|
-
* @memberof ManagedKeyInfo
|
|
2010
|
-
*/
|
|
2011
|
-
keyEncoding?: KeyEncoding;
|
|
2012
|
-
/**
|
|
2013
|
-
* Additional configuration options as key-value pairs.
|
|
2014
|
-
* @type {{ [key: string]: string; }}
|
|
2015
|
-
* @memberof ManagedKeyInfo
|
|
2861
|
+
* @type {KeyEncoding}
|
|
2862
|
+
* @memberof ManagedKeyInfo
|
|
2863
|
+
*/
|
|
2864
|
+
keyEncoding?: KeyEncoding;
|
|
2865
|
+
/**
|
|
2866
|
+
* Additional configuration options as key-value pairs.
|
|
2867
|
+
* @type {{ [key: string]: string; }}
|
|
2868
|
+
* @memberof ManagedKeyInfo
|
|
2869
|
+
*/
|
|
2870
|
+
opts?: {
|
|
2871
|
+
[key: string]: string;
|
|
2872
|
+
};
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Check if a given object implements the ManagedKeyInfo interface.
|
|
2876
|
+
*/
|
|
2877
|
+
declare function instanceOfManagedKeyInfo(value: object): value is ManagedKeyInfo;
|
|
2878
|
+
declare function ManagedKeyInfoFromJSON(json: any): ManagedKeyInfo;
|
|
2879
|
+
declare function ManagedKeyInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedKeyInfo;
|
|
2880
|
+
declare function ManagedKeyInfoToJSON(json: any): ManagedKeyInfo;
|
|
2881
|
+
declare function ManagedKeyInfoToJSONTyped(value?: ManagedKeyInfo | null, ignoreDiscriminator?: boolean): any;
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* KMS REST Server API
|
|
2885
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
2886
|
+
*
|
|
2887
|
+
* The version of the OpenAPI document: 0.0.1
|
|
2888
|
+
* Contact: support@sphereon.com
|
|
2889
|
+
*
|
|
2890
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2891
|
+
* https://openapi-generator.tech
|
|
2892
|
+
* Do not edit the class manually.
|
|
2893
|
+
*/
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
* Response body containing a managed key.
|
|
2897
|
+
* @export
|
|
2898
|
+
* @interface GetKeyResponse
|
|
2899
|
+
*/
|
|
2900
|
+
interface GetKeyResponse {
|
|
2901
|
+
/**
|
|
2902
|
+
*
|
|
2903
|
+
* @type {ManagedKeyInfo}
|
|
2904
|
+
* @memberof GetKeyResponse
|
|
2016
2905
|
*/
|
|
2017
|
-
|
|
2018
|
-
[key: string]: string;
|
|
2019
|
-
};
|
|
2906
|
+
keyInfo: ManagedKeyInfo;
|
|
2020
2907
|
}
|
|
2908
|
+
/**
|
|
2909
|
+
* Check if a given object implements the GetKeyResponse interface.
|
|
2910
|
+
*/
|
|
2911
|
+
declare function instanceOfGetKeyResponse(value: object): value is GetKeyResponse;
|
|
2912
|
+
declare function GetKeyResponseFromJSON(json: any): GetKeyResponse;
|
|
2913
|
+
declare function GetKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetKeyResponse;
|
|
2914
|
+
declare function GetKeyResponseToJSON(json: any): GetKeyResponse;
|
|
2915
|
+
declare function GetKeyResponseToJSONTyped(value?: GetKeyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2021
2916
|
|
|
2022
2917
|
/**
|
|
2023
2918
|
* KMS REST Server API
|
|
@@ -2042,6 +2937,11 @@ declare const IdentifierMethod: {
|
|
|
2042
2937
|
readonly Did: "DID";
|
|
2043
2938
|
};
|
|
2044
2939
|
type IdentifierMethod = (typeof IdentifierMethod)[keyof typeof IdentifierMethod];
|
|
2940
|
+
declare function instanceOfIdentifierMethod(value: any): boolean;
|
|
2941
|
+
declare function IdentifierMethodFromJSON(json: any): IdentifierMethod;
|
|
2942
|
+
declare function IdentifierMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifierMethod;
|
|
2943
|
+
declare function IdentifierMethodToJSON(value?: IdentifierMethod | null): any;
|
|
2944
|
+
declare function IdentifierMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): IdentifierMethod;
|
|
2045
2945
|
|
|
2046
2946
|
/**
|
|
2047
2947
|
* KMS REST Server API
|
|
@@ -2074,6 +2974,14 @@ interface KeyProvider {
|
|
|
2074
2974
|
*/
|
|
2075
2975
|
type: KeyProviderType;
|
|
2076
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
* Check if a given object implements the KeyProvider interface.
|
|
2979
|
+
*/
|
|
2980
|
+
declare function instanceOfKeyProvider(value: object): value is KeyProvider;
|
|
2981
|
+
declare function KeyProviderFromJSON(json: any): KeyProvider;
|
|
2982
|
+
declare function KeyProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyProvider;
|
|
2983
|
+
declare function KeyProviderToJSON(json: any): KeyProvider;
|
|
2984
|
+
declare function KeyProviderToJSONTyped(value?: KeyProvider | null, ignoreDiscriminator?: boolean): any;
|
|
2077
2985
|
|
|
2078
2986
|
/**
|
|
2079
2987
|
* KMS REST Server API
|
|
@@ -2106,6 +3014,60 @@ interface KeyProviderResponse {
|
|
|
2106
3014
|
*/
|
|
2107
3015
|
type: KeyProviderType;
|
|
2108
3016
|
}
|
|
3017
|
+
/**
|
|
3018
|
+
* Check if a given object implements the KeyProviderResponse interface.
|
|
3019
|
+
*/
|
|
3020
|
+
declare function instanceOfKeyProviderResponse(value: object): value is KeyProviderResponse;
|
|
3021
|
+
declare function KeyProviderResponseFromJSON(json: any): KeyProviderResponse;
|
|
3022
|
+
declare function KeyProviderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyProviderResponse;
|
|
3023
|
+
declare function KeyProviderResponseToJSON(json: any): KeyProviderResponse;
|
|
3024
|
+
declare function KeyProviderResponseToJSONTyped(value?: KeyProviderResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* KMS REST Server API
|
|
3028
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3029
|
+
*
|
|
3030
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3031
|
+
* Contact: support@sphereon.com
|
|
3032
|
+
*
|
|
3033
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3034
|
+
* https://openapi-generator.tech
|
|
3035
|
+
* Do not edit the class manually.
|
|
3036
|
+
*/
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* Represents a key resolver instance with detailed configuration.
|
|
3040
|
+
* @export
|
|
3041
|
+
* @interface KeyResolver
|
|
3042
|
+
*/
|
|
3043
|
+
interface KeyResolver {
|
|
3044
|
+
/**
|
|
3045
|
+
* Unique identifier for the resolver.
|
|
3046
|
+
* @type {string}
|
|
3047
|
+
* @memberof KeyResolver
|
|
3048
|
+
*/
|
|
3049
|
+
resolverId: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* List of identifier methods supported by this resolver.
|
|
3052
|
+
* @type {Array<IdentifierMethod>}
|
|
3053
|
+
* @memberof KeyResolver
|
|
3054
|
+
*/
|
|
3055
|
+
supportedIdentifierMethods?: Array<IdentifierMethod>;
|
|
3056
|
+
/**
|
|
3057
|
+
* List of key types supported by this resolver.
|
|
3058
|
+
* @type {Array<KeyType>}
|
|
3059
|
+
* @memberof KeyResolver
|
|
3060
|
+
*/
|
|
3061
|
+
supportedKeyTypes?: Array<KeyType>;
|
|
3062
|
+
}
|
|
3063
|
+
/**
|
|
3064
|
+
* Check if a given object implements the KeyResolver interface.
|
|
3065
|
+
*/
|
|
3066
|
+
declare function instanceOfKeyResolver(value: object): value is KeyResolver;
|
|
3067
|
+
declare function KeyResolverFromJSON(json: any): KeyResolver;
|
|
3068
|
+
declare function KeyResolverFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyResolver;
|
|
3069
|
+
declare function KeyResolverToJSON(json: any): KeyResolver;
|
|
3070
|
+
declare function KeyResolverToJSONTyped(value?: KeyResolver | null, ignoreDiscriminator?: boolean): any;
|
|
2109
3071
|
|
|
2110
3072
|
/**
|
|
2111
3073
|
* KMS REST Server API
|
|
@@ -2132,6 +3094,14 @@ interface ListKeyProvidersResponse {
|
|
|
2132
3094
|
*/
|
|
2133
3095
|
providers: Array<KeyProvider>;
|
|
2134
3096
|
}
|
|
3097
|
+
/**
|
|
3098
|
+
* Check if a given object implements the ListKeyProvidersResponse interface.
|
|
3099
|
+
*/
|
|
3100
|
+
declare function instanceOfListKeyProvidersResponse(value: object): value is ListKeyProvidersResponse;
|
|
3101
|
+
declare function ListKeyProvidersResponseFromJSON(json: any): ListKeyProvidersResponse;
|
|
3102
|
+
declare function ListKeyProvidersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListKeyProvidersResponse;
|
|
3103
|
+
declare function ListKeyProvidersResponseToJSON(json: any): ListKeyProvidersResponse;
|
|
3104
|
+
declare function ListKeyProvidersResponseToJSONTyped(value?: ListKeyProvidersResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2135
3105
|
|
|
2136
3106
|
/**
|
|
2137
3107
|
* KMS REST Server API
|
|
@@ -2158,6 +3128,14 @@ interface ListKeysResponse {
|
|
|
2158
3128
|
*/
|
|
2159
3129
|
keyInfos: Array<ManagedKeyInfo>;
|
|
2160
3130
|
}
|
|
3131
|
+
/**
|
|
3132
|
+
* Check if a given object implements the ListKeysResponse interface.
|
|
3133
|
+
*/
|
|
3134
|
+
declare function instanceOfListKeysResponse(value: object): value is ListKeysResponse;
|
|
3135
|
+
declare function ListKeysResponseFromJSON(json: any): ListKeysResponse;
|
|
3136
|
+
declare function ListKeysResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListKeysResponse;
|
|
3137
|
+
declare function ListKeysResponseToJSON(json: any): ListKeysResponse;
|
|
3138
|
+
declare function ListKeysResponseToJSONTyped(value?: ListKeysResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2161
3139
|
|
|
2162
3140
|
/**
|
|
2163
3141
|
* KMS REST Server API
|
|
@@ -2196,6 +3174,14 @@ interface Resolver {
|
|
|
2196
3174
|
*/
|
|
2197
3175
|
supportedKeyTypes?: Array<KeyType>;
|
|
2198
3176
|
}
|
|
3177
|
+
/**
|
|
3178
|
+
* Check if a given object implements the Resolver interface.
|
|
3179
|
+
*/
|
|
3180
|
+
declare function instanceOfResolver(value: object): value is Resolver;
|
|
3181
|
+
declare function ResolverFromJSON(json: any): Resolver;
|
|
3182
|
+
declare function ResolverFromJSONTyped(json: any, ignoreDiscriminator: boolean): Resolver;
|
|
3183
|
+
declare function ResolverToJSON(json: any): Resolver;
|
|
3184
|
+
declare function ResolverToJSONTyped(value?: Resolver | null, ignoreDiscriminator?: boolean): any;
|
|
2199
3185
|
|
|
2200
3186
|
/**
|
|
2201
3187
|
* KMS REST Server API
|
|
@@ -2222,6 +3208,97 @@ interface ListResolversResponse {
|
|
|
2222
3208
|
*/
|
|
2223
3209
|
resolvers: Array<Resolver>;
|
|
2224
3210
|
}
|
|
3211
|
+
/**
|
|
3212
|
+
* Check if a given object implements the ListResolversResponse interface.
|
|
3213
|
+
*/
|
|
3214
|
+
declare function instanceOfListResolversResponse(value: object): value is ListResolversResponse;
|
|
3215
|
+
declare function ListResolversResponseFromJSON(json: any): ListResolversResponse;
|
|
3216
|
+
declare function ListResolversResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResolversResponse;
|
|
3217
|
+
declare function ListResolversResponseToJSON(json: any): ListResolversResponse;
|
|
3218
|
+
declare function ListResolversResponseToJSONTyped(value?: ListResolversResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* KMS REST Server API
|
|
3222
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3223
|
+
*
|
|
3224
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3225
|
+
* Contact: support@sphereon.com
|
|
3226
|
+
*
|
|
3227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3228
|
+
* https://openapi-generator.tech
|
|
3229
|
+
* Do not edit the class manually.
|
|
3230
|
+
*/
|
|
3231
|
+
/**
|
|
3232
|
+
* Mask generation function algorithm.
|
|
3233
|
+
* @export
|
|
3234
|
+
*/
|
|
3235
|
+
declare const MaskGenFunction: {
|
|
3236
|
+
readonly Mgf1: "MGF1";
|
|
3237
|
+
};
|
|
3238
|
+
type MaskGenFunction = (typeof MaskGenFunction)[keyof typeof MaskGenFunction];
|
|
3239
|
+
declare function instanceOfMaskGenFunction(value: any): boolean;
|
|
3240
|
+
declare function MaskGenFunctionFromJSON(json: any): MaskGenFunction;
|
|
3241
|
+
declare function MaskGenFunctionFromJSONTyped(json: any, ignoreDiscriminator: boolean): MaskGenFunction;
|
|
3242
|
+
declare function MaskGenFunctionToJSON(value?: MaskGenFunction | null): any;
|
|
3243
|
+
declare function MaskGenFunctionToJSONTyped(value: any, ignoreDiscriminator: boolean): MaskGenFunction;
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* KMS REST Server API
|
|
3247
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3248
|
+
*
|
|
3249
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3250
|
+
* Contact: support@sphereon.com
|
|
3251
|
+
*
|
|
3252
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3253
|
+
* https://openapi-generator.tech
|
|
3254
|
+
* Do not edit the class manually.
|
|
3255
|
+
*/
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Comprehensive information about a provider's cryptographic capabilities.
|
|
3259
|
+
* @export
|
|
3260
|
+
* @interface ProviderCapabilities
|
|
3261
|
+
*/
|
|
3262
|
+
interface ProviderCapabilities {
|
|
3263
|
+
/**
|
|
3264
|
+
* List of key types supported by this provider.
|
|
3265
|
+
* @type {Array<KeyType>}
|
|
3266
|
+
* @memberof ProviderCapabilities
|
|
3267
|
+
*/
|
|
3268
|
+
keyTypes?: Array<KeyType>;
|
|
3269
|
+
/**
|
|
3270
|
+
* List of signature algorithms supported by this provider.
|
|
3271
|
+
* @type {Array<SignatureAlgorithm>}
|
|
3272
|
+
* @memberof ProviderCapabilities
|
|
3273
|
+
*/
|
|
3274
|
+
signatureAlgorithms?: Array<SignatureAlgorithm>;
|
|
3275
|
+
/**
|
|
3276
|
+
* List of digest algorithms supported by this provider.
|
|
3277
|
+
* @type {Array<DigestAlg>}
|
|
3278
|
+
* @memberof ProviderCapabilities
|
|
3279
|
+
*/
|
|
3280
|
+
digests?: Array<DigestAlg>;
|
|
3281
|
+
/**
|
|
3282
|
+
* List of elliptic curves supported by this provider.
|
|
3283
|
+
* @type {Array<Curve>}
|
|
3284
|
+
* @memberof ProviderCapabilities
|
|
3285
|
+
*/
|
|
3286
|
+
curves?: Array<Curve>;
|
|
3287
|
+
/**
|
|
3288
|
+
* List of key operations supported by this provider.
|
|
3289
|
+
* @type {Array<KeyOperations>}
|
|
3290
|
+
* @memberof ProviderCapabilities
|
|
3291
|
+
*/
|
|
3292
|
+
keyOperations?: Array<KeyOperations>;
|
|
3293
|
+
}
|
|
3294
|
+
/**
|
|
3295
|
+
* Check if a given object implements the ProviderCapabilities interface.
|
|
3296
|
+
*/
|
|
3297
|
+
declare function instanceOfProviderCapabilities(value: object): value is ProviderCapabilities;
|
|
3298
|
+
declare function ProviderCapabilitiesFromJSON(json: any): ProviderCapabilities;
|
|
3299
|
+
declare function ProviderCapabilitiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCapabilities;
|
|
3300
|
+
declare function ProviderCapabilitiesToJSON(json: any): ProviderCapabilities;
|
|
3301
|
+
declare function ProviderCapabilitiesToJSONTyped(value?: ProviderCapabilities | null, ignoreDiscriminator?: boolean): any;
|
|
2225
3302
|
|
|
2226
3303
|
/**
|
|
2227
3304
|
* KMS REST Server API
|
|
@@ -2266,6 +3343,14 @@ interface ResolvePublicKey {
|
|
|
2266
3343
|
*/
|
|
2267
3344
|
verifyX509CertificateChain?: boolean;
|
|
2268
3345
|
}
|
|
3346
|
+
/**
|
|
3347
|
+
* Check if a given object implements the ResolvePublicKey interface.
|
|
3348
|
+
*/
|
|
3349
|
+
declare function instanceOfResolvePublicKey(value: object): value is ResolvePublicKey;
|
|
3350
|
+
declare function ResolvePublicKeyFromJSON(json: any): ResolvePublicKey;
|
|
3351
|
+
declare function ResolvePublicKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolvePublicKey;
|
|
3352
|
+
declare function ResolvePublicKeyToJSON(json: any): ResolvePublicKey;
|
|
3353
|
+
declare function ResolvePublicKeyToJSONTyped(value?: ResolvePublicKey | null, ignoreDiscriminator?: boolean): any;
|
|
2269
3354
|
|
|
2270
3355
|
/**
|
|
2271
3356
|
* KMS REST Server API
|
|
@@ -2348,6 +3433,110 @@ interface ResolvedKeyInfo {
|
|
|
2348
3433
|
[key: string]: string;
|
|
2349
3434
|
};
|
|
2350
3435
|
}
|
|
3436
|
+
/**
|
|
3437
|
+
* Check if a given object implements the ResolvedKeyInfo interface.
|
|
3438
|
+
*/
|
|
3439
|
+
declare function instanceOfResolvedKeyInfo(value: object): value is ResolvedKeyInfo;
|
|
3440
|
+
declare function ResolvedKeyInfoFromJSON(json: any): ResolvedKeyInfo;
|
|
3441
|
+
declare function ResolvedKeyInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolvedKeyInfo;
|
|
3442
|
+
declare function ResolvedKeyInfoToJSON(json: any): ResolvedKeyInfo;
|
|
3443
|
+
declare function ResolvedKeyInfoToJSONTyped(value?: ResolvedKeyInfo | null, ignoreDiscriminator?: boolean): any;
|
|
3444
|
+
|
|
3445
|
+
/**
|
|
3446
|
+
* KMS REST Server API
|
|
3447
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3448
|
+
*
|
|
3449
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3450
|
+
* Contact: support@sphereon.com
|
|
3451
|
+
*
|
|
3452
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3453
|
+
* https://openapi-generator.tech
|
|
3454
|
+
* Do not edit the class manually.
|
|
3455
|
+
*/
|
|
3456
|
+
|
|
3457
|
+
/**
|
|
3458
|
+
* A cryptographic signature including the signature value and related information.
|
|
3459
|
+
* @export
|
|
3460
|
+
* @interface Signature
|
|
3461
|
+
*/
|
|
3462
|
+
interface Signature {
|
|
3463
|
+
/**
|
|
3464
|
+
* The signature value, encoded as a base64 string.
|
|
3465
|
+
* @type {string}
|
|
3466
|
+
* @memberof Signature
|
|
3467
|
+
*/
|
|
3468
|
+
value: string;
|
|
3469
|
+
/**
|
|
3470
|
+
*
|
|
3471
|
+
* @type {SignatureAlgorithm}
|
|
3472
|
+
* @memberof Signature
|
|
3473
|
+
*/
|
|
3474
|
+
algorithm: SignatureAlgorithm;
|
|
3475
|
+
/**
|
|
3476
|
+
*
|
|
3477
|
+
* @type {KeyInfo}
|
|
3478
|
+
* @memberof Signature
|
|
3479
|
+
*/
|
|
3480
|
+
keyInfo?: KeyInfo;
|
|
3481
|
+
/**
|
|
3482
|
+
* Additional metadata included in the signature.
|
|
3483
|
+
* @type {{ [key: string]: any; }}
|
|
3484
|
+
* @memberof Signature
|
|
3485
|
+
*/
|
|
3486
|
+
metadata?: {
|
|
3487
|
+
[key: string]: any;
|
|
3488
|
+
};
|
|
3489
|
+
}
|
|
3490
|
+
/**
|
|
3491
|
+
* Check if a given object implements the Signature interface.
|
|
3492
|
+
*/
|
|
3493
|
+
declare function instanceOfSignature(value: object): value is Signature;
|
|
3494
|
+
declare function SignatureFromJSON(json: any): Signature;
|
|
3495
|
+
declare function SignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): Signature;
|
|
3496
|
+
declare function SignatureToJSON(json: any): Signature;
|
|
3497
|
+
declare function SignatureToJSONTyped(value?: Signature | null, ignoreDiscriminator?: boolean): any;
|
|
3498
|
+
|
|
3499
|
+
/**
|
|
3500
|
+
* KMS REST Server API
|
|
3501
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3502
|
+
*
|
|
3503
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3504
|
+
* Contact: support@sphereon.com
|
|
3505
|
+
*
|
|
3506
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3507
|
+
* https://openapi-generator.tech
|
|
3508
|
+
* Do not edit the class manually.
|
|
3509
|
+
*/
|
|
3510
|
+
|
|
3511
|
+
/**
|
|
3512
|
+
* The output of a signature creation operation.
|
|
3513
|
+
* @export
|
|
3514
|
+
* @interface SignOutput
|
|
3515
|
+
*/
|
|
3516
|
+
interface SignOutput {
|
|
3517
|
+
/**
|
|
3518
|
+
*
|
|
3519
|
+
* @type {Signature}
|
|
3520
|
+
* @memberof SignOutput
|
|
3521
|
+
*/
|
|
3522
|
+
signature: Signature;
|
|
3523
|
+
/**
|
|
3524
|
+
* Additional metadata included in the signature output.
|
|
3525
|
+
* @type {{ [key: string]: any; }}
|
|
3526
|
+
* @memberof SignOutput
|
|
3527
|
+
*/
|
|
3528
|
+
metadata?: {
|
|
3529
|
+
[key: string]: any;
|
|
3530
|
+
};
|
|
3531
|
+
}
|
|
3532
|
+
/**
|
|
3533
|
+
* Check if a given object implements the SignOutput interface.
|
|
3534
|
+
*/
|
|
3535
|
+
declare function instanceOfSignOutput(value: object): value is SignOutput;
|
|
3536
|
+
declare function SignOutputFromJSON(json: any): SignOutput;
|
|
3537
|
+
declare function SignOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignOutput;
|
|
3538
|
+
declare function SignOutputToJSON(json: any): SignOutput;
|
|
3539
|
+
declare function SignOutputToJSONTyped(value?: SignOutput | null, ignoreDiscriminator?: boolean): any;
|
|
2351
3540
|
|
|
2352
3541
|
/**
|
|
2353
3542
|
* KMS REST Server API
|
|
@@ -2380,6 +3569,100 @@ interface StoreKey {
|
|
|
2380
3569
|
*/
|
|
2381
3570
|
certChain?: Array<string>;
|
|
2382
3571
|
}
|
|
3572
|
+
/**
|
|
3573
|
+
* Check if a given object implements the StoreKey interface.
|
|
3574
|
+
*/
|
|
3575
|
+
declare function instanceOfStoreKey(value: object): value is StoreKey;
|
|
3576
|
+
declare function StoreKeyFromJSON(json: any): StoreKey;
|
|
3577
|
+
declare function StoreKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreKey;
|
|
3578
|
+
declare function StoreKeyToJSON(json: any): StoreKey;
|
|
3579
|
+
declare function StoreKeyToJSONTyped(value?: StoreKey | null, ignoreDiscriminator?: boolean): any;
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* KMS REST Server API
|
|
3583
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3584
|
+
*
|
|
3585
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3586
|
+
* Contact: support@sphereon.com
|
|
3587
|
+
*
|
|
3588
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3589
|
+
* https://openapi-generator.tech
|
|
3590
|
+
* Do not edit the class manually.
|
|
3591
|
+
*/
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* Response body containing a stored key.
|
|
3595
|
+
* @export
|
|
3596
|
+
* @interface StoreKeyResponse
|
|
3597
|
+
*/
|
|
3598
|
+
interface StoreKeyResponse {
|
|
3599
|
+
/**
|
|
3600
|
+
*
|
|
3601
|
+
* @type {ManagedKeyInfo}
|
|
3602
|
+
* @memberof StoreKeyResponse
|
|
3603
|
+
*/
|
|
3604
|
+
keyInfo: ManagedKeyInfo;
|
|
3605
|
+
}
|
|
3606
|
+
/**
|
|
3607
|
+
* Check if a given object implements the StoreKeyResponse interface.
|
|
3608
|
+
*/
|
|
3609
|
+
declare function instanceOfStoreKeyResponse(value: object): value is StoreKeyResponse;
|
|
3610
|
+
declare function StoreKeyResponseFromJSON(json: any): StoreKeyResponse;
|
|
3611
|
+
declare function StoreKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreKeyResponse;
|
|
3612
|
+
declare function StoreKeyResponseToJSON(json: any): StoreKeyResponse;
|
|
3613
|
+
declare function StoreKeyResponseToJSONTyped(value?: StoreKeyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* KMS REST Server API
|
|
3617
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3618
|
+
*
|
|
3619
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3620
|
+
* Contact: support@sphereon.com
|
|
3621
|
+
*
|
|
3622
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3623
|
+
* https://openapi-generator.tech
|
|
3624
|
+
* Do not edit the class manually.
|
|
3625
|
+
*/
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* Request body for updating an existing Key Provider instance.
|
|
3629
|
+
* @export
|
|
3630
|
+
* @interface UpdateKeyProvider
|
|
3631
|
+
*/
|
|
3632
|
+
interface UpdateKeyProvider {
|
|
3633
|
+
/**
|
|
3634
|
+
*
|
|
3635
|
+
* @type {AzureKeyVaultSetting}
|
|
3636
|
+
* @memberof UpdateKeyProvider
|
|
3637
|
+
*/
|
|
3638
|
+
azureKeyvaultSettings?: AzureKeyVaultSetting;
|
|
3639
|
+
/**
|
|
3640
|
+
*
|
|
3641
|
+
* @type {AwsKmsSetting}
|
|
3642
|
+
* @memberof UpdateKeyProvider
|
|
3643
|
+
*/
|
|
3644
|
+
awsKmsSettings?: AwsKmsSetting;
|
|
3645
|
+
/**
|
|
3646
|
+
* Whether to enable caching for keys retrieved from this provider.
|
|
3647
|
+
* @type {boolean}
|
|
3648
|
+
* @memberof UpdateKeyProvider
|
|
3649
|
+
*/
|
|
3650
|
+
cacheEnabled?: boolean;
|
|
3651
|
+
/**
|
|
3652
|
+
* Time-to-live for cached keys in seconds (if cacheEnabled is true).
|
|
3653
|
+
* @type {number}
|
|
3654
|
+
* @memberof UpdateKeyProvider
|
|
3655
|
+
*/
|
|
3656
|
+
cacheTTLInSeconds?: number;
|
|
3657
|
+
}
|
|
3658
|
+
/**
|
|
3659
|
+
* Check if a given object implements the UpdateKeyProvider interface.
|
|
3660
|
+
*/
|
|
3661
|
+
declare function instanceOfUpdateKeyProvider(value: object): value is UpdateKeyProvider;
|
|
3662
|
+
declare function UpdateKeyProviderFromJSON(json: any): UpdateKeyProvider;
|
|
3663
|
+
declare function UpdateKeyProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateKeyProvider;
|
|
3664
|
+
declare function UpdateKeyProviderToJSON(json: any): UpdateKeyProvider;
|
|
3665
|
+
declare function UpdateKeyProviderToJSONTyped(value?: UpdateKeyProvider | null, ignoreDiscriminator?: boolean): any;
|
|
2383
3666
|
|
|
2384
3667
|
/**
|
|
2385
3668
|
* KMS REST Server API
|
|
@@ -2418,6 +3701,14 @@ interface VerifyRawSignature {
|
|
|
2418
3701
|
*/
|
|
2419
3702
|
signature: string;
|
|
2420
3703
|
}
|
|
3704
|
+
/**
|
|
3705
|
+
* Check if a given object implements the VerifyRawSignature interface.
|
|
3706
|
+
*/
|
|
3707
|
+
declare function instanceOfVerifyRawSignature(value: object): value is VerifyRawSignature;
|
|
3708
|
+
declare function VerifyRawSignatureFromJSON(json: any): VerifyRawSignature;
|
|
3709
|
+
declare function VerifyRawSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyRawSignature;
|
|
3710
|
+
declare function VerifyRawSignatureToJSON(json: any): VerifyRawSignature;
|
|
3711
|
+
declare function VerifyRawSignatureToJSONTyped(value?: VerifyRawSignature | null, ignoreDiscriminator?: boolean): any;
|
|
2421
3712
|
|
|
2422
3713
|
/**
|
|
2423
3714
|
* KMS REST Server API
|
|
@@ -2443,24 +3734,72 @@ interface VerifyRawSignatureResponse {
|
|
|
2443
3734
|
*/
|
|
2444
3735
|
isValid: boolean;
|
|
2445
3736
|
}
|
|
3737
|
+
/**
|
|
3738
|
+
* Check if a given object implements the VerifyRawSignatureResponse interface.
|
|
3739
|
+
*/
|
|
3740
|
+
declare function instanceOfVerifyRawSignatureResponse(value: object): value is VerifyRawSignatureResponse;
|
|
3741
|
+
declare function VerifyRawSignatureResponseFromJSON(json: any): VerifyRawSignatureResponse;
|
|
3742
|
+
declare function VerifyRawSignatureResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyRawSignatureResponse;
|
|
3743
|
+
declare function VerifyRawSignatureResponseToJSON(json: any): VerifyRawSignatureResponse;
|
|
3744
|
+
declare function VerifyRawSignatureResponseToJSONTyped(value?: VerifyRawSignatureResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3745
|
+
|
|
3746
|
+
/**
|
|
3747
|
+
* KMS REST Server API
|
|
3748
|
+
* A REST API for managing cryptographic keys and performing signing and verification operations.
|
|
3749
|
+
*
|
|
3750
|
+
* The version of the OpenAPI document: 0.0.1
|
|
3751
|
+
* Contact: support@sphereon.com
|
|
3752
|
+
*
|
|
3753
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3754
|
+
* https://openapi-generator.tech
|
|
3755
|
+
* Do not edit the class manually.
|
|
3756
|
+
*/
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* Request body for verifying a digital signature.
|
|
3760
|
+
* @export
|
|
3761
|
+
* @interface VerifySimpleSignature
|
|
3762
|
+
*/
|
|
3763
|
+
interface VerifySimpleSignature {
|
|
3764
|
+
/**
|
|
3765
|
+
*
|
|
3766
|
+
* @type {SignInput}
|
|
3767
|
+
* @memberof VerifySimpleSignature
|
|
3768
|
+
*/
|
|
3769
|
+
signInput: SignInput;
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @type {Signature}
|
|
3773
|
+
* @memberof VerifySimpleSignature
|
|
3774
|
+
*/
|
|
3775
|
+
signature: Signature;
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* Check if a given object implements the VerifySimpleSignature interface.
|
|
3779
|
+
*/
|
|
3780
|
+
declare function instanceOfVerifySimpleSignature(value: object): value is VerifySimpleSignature;
|
|
3781
|
+
declare function VerifySimpleSignatureFromJSON(json: any): VerifySimpleSignature;
|
|
3782
|
+
declare function VerifySimpleSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifySimpleSignature;
|
|
3783
|
+
declare function VerifySimpleSignatureToJSON(json: any): VerifySimpleSignature;
|
|
3784
|
+
declare function VerifySimpleSignatureToJSONTyped(value?: VerifySimpleSignature | null, ignoreDiscriminator?: boolean): any;
|
|
2446
3785
|
|
|
2447
3786
|
interface IKmsRestClient extends IPluginMethodMap {
|
|
2448
3787
|
kmsClientGetResolver(args: kmsClientGetResolverArgs): Promise<Resolver>;
|
|
2449
|
-
kmsClientListResolvers(args
|
|
3788
|
+
kmsClientListResolvers(args?: KmsClientListResolversArgs): Promise<ListResolversResponse>;
|
|
2450
3789
|
kmsClientResolveKey(args: KmsClientResolveKeyArgs): Promise<ResolvedKeyInfo>;
|
|
2451
3790
|
kmsClientCreateRawSignature(args: KmsClientCreateRawSignatureArgs): Promise<CreateRawSignatureResponse>;
|
|
2452
3791
|
kmsClientIsValidRawSignature(args: KmsClientIsValidRawSignatureArgs): Promise<VerifyRawSignatureResponse>;
|
|
2453
|
-
kmsClientGetKey(args: KmsClientGetKeyArgs): Promise<
|
|
2454
|
-
kmsClientListKeys(args
|
|
2455
|
-
kmsClientStoreKey(args: KmsClientStoreKeyArgs): Promise<
|
|
2456
|
-
kmsClientGenerateKey(args: KmsClientGenerateKeyArgs): Promise<
|
|
3792
|
+
kmsClientGetKey(args: KmsClientGetKeyArgs): Promise<GetKeyResponse>;
|
|
3793
|
+
kmsClientListKeys(args?: KmsClientListKeysArgs): Promise<ListKeysResponse>;
|
|
3794
|
+
kmsClientStoreKey(args: KmsClientStoreKeyArgs): Promise<StoreKeyResponse>;
|
|
3795
|
+
kmsClientGenerateKey(args: KmsClientGenerateKeyArgs): Promise<GenerateKeyResponse>;
|
|
2457
3796
|
kmsClientDeleteKey(args: KmsClientDeleteKeyArgs): Promise<boolean>;
|
|
2458
3797
|
kmsClientGetKeyProvider(args: KmsClientGetKeyProviderArgs): Promise<KeyProviderResponse>;
|
|
2459
|
-
kmsClientListKeyProviders(args
|
|
3798
|
+
kmsClientListKeyProviders(args?: KmsClientListKeyProvidersArgs): Promise<ListKeyProvidersResponse>;
|
|
2460
3799
|
kmsClientProviderListKeys(args: KmsClientProviderListKeysArgs): Promise<ListKeysResponse>;
|
|
2461
|
-
kmsClientProviderStoreKey(args: KmsClientProviderStoreKeyArgs): Promise<
|
|
2462
|
-
kmsClientProviderGenerateKey(args: KmsClientProviderGenerateKeyArgs): Promise<
|
|
2463
|
-
kmsClientProviderGetKey(args: KmsClientProviderGetKeyArgs): Promise<
|
|
3800
|
+
kmsClientProviderStoreKey(args: KmsClientProviderStoreKeyArgs): Promise<StoreKeyResponse>;
|
|
3801
|
+
kmsClientProviderGenerateKey(args: KmsClientProviderGenerateKeyArgs): Promise<GenerateKeyResponse>;
|
|
3802
|
+
kmsClientProviderGetKey(args: KmsClientProviderGetKeyArgs): Promise<GetKeyResponse>;
|
|
2464
3803
|
kmsClientProviderDeleteKey(args: KmsClientProviderDeleteKeyArgs): Promise<boolean>;
|
|
2465
3804
|
}
|
|
2466
3805
|
type KmsClientListResolversArgs = {
|
|
@@ -2496,11 +3835,11 @@ type KmsClientGenerateKeyArgs = {
|
|
|
2496
3835
|
} & GenerateKeyGlobal;
|
|
2497
3836
|
type KmsClientDeleteKeyArgs = {
|
|
2498
3837
|
baseUrl?: string;
|
|
2499
|
-
aliasOrKid
|
|
3838
|
+
aliasOrKid: string;
|
|
2500
3839
|
};
|
|
2501
3840
|
type KmsClientGetKeyProviderArgs = {
|
|
2502
3841
|
baseUrl?: string;
|
|
2503
|
-
providerId
|
|
3842
|
+
providerId: string;
|
|
2504
3843
|
};
|
|
2505
3844
|
type KmsClientListKeyProvidersArgs = {
|
|
2506
3845
|
baseUrl?: string;
|
|
@@ -2585,4 +3924,4 @@ declare class KmsRestClient implements IAgentPlugin {
|
|
|
2585
3924
|
private addSearchParams;
|
|
2586
3925
|
}
|
|
2587
3926
|
|
|
2588
|
-
export { type IKmsRestClient, type IRequiredContext, type KmsClientCreateRawSignatureArgs, type KmsClientDeleteKeyArgs, type KmsClientGenerateKeyArgs, type KmsClientGetKeyArgs, type KmsClientGetKeyProviderArgs, type KmsClientIsValidRawSignatureArgs, type KmsClientListKeyProvidersArgs, type KmsClientListKeysArgs, type KmsClientListResolversArgs, type KmsClientProviderDeleteKeyArgs, type KmsClientProviderGenerateKeyArgs, type KmsClientProviderGetKeyArgs, type KmsClientProviderListKeysArgs, type KmsClientProviderStoreKeyArgs, type KmsClientResolveKeyArgs, type KmsClientStoreKeyArgs, KmsRestClient, type KmsRestClientArgs, type RestClientAuthenticationOpts, type kmsClientGetResolverArgs, plugin_schema as schema };
|
|
3927
|
+
export { type AwsAssumeRoleCredentials, AwsAssumeRoleCredentialsFromJSON, AwsAssumeRoleCredentialsFromJSONTyped, AwsAssumeRoleCredentialsToJSON, AwsAssumeRoleCredentialsToJSONTyped, type AwsClientConfiguration, AwsClientConfigurationFromJSON, AwsClientConfigurationFromJSONTyped, AwsClientConfigurationToJSON, AwsClientConfigurationToJSONTyped, type AwsKmsSetting, AwsKmsSettingFromJSON, AwsKmsSettingFromJSONTyped, AwsKmsSettingToJSON, AwsKmsSettingToJSONTyped, type AwsStaticCredentials, AwsStaticCredentialsFromJSON, AwsStaticCredentialsFromJSONTyped, AwsStaticCredentialsToJSON, AwsStaticCredentialsToJSONTyped, type AwsWebIdentityTokenCredentials, AwsWebIdentityTokenCredentialsFromJSON, AwsWebIdentityTokenCredentialsFromJSONTyped, AwsWebIdentityTokenCredentialsToJSON, AwsWebIdentityTokenCredentialsToJSONTyped, type AzureClientSecretCredentialOpts, AzureClientSecretCredentialOptsFromJSON, AzureClientSecretCredentialOptsFromJSONTyped, AzureClientSecretCredentialOptsToJSON, AzureClientSecretCredentialOptsToJSONTyped, type AzureCredentialOpts, AzureCredentialOptsFromJSON, AzureCredentialOptsFromJSONTyped, AzureCredentialOptsToJSON, AzureCredentialOptsToJSONTyped, type AzureKeyVaultSetting, AzureKeyVaultSettingFromJSON, AzureKeyVaultSettingFromJSONTyped, AzureKeyVaultSettingToJSON, AzureKeyVaultSettingToJSONTyped, type CoseKey, CoseKeyFromJSON, CoseKeyFromJSONTyped, type CoseKeyPair, CoseKeyPairFromJSON, CoseKeyPairFromJSONTyped, CoseKeyPairToJSON, CoseKeyPairToJSONTyped, CoseKeyToJSON, CoseKeyToJSONTyped, CoseKeyType, CoseKeyTypeFromJSON, CoseKeyTypeFromJSONTyped, CoseKeyTypeToJSON, CoseKeyTypeToJSONTyped, type CreateKeyProvider, CreateKeyProviderFromJSON, CreateKeyProviderFromJSONTyped, CreateKeyProviderToJSON, CreateKeyProviderToJSONTyped, type CreateRawSignature, CreateRawSignatureFromJSON, CreateRawSignatureFromJSONTyped, type CreateRawSignatureResponse, CreateRawSignatureResponseFromJSON, CreateRawSignatureResponseFromJSONTyped, CreateRawSignatureResponseToJSON, CreateRawSignatureResponseToJSONTyped, CreateRawSignatureToJSON, CreateRawSignatureToJSONTyped, type CreateSimpleSignature, CreateSimpleSignatureFromJSON, CreateSimpleSignatureFromJSONTyped, CreateSimpleSignatureToJSON, CreateSimpleSignatureToJSONTyped, CryptoAlg, CryptoAlgFromJSON, CryptoAlgFromJSONTyped, CryptoAlgToJSON, CryptoAlgToJSONTyped, Curve, CurveFromJSON, CurveFromJSONTyped, CurveToJSON, CurveToJSONTyped, DigestAlg, DigestAlgFromJSON, DigestAlgFromJSONTyped, DigestAlgToJSON, DigestAlgToJSONTyped, type ErrorResponse, ErrorResponseFromJSON, ErrorResponseFromJSONTyped, ErrorResponseToJSON, ErrorResponseToJSONTyped, type GenerateKey, GenerateKeyFromJSON, GenerateKeyFromJSONTyped, type GenerateKeyGlobal, GenerateKeyGlobalFromJSON, GenerateKeyGlobalFromJSONTyped, GenerateKeyGlobalToJSON, GenerateKeyGlobalToJSONTyped, type GenerateKeyResponse, GenerateKeyResponseFromJSON, GenerateKeyResponseFromJSONTyped, GenerateKeyResponseToJSON, GenerateKeyResponseToJSONTyped, GenerateKeyToJSON, GenerateKeyToJSONTyped, type GetKeyResponse, GetKeyResponseFromJSON, GetKeyResponseFromJSONTyped, GetKeyResponseToJSON, GetKeyResponseToJSONTyped, type IKmsRestClient, type IRequiredContext, IdentifierMethod, IdentifierMethodFromJSON, IdentifierMethodFromJSONTyped, IdentifierMethodToJSON, IdentifierMethodToJSONTyped, type JoseKeyPair, JoseKeyPairFromJSON, JoseKeyPairFromJSONTyped, JoseKeyPairToJSON, JoseKeyPairToJSONTyped, type Jwk, JwkFromJSON, JwkFromJSONTyped, JwkKeyType, JwkKeyTypeFromJSON, JwkKeyTypeFromJSONTyped, JwkKeyTypeToJSON, JwkKeyTypeToJSONTyped, JwkToJSON, JwkToJSONTyped, JwkUse, JwkUseFromJSON, JwkUseFromJSONTyped, JwkUseToJSON, JwkUseToJSONTyped, KeyEncoding, KeyEncodingFromJSON, KeyEncodingFromJSONTyped, KeyEncodingToJSON, KeyEncodingToJSONTyped, type KeyInfo, KeyInfoFromJSON, KeyInfoFromJSONTyped, KeyInfoToJSON, KeyInfoToJSONTyped, KeyOperations, KeyOperationsFromJSON, KeyOperationsFromJSONTyped, KeyOperationsToJSON, KeyOperationsToJSONTyped, type KeyProvider, KeyProviderFromJSON, KeyProviderFromJSONTyped, type KeyProviderResponse, KeyProviderResponseFromJSON, KeyProviderResponseFromJSONTyped, KeyProviderResponseToJSON, KeyProviderResponseToJSONTyped, KeyProviderToJSON, KeyProviderToJSONTyped, KeyProviderType, KeyProviderTypeFromJSON, KeyProviderTypeFromJSONTyped, KeyProviderTypeToJSON, KeyProviderTypeToJSONTyped, type KeyResolver, KeyResolverFromJSON, KeyResolverFromJSONTyped, KeyResolverToJSON, KeyResolverToJSONTyped, KeyType, KeyTypeFromJSON, KeyTypeFromJSONTyped, KeyTypeToJSON, KeyTypeToJSONTyped, KeyVisibility, KeyVisibilityFromJSON, KeyVisibilityFromJSONTyped, KeyVisibilityToJSON, KeyVisibilityToJSONTyped, type KmsClientCreateRawSignatureArgs, type KmsClientDeleteKeyArgs, type KmsClientGenerateKeyArgs, type KmsClientGetKeyArgs, type KmsClientGetKeyProviderArgs, type KmsClientIsValidRawSignatureArgs, type KmsClientListKeyProvidersArgs, type KmsClientListKeysArgs, type KmsClientListResolversArgs, type KmsClientProviderDeleteKeyArgs, type KmsClientProviderGenerateKeyArgs, type KmsClientProviderGetKeyArgs, type KmsClientProviderListKeysArgs, type KmsClientProviderStoreKeyArgs, type KmsClientResolveKeyArgs, type KmsClientStoreKeyArgs, KmsRestClient, type KmsRestClientArgs, type ListKeyProvidersResponse, ListKeyProvidersResponseFromJSON, ListKeyProvidersResponseFromJSONTyped, ListKeyProvidersResponseToJSON, ListKeyProvidersResponseToJSONTyped, type ListKeysResponse, ListKeysResponseFromJSON, ListKeysResponseFromJSONTyped, ListKeysResponseToJSON, ListKeysResponseToJSONTyped, type ListResolversResponse, ListResolversResponseFromJSON, ListResolversResponseFromJSONTyped, ListResolversResponseToJSON, ListResolversResponseToJSONTyped, LookupMode, LookupModeFromJSON, LookupModeFromJSONTyped, LookupModeToJSON, LookupModeToJSONTyped, type ManagedKeyInfo, ManagedKeyInfoFromJSON, ManagedKeyInfoFromJSONTyped, ManagedKeyInfoToJSON, ManagedKeyInfoToJSONTyped, type ManagedKeyPair, ManagedKeyPairFromJSON, ManagedKeyPairFromJSONTyped, ManagedKeyPairToJSON, ManagedKeyPairToJSONTyped, MaskGenFunction, MaskGenFunctionFromJSON, MaskGenFunctionFromJSONTyped, MaskGenFunctionToJSON, MaskGenFunctionToJSONTyped, type ProviderCapabilities, ProviderCapabilitiesFromJSON, ProviderCapabilitiesFromJSONTyped, ProviderCapabilitiesToJSON, ProviderCapabilitiesToJSONTyped, type ResolvePublicKey, ResolvePublicKeyFromJSON, ResolvePublicKeyFromJSONTyped, ResolvePublicKeyToJSON, ResolvePublicKeyToJSONTyped, type ResolvedKeyInfo, ResolvedKeyInfoFromJSON, ResolvedKeyInfoFromJSONTyped, ResolvedKeyInfoToJSON, ResolvedKeyInfoToJSONTyped, type Resolver, ResolverFromJSON, ResolverFromJSONTyped, ResolverToJSON, ResolverToJSONTyped, type RestClientAuthenticationOpts, type SignInput, SignInputFromJSON, SignInputFromJSONTyped, SignInputModeEnum, SignInputToJSON, SignInputToJSONTyped, type SignOutput, SignOutputFromJSON, SignOutputFromJSONTyped, SignOutputToJSON, SignOutputToJSONTyped, type Signature, SignatureAlgorithm, SignatureAlgorithmFromJSON, SignatureAlgorithmFromJSONTyped, SignatureAlgorithmToJSON, SignatureAlgorithmToJSONTyped, SignatureFromJSON, SignatureFromJSONTyped, SignatureToJSON, SignatureToJSONTyped, type StoreKey, StoreKeyFromJSON, StoreKeyFromJSONTyped, type StoreKeyResponse, StoreKeyResponseFromJSON, StoreKeyResponseFromJSONTyped, StoreKeyResponseToJSON, StoreKeyResponseToJSONTyped, StoreKeyToJSON, StoreKeyToJSONTyped, type UpdateKeyProvider, UpdateKeyProviderFromJSON, UpdateKeyProviderFromJSONTyped, UpdateKeyProviderToJSON, UpdateKeyProviderToJSONTyped, type VerifyRawSignature, VerifyRawSignatureFromJSON, VerifyRawSignatureFromJSONTyped, type VerifyRawSignatureResponse, VerifyRawSignatureResponseFromJSON, VerifyRawSignatureResponseFromJSONTyped, VerifyRawSignatureResponseToJSON, VerifyRawSignatureResponseToJSONTyped, VerifyRawSignatureToJSON, VerifyRawSignatureToJSONTyped, type VerifySimpleSignature, VerifySimpleSignatureFromJSON, VerifySimpleSignatureFromJSONTyped, VerifySimpleSignatureToJSON, VerifySimpleSignatureToJSONTyped, instanceOfAwsAssumeRoleCredentials, instanceOfAwsClientConfiguration, instanceOfAwsKmsSetting, instanceOfAwsStaticCredentials, instanceOfAwsWebIdentityTokenCredentials, instanceOfAzureClientSecretCredentialOpts, instanceOfAzureCredentialOpts, instanceOfAzureKeyVaultSetting, instanceOfCoseKey, instanceOfCoseKeyPair, instanceOfCoseKeyType, instanceOfCreateKeyProvider, instanceOfCreateRawSignature, instanceOfCreateRawSignatureResponse, instanceOfCreateSimpleSignature, instanceOfCryptoAlg, instanceOfCurve, instanceOfDigestAlg, instanceOfErrorResponse, instanceOfGenerateKey, instanceOfGenerateKeyGlobal, instanceOfGenerateKeyResponse, instanceOfGetKeyResponse, instanceOfIdentifierMethod, instanceOfJoseKeyPair, instanceOfJwk, instanceOfJwkKeyType, instanceOfJwkUse, instanceOfKeyEncoding, instanceOfKeyInfo, instanceOfKeyOperations, instanceOfKeyProvider, instanceOfKeyProviderResponse, instanceOfKeyProviderType, instanceOfKeyResolver, instanceOfKeyType, instanceOfKeyVisibility, instanceOfListKeyProvidersResponse, instanceOfListKeysResponse, instanceOfListResolversResponse, instanceOfLookupMode, instanceOfManagedKeyInfo, instanceOfManagedKeyPair, instanceOfMaskGenFunction, instanceOfProviderCapabilities, instanceOfResolvePublicKey, instanceOfResolvedKeyInfo, instanceOfResolver, instanceOfSignInput, instanceOfSignOutput, instanceOfSignature, instanceOfSignatureAlgorithm, instanceOfStoreKey, instanceOfStoreKeyResponse, instanceOfUpdateKeyProvider, instanceOfVerifyRawSignature, instanceOfVerifyRawSignatureResponse, instanceOfVerifySimpleSignature, type kmsClientGetResolverArgs, plugin_schema as schema };
|