web-pki 2.17.0-alpha.1 → 2.17.0-alpha03
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/lacuna-web-pki.d.ts +9 -0
- package/lacuna-web-pki.js +39 -8
- package/package.json +1 -1
package/lacuna-web-pki.d.ts
CHANGED
|
@@ -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
|
|
133
|
+
$._jslibVersion = '2.17.0';
|
|
134
134
|
$._mobileSupported = 'true' === 'true';
|
|
135
135
|
$._buildChannel = 'stable';
|
|
136
136
|
|
|
137
137
|
// latest components version ----------------------
|
|
138
|
-
$._extensionRequiredVersion = '
|
|
139
|
-
$._chromeNativeWinRequiredVersion = '2.12.
|
|
140
|
-
$._chromeNativeLinuxRequiredVersion = '2.13.
|
|
141
|
-
$._chromeNativeMacRequiredVersion = '2.13.
|
|
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,10 @@ 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',
|
|
198
|
+
v1_8_5: '1.8.5',
|
|
195
199
|
v1_9_0: '1.9.0',
|
|
196
200
|
latest: 'latest'
|
|
197
201
|
};
|
|
@@ -221,7 +225,11 @@ LacunaWebPKI = function (license) {
|
|
|
221
225
|
$._apiMap.nativeWin[$.apiVersions.v1_7_2] = '2.11.0';
|
|
222
226
|
$._apiMap.nativeWin[$.apiVersions.v1_8_0] = '2.12.0';
|
|
223
227
|
$._apiMap.nativeWin[$.apiVersions.v1_8_1] = '2.12.1';
|
|
224
|
-
$._apiMap.nativeWin[$.apiVersions.
|
|
228
|
+
$._apiMap.nativeWin[$.apiVersions.v1_8_2] = '2.12.3';
|
|
229
|
+
$._apiMap.nativeWin[$.apiVersions.v1_8_3] = '2.12.6';
|
|
230
|
+
$._apiMap.nativeWin[$.apiVersions.v1_8_4] = '2.12.7';
|
|
231
|
+
$._apiMap.nativeWin[$.apiVersions.v1_8_5] = '2.13.0';
|
|
232
|
+
$._apiMap.nativeWin[$.apiVersions.v1_9_0] = '2.12.3';
|
|
225
233
|
|
|
226
234
|
// IE
|
|
227
235
|
$._apiMap.ieAddon[$.apiVersions.v1_0] = '2.0.4';
|
|
@@ -239,6 +247,10 @@ LacunaWebPKI = function (license) {
|
|
|
239
247
|
$._apiMap.ieAddon[$.apiVersions.v1_7_2] = '2.8.0';
|
|
240
248
|
$._apiMap.ieAddon[$.apiVersions.v1_8_0] = '2.9.0';
|
|
241
249
|
$._apiMap.ieAddon[$.apiVersions.v1_8_1] = '2.9.1';
|
|
250
|
+
$._apiMap.ieAddon[$.apiVersions.v1_8_2] = '2.9.1';
|
|
251
|
+
$._apiMap.ieAddon[$.apiVersions.v1_8_3] = '2.9.1';
|
|
252
|
+
$._apiMap.ieAddon[$.apiVersions.v1_8_4] = '2.9.1';
|
|
253
|
+
$._apiMap.ieAddon[$.apiVersions.v1_8_5] = '2.9.1';
|
|
242
254
|
$._apiMap.ieAddon[$.apiVersions.v1_9_0] = '2.9.1';
|
|
243
255
|
|
|
244
256
|
// Linux
|
|
@@ -257,7 +269,11 @@ LacunaWebPKI = function (license) {
|
|
|
257
269
|
$._apiMap.nativeLinux[$.apiVersions.v1_7_2] = '2.12.1';
|
|
258
270
|
$._apiMap.nativeLinux[$.apiVersions.v1_8_0] = '2.13.0';
|
|
259
271
|
$._apiMap.nativeLinux[$.apiVersions.v1_8_1] = '2.13.1';
|
|
260
|
-
$._apiMap.nativeLinux[$.apiVersions.
|
|
272
|
+
$._apiMap.nativeLinux[$.apiVersions.v1_8_2] = '2.13.3';
|
|
273
|
+
$._apiMap.nativeLinux[$.apiVersions.v1_8_3] = '2.13.3';
|
|
274
|
+
$._apiMap.nativeLinux[$.apiVersions.v1_8_4] = '2.13.3';
|
|
275
|
+
$._apiMap.nativeLinux[$.apiVersions.v1_8_5] = '2.13.3';
|
|
276
|
+
$._apiMap.nativeLinux[$.apiVersions.v1_9_0] = '2.13.3';
|
|
261
277
|
|
|
262
278
|
// Mac
|
|
263
279
|
$._apiMap.nativeMac[$.apiVersions.v1_0] = '2.3.0';
|
|
@@ -275,7 +291,11 @@ LacunaWebPKI = function (license) {
|
|
|
275
291
|
$._apiMap.nativeMac[$.apiVersions.v1_7_2] = '2.12.1';
|
|
276
292
|
$._apiMap.nativeMac[$.apiVersions.v1_8_0] = '2.13.0';
|
|
277
293
|
$._apiMap.nativeMac[$.apiVersions.v1_8_1] = '2.13.1';
|
|
278
|
-
$._apiMap.nativeMac[$.apiVersions.
|
|
294
|
+
$._apiMap.nativeMac[$.apiVersions.v1_8_2] = '2.13.3';
|
|
295
|
+
$._apiMap.nativeMac[$.apiVersions.v1_8_3] = '2.13.5';
|
|
296
|
+
$._apiMap.nativeMac[$.apiVersions.v1_8_4] = '2.13.5';
|
|
297
|
+
$._apiMap.nativeMac[$.apiVersions.v1_8_5] = '2.13.5';
|
|
298
|
+
$._apiMap.nativeMac[$.apiVersions.v1_9_0] = '2.13.3';
|
|
279
299
|
|
|
280
300
|
// WebExtension
|
|
281
301
|
$._apiMap.extension[$.apiVersions.v1_0] = '2.3.2';
|
|
@@ -293,6 +313,10 @@ LacunaWebPKI = function (license) {
|
|
|
293
313
|
$._apiMap.extension[$.apiVersions.v1_7_2] = '2.16.0';
|
|
294
314
|
$._apiMap.extension[$.apiVersions.v1_8_0] = '2.16.0';
|
|
295
315
|
$._apiMap.extension[$.apiVersions.v1_8_1] = '2.16.0';
|
|
316
|
+
$._apiMap.extension[$.apiVersions.v1_8_2] = '2.16.0';
|
|
317
|
+
$._apiMap.extension[$.apiVersions.v1_8_3] = '2.16.0';
|
|
318
|
+
$._apiMap.extension[$.apiVersions.v1_8_4] = '2.16.0';
|
|
319
|
+
$._apiMap.extension[$.apiVersions.v1_8_5] = '2.16.0';
|
|
296
320
|
$._apiMap.extension[$.apiVersions.v1_9_0] = '2.17.0';
|
|
297
321
|
|
|
298
322
|
// Mobile
|
|
@@ -311,6 +335,10 @@ LacunaWebPKI = function (license) {
|
|
|
311
335
|
$._apiMap.mobile[$.apiVersions.v1_7_2] = '3.0.0';
|
|
312
336
|
$._apiMap.mobile[$.apiVersions.v1_8_0] = '3.2.0';
|
|
313
337
|
$._apiMap.mobile[$.apiVersions.v1_8_1] = '3.2.0';
|
|
338
|
+
$._apiMap.mobile[$.apiVersions.v1_8_2] = '3.2.0';
|
|
339
|
+
$._apiMap.mobile[$.apiVersions.v1_8_3] = '3.2.0';
|
|
340
|
+
$._apiMap.mobile[$.apiVersions.v1_8_4] = '3.2.0';
|
|
341
|
+
$._apiMap.mobile[$.apiVersions.v1_8_5] = '3.2.0';
|
|
314
342
|
$._apiMap.mobile[$.apiVersions.v1_9_0] = '3.2.0';
|
|
315
343
|
|
|
316
344
|
// All latest
|
|
@@ -1455,6 +1483,7 @@ LacunaWebPKI = function (license) {
|
|
|
1455
1483
|
pkcs11Modules: $._getRequestOsP11Modules(args.pkcs11Modules),
|
|
1456
1484
|
tokenSerialNumber: args.tokenSerialNumber,
|
|
1457
1485
|
certificateContent: args.certificateContent,
|
|
1486
|
+
caCertificates: args.caCertificates,
|
|
1458
1487
|
certificateLabel: args.certificateLabel,
|
|
1459
1488
|
enableUsedPkcs11Module: args.enableUsedPkcs11Module
|
|
1460
1489
|
};
|
|
@@ -1468,6 +1497,7 @@ LacunaWebPKI = function (license) {
|
|
|
1468
1497
|
var request = {
|
|
1469
1498
|
privateKeyId: args.privateKeyId,
|
|
1470
1499
|
certificateContent: args.certificateContent,
|
|
1500
|
+
caCertificates: args.caCertificates,
|
|
1471
1501
|
passwordPolicies: args.passwordPolicies,
|
|
1472
1502
|
passwordMinLength: args.passwordMinLength,
|
|
1473
1503
|
savePkcs12: args.savePkcs12
|
|
@@ -1663,6 +1693,7 @@ LacunaWebPKI = function (license) {
|
|
|
1663
1693
|
requestId: requestId,
|
|
1664
1694
|
license: context.license,
|
|
1665
1695
|
useDomainNativePool: context.useDomainNativePool,
|
|
1696
|
+
jslibVersion: $._jslibVersion,
|
|
1666
1697
|
command: command,
|
|
1667
1698
|
request: request
|
|
1668
1699
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-pki",
|
|
3
|
-
"version": "2.17.0-
|
|
3
|
+
"version": "2.17.0-alpha03",
|
|
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",
|