web-pki 2.16.5 → 2.17.0-alpha02

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.
@@ -901,6 +901,8 @@ export declare class LacunaWebPKI {
901
901
  tokenSerialNumber?: string,
902
902
  /** The digital certificate content (PEM or Base64 encoded DER bytes formats). */
903
903
  certificateContent: string,
904
+ /** The CA certificates chain array (PEM or Base64 encoded DER bytes formats) to be imported on both the system CAs store and token objects. */
905
+ caCertificates?: string[],
904
906
  /** A label for the imported certificate object in the token. If not set, the same key Id is used. */
905
907
  certificateLabel?: string,
906
908
  /** Whether or not to auto enable the used PKCS#11 module after command success. The **default** is `true` */
@@ -920,6 +922,8 @@ export declare class LacunaWebPKI {
920
922
  privateKeyId?: string,
921
923
  /** The digital certificate content (PEM or Base64 encoded DER bytes formats). */
922
924
  certificateContent: string,
925
+ /** The CA certificates chain array (PEM or Base64 encoded DER bytes formats) to be imported on both the system CAs store and PFX file (PKCS#12 if set `savePkcs12`). */
926
+ caCertificates?: string[],
923
927
  /** A password secure level policy for the PFX file backup. Applies only if `savePkcs12` is `true`. */
924
928
  passwordPolicies?: LacunaWebPKI.PasswordPolicies,
925
929
  /** A password required minimum length for the PFX file backup. Applies only if `savePkcs12` is `true`. */
@@ -1046,6 +1050,7 @@ export namespace LacunaWebPKI {
1046
1050
  v1_8_2 = '1.8.2',
1047
1051
  v1_8_3 = '1.8.3',
1048
1052
  v1_8_4 = '1.8.4',
1053
+ v1_8_5 = '1.8.5',
1049
1054
  v1_9_0 = '1.9.0',
1050
1055
  }
1051
1056
 
package/lacuna-web-pki.js CHANGED
@@ -130,7 +130,7 @@ LacunaWebPKI = function (license) {
130
130
  $._edgeExtensionId = 'nedeegdmhlnmboboahchfpkmdnnemapd';
131
131
  $._edgeLegacyProductId = 'd2798a85-9698-425a-add7-3db79a39ca8a';
132
132
  $._chromeExtensionFirstVersionWithSelfUpdate = '2.0.20';
133
- $._jslibVersion = '2.16.5';
133
+ $._jslibVersion = '2.17.0';
134
134
  $._mobileSupported = 'true' === 'true';
135
135
  $._buildChannel = 'stable';
136
136
 
@@ -227,6 +227,7 @@ LacunaWebPKI = function (license) {
227
227
  $._apiMap.nativeWin[$.apiVersions.v1_8_2] = '2.12.3';
228
228
  $._apiMap.nativeWin[$.apiVersions.v1_8_3] = '2.12.6';
229
229
  $._apiMap.nativeWin[$.apiVersions.v1_8_4] = '2.12.7';
230
+ $._apiMap.nativeWin[$.apiVersions.v1_8_5] = '2.13.0';
230
231
  $._apiMap.nativeWin[$.apiVersions.v1_9_0] = '2.12.3';
231
232
 
232
233
  // IE
@@ -248,6 +249,7 @@ LacunaWebPKI = function (license) {
248
249
  $._apiMap.ieAddon[$.apiVersions.v1_8_2] = '2.9.1';
249
250
  $._apiMap.ieAddon[$.apiVersions.v1_8_3] = '2.9.1';
250
251
  $._apiMap.ieAddon[$.apiVersions.v1_8_4] = '2.9.1';
252
+ $._apiMap.ieAddon[$.apiVersions.v1_8_5] = '2.9.1';
251
253
  $._apiMap.ieAddon[$.apiVersions.v1_9_0] = '2.9.1';
252
254
 
253
255
  // Linux
@@ -269,6 +271,7 @@ LacunaWebPKI = function (license) {
269
271
  $._apiMap.nativeLinux[$.apiVersions.v1_8_2] = '2.13.3';
270
272
  $._apiMap.nativeLinux[$.apiVersions.v1_8_3] = '2.13.3';
271
273
  $._apiMap.nativeLinux[$.apiVersions.v1_8_4] = '2.13.3';
274
+ $._apiMap.nativeLinux[$.apiVersions.v1_8_5] = '2.13.3';
272
275
  $._apiMap.nativeLinux[$.apiVersions.v1_9_0] = '2.13.3';
273
276
 
274
277
  // Mac
@@ -290,6 +293,7 @@ LacunaWebPKI = function (license) {
290
293
  $._apiMap.nativeMac[$.apiVersions.v1_8_2] = '2.13.3';
291
294
  $._apiMap.nativeMac[$.apiVersions.v1_8_3] = '2.13.5';
292
295
  $._apiMap.nativeMac[$.apiVersions.v1_8_4] = '2.13.5';
296
+ $._apiMap.nativeMac[$.apiVersions.v1_8_5] = '2.13.5';
293
297
  $._apiMap.nativeMac[$.apiVersions.v1_9_0] = '2.13.3';
294
298
 
295
299
  // WebExtension
@@ -311,6 +315,7 @@ LacunaWebPKI = function (license) {
311
315
  $._apiMap.extension[$.apiVersions.v1_8_2] = '2.16.0';
312
316
  $._apiMap.extension[$.apiVersions.v1_8_3] = '2.16.0';
313
317
  $._apiMap.extension[$.apiVersions.v1_8_4] = '2.16.0';
318
+ $._apiMap.extension[$.apiVersions.v1_8_5] = '2.16.0';
314
319
  $._apiMap.extension[$.apiVersions.v1_9_0] = '2.17.0';
315
320
 
316
321
  // Mobile
@@ -332,6 +337,7 @@ LacunaWebPKI = function (license) {
332
337
  $._apiMap.mobile[$.apiVersions.v1_8_2] = '3.2.0';
333
338
  $._apiMap.mobile[$.apiVersions.v1_8_3] = '3.2.0';
334
339
  $._apiMap.mobile[$.apiVersions.v1_8_4] = '3.2.0';
340
+ $._apiMap.mobile[$.apiVersions.v1_8_5] = '3.2.0';
335
341
  $._apiMap.mobile[$.apiVersions.v1_9_0] = '3.2.0';
336
342
 
337
343
  // All latest
@@ -1476,6 +1482,7 @@ LacunaWebPKI = function (license) {
1476
1482
  pkcs11Modules: $._getRequestOsP11Modules(args.pkcs11Modules),
1477
1483
  tokenSerialNumber: args.tokenSerialNumber,
1478
1484
  certificateContent: args.certificateContent,
1485
+ caCertificates: args.caCertificates,
1479
1486
  certificateLabel: args.certificateLabel,
1480
1487
  enableUsedPkcs11Module: args.enableUsedPkcs11Module
1481
1488
  };
@@ -1489,6 +1496,7 @@ LacunaWebPKI = function (license) {
1489
1496
  var request = {
1490
1497
  privateKeyId: args.privateKeyId,
1491
1498
  certificateContent: args.certificateContent,
1499
+ caCertificates: args.caCertificates,
1492
1500
  passwordPolicies: args.passwordPolicies,
1493
1501
  passwordMinLength: args.passwordMinLength,
1494
1502
  savePkcs12: args.savePkcs12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-pki",
3
- "version": "2.16.5",
3
+ "version": "2.17.0-alpha02",
4
4
  "description": "The Lacuna Web PKI component enables web applications to interact with digital certificates through javascript, without the need of Java.",
5
5
  "main": "lacuna-web-pki.js",
6
6
  "types": "lacuna-web-pki.d.ts",