web-pki 2.17.0-alpha.1 → 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`. */
@@ -1042,6 +1046,11 @@ export namespace LacunaWebPKI {
1042
1046
  v1_7_0 = '1.7.0',
1043
1047
  v1_7_2 = '1.7.2',
1044
1048
  v1_8_0 = '1.8.0',
1049
+ v1_8_1 = '1.8.1',
1050
+ v1_8_2 = '1.8.2',
1051
+ v1_8_3 = '1.8.3',
1052
+ v1_8_4 = '1.8.4',
1053
+ v1_8_5 = '1.8.5',
1045
1054
  v1_9_0 = '1.9.0',
1046
1055
  }
1047
1056
 
package/lacuna-web-pki.js CHANGED
@@ -130,15 +130,15 @@ LacunaWebPKI = function (license) {
130
130
  $._edgeExtensionId = 'nedeegdmhlnmboboahchfpkmdnnemapd';
131
131
  $._edgeLegacyProductId = 'd2798a85-9698-425a-add7-3db79a39ca8a';
132
132
  $._chromeExtensionFirstVersionWithSelfUpdate = '2.0.20';
133
- $._jslibVersion = '2.17.0-alpha.1';
133
+ $._jslibVersion = '2.17.0';
134
134
  $._mobileSupported = 'true' === 'true';
135
135
  $._buildChannel = 'stable';
136
136
 
137
137
  // latest components version ----------------------
138
- $._extensionRequiredVersion = '2.16.0';
139
- $._chromeNativeWinRequiredVersion = '2.12.1';
140
- $._chromeNativeLinuxRequiredVersion = '2.13.1';
141
- $._chromeNativeMacRequiredVersion = '2.13.1';
138
+ $._extensionRequiredVersion = '1.0.0';
139
+ $._chromeNativeWinRequiredVersion = '2.12.7';
140
+ $._chromeNativeLinuxRequiredVersion = '2.13.3';
141
+ $._chromeNativeMacRequiredVersion = '2.13.5';
142
142
  $._ieAddonRequiredVersion = '2.9.1';
143
143
  $._mobileRequiredVersion = '3.2.0';
144
144
  // ------------------------------------------------
@@ -192,6 +192,9 @@ LacunaWebPKI = function (license) {
192
192
  v1_7_2: '1.7.2',
193
193
  v1_8_0: '1.8.0',
194
194
  v1_8_1: '1.8.1',
195
+ v1_8_2: '1.8.2',
196
+ v1_8_3: '1.8.3',
197
+ v1_8_4: '1.8.4',
195
198
  v1_9_0: '1.9.0',
196
199
  latest: 'latest'
197
200
  };
@@ -221,7 +224,11 @@ LacunaWebPKI = function (license) {
221
224
  $._apiMap.nativeWin[$.apiVersions.v1_7_2] = '2.11.0';
222
225
  $._apiMap.nativeWin[$.apiVersions.v1_8_0] = '2.12.0';
223
226
  $._apiMap.nativeWin[$.apiVersions.v1_8_1] = '2.12.1';
224
- $._apiMap.nativeWin[$.apiVersions.v1_9_0] = '2.12.1';
227
+ $._apiMap.nativeWin[$.apiVersions.v1_8_2] = '2.12.3';
228
+ $._apiMap.nativeWin[$.apiVersions.v1_8_3] = '2.12.6';
229
+ $._apiMap.nativeWin[$.apiVersions.v1_8_4] = '2.12.7';
230
+ $._apiMap.nativeWin[$.apiVersions.v1_8_5] = '2.13.0';
231
+ $._apiMap.nativeWin[$.apiVersions.v1_9_0] = '2.12.3';
225
232
 
226
233
  // IE
227
234
  $._apiMap.ieAddon[$.apiVersions.v1_0] = '2.0.4';
@@ -239,6 +246,10 @@ LacunaWebPKI = function (license) {
239
246
  $._apiMap.ieAddon[$.apiVersions.v1_7_2] = '2.8.0';
240
247
  $._apiMap.ieAddon[$.apiVersions.v1_8_0] = '2.9.0';
241
248
  $._apiMap.ieAddon[$.apiVersions.v1_8_1] = '2.9.1';
249
+ $._apiMap.ieAddon[$.apiVersions.v1_8_2] = '2.9.1';
250
+ $._apiMap.ieAddon[$.apiVersions.v1_8_3] = '2.9.1';
251
+ $._apiMap.ieAddon[$.apiVersions.v1_8_4] = '2.9.1';
252
+ $._apiMap.ieAddon[$.apiVersions.v1_8_5] = '2.9.1';
242
253
  $._apiMap.ieAddon[$.apiVersions.v1_9_0] = '2.9.1';
243
254
 
244
255
  // Linux
@@ -257,7 +268,11 @@ LacunaWebPKI = function (license) {
257
268
  $._apiMap.nativeLinux[$.apiVersions.v1_7_2] = '2.12.1';
258
269
  $._apiMap.nativeLinux[$.apiVersions.v1_8_0] = '2.13.0';
259
270
  $._apiMap.nativeLinux[$.apiVersions.v1_8_1] = '2.13.1';
260
- $._apiMap.nativeLinux[$.apiVersions.v1_9_0] = '2.13.1';
271
+ $._apiMap.nativeLinux[$.apiVersions.v1_8_2] = '2.13.3';
272
+ $._apiMap.nativeLinux[$.apiVersions.v1_8_3] = '2.13.3';
273
+ $._apiMap.nativeLinux[$.apiVersions.v1_8_4] = '2.13.3';
274
+ $._apiMap.nativeLinux[$.apiVersions.v1_8_5] = '2.13.3';
275
+ $._apiMap.nativeLinux[$.apiVersions.v1_9_0] = '2.13.3';
261
276
 
262
277
  // Mac
263
278
  $._apiMap.nativeMac[$.apiVersions.v1_0] = '2.3.0';
@@ -275,7 +290,11 @@ LacunaWebPKI = function (license) {
275
290
  $._apiMap.nativeMac[$.apiVersions.v1_7_2] = '2.12.1';
276
291
  $._apiMap.nativeMac[$.apiVersions.v1_8_0] = '2.13.0';
277
292
  $._apiMap.nativeMac[$.apiVersions.v1_8_1] = '2.13.1';
278
- $._apiMap.nativeMac[$.apiVersions.v1_9_0] = '2.13.1';
293
+ $._apiMap.nativeMac[$.apiVersions.v1_8_2] = '2.13.3';
294
+ $._apiMap.nativeMac[$.apiVersions.v1_8_3] = '2.13.5';
295
+ $._apiMap.nativeMac[$.apiVersions.v1_8_4] = '2.13.5';
296
+ $._apiMap.nativeMac[$.apiVersions.v1_8_5] = '2.13.5';
297
+ $._apiMap.nativeMac[$.apiVersions.v1_9_0] = '2.13.3';
279
298
 
280
299
  // WebExtension
281
300
  $._apiMap.extension[$.apiVersions.v1_0] = '2.3.2';
@@ -293,6 +312,10 @@ LacunaWebPKI = function (license) {
293
312
  $._apiMap.extension[$.apiVersions.v1_7_2] = '2.16.0';
294
313
  $._apiMap.extension[$.apiVersions.v1_8_0] = '2.16.0';
295
314
  $._apiMap.extension[$.apiVersions.v1_8_1] = '2.16.0';
315
+ $._apiMap.extension[$.apiVersions.v1_8_2] = '2.16.0';
316
+ $._apiMap.extension[$.apiVersions.v1_8_3] = '2.16.0';
317
+ $._apiMap.extension[$.apiVersions.v1_8_4] = '2.16.0';
318
+ $._apiMap.extension[$.apiVersions.v1_8_5] = '2.16.0';
296
319
  $._apiMap.extension[$.apiVersions.v1_9_0] = '2.17.0';
297
320
 
298
321
  // Mobile
@@ -311,6 +334,10 @@ LacunaWebPKI = function (license) {
311
334
  $._apiMap.mobile[$.apiVersions.v1_7_2] = '3.0.0';
312
335
  $._apiMap.mobile[$.apiVersions.v1_8_0] = '3.2.0';
313
336
  $._apiMap.mobile[$.apiVersions.v1_8_1] = '3.2.0';
337
+ $._apiMap.mobile[$.apiVersions.v1_8_2] = '3.2.0';
338
+ $._apiMap.mobile[$.apiVersions.v1_8_3] = '3.2.0';
339
+ $._apiMap.mobile[$.apiVersions.v1_8_4] = '3.2.0';
340
+ $._apiMap.mobile[$.apiVersions.v1_8_5] = '3.2.0';
314
341
  $._apiMap.mobile[$.apiVersions.v1_9_0] = '3.2.0';
315
342
 
316
343
  // All latest
@@ -1455,6 +1482,7 @@ LacunaWebPKI = function (license) {
1455
1482
  pkcs11Modules: $._getRequestOsP11Modules(args.pkcs11Modules),
1456
1483
  tokenSerialNumber: args.tokenSerialNumber,
1457
1484
  certificateContent: args.certificateContent,
1485
+ caCertificates: args.caCertificates,
1458
1486
  certificateLabel: args.certificateLabel,
1459
1487
  enableUsedPkcs11Module: args.enableUsedPkcs11Module
1460
1488
  };
@@ -1468,6 +1496,7 @@ LacunaWebPKI = function (license) {
1468
1496
  var request = {
1469
1497
  privateKeyId: args.privateKeyId,
1470
1498
  certificateContent: args.certificateContent,
1499
+ caCertificates: args.caCertificates,
1471
1500
  passwordPolicies: args.passwordPolicies,
1472
1501
  passwordMinLength: args.passwordMinLength,
1473
1502
  savePkcs12: args.savePkcs12
@@ -1663,6 +1692,7 @@ LacunaWebPKI = function (license) {
1663
1692
  requestId: requestId,
1664
1693
  license: context.license,
1665
1694
  useDomainNativePool: context.useDomainNativePool,
1695
+ jslibVersion: $._jslibVersion,
1666
1696
  command: command,
1667
1697
  request: request
1668
1698
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-pki",
3
- "version": "2.17.0-alpha.1",
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",