node-opcua-crypto 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{source/index.js → chunk-ERHE4VFS.cjs} +573 -569
- package/dist/chunk-ERHE4VFS.cjs.map +1 -0
- package/dist/{chunk-BIS3W2GR.mjs → chunk-KCVNMSLI.js} +462 -363
- package/dist/chunk-KCVNMSLI.js.map +1 -0
- package/dist/chunk-LCGIBEY5.cjs +168 -0
- package/dist/chunk-LCGIBEY5.cjs.map +1 -0
- package/dist/{chunk-ISIVVQGT.mjs → chunk-WXGEXWZG.js} +9 -8
- package/dist/chunk-WXGEXWZG.js.map +1 -0
- package/dist/index.cjs +185 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +98 -6652
- package/dist/index.js.map +1 -1
- package/dist/source/index_web.cjs +155 -0
- package/dist/source/index_web.cjs.map +1 -0
- package/dist/source/{index_web.d.mts → index_web.d.cts} +212 -159
- package/dist/source/index_web.d.ts +211 -158
- package/dist/source/index_web.js +82 -6497
- package/dist/source/index_web.js.map +1 -1
- package/dist/source_nodejs/index.cjs +34 -0
- package/dist/source_nodejs/index.cjs.map +1 -0
- package/dist/source_nodejs/{index.d.mts → index.d.cts} +3 -2
- package/dist/source_nodejs/index.d.ts +2 -1
- package/dist/source_nodejs/index.js +19 -4141
- package/dist/source_nodejs/index.js.map +1 -1
- package/package.json +36 -21
- package/dist/chunk-BIS3W2GR.mjs.map +0 -1
- package/dist/chunk-ISIVVQGT.mjs.map +0 -1
- package/dist/chunk-RQA4DO2Z.mjs +0 -1
- package/dist/chunk-RQA4DO2Z.mjs.map +0 -1
- package/dist/index.d.mts +0 -5
- package/dist/index.mjs +0 -180
- package/dist/index.mjs.map +0 -1
- package/dist/source/index.d.mts +0 -4
- package/dist/source/index.d.ts +0 -4
- package/dist/source/index.js.map +0 -1
- package/dist/source/index.mjs +0 -150
- package/dist/source/index.mjs.map +0 -1
- package/dist/source/index_web.mjs +0 -149
- package/dist/source/index_web.mjs.map +0 -1
- package/dist/source_nodejs/index.mjs +0 -35
- package/dist/source_nodejs/index.mjs.map +0 -1
- /package/dist/{common-DxHkx4Pv.d.mts → common-DxHkx4Pv.d.cts} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkLCGIBEY5cjs = require('../chunk-LCGIBEY5.cjs');
|
|
17
|
+
require('../chunk-ERHE4VFS.cjs');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.generatePrivateKeyFile = _chunkLCGIBEY5cjs.generatePrivateKeyFile; exports.generatePrivateKeyFileAlternate = _chunkLCGIBEY5cjs.generatePrivateKeyFileAlternate; exports.getCertificateStore = _chunkLCGIBEY5cjs.getCertificateStore; exports.readCertificate = _chunkLCGIBEY5cjs.readCertificate; exports.readCertificatePEM = _chunkLCGIBEY5cjs.readCertificatePEM; exports.readCertificateRevocationList = _chunkLCGIBEY5cjs.readCertificateRevocationList; exports.readCertificateSigningRequest = _chunkLCGIBEY5cjs.readCertificateSigningRequest; exports.readPrivateKey = _chunkLCGIBEY5cjs.readPrivateKey; exports.readPrivateKeyPEM = _chunkLCGIBEY5cjs.readPrivateKeyPEM; exports.readPrivateRsaKey = _chunkLCGIBEY5cjs.readPrivateRsaKey; exports.readPublicKey = _chunkLCGIBEY5cjs.readPublicKey; exports.readPublicKeyPEM = _chunkLCGIBEY5cjs.readPublicKeyPEM; exports.readPublicRsaKey = _chunkLCGIBEY5cjs.readPublicRsaKey; exports.setCertificateStore = _chunkLCGIBEY5cjs.setCertificateStore;
|
|
34
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/node-opcua-crypto/node-opcua-crypto/packages/node-opcua-crypto/dist/source_nodejs/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u9BAAC","file":"/home/runner/work/node-opcua-crypto/node-opcua-crypto/packages/node-opcua-crypto/dist/source_nodejs/index.cjs"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { C as Certificate, K as KeyObject, P as PrivateKey, d as CertificatePEM, f as PublicKeyPEM, e as PrivateKeyPEM, a as PublicKey, g as CertificateRevocationList } from '../common-DxHkx4Pv.
|
|
1
|
+
import { C as Certificate, K as KeyObject, P as PrivateKey, d as CertificatePEM, f as PublicKeyPEM, e as PrivateKeyPEM, a as PublicKey, g as CertificateRevocationList } from '../common-DxHkx4Pv.cjs';
|
|
2
2
|
import 'node:crypto';
|
|
3
3
|
|
|
4
4
|
declare function generatePrivateKeyFile(privateKeyFilename: string, modulusLength: 1024 | 2048 | 3072 | 4096): Promise<void>;
|
|
5
5
|
/**
|
|
6
|
-
* alternate function to generate PrivateKeyFile, using
|
|
6
|
+
* alternate function to generate PrivateKeyFile, using native
|
|
7
|
+
* node:crypto.
|
|
7
8
|
*
|
|
8
9
|
* This function is slower than generatePrivateKeyFile
|
|
9
10
|
*/
|
|
@@ -3,7 +3,8 @@ import 'node:crypto';
|
|
|
3
3
|
|
|
4
4
|
declare function generatePrivateKeyFile(privateKeyFilename: string, modulusLength: 1024 | 2048 | 3072 | 4096): Promise<void>;
|
|
5
5
|
/**
|
|
6
|
-
* alternate function to generate PrivateKeyFile, using
|
|
6
|
+
* alternate function to generate PrivateKeyFile, using native
|
|
7
|
+
* node:crypto.
|
|
7
8
|
*
|
|
8
9
|
* This function is slower than generatePrivateKeyFile
|
|
9
10
|
*/
|