node-opcua-crypto 5.1.0 → 5.3.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/chunk-7GWSCCWS.cjs +208 -0
- package/dist/chunk-7GWSCCWS.cjs.map +1 -0
- package/dist/{source/index.js → chunk-ERHE4VFS.cjs} +466 -484
- package/dist/chunk-ERHE4VFS.cjs.map +1 -0
- package/dist/{chunk-ULG5CYBT.mjs → chunk-KCVNMSLI.js} +330 -252
- package/dist/chunk-KCVNMSLI.js.map +1 -0
- package/dist/{chunk-UXPULF3W.mjs → chunk-QGNXSXUU.js} +42 -2
- package/dist/chunk-QGNXSXUU.js.map +1 -0
- package/dist/index.cjs +197 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +108 -6673
- 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} +184 -159
- package/dist/source/index_web.d.ts +183 -158
- package/dist/source/index_web.js +80 -6517
- package/dist/source/index_web.js.map +1 -1
- package/dist/source_nodejs/index.cjs +46 -0
- package/dist/source_nodejs/index.cjs.map +1 -0
- package/dist/source_nodejs/{index.d.mts → index.d.cts} +29 -2
- package/dist/source_nodejs/index.d.ts +28 -1
- package/dist/source_nodejs/index.js +31 -4141
- package/dist/source_nodejs/index.js.map +1 -1
- package/package.json +35 -16
- package/dist/chunk-RQA4DO2Z.mjs +0 -1
- package/dist/chunk-RQA4DO2Z.mjs.map +0 -1
- package/dist/chunk-ULG5CYBT.mjs.map +0 -1
- package/dist/chunk-UXPULF3W.mjs.map +0 -1
- package/dist/index.d.mts +0 -5
- package/dist/index.mjs +0 -184
- 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 -154
- package/dist/source/index.mjs.map +0 -1
- package/dist/source/index_web.mjs +0 -153
- 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
package/dist/source/index.mjs
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import "../chunk-RQA4DO2Z.mjs";
|
|
2
|
-
import {
|
|
3
|
-
CertificatePurpose,
|
|
4
|
-
PaddingAlgorithm,
|
|
5
|
-
RSA_PKCS1_OAEP_PADDING,
|
|
6
|
-
RSA_PKCS1_PADDING,
|
|
7
|
-
Subject,
|
|
8
|
-
_coercePrivateKey,
|
|
9
|
-
asn1,
|
|
10
|
-
certificateMatchesPrivateKey,
|
|
11
|
-
coerceCertificate,
|
|
12
|
-
coerceCertificatePem,
|
|
13
|
-
coercePEMorDerToPrivateKey,
|
|
14
|
-
coercePrivateKeyPem,
|
|
15
|
-
coercePublicKeyPem,
|
|
16
|
-
coerceRsaPublicKeyPem,
|
|
17
|
-
combine_der,
|
|
18
|
-
computeDerivedKeys,
|
|
19
|
-
computePaddingFooter,
|
|
20
|
-
convertPEMtoDER,
|
|
21
|
-
createCertificateSigningRequest,
|
|
22
|
-
createPrivateKeyFromNodeJSCrypto,
|
|
23
|
-
createSelfSignedCertificate,
|
|
24
|
-
decryptBufferWithDerivedKeys,
|
|
25
|
-
derToPrivateKey,
|
|
26
|
-
encryptBufferWithDerivedKeys,
|
|
27
|
-
exploreAsn1,
|
|
28
|
-
exploreCertificate,
|
|
29
|
-
exploreCertificateInfo,
|
|
30
|
-
exploreCertificateRevocationList,
|
|
31
|
-
exploreCertificateSigningRequest,
|
|
32
|
-
explorePrivateKey,
|
|
33
|
-
extractPublicKeyFromCertificate,
|
|
34
|
-
extractPublicKeyFromCertificateSync,
|
|
35
|
-
generateKeyPair,
|
|
36
|
-
generatePrivateKey,
|
|
37
|
-
hexDump,
|
|
38
|
-
identifyPemType,
|
|
39
|
-
isCrlIssuedByCertificate,
|
|
40
|
-
isKeyObject,
|
|
41
|
-
makeMessageChunkSignature,
|
|
42
|
-
makeMessageChunkSignatureWithDerivedKeys,
|
|
43
|
-
makePrivateKeyFromPem,
|
|
44
|
-
makePrivateKeyThumbPrint,
|
|
45
|
-
makePseudoRandomBuffer,
|
|
46
|
-
makeSHA1Thumbprint,
|
|
47
|
-
pemToPrivateKey,
|
|
48
|
-
privateDecrypt,
|
|
49
|
-
privateDecrypt_long,
|
|
50
|
-
privateDecrypt_native,
|
|
51
|
-
privateKeyToPEM,
|
|
52
|
-
publicEncrypt,
|
|
53
|
-
publicEncrypt_long,
|
|
54
|
-
publicEncrypt_native,
|
|
55
|
-
publicKeyAndPrivateKeyMatches,
|
|
56
|
-
readCertificationRequestInfo,
|
|
57
|
-
readExtension,
|
|
58
|
-
readNameForCrl,
|
|
59
|
-
readTbsCertificate,
|
|
60
|
-
reduceLength,
|
|
61
|
-
removePadding,
|
|
62
|
-
removeTrailingLF,
|
|
63
|
-
rsaLengthPrivateKey,
|
|
64
|
-
rsaLengthPublicKey,
|
|
65
|
-
rsaLengthRsaPublicKey,
|
|
66
|
-
split_der,
|
|
67
|
-
toPem,
|
|
68
|
-
toPem2,
|
|
69
|
-
verifyCertificateChain,
|
|
70
|
-
verifyCertificateOrClrSignature,
|
|
71
|
-
verifyCertificateRevocationListSignature,
|
|
72
|
-
verifyCertificateSignature,
|
|
73
|
-
verifyChunkSignature,
|
|
74
|
-
verifyChunkSignatureWithDerivedKeys,
|
|
75
|
-
verifyCrlIssuedByCertificate,
|
|
76
|
-
verifyMessageChunkSignature
|
|
77
|
-
} from "../chunk-ULG5CYBT.mjs";
|
|
78
|
-
export {
|
|
79
|
-
CertificatePurpose,
|
|
80
|
-
PaddingAlgorithm,
|
|
81
|
-
RSA_PKCS1_OAEP_PADDING,
|
|
82
|
-
RSA_PKCS1_PADDING,
|
|
83
|
-
Subject,
|
|
84
|
-
_coercePrivateKey,
|
|
85
|
-
asn1,
|
|
86
|
-
certificateMatchesPrivateKey,
|
|
87
|
-
coerceCertificate,
|
|
88
|
-
coerceCertificatePem,
|
|
89
|
-
coercePEMorDerToPrivateKey,
|
|
90
|
-
coercePrivateKeyPem,
|
|
91
|
-
coercePublicKeyPem,
|
|
92
|
-
coerceRsaPublicKeyPem,
|
|
93
|
-
combine_der,
|
|
94
|
-
computeDerivedKeys,
|
|
95
|
-
computePaddingFooter,
|
|
96
|
-
convertPEMtoDER,
|
|
97
|
-
createCertificateSigningRequest,
|
|
98
|
-
createPrivateKeyFromNodeJSCrypto,
|
|
99
|
-
createSelfSignedCertificate,
|
|
100
|
-
decryptBufferWithDerivedKeys,
|
|
101
|
-
derToPrivateKey,
|
|
102
|
-
encryptBufferWithDerivedKeys,
|
|
103
|
-
exploreAsn1,
|
|
104
|
-
exploreCertificate,
|
|
105
|
-
exploreCertificateInfo,
|
|
106
|
-
exploreCertificateRevocationList,
|
|
107
|
-
exploreCertificateSigningRequest,
|
|
108
|
-
explorePrivateKey,
|
|
109
|
-
extractPublicKeyFromCertificate,
|
|
110
|
-
extractPublicKeyFromCertificateSync,
|
|
111
|
-
generateKeyPair,
|
|
112
|
-
generatePrivateKey,
|
|
113
|
-
hexDump,
|
|
114
|
-
identifyPemType,
|
|
115
|
-
isCrlIssuedByCertificate,
|
|
116
|
-
isKeyObject,
|
|
117
|
-
makeMessageChunkSignature,
|
|
118
|
-
makeMessageChunkSignatureWithDerivedKeys,
|
|
119
|
-
makePrivateKeyFromPem,
|
|
120
|
-
makePrivateKeyThumbPrint,
|
|
121
|
-
makePseudoRandomBuffer,
|
|
122
|
-
makeSHA1Thumbprint,
|
|
123
|
-
pemToPrivateKey,
|
|
124
|
-
privateDecrypt,
|
|
125
|
-
privateDecrypt_long,
|
|
126
|
-
privateDecrypt_native,
|
|
127
|
-
privateKeyToPEM,
|
|
128
|
-
publicEncrypt,
|
|
129
|
-
publicEncrypt_long,
|
|
130
|
-
publicEncrypt_native,
|
|
131
|
-
publicKeyAndPrivateKeyMatches,
|
|
132
|
-
readCertificationRequestInfo,
|
|
133
|
-
readExtension,
|
|
134
|
-
readNameForCrl,
|
|
135
|
-
readTbsCertificate,
|
|
136
|
-
reduceLength,
|
|
137
|
-
removePadding,
|
|
138
|
-
removeTrailingLF,
|
|
139
|
-
rsaLengthPrivateKey,
|
|
140
|
-
rsaLengthPublicKey,
|
|
141
|
-
rsaLengthRsaPublicKey,
|
|
142
|
-
split_der,
|
|
143
|
-
toPem,
|
|
144
|
-
toPem2,
|
|
145
|
-
verifyCertificateChain,
|
|
146
|
-
verifyCertificateOrClrSignature,
|
|
147
|
-
verifyCertificateRevocationListSignature,
|
|
148
|
-
verifyCertificateSignature,
|
|
149
|
-
verifyChunkSignature,
|
|
150
|
-
verifyChunkSignatureWithDerivedKeys,
|
|
151
|
-
verifyCrlIssuedByCertificate,
|
|
152
|
-
verifyMessageChunkSignature
|
|
153
|
-
};
|
|
154
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CertificatePurpose,
|
|
3
|
-
PaddingAlgorithm,
|
|
4
|
-
RSA_PKCS1_OAEP_PADDING,
|
|
5
|
-
RSA_PKCS1_PADDING,
|
|
6
|
-
Subject,
|
|
7
|
-
_coercePrivateKey,
|
|
8
|
-
asn1,
|
|
9
|
-
certificateMatchesPrivateKey,
|
|
10
|
-
coerceCertificate,
|
|
11
|
-
coerceCertificatePem,
|
|
12
|
-
coercePEMorDerToPrivateKey,
|
|
13
|
-
coercePrivateKeyPem,
|
|
14
|
-
coercePublicKeyPem,
|
|
15
|
-
coerceRsaPublicKeyPem,
|
|
16
|
-
combine_der,
|
|
17
|
-
computeDerivedKeys,
|
|
18
|
-
computePaddingFooter,
|
|
19
|
-
convertPEMtoDER,
|
|
20
|
-
createCertificateSigningRequest,
|
|
21
|
-
createPrivateKeyFromNodeJSCrypto,
|
|
22
|
-
createSelfSignedCertificate,
|
|
23
|
-
decryptBufferWithDerivedKeys,
|
|
24
|
-
derToPrivateKey,
|
|
25
|
-
encryptBufferWithDerivedKeys,
|
|
26
|
-
exploreAsn1,
|
|
27
|
-
exploreCertificate,
|
|
28
|
-
exploreCertificateInfo,
|
|
29
|
-
exploreCertificateRevocationList,
|
|
30
|
-
exploreCertificateSigningRequest,
|
|
31
|
-
explorePrivateKey,
|
|
32
|
-
extractPublicKeyFromCertificate,
|
|
33
|
-
extractPublicKeyFromCertificateSync,
|
|
34
|
-
generateKeyPair,
|
|
35
|
-
generatePrivateKey,
|
|
36
|
-
hexDump,
|
|
37
|
-
identifyPemType,
|
|
38
|
-
isCrlIssuedByCertificate,
|
|
39
|
-
isKeyObject,
|
|
40
|
-
makeMessageChunkSignature,
|
|
41
|
-
makeMessageChunkSignatureWithDerivedKeys,
|
|
42
|
-
makePrivateKeyFromPem,
|
|
43
|
-
makePrivateKeyThumbPrint,
|
|
44
|
-
makePseudoRandomBuffer,
|
|
45
|
-
makeSHA1Thumbprint,
|
|
46
|
-
pemToPrivateKey,
|
|
47
|
-
privateDecrypt,
|
|
48
|
-
privateDecrypt_long,
|
|
49
|
-
privateDecrypt_native,
|
|
50
|
-
privateKeyToPEM,
|
|
51
|
-
publicEncrypt,
|
|
52
|
-
publicEncrypt_long,
|
|
53
|
-
publicEncrypt_native,
|
|
54
|
-
publicKeyAndPrivateKeyMatches,
|
|
55
|
-
readCertificationRequestInfo,
|
|
56
|
-
readExtension,
|
|
57
|
-
readNameForCrl,
|
|
58
|
-
readTbsCertificate,
|
|
59
|
-
reduceLength,
|
|
60
|
-
removePadding,
|
|
61
|
-
removeTrailingLF,
|
|
62
|
-
rsaLengthPrivateKey,
|
|
63
|
-
rsaLengthPublicKey,
|
|
64
|
-
rsaLengthRsaPublicKey,
|
|
65
|
-
split_der,
|
|
66
|
-
toPem,
|
|
67
|
-
toPem2,
|
|
68
|
-
verifyCertificateChain,
|
|
69
|
-
verifyCertificateOrClrSignature,
|
|
70
|
-
verifyCertificateRevocationListSignature,
|
|
71
|
-
verifyCertificateSignature,
|
|
72
|
-
verifyChunkSignature,
|
|
73
|
-
verifyChunkSignatureWithDerivedKeys,
|
|
74
|
-
verifyCrlIssuedByCertificate,
|
|
75
|
-
verifyMessageChunkSignature
|
|
76
|
-
} from "../chunk-ULG5CYBT.mjs";
|
|
77
|
-
export {
|
|
78
|
-
CertificatePurpose,
|
|
79
|
-
PaddingAlgorithm,
|
|
80
|
-
RSA_PKCS1_OAEP_PADDING,
|
|
81
|
-
RSA_PKCS1_PADDING,
|
|
82
|
-
Subject,
|
|
83
|
-
_coercePrivateKey,
|
|
84
|
-
asn1,
|
|
85
|
-
certificateMatchesPrivateKey,
|
|
86
|
-
coerceCertificate,
|
|
87
|
-
coerceCertificatePem,
|
|
88
|
-
coercePEMorDerToPrivateKey,
|
|
89
|
-
coercePrivateKeyPem,
|
|
90
|
-
coercePublicKeyPem,
|
|
91
|
-
coerceRsaPublicKeyPem,
|
|
92
|
-
combine_der,
|
|
93
|
-
computeDerivedKeys,
|
|
94
|
-
computePaddingFooter,
|
|
95
|
-
convertPEMtoDER,
|
|
96
|
-
createCertificateSigningRequest,
|
|
97
|
-
createPrivateKeyFromNodeJSCrypto,
|
|
98
|
-
createSelfSignedCertificate,
|
|
99
|
-
decryptBufferWithDerivedKeys,
|
|
100
|
-
derToPrivateKey,
|
|
101
|
-
encryptBufferWithDerivedKeys,
|
|
102
|
-
exploreAsn1,
|
|
103
|
-
exploreCertificate,
|
|
104
|
-
exploreCertificateInfo,
|
|
105
|
-
exploreCertificateRevocationList,
|
|
106
|
-
exploreCertificateSigningRequest,
|
|
107
|
-
explorePrivateKey,
|
|
108
|
-
extractPublicKeyFromCertificate,
|
|
109
|
-
extractPublicKeyFromCertificateSync,
|
|
110
|
-
generateKeyPair,
|
|
111
|
-
generatePrivateKey,
|
|
112
|
-
hexDump,
|
|
113
|
-
identifyPemType,
|
|
114
|
-
isCrlIssuedByCertificate,
|
|
115
|
-
isKeyObject,
|
|
116
|
-
makeMessageChunkSignature,
|
|
117
|
-
makeMessageChunkSignatureWithDerivedKeys,
|
|
118
|
-
makePrivateKeyFromPem,
|
|
119
|
-
makePrivateKeyThumbPrint,
|
|
120
|
-
makePseudoRandomBuffer,
|
|
121
|
-
makeSHA1Thumbprint,
|
|
122
|
-
pemToPrivateKey,
|
|
123
|
-
privateDecrypt,
|
|
124
|
-
privateDecrypt_long,
|
|
125
|
-
privateDecrypt_native,
|
|
126
|
-
privateKeyToPEM,
|
|
127
|
-
publicEncrypt,
|
|
128
|
-
publicEncrypt_long,
|
|
129
|
-
publicEncrypt_native,
|
|
130
|
-
publicKeyAndPrivateKeyMatches,
|
|
131
|
-
readCertificationRequestInfo,
|
|
132
|
-
readExtension,
|
|
133
|
-
readNameForCrl,
|
|
134
|
-
readTbsCertificate,
|
|
135
|
-
reduceLength,
|
|
136
|
-
removePadding,
|
|
137
|
-
removeTrailingLF,
|
|
138
|
-
rsaLengthPrivateKey,
|
|
139
|
-
rsaLengthPublicKey,
|
|
140
|
-
rsaLengthRsaPublicKey,
|
|
141
|
-
split_der,
|
|
142
|
-
toPem,
|
|
143
|
-
toPem2,
|
|
144
|
-
verifyCertificateChain,
|
|
145
|
-
verifyCertificateOrClrSignature,
|
|
146
|
-
verifyCertificateRevocationListSignature,
|
|
147
|
-
verifyCertificateSignature,
|
|
148
|
-
verifyChunkSignature,
|
|
149
|
-
verifyChunkSignatureWithDerivedKeys,
|
|
150
|
-
verifyCrlIssuedByCertificate,
|
|
151
|
-
verifyMessageChunkSignature
|
|
152
|
-
};
|
|
153
|
-
//# sourceMappingURL=index_web.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
generatePrivateKeyFile,
|
|
3
|
-
generatePrivateKeyFileAlternate,
|
|
4
|
-
getCertificateStore,
|
|
5
|
-
readCertificate,
|
|
6
|
-
readCertificatePEM,
|
|
7
|
-
readCertificateRevocationList,
|
|
8
|
-
readCertificateSigningRequest,
|
|
9
|
-
readPrivateKey,
|
|
10
|
-
readPrivateKeyPEM,
|
|
11
|
-
readPrivateRsaKey,
|
|
12
|
-
readPublicKey,
|
|
13
|
-
readPublicKeyPEM,
|
|
14
|
-
readPublicRsaKey,
|
|
15
|
-
setCertificateStore
|
|
16
|
-
} from "../chunk-UXPULF3W.mjs";
|
|
17
|
-
import "../chunk-RQA4DO2Z.mjs";
|
|
18
|
-
import "../chunk-ULG5CYBT.mjs";
|
|
19
|
-
export {
|
|
20
|
-
generatePrivateKeyFile,
|
|
21
|
-
generatePrivateKeyFileAlternate,
|
|
22
|
-
getCertificateStore,
|
|
23
|
-
readCertificate,
|
|
24
|
-
readCertificatePEM,
|
|
25
|
-
readCertificateRevocationList,
|
|
26
|
-
readCertificateSigningRequest,
|
|
27
|
-
readPrivateKey,
|
|
28
|
-
readPrivateKeyPEM,
|
|
29
|
-
readPrivateRsaKey,
|
|
30
|
-
readPublicKey,
|
|
31
|
-
readPublicKeyPEM,
|
|
32
|
-
readPublicRsaKey,
|
|
33
|
-
setCertificateStore
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
File without changes
|