node-opcua-crypto 4.10.0 → 4.12.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/README.md +9 -4
- package/dist/{chunk-GNEWUC7X.mjs → chunk-AXAFLVME.mjs} +9 -15
- package/dist/chunk-AXAFLVME.mjs.map +1 -0
- package/dist/{chunk-46EEAYVO.mjs → chunk-LHUQUHQQ.mjs} +845 -829
- package/dist/chunk-LHUQUHQQ.mjs.map +1 -0
- package/dist/chunk-RQA4DO2Z.mjs +1 -0
- package/dist/index.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +658 -701
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -56
- package/dist/source/index.d.mts +1 -5
- package/dist/source/index.d.ts +1 -5
- package/dist/source/index.js +622 -658
- package/dist/source/index.js.map +1 -1
- package/dist/source/index.mjs +9 -54
- package/dist/source/index_web.d.mts +224 -234
- package/dist/source/index_web.d.ts +224 -234
- package/dist/source/index_web.js +650 -657
- package/dist/source/index_web.js.map +1 -1
- package/dist/source/index_web.mjs +9 -51
- package/dist/source_nodejs/index.d.mts +1 -2
- package/dist/source_nodejs/index.d.ts +1 -2
- package/dist/source_nodejs/index.js +46 -50
- package/dist/source_nodejs/index.js.map +1 -1
- package/dist/source_nodejs/index.mjs +3 -5
- package/package.json +9 -4
- package/dist/chunk-46EEAYVO.mjs.map +0 -1
- package/dist/chunk-GNEWUC7X.mjs.map +0 -1
- package/dist/chunk-VI4S2NM5.mjs +0 -38
- package/dist/chunk-VI4S2NM5.mjs.map +0 -1
- package/dist/index_web.d.mts +0 -5
- package/dist/index_web.d.ts +0 -5
- package/dist/index_web.js +0 -6414
- package/dist/index_web.js.map +0 -1
- package/dist/index_web.mjs +0 -195
- package/index.mjs +0 -1
- package/index_web.ts +0 -1
- package/web.d.ts +0 -1
- package/web.mjs +0 -1
- /package/dist/{index_web.mjs.map → chunk-RQA4DO2Z.mjs.map} +0 -0
package/dist/source/index.mjs
CHANGED
|
@@ -1,34 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
exploreAsn1
|
|
3
|
-
} from "../chunk-VI4S2NM5.mjs";
|
|
1
|
+
import "../chunk-RQA4DO2Z.mjs";
|
|
4
2
|
import {
|
|
5
3
|
CertificatePurpose,
|
|
6
4
|
PaddingAlgorithm,
|
|
7
5
|
RSA_PKCS1_OAEP_PADDING,
|
|
8
6
|
RSA_PKCS1_PADDING,
|
|
9
7
|
Subject,
|
|
10
|
-
TagType,
|
|
11
8
|
_coercePrivateKey,
|
|
12
|
-
|
|
13
|
-
_getBlock,
|
|
14
|
-
_readAlgorithmIdentifier,
|
|
15
|
-
_readBitString,
|
|
16
|
-
_readBooleanValue,
|
|
17
|
-
_readDirectoryName,
|
|
18
|
-
_readECCAlgorithmIdentifier,
|
|
19
|
-
_readExtension,
|
|
20
|
-
_readIntegerAsByteString,
|
|
21
|
-
_readIntegerValue,
|
|
22
|
-
_readListOfInteger,
|
|
23
|
-
_readLongIntegerValue,
|
|
24
|
-
_readObjectIdentifier,
|
|
25
|
-
_readOctetString,
|
|
26
|
-
_readSignatureValue,
|
|
27
|
-
_readSignatureValueBin,
|
|
28
|
-
_readStruct,
|
|
29
|
-
_readTime,
|
|
30
|
-
_readValue,
|
|
31
|
-
_readVersionValue,
|
|
9
|
+
asn1,
|
|
32
10
|
certificateMatchesPrivateKey,
|
|
33
11
|
coerceCertificate,
|
|
34
12
|
coerceCertificatePem,
|
|
@@ -37,7 +15,6 @@ import {
|
|
|
37
15
|
coercePublicKeyPem,
|
|
38
16
|
coerceRsaPublicKeyPem,
|
|
39
17
|
combine_der,
|
|
40
|
-
compactDirectoryName,
|
|
41
18
|
computeDerivedKeys,
|
|
42
19
|
computePaddingFooter,
|
|
43
20
|
convertPEMtoDER,
|
|
@@ -47,6 +24,7 @@ import {
|
|
|
47
24
|
decryptBufferWithDerivedKeys,
|
|
48
25
|
derToPrivateKey,
|
|
49
26
|
encryptBufferWithDerivedKeys,
|
|
27
|
+
exploreAsn1,
|
|
50
28
|
exploreCertificate,
|
|
51
29
|
exploreCertificateInfo,
|
|
52
30
|
exploreCertificateRevocationList,
|
|
@@ -54,7 +32,6 @@ import {
|
|
|
54
32
|
explorePrivateKey,
|
|
55
33
|
extractPublicKeyFromCertificate,
|
|
56
34
|
extractPublicKeyFromCertificateSync,
|
|
57
|
-
formatBuffer2DigitHexWithColum,
|
|
58
35
|
generateKeyPair,
|
|
59
36
|
generatePrivateKey,
|
|
60
37
|
hexDump,
|
|
@@ -63,9 +40,9 @@ import {
|
|
|
63
40
|
makeMessageChunkSignature,
|
|
64
41
|
makeMessageChunkSignatureWithDerivedKeys,
|
|
65
42
|
makePrivateKeyFromPem,
|
|
43
|
+
makePrivateKeyThumbPrint,
|
|
66
44
|
makePseudoRandomBuffer,
|
|
67
45
|
makeSHA1Thumbprint,
|
|
68
|
-
parseBitString,
|
|
69
46
|
pemToPrivateKey,
|
|
70
47
|
privateDecrypt,
|
|
71
48
|
privateDecrypt_long,
|
|
@@ -76,8 +53,8 @@ import {
|
|
|
76
53
|
publicEncrypt_native,
|
|
77
54
|
publicKeyAndPrivateKeyMatches,
|
|
78
55
|
readCertificationRequestInfo,
|
|
56
|
+
readExtension,
|
|
79
57
|
readNameForCrl,
|
|
80
|
-
readTag,
|
|
81
58
|
readTbsCertificate,
|
|
82
59
|
reduceLength,
|
|
83
60
|
removePadding,
|
|
@@ -95,35 +72,15 @@ import {
|
|
|
95
72
|
verifyChunkSignature,
|
|
96
73
|
verifyChunkSignatureWithDerivedKeys,
|
|
97
74
|
verifyMessageChunkSignature
|
|
98
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-LHUQUHQQ.mjs";
|
|
99
76
|
export {
|
|
100
77
|
CertificatePurpose,
|
|
101
78
|
PaddingAlgorithm,
|
|
102
79
|
RSA_PKCS1_OAEP_PADDING,
|
|
103
80
|
RSA_PKCS1_PADDING,
|
|
104
81
|
Subject,
|
|
105
|
-
TagType,
|
|
106
82
|
_coercePrivateKey,
|
|
107
|
-
|
|
108
|
-
_getBlock,
|
|
109
|
-
_readAlgorithmIdentifier,
|
|
110
|
-
_readBitString,
|
|
111
|
-
_readBooleanValue,
|
|
112
|
-
_readDirectoryName,
|
|
113
|
-
_readECCAlgorithmIdentifier,
|
|
114
|
-
_readExtension,
|
|
115
|
-
_readIntegerAsByteString,
|
|
116
|
-
_readIntegerValue,
|
|
117
|
-
_readListOfInteger,
|
|
118
|
-
_readLongIntegerValue,
|
|
119
|
-
_readObjectIdentifier,
|
|
120
|
-
_readOctetString,
|
|
121
|
-
_readSignatureValue,
|
|
122
|
-
_readSignatureValueBin,
|
|
123
|
-
_readStruct,
|
|
124
|
-
_readTime,
|
|
125
|
-
_readValue,
|
|
126
|
-
_readVersionValue,
|
|
83
|
+
asn1,
|
|
127
84
|
certificateMatchesPrivateKey,
|
|
128
85
|
coerceCertificate,
|
|
129
86
|
coerceCertificatePem,
|
|
@@ -132,7 +89,6 @@ export {
|
|
|
132
89
|
coercePublicKeyPem,
|
|
133
90
|
coerceRsaPublicKeyPem,
|
|
134
91
|
combine_der,
|
|
135
|
-
compactDirectoryName,
|
|
136
92
|
computeDerivedKeys,
|
|
137
93
|
computePaddingFooter,
|
|
138
94
|
convertPEMtoDER,
|
|
@@ -150,7 +106,6 @@ export {
|
|
|
150
106
|
explorePrivateKey,
|
|
151
107
|
extractPublicKeyFromCertificate,
|
|
152
108
|
extractPublicKeyFromCertificateSync,
|
|
153
|
-
formatBuffer2DigitHexWithColum,
|
|
154
109
|
generateKeyPair,
|
|
155
110
|
generatePrivateKey,
|
|
156
111
|
hexDump,
|
|
@@ -159,9 +114,9 @@ export {
|
|
|
159
114
|
makeMessageChunkSignature,
|
|
160
115
|
makeMessageChunkSignatureWithDerivedKeys,
|
|
161
116
|
makePrivateKeyFromPem,
|
|
117
|
+
makePrivateKeyThumbPrint,
|
|
162
118
|
makePseudoRandomBuffer,
|
|
163
119
|
makeSHA1Thumbprint,
|
|
164
|
-
parseBitString,
|
|
165
120
|
pemToPrivateKey,
|
|
166
121
|
privateDecrypt,
|
|
167
122
|
privateDecrypt_long,
|
|
@@ -172,8 +127,8 @@ export {
|
|
|
172
127
|
publicEncrypt_native,
|
|
173
128
|
publicKeyAndPrivateKeyMatches,
|
|
174
129
|
readCertificationRequestInfo,
|
|
130
|
+
readExtension,
|
|
175
131
|
readNameForCrl,
|
|
176
|
-
readTag,
|
|
177
132
|
readTbsCertificate,
|
|
178
133
|
reduceLength,
|
|
179
134
|
removePadding,
|