node-opcua-crypto 4.8.0 → 4.9.1

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.
@@ -1,191 +0,0 @@
1
- import {
2
- CertificatePurpose,
3
- PaddingAlgorithm,
4
- RSA_PKCS1_OAEP_PADDING,
5
- RSA_PKCS1_PADDING,
6
- Subject,
7
- TagType,
8
- _coercePrivateKey,
9
- _findBlockAtIndex,
10
- _getBlock,
11
- _readAlgorithmIdentifier,
12
- _readBitString,
13
- _readBooleanValue,
14
- _readDirectoryName,
15
- _readECCAlgorithmIdentifier,
16
- _readExtension,
17
- _readIntegerAsByteString,
18
- _readIntegerValue,
19
- _readListOfInteger,
20
- _readLongIntegerValue,
21
- _readObjectIdentifier,
22
- _readOctetString,
23
- _readSignatureValue,
24
- _readSignatureValueBin,
25
- _readStruct,
26
- _readTime,
27
- _readValue,
28
- _readVersionValue,
29
- certificateMatchesPrivateKey,
30
- coerceCertificate,
31
- coerceCertificatePem,
32
- coercePEMorDerToPrivateKey,
33
- coercePrivateKeyPem,
34
- coercePublicKeyPem,
35
- coerceRsaPublicKeyPem,
36
- combine_der,
37
- compactDirectoryName,
38
- computeDerivedKeys,
39
- computePaddingFooter,
40
- convertPEMtoDER,
41
- createCertificateSigningRequest,
42
- createPrivateKeyFromNodeJSCrypto,
43
- createSelfSignedCertificate,
44
- decryptBufferWithDerivedKeys,
45
- derToPrivateKey,
46
- encryptBufferWithDerivedKeys,
47
- exploreCertificate,
48
- exploreCertificateInfo,
49
- exploreCertificateRevocationList,
50
- exploreCertificateSigningRequest,
51
- explorePrivateKey,
52
- extractPublicKeyFromCertificate,
53
- extractPublicKeyFromCertificateSync,
54
- formatBuffer2DigitHexWithColum,
55
- generateKeyPair,
56
- generatePrivateKey,
57
- hexDump,
58
- identifyPemType,
59
- isKeyObject,
60
- makeMessageChunkSignature,
61
- makeMessageChunkSignatureWithDerivedKeys,
62
- makePrivateKeyFromPem,
63
- makePseudoRandomBuffer,
64
- makeSHA1Thumbprint,
65
- parseBitString,
66
- pemToPrivateKey,
67
- privateDecrypt,
68
- privateDecrypt_long,
69
- privateDecrypt_native,
70
- privateKeyToPEM,
71
- publicEncrypt,
72
- publicEncrypt_long,
73
- publicEncrypt_native,
74
- publicKeyAndPrivateKeyMatches,
75
- readCertificationRequestInfo,
76
- readNameForCrl,
77
- readTag,
78
- readTbsCertificate,
79
- reduceLength,
80
- removePadding,
81
- removeTrailingLF,
82
- rsaLengthPrivateKey,
83
- rsaLengthPublicKey,
84
- rsaLengthRsaPublicKey,
85
- split_der,
86
- toPem,
87
- toPem2,
88
- verifyCertificateChain,
89
- verifyCertificateOrClrSignature,
90
- verifyCertificateRevocationListSignature,
91
- verifyCertificateSignature,
92
- verifyChunkSignature,
93
- verifyChunkSignatureWithDerivedKeys,
94
- verifyMessageChunkSignature
95
- } from "../chunk-XIYZLEAS.mjs";
96
- export {
97
- CertificatePurpose,
98
- PaddingAlgorithm,
99
- RSA_PKCS1_OAEP_PADDING,
100
- RSA_PKCS1_PADDING,
101
- Subject,
102
- TagType,
103
- _coercePrivateKey,
104
- _findBlockAtIndex,
105
- _getBlock,
106
- _readAlgorithmIdentifier,
107
- _readBitString,
108
- _readBooleanValue,
109
- _readDirectoryName,
110
- _readECCAlgorithmIdentifier,
111
- _readExtension,
112
- _readIntegerAsByteString,
113
- _readIntegerValue,
114
- _readListOfInteger,
115
- _readLongIntegerValue,
116
- _readObjectIdentifier,
117
- _readOctetString,
118
- _readSignatureValue,
119
- _readSignatureValueBin,
120
- _readStruct,
121
- _readTime,
122
- _readValue,
123
- _readVersionValue,
124
- certificateMatchesPrivateKey,
125
- coerceCertificate,
126
- coerceCertificatePem,
127
- coercePEMorDerToPrivateKey,
128
- coercePrivateKeyPem,
129
- coercePublicKeyPem,
130
- coerceRsaPublicKeyPem,
131
- combine_der,
132
- compactDirectoryName,
133
- computeDerivedKeys,
134
- computePaddingFooter,
135
- convertPEMtoDER,
136
- createCertificateSigningRequest,
137
- createPrivateKeyFromNodeJSCrypto,
138
- createSelfSignedCertificate,
139
- decryptBufferWithDerivedKeys,
140
- derToPrivateKey,
141
- encryptBufferWithDerivedKeys,
142
- exploreCertificate,
143
- exploreCertificateInfo,
144
- exploreCertificateRevocationList,
145
- exploreCertificateSigningRequest,
146
- explorePrivateKey,
147
- extractPublicKeyFromCertificate,
148
- extractPublicKeyFromCertificateSync,
149
- formatBuffer2DigitHexWithColum,
150
- generateKeyPair,
151
- generatePrivateKey,
152
- hexDump,
153
- identifyPemType,
154
- isKeyObject,
155
- makeMessageChunkSignature,
156
- makeMessageChunkSignatureWithDerivedKeys,
157
- makePrivateKeyFromPem,
158
- makePseudoRandomBuffer,
159
- makeSHA1Thumbprint,
160
- parseBitString,
161
- pemToPrivateKey,
162
- privateDecrypt,
163
- privateDecrypt_long,
164
- privateDecrypt_native,
165
- privateKeyToPEM,
166
- publicEncrypt,
167
- publicEncrypt_long,
168
- publicEncrypt_native,
169
- publicKeyAndPrivateKeyMatches,
170
- readCertificationRequestInfo,
171
- readNameForCrl,
172
- readTag,
173
- readTbsCertificate,
174
- reduceLength,
175
- removePadding,
176
- removeTrailingLF,
177
- rsaLengthPrivateKey,
178
- rsaLengthPublicKey,
179
- rsaLengthRsaPublicKey,
180
- split_der,
181
- toPem,
182
- toPem2,
183
- verifyCertificateChain,
184
- verifyCertificateOrClrSignature,
185
- verifyCertificateRevocationListSignature,
186
- verifyCertificateSignature,
187
- verifyChunkSignature,
188
- verifyChunkSignatureWithDerivedKeys,
189
- verifyMessageChunkSignature
190
- };
191
- //# sourceMappingURL=index_web.mjs.map
@@ -1,46 +0,0 @@
1
- import { C as Certificate, a as PublicKey, P as PrivateKey, d as CertificatePEM, f as PublicKeyPEM, e as PrivateKeyPEM, g as CertificateRevocationList } from '../common-0xc4gZF8.mjs';
2
- import 'crypto';
3
-
4
- /**
5
- * read a DER or PEM certificate from file
6
- */
7
- declare function readCertificate(filename: string): Certificate;
8
- /**
9
- * read a DER or PEM certificate from file
10
- */
11
- declare function readPublicKey(filename: string): PublicKey;
12
- declare function makePrivateKeyThumbPrint(privateKey: PrivateKey): Buffer;
13
- /**
14
- * read a DER or PEM certificate from file
15
- */
16
- declare function readPrivateKey(filename: string): PrivateKey;
17
- declare function readCertificatePEM(filename: string): CertificatePEM;
18
- declare function readPublicKeyPEM(filename: string): PublicKeyPEM;
19
- /**
20
- *
21
- * @deprecated
22
- */
23
- declare function readPrivateKeyPEM(filename: string): PrivateKeyPEM;
24
- declare function setCertificateStore(store: string): string;
25
- declare function getCertificateStore(): string;
26
- /**
27
- *
28
- * @param filename
29
- */
30
- declare function readPrivateRsaKey(filename: string): PrivateKey;
31
- declare function readPublicRsaKey(filename: string): PublicKey;
32
-
33
- declare function readCertificateRevocationList(filename: string): Promise<CertificateRevocationList>;
34
-
35
- type CertificateSigningRequest = Buffer;
36
- declare function readCertificateSigningRequest(filename: string): Promise<CertificateSigningRequest>;
37
-
38
- declare function generatePrivateKeyFile(privateKeyFilename: string, modulusLength: 1024 | 2048 | 3072 | 4096): Promise<void>;
39
- /**
40
- * alternate function to generate PrivateKeyFile, using jsrsasign.
41
- *
42
- * This function is slower than generatePrivateKeyFile
43
- */
44
- declare function generatePrivateKeyFileAlternate(privateKeyFilename: string, modulusLength: 2048 | 3072 | 4096): Promise<void>;
45
-
46
- export { type CertificateSigningRequest, generatePrivateKeyFile, generatePrivateKeyFileAlternate, getCertificateStore, makePrivateKeyThumbPrint, readCertificate, readCertificatePEM, readCertificateRevocationList, readCertificateSigningRequest, readPrivateKey, readPrivateKeyPEM, readPrivateRsaKey, readPublicKey, readPublicKeyPEM, readPublicRsaKey, setCertificateStore };
@@ -1,46 +0,0 @@
1
- import { C as Certificate, a as PublicKey, P as PrivateKey, d as CertificatePEM, f as PublicKeyPEM, e as PrivateKeyPEM, g as CertificateRevocationList } from '../common-0xc4gZF8.js';
2
- import 'crypto';
3
-
4
- /**
5
- * read a DER or PEM certificate from file
6
- */
7
- declare function readCertificate(filename: string): Certificate;
8
- /**
9
- * read a DER or PEM certificate from file
10
- */
11
- declare function readPublicKey(filename: string): PublicKey;
12
- declare function makePrivateKeyThumbPrint(privateKey: PrivateKey): Buffer;
13
- /**
14
- * read a DER or PEM certificate from file
15
- */
16
- declare function readPrivateKey(filename: string): PrivateKey;
17
- declare function readCertificatePEM(filename: string): CertificatePEM;
18
- declare function readPublicKeyPEM(filename: string): PublicKeyPEM;
19
- /**
20
- *
21
- * @deprecated
22
- */
23
- declare function readPrivateKeyPEM(filename: string): PrivateKeyPEM;
24
- declare function setCertificateStore(store: string): string;
25
- declare function getCertificateStore(): string;
26
- /**
27
- *
28
- * @param filename
29
- */
30
- declare function readPrivateRsaKey(filename: string): PrivateKey;
31
- declare function readPublicRsaKey(filename: string): PublicKey;
32
-
33
- declare function readCertificateRevocationList(filename: string): Promise<CertificateRevocationList>;
34
-
35
- type CertificateSigningRequest = Buffer;
36
- declare function readCertificateSigningRequest(filename: string): Promise<CertificateSigningRequest>;
37
-
38
- declare function generatePrivateKeyFile(privateKeyFilename: string, modulusLength: 1024 | 2048 | 3072 | 4096): Promise<void>;
39
- /**
40
- * alternate function to generate PrivateKeyFile, using jsrsasign.
41
- *
42
- * This function is slower than generatePrivateKeyFile
43
- */
44
- declare function generatePrivateKeyFileAlternate(privateKeyFilename: string, modulusLength: 2048 | 3072 | 4096): Promise<void>;
45
-
46
- export { type CertificateSigningRequest, generatePrivateKeyFile, generatePrivateKeyFileAlternate, getCertificateStore, makePrivateKeyThumbPrint, readCertificate, readCertificatePEM, readCertificateRevocationList, readCertificateSigningRequest, readPrivateKey, readPrivateKeyPEM, readPrivateRsaKey, readPublicKey, readPublicKeyPEM, readPublicRsaKey, setCertificateStore };