node-opcua-crypto 4.2.0 → 4.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.
Files changed (176) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/chunk-5NV4OKIV.mjs +1 -0
  4. package/dist/chunk-KPKFYTZJ.mjs +173 -0
  5. package/dist/chunk-QSSIRHMR.mjs +6243 -0
  6. package/dist/index.js +6521 -0
  7. package/dist/index.mjs +224 -0
  8. package/dist/source/index.js +6346 -0
  9. package/dist/source/index.mjs +192 -0
  10. package/dist/source/index_web.js +6346 -0
  11. package/dist/source/index_web.mjs +191 -0
  12. package/dist/source_nodejs/index.js +4170 -0
  13. package/dist/source_nodejs/index.mjs +37 -0
  14. package/dist-types/index.d.ts +2 -0
  15. package/dist-types/source/common.d.ts +21 -1
  16. package/dist-types/source/crypto_utils2.d.ts +2 -3
  17. package/dist-types/source/make_private_key_from_pem.d.ts +1 -1
  18. package/dist-types/source/x509/coerce_private_key.d.ts +5 -3
  19. package/dist-types/source/x509/create_key_pair.d.ts +6 -0
  20. package/dist-types/source/x509/create_self_signed_certificate.d.ts +4 -0
  21. package/dist-types/source_nodejs/read.d.ts +1 -0
  22. package/doc/.nojekyll +1 -0
  23. package/doc/assets/highlight.css +71 -0
  24. package/doc/assets/main.js +58 -0
  25. package/doc/assets/search.js +1 -0
  26. package/doc/assets/style.css +1379 -0
  27. package/doc/classes/Subject.html +76 -0
  28. package/doc/functions/combine_der.html +80 -0
  29. package/doc/functions/createPrivateKeyFromNodeJSCrypto.html +81 -0
  30. package/doc/functions/createSelfSignedCertificate.html +76 -0
  31. package/doc/functions/exploreCertificate.html +77 -0
  32. package/doc/functions/exploreCertificateInfo.html +80 -0
  33. package/doc/functions/explorePrivateKey.html +74 -0
  34. package/doc/functions/extractPublicKeyFromCertificate.html +92 -0
  35. package/doc/functions/generatePrivateKey.html +76 -0
  36. package/doc/functions/generatePrivateKeyFileAlternate.html +79 -0
  37. package/doc/functions/makeMessageChunkSignatureWithDerivedKeys.html +78 -0
  38. package/doc/functions/privateKeyToPEM.html +76 -0
  39. package/doc/functions/readCertificate.html +76 -0
  40. package/doc/functions/readPrivateKey.html +76 -0
  41. package/doc/functions/readPrivateKeyPEM.html +75 -0
  42. package/doc/functions/readPrivateRsaKey.html +74 -0
  43. package/doc/functions/readPublicKey.html +76 -0
  44. package/doc/functions/reduceLength.html +79 -0
  45. package/doc/functions/removePadding.html +77 -0
  46. package/doc/functions/rsaLengthPrivateKey.html +80 -0
  47. package/doc/functions/split_der.html +80 -0
  48. package/doc/functions/toPem2.html +80 -0
  49. package/doc/functions/verifyChunkSignature.html +82 -0
  50. package/doc/functions/verifyChunkSignatureWithDerivedKeys.html +78 -0
  51. package/doc/functions/verifyMessageChunkSignature.html +83 -0
  52. package/doc/index.html +128 -0
  53. package/doc/interfaces/CertificateInfo.html +135 -0
  54. package/doc/modules.html +96 -0
  55. package/node-opcua-crypto-4.2.0.tgz +0 -0
  56. package/package.json +84 -91
  57. package/dist-cjs/source/asn1.js +0 -304
  58. package/dist-cjs/source/asn1.js.map +0 -1
  59. package/dist-cjs/source/buffer_utils.js +0 -9
  60. package/dist-cjs/source/buffer_utils.js.map +0 -1
  61. package/dist-cjs/source/common.js +0 -11
  62. package/dist-cjs/source/common.js.map +0 -1
  63. package/dist-cjs/source/crypto_explore_certificate.js +0 -367
  64. package/dist-cjs/source/crypto_explore_certificate.js.map +0 -1
  65. package/dist-cjs/source/crypto_utils.js +0 -200
  66. package/dist-cjs/source/crypto_utils.js.map +0 -1
  67. package/dist-cjs/source/crypto_utils2.js +0 -71
  68. package/dist-cjs/source/crypto_utils2.js.map +0 -1
  69. package/dist-cjs/source/derived_keys.js +0 -133
  70. package/dist-cjs/source/derived_keys.js.map +0 -1
  71. package/dist-cjs/source/explore_certificate.js +0 -37
  72. package/dist-cjs/source/explore_certificate.js.map +0 -1
  73. package/dist-cjs/source/explore_certificate_revocation_list.js +0 -69
  74. package/dist-cjs/source/explore_certificate_revocation_list.js.map +0 -1
  75. package/dist-cjs/source/explore_certificate_signing_request.js +0 -45
  76. package/dist-cjs/source/explore_certificate_signing_request.js.map +0 -1
  77. package/dist-cjs/source/explore_private_key.js +0 -77
  78. package/dist-cjs/source/explore_private_key.js.map +0 -1
  79. package/dist-cjs/source/index.js +0 -38
  80. package/dist-cjs/source/index.js.map +0 -1
  81. package/dist-cjs/source/make_private_key_from_pem.js +0 -8
  82. package/dist-cjs/source/make_private_key_from_pem.js.map +0 -1
  83. package/dist-cjs/source/oid_map.js +0 -300
  84. package/dist-cjs/source/oid_map.js.map +0 -1
  85. package/dist-cjs/source/public_private_match.js +0 -32
  86. package/dist-cjs/source/public_private_match.js.map +0 -1
  87. package/dist-cjs/source/subject.js +0 -92
  88. package/dist-cjs/source/subject.js.map +0 -1
  89. package/dist-cjs/source/verify_certificate_signature.js +0 -117
  90. package/dist-cjs/source/verify_certificate_signature.js.map +0 -1
  91. package/dist-cjs/source/x509/_build_public_key.js +0 -69
  92. package/dist-cjs/source/x509/_build_public_key.js.map +0 -1
  93. package/dist-cjs/source/x509/_crypto.js +0 -52
  94. package/dist-cjs/source/x509/_crypto.js.map +0 -1
  95. package/dist-cjs/source/x509/_get_attributes.js +0 -39
  96. package/dist-cjs/source/x509/_get_attributes.js.map +0 -1
  97. package/dist-cjs/source/x509/coerce_private_key.js +0 -90
  98. package/dist-cjs/source/x509/coerce_private_key.js.map +0 -1
  99. package/dist-cjs/source/x509/create_certificate_signing_request.js +0 -92
  100. package/dist-cjs/source/x509/create_certificate_signing_request.js.map +0 -1
  101. package/dist-cjs/source/x509/create_key_pair.js +0 -123
  102. package/dist-cjs/source/x509/create_key_pair.js.map +0 -1
  103. package/dist-cjs/source/x509/create_self_signed_certificate.js +0 -103
  104. package/dist-cjs/source/x509/create_self_signed_certificate.js.map +0 -1
  105. package/dist-cjs/source_nodejs/generate_private_key_filename.js +0 -88
  106. package/dist-cjs/source_nodejs/generate_private_key_filename.js.map +0 -1
  107. package/dist-cjs/source_nodejs/index.js +0 -21
  108. package/dist-cjs/source_nodejs/index.js.map +0 -1
  109. package/dist-cjs/source_nodejs/read.js +0 -115
  110. package/dist-cjs/source_nodejs/read.js.map +0 -1
  111. package/dist-cjs/source_nodejs/read_certificate_revocation_list.js +0 -64
  112. package/dist-cjs/source_nodejs/read_certificate_revocation_list.js.map +0 -1
  113. package/dist-cjs/source_nodejs/read_certificate_signing_request.js +0 -64
  114. package/dist-cjs/source_nodejs/read_certificate_signing_request.js.map +0 -1
  115. package/dist-esm/source/asn1.js +0 -275
  116. package/dist-esm/source/asn1.js.map +0 -1
  117. package/dist-esm/source/buffer_utils.js +0 -6
  118. package/dist-esm/source/buffer_utils.js.map +0 -1
  119. package/dist-esm/source/common.js +0 -8
  120. package/dist-esm/source/common.js.map +0 -1
  121. package/dist-esm/source/crypto_explore_certificate.js +0 -356
  122. package/dist-esm/source/crypto_explore_certificate.js.map +0 -1
  123. package/dist-esm/source/crypto_utils.js +0 -179
  124. package/dist-esm/source/crypto_utils.js.map +0 -1
  125. package/dist-esm/source/crypto_utils2.js +0 -58
  126. package/dist-esm/source/crypto_utils2.js.map +0 -1
  127. package/dist-esm/source/derived_keys.js +0 -117
  128. package/dist-esm/source/derived_keys.js.map +0 -1
  129. package/dist-esm/source/explore_certificate.js +0 -29
  130. package/dist-esm/source/explore_certificate.js.map +0 -1
  131. package/dist-esm/source/explore_certificate_revocation_list.js +0 -64
  132. package/dist-esm/source/explore_certificate_revocation_list.js.map +0 -1
  133. package/dist-esm/source/explore_certificate_signing_request.js +0 -40
  134. package/dist-esm/source/explore_certificate_signing_request.js.map +0 -1
  135. package/dist-esm/source/explore_private_key.js +0 -73
  136. package/dist-esm/source/explore_private_key.js.map +0 -1
  137. package/dist-esm/source/index.js +0 -19
  138. package/dist-esm/source/index.js.map +0 -1
  139. package/dist-esm/source/make_private_key_from_pem.js +0 -4
  140. package/dist-esm/source/make_private_key_from_pem.js.map +0 -1
  141. package/dist-esm/source/oid_map.js +0 -297
  142. package/dist-esm/source/oid_map.js.map +0 -1
  143. package/dist-esm/source/public_private_match.js +0 -27
  144. package/dist-esm/source/public_private_match.js.map +0 -1
  145. package/dist-esm/source/subject.js +0 -89
  146. package/dist-esm/source/subject.js.map +0 -1
  147. package/dist-esm/source/verify_certificate_signature.js +0 -110
  148. package/dist-esm/source/verify_certificate_signature.js.map +0 -1
  149. package/dist-esm/source/x509/_build_public_key.js +0 -65
  150. package/dist-esm/source/x509/_build_public_key.js.map +0 -1
  151. package/dist-esm/source/x509/_crypto.js +0 -25
  152. package/dist-esm/source/x509/_crypto.js.map +0 -1
  153. package/dist-esm/source/x509/_get_attributes.js +0 -35
  154. package/dist-esm/source/x509/_get_attributes.js.map +0 -1
  155. package/dist-esm/source/x509/coerce_private_key.js +0 -85
  156. package/dist-esm/source/x509/coerce_private_key.js.map +0 -1
  157. package/dist-esm/source/x509/create_certificate_signing_request.js +0 -88
  158. package/dist-esm/source/x509/create_certificate_signing_request.js.map +0 -1
  159. package/dist-esm/source/x509/create_key_pair.js +0 -115
  160. package/dist-esm/source/x509/create_key_pair.js.map +0 -1
  161. package/dist-esm/source/x509/create_self_signed_certificate.js +0 -99
  162. package/dist-esm/source/x509/create_self_signed_certificate.js.map +0 -1
  163. package/dist-esm/source_nodejs/generate_private_key_filename.js +0 -80
  164. package/dist-esm/source_nodejs/generate_private_key_filename.js.map +0 -1
  165. package/dist-esm/source_nodejs/index.js +0 -5
  166. package/dist-esm/source_nodejs/index.js.map +0 -1
  167. package/dist-esm/source_nodejs/read.js +0 -99
  168. package/dist-esm/source_nodejs/read.js.map +0 -1
  169. package/dist-esm/source_nodejs/read_certificate_revocation_list.js +0 -57
  170. package/dist-esm/source_nodejs/read_certificate_revocation_list.js.map +0 -1
  171. package/dist-esm/source_nodejs/read_certificate_signing_request.js +0 -57
  172. package/dist-esm/source_nodejs/read_certificate_signing_request.js.map +0 -1
  173. package/index.d.ts +0 -2
  174. package/index.js +0 -4
  175. package/index_web.d.ts +0 -1
  176. package/index_web.js +0 -3
package/doc/index.html ADDED
@@ -0,0 +1,128 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>node-opcua-crypto</title><meta name="description" content="Documentation for node-opcua-crypto"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base=".">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">node-opcua-crypto</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <h2>node-opcua-crypto</h2></div>
15
+ <div class="tsd-panel tsd-typography"><a id="md:node-opcua-crypto" class="tsd-anchor"></a><h1><a href="#md:node-opcua-crypto">node-opcua-crypto</a></h1><p>NodeOPCUA Crypto is a powerful JavaScript module for handling security and cryptography for OPCUA. It&#39;s written in TypeScript and runs smoothly on Node.js and in the browser.</p>
16
+ <p><a href="https://www.npmtrends.com/node-opcua-crypto"><img src="https://img.shields.io/npm/dm/node-opcua-crypto.svg" alt="NPM download"></a>
17
+ <a href="https://www.npmjs.com/package/node-opcua-crypto?activeTab=versions"><img src="https://img.shields.io/npm/v/node-opcua-crypto" alt="NPM version"></a>
18
+ <a href="https://github.com/node-opcua/node-opcua-crypto/actions/workflows/main.yml"><img src="https://github.com/node-opcua/node-opcua-crypto/actions/workflows/main.yml/badge.svg" alt="Build Status"></a>
19
+ <a href="https://codeclimate.com/github/node-opcua/node-opcua-crypto"><img src="https://codeclimate.com/github/node-opcua/node-opcua-crypto/badges/gpa.svg" alt="Code Climate"></a>
20
+ <a href="https://coveralls.io/github/node-opcua/node-opcua-crypto?branch=master"><img src="https://coveralls.io/repos/github/node-opcua/node-opcua-crypto/badge.svg?branch=master" alt="Coverage Status"></a>
21
+ <a href="https://packagephobia.com/result?p=node-opcua-crypto"><img src="https://packagephobia.com/badge?p=node-opcua-crypto" alt="install size"></a>
22
+ <a href="https://app.fossa.com/projects/custom%2B20248%2Fgithub.com%2Fnode-opcua%2Fnode-opcua-crypto?ref=badge_shield"><img src="https://app.fossa.com/api/projects/custom%2B20248%2Fgithub.com%2Fnode-opcua%2Fnode-opcua-crypto.svg?type=shield" alt="FOSSA Status"></a></p>
23
+ <!-- [![Test Coverage](https://codeclimate.com/github/node-opcua/node-opcua-crypto/badges/coverage.svg)](https://codeclimate.com/github/node-opcua/node-opcua-crypto/coverage) -->
24
+
25
+ <a id="md:features" class="tsd-anchor"></a><h2><a href="#md:features">Features</a></h2><ul>
26
+ <li>a comprehensive set of cryptographic functionalities.</li>
27
+ <li>supports both Node.js and browser environments.</li>
28
+ <li>compatible with TypeScript for robust, type-safe coding.</li>
29
+ <li>implements advanced security standards for OPCUA.</li>
30
+ </ul>
31
+ <a id="md:getting-started" class="tsd-anchor"></a><h2><a href="#md:getting-started">Getting Started</a></h2><p>To use NodeOPCUA Crypto in your project, follow these steps:</p>
32
+ <a id="md:installation" class="tsd-anchor"></a><h4><a href="#md:installation">Installation</a></h4><pre><code class="language-bash"><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">nodeopcua-crypto</span>
33
+ </code><button>Copy</button></pre>
34
+ <a id="md:usage" class="tsd-anchor"></a><h3><a href="#md:usage">Usage</a></h3><pre><code class="language-bash"><br/><span class="hl-0">import</span><span class="hl-1"> </span><span class="hl-2">{</span><span class="hl-1"> </span><span class="hl-2">generatePrivateKey,</span><span class="hl-1"> </span><span class="hl-2">privateKeyToPEM,</span><span class="hl-1"> </span><span class="hl-2">CertificatePurpose,</span><span class="hl-1"> </span><span class="hl-2">createSelfSignedCertificate</span><span class="hl-1"> </span><span class="hl-2">}</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-2">&quot;./node-opcua-crypto.js&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-0">async</span><span class="hl-1"> </span><span class="hl-2">function</span><span class="hl-1"> </span><span class="hl-2">demonstratePrivateKeyAndSelfSignedCertificateCreation</span><span class="hl-1">() </span><span class="hl-2">{</span><br/><br/><span class="hl-1"> </span><span class="hl-0">//</span><span class="hl-1"> </span><span class="hl-2">create</span><span class="hl-1"> </span><span class="hl-2">the</span><span class="hl-1"> </span><span class="hl-2">Private</span><span class="hl-1"> </span><span class="hl-2">Key</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-2">privateKey</span><span class="hl-1"> </span><span class="hl-2">=</span><span class="hl-1"> </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-2">generatePrivateKey</span><span class="hl-1">();</span><br/><br/><span class="hl-1"> </span><span class="hl-0">//</span><span class="hl-1"> </span><span class="hl-2">convert</span><span class="hl-1"> </span><span class="hl-2">the</span><span class="hl-1"> </span><span class="hl-2">private</span><span class="hl-1"> </span><span class="hl-2">key</span><span class="hl-1"> </span><span class="hl-2">to</span><span class="hl-1"> </span><span class="hl-2">a</span><span class="hl-1"> </span><span class="hl-2">PEM</span><span class="hl-1"> </span><span class="hl-2">format</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-2">{</span><span class="hl-1"> </span><span class="hl-2">privPem</span><span class="hl-1"> </span><span class="hl-2">}</span><span class="hl-1"> </span><span class="hl-2">=</span><span class="hl-1"> </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-2">privateKeyToPEM</span><span class="hl-1">(</span><span class="hl-0">privateKey</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-0">console.log(privPem</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-0">//</span><span class="hl-1"> </span><span class="hl-2">create</span><span class="hl-1"> </span><span class="hl-2">a</span><span class="hl-1"> </span><span class="hl-2">self-sign</span><span class="hl-1"> </span><span class="hl-2">certificate</span><br/><span class="hl-1"> </span><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-2">{</span><span class="hl-1"> </span><span class="hl-2">cert</span><span class="hl-1"> </span><span class="hl-2">}</span><span class="hl-1"> </span><span class="hl-2">=</span><span class="hl-1"> </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-2">createSelfSignedCertificate</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-0">privateKey,</span><br/><span class="hl-1"> </span><span class="hl-0">notAfter:</span><span class="hl-1"> </span><span class="hl-2">new</span><span class="hl-1"> </span><span class="hl-2">Date</span><span class="hl-1">(</span><span class="hl-0">2025,</span><span class="hl-1"> </span><span class="hl-3">1</span><span class="hl-2">,</span><span class="hl-1"> </span><span class="hl-3">1</span><span class="hl-1">)</span><span class="hl-2">,</span><br/><span class="hl-1"> </span><span class="hl-0">notBefore:</span><span class="hl-1"> </span><span class="hl-2">new</span><span class="hl-1"> </span><span class="hl-2">Date</span><span class="hl-1">(</span><span class="hl-0">2019,</span><span class="hl-1"> </span><span class="hl-3">1</span><span class="hl-2">,</span><span class="hl-1"> </span><span class="hl-3">1</span><span class="hl-1">)</span><span class="hl-2">,</span><br/><span class="hl-1"> </span><span class="hl-0">subject:</span><span class="hl-1"> </span><span class="hl-2">&quot;CN=Test&quot;,</span><br/><span class="hl-1"> </span><span class="hl-0">dns:</span><span class="hl-1"> [</span><span class="hl-2">&quot;DNS1&quot;</span><span class="hl-1">, </span><span class="hl-2">&quot;DNS2&quot;],</span><br/><span class="hl-1"> </span><span class="hl-0">ip:</span><span class="hl-1"> [</span><span class="hl-2">&quot;192.168.1.1&quot;</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-0">applicationUri:</span><span class="hl-1"> </span><span class="hl-2">&quot;urn:HOSTNAME:ServerDescription&quot;,</span><br/><span class="hl-1"> </span><span class="hl-0">purpose:</span><span class="hl-1"> </span><span class="hl-2">CertificatePurpose.ForApplication,</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">console.log(cert</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-0">demonstratePrivateKeyAndSelfSignedCertificateCreation</span><span class="hl-1">();</span><br/><br/>
35
+ </code><button>Copy</button></pre>
36
+ <p>Please refer to the examples directory for more specific use cases and comprehensive samples.</p>
37
+ <a id="md:support" class="tsd-anchor"></a><h2><a href="#md:support">Support</a></h2><p>For any inquiries or issues related to NodeOPCUA Crypto, you can contact us at <a href="mailto:contact@sterfive.com">contact@sterfive.com</a>. Please note that priority support is available to NodeOPCUA Support Subscription members.</p>
38
+ <a id="md:getting-professional-support" class="tsd-anchor"></a><h3><a href="#md:getting-professional-support">Getting professional support</a></h3><p>NodeOPCUA PKI is developed and maintained by sterfive.com.</p>
39
+ <p>To get professional support, consider subscribing to the node-opcua membership community:</p>
40
+ <p><a href="https://support.sterfive.com"><img src="https://img.shields.io/static/v1?style=for-the-badge&label=Professional&message=Support&labelColor=blue&color=green&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQ5MS41MiA0OTEuNTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ5MS41MiA0OTEuNTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxnPg0KCQk8cGF0aCBkPSJNNDg3Ljk4OSwzODkuNzU1bC05My4xMDktOTIuOTc2Yy00LjgxMy00LjgwNi0xMi42NDItNC42NzQtMTcuMjczLDAuMzA3Yy03LjE0OCw3LjY4OS0xNC42NCwxNS41NTQtMjEuNzMsMjIuNjM0ICAgIGMtMC4yNzEsMC4yNy0wLjUwMSwwLjQ5My0wLjc2MywwLjc1NUw0NjcuMyw0MzIuNTA0YzguOTEtMTAuNjE0LDE2LjY1Ny0yMC40MSwyMS43My0yNi45NyAgICBDNDkyLjcyLDQwMC43NjIsNDkyLjI1NywzOTQuMDE5LDQ4Ny45ODksMzg5Ljc1NXoiLz4NCgk8L2c+DQo8L2c+DQo8Zz4NCgk8Zz4NCgkJPHBhdGggZD0iTTMzNC4zLDMzNy42NjFjLTM0LjMwNCwxMS4zNzktNzcuNTYsMC40MTMtMTE0LjU1NC0yOS41NDJjLTQ5LjAyMS0zOS42OTMtNzUuOTcyLTEwMi42NDItNjUuODM4LTE1MC41OTNMMzcuNjM0LDQxLjQxOCAgICBDMTcuNjUzLDU5LjQyNCwwLDc4LjU0NSwwLDkwYzAsMTQxLjc1MSwyNjAuMzQ0LDQxNS44OTYsNDAxLjUwMyw0MDAuOTMxYzExLjI5Ni0xLjE5OCwzMC4xNzYtMTguNjUxLDQ4LjA2Mi0zOC4xNjdMMzM0LjMsMzM3LjY2MSAgICB6Ii8+DQoJPC9nPg0KPC9nPg0KPGc+DQoJPGc+DQoJCTxwYXRoIGQ9Ik0xOTMuODU0LDk2LjA0MUwxMDEuMjEzLDMuNTNjLTQuMjI1LTQuMjItMTAuODgyLTQuNzI0LTE1LjY2NC0xLjE0NWMtNi42NTQsNC45ODMtMTYuNjQ4LDEyLjY1MS0yNy40NTMsMjEuNDk4ICAgIGwxMTEuOTQ1LDExMS43ODVjMC4wNjEtMC4wNiwwLjExMS0wLjExMywwLjE3Mi0wLjE3NGM3LjIzOC03LjIyOCwxNS4zNTUtMTQuODg1LDIzLjI5MS0yMi4xNjcgICAgQzE5OC41MzQsMTA4LjcxMywxOTguNjg0LDEwMC44NjMsMTkzLjg1NCw5Ni4wNDF6Ii8+DQoJPC9nPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+" alt="Professional Support"></a></p>
41
+ <p>or contact <a href="https://www.sterfive.com">sterfive</a> for dedicated consulting and more advanced support.</p>
42
+ <a id="md:contributing" class="tsd-anchor"></a><h2><a href="#md:contributing">Contributing</a></h2><p>We appreciate contributions from the community. To contribute:</p>
43
+ <ul>
44
+ <li>Fork the repository.</li>
45
+ <li>Create a new branch.</li>
46
+ <li>Commit your changes.</li>
47
+ <li>Submit a pull request.</li>
48
+ <li>Sign the CLA (Contributor Licence Agreement) form</li>
49
+ </ul>
50
+ <p>For more detailed instructions, refer to the CONTRIBUTING.md file.</p>
51
+ <a id="md:license" class="tsd-anchor"></a><h2><a href="#md:license">License</a></h2><p>NodeOPCUA Crypto is MIT licensed. See the LICENSE file for full license details. </p>
52
+ <p>Copyright © 2023 Sterfive.com.</p>
53
+ <a id="md:disclaimer" class="tsd-anchor"></a><h2><a href="#md:disclaimer">Disclaimer</a></h2><p>NodeOPCUA Crypto is provided as-is, and while we strive to ensure its quality and security, Sterfive.com cannot be held liable for any damage caused directly or indirectly by the usage of this module.</p>
54
+ <p>Please report any issues or vulnerabilities you find via the issue tracker.</p>
55
+ <p>Thank you for considering NodeOPCUA Crypto for your OPCUA cryptography needs. We look forward to seeing what you build with i</p>
56
+ <a id="md:heart-supporting-the-development-effort---sponsors-amp-backers" class="tsd-anchor"></a><h2><a href="#md:heart-supporting-the-development-effort---sponsors-amp-backers">:heart: Supporting the development effort - Sponsors &amp; Backers</span></a></h2><p>If you like node-opcua-pki and if you are relying on it in one of your projects, please consider becoming a backer and <a href="https://github.com/sponsors/node-opcua">sponsoring us</a>, this will help us to maintain a high-quality stack and constant evolution of this module.</p>
57
+ <p>If your company would like to participate and influence the development of future versions of node-opcua please contact <a href="mailto:contact@sterfive.com">sterfive</a>.</p>
58
+ <!--
59
+ https://app.fossa.com/reports/489947c3-2e83-48e5-8351-192f553ded57
60
+ https://linuxctl.com/2017/02/x509-certificate-manual-signature-verification/
61
+ --></div></div>
62
+ <div class="col-sidebar">
63
+ <div class="page-menu">
64
+ <div class="tsd-navigation settings">
65
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
66
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
67
+ <div class="tsd-accordion-details">
68
+ <div class="tsd-filter-visibility">
69
+ <h4 class="uppercase">Member Visibility</h4><form>
70
+ <ul id="tsd-filter-options">
71
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
72
+ <div class="tsd-theme-toggle">
73
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
74
+ <details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
75
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
76
+ <div class="tsd-accordion-details">
77
+ <ul>
78
+ <li>
79
+ <ul>
80
+ <li><a href="#md:node-opcua-crypto"><span>node-<wbr/>opcua-<wbr/>crypto</span></a></li>
81
+ <li>
82
+ <ul>
83
+ <li><a href="#md:features"><span>Features</span></a></li>
84
+ <li><a href="#md:getting-started"><span>Getting <wbr/>Started</span></a></li>
85
+ <li>
86
+ <ul>
87
+ <li><a href="#md:installation"><span>Installation</span></a></li>
88
+ <li><a href="#md:usage"><span>Usage</span></a></li></ul></li>
89
+ <li><a href="#md:support"><span>Support</span></a></li>
90
+ <li>
91
+ <ul>
92
+ <li><a href="#md:getting-professional-support"><span>Getting professional support</span></a></li></ul></li>
93
+ <li><a href="#md:contributing"><span>Contributing</span></a></li>
94
+ <li><a href="#md:license"><span>License</span></a></li>
95
+ <li><a href="#md:disclaimer"><span>Disclaimer</span></a></li>
96
+ <li><a href="#md:heart-supporting-the-development-effort---sponsors-amp-backers"><span>:heart: <wbr/>Supporting the development effort -<wbr/> <wbr/>Sponsors &amp; <wbr/>Backers</span></a></li></ul></li></ul></li></ul></div></details></div>
97
+ <div class="site-menu">
98
+ <nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>node-<wbr/>opcua-<wbr/>crypto</span></a>
99
+ <ul class="tsd-small-nested-navigation">
100
+ <li><a href="classes/Subject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Subject</span></a></li>
101
+ <li><a href="interfaces/CertificateInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Certificate<wbr/>Info</span></a></li>
102
+ <li><a href="functions/combine_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>combine_<wbr/>der</span></a></li>
103
+ <li><a href="functions/createPrivateKeyFromNodeJSCrypto.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Private<wbr/>Key<wbr/>From<wbr/>NodeJSCrypto</span></a></li>
104
+ <li><a href="functions/createSelfSignedCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Self<wbr/>Signed<wbr/>Certificate</span></a></li>
105
+ <li><a href="functions/exploreCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate</span></a></li>
106
+ <li><a href="functions/exploreCertificateInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate<wbr/>Info</span></a></li>
107
+ <li><a href="functions/explorePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Private<wbr/>Key</span></a></li>
108
+ <li><a href="functions/extractPublicKeyFromCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>extract<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Certificate</span></a></li>
109
+ <li><a href="functions/generatePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key</span></a></li>
110
+ <li><a href="functions/generatePrivateKeyFileAlternate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key<wbr/>File<wbr/>Alternate</span></a></li>
111
+ <li><a href="functions/makeMessageChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>make<wbr/>Message<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
112
+ <li><a href="functions/privateKeyToPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>private<wbr/>Key<wbr/>ToPEM</span></a></li>
113
+ <li><a href="functions/readCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Certificate</span></a></li>
114
+ <li><a href="functions/readPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Key</span></a></li>
115
+ <li><a href="functions/readPrivateKeyPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>KeyPEM</span></a></li>
116
+ <li><a href="functions/readPrivateRsaKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Rsa<wbr/>Key</span></a></li>
117
+ <li><a href="functions/readPublicKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Public<wbr/>Key</span></a></li>
118
+ <li><a href="functions/reduceLength.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>reduce<wbr/>Length</span></a></li>
119
+ <li><a href="functions/removePadding.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>remove<wbr/>Padding</span></a></li>
120
+ <li><a href="functions/rsaLengthPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>rsa<wbr/>Length<wbr/>Private<wbr/>Key</span></a></li>
121
+ <li><a href="functions/split_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>split_<wbr/>der</span></a></li>
122
+ <li><a href="functions/toPem2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>to<wbr/>Pem2</span></a></li>
123
+ <li><a href="functions/verifyChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature</span></a></li>
124
+ <li><a href="functions/verifyChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
125
+ <li><a href="functions/verifyMessageChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Message<wbr/>Chunk<wbr/>Signature</span></a></li></ul></nav></div></div></div>
126
+ <div class="tsd-generator">
127
+ <p>Generated using <a href="https://typedoc.org/" rel="noopener" target="_blank">TypeDoc</a></p></div>
128
+ <div class="overlay"></div></body></html>
@@ -0,0 +1,135 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>CertificateInfo | node-opcua-crypto</title><meta name="description" content="Documentation for node-opcua-crypto"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-opcua-crypto</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <ul class="tsd-breadcrumb">
15
+ <li><a href="../modules.html">node-opcua-crypto</a></li>
16
+ <li><a href="CertificateInfo.html">CertificateInfo</a></li></ul>
17
+ <h1>Interface CertificateInfo</h1></div>
18
+ <section class="tsd-panel tsd-comment">
19
+ <div class="tsd-comment tsd-typography"><p>A structure exposing useful information about a certificate</p>
20
+ </div>
21
+ <div class="tsd-comment tsd-typography"></div></section>
22
+ <section class="tsd-panel tsd-hierarchy">
23
+ <h4>Hierarchy</h4>
24
+ <ul class="tsd-hierarchy">
25
+ <li><span class="target">CertificateInfo</span></li></ul></section><aside class="tsd-sources">
26
+ <ul>
27
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L39">packages/node-opcua-crypto/source/explore_certificate.ts:39</a></li></ul></aside>
28
+ <section class="tsd-panel-group tsd-index-group">
29
+ <section class="tsd-panel tsd-index-panel">
30
+ <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
31
+ <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
32
+ <div class="tsd-accordion-details">
33
+ <section class="tsd-index-section">
34
+ <h3 class="tsd-index-heading">Properties</h3>
35
+ <div class="tsd-index-list"><a href="CertificateInfo.html#notAfter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>not<wbr/>After</span></a>
36
+ <a href="CertificateInfo.html#notBefore" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>not<wbr/>Before</span></a>
37
+ <a href="CertificateInfo.html#publicKey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>public<wbr/>Key</span></a>
38
+ <a href="CertificateInfo.html#publicKeyLength" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>public<wbr/>Key<wbr/>Length</span></a>
39
+ <a href="CertificateInfo.html#subject" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>subject</span></a>
40
+ </div></section></div></details></section></section>
41
+ <section class="tsd-panel-group tsd-member-group">
42
+ <h2>Properties</h2>
43
+ <section class="tsd-panel tsd-member"><a id="notAfter" class="tsd-anchor"></a>
44
+ <h3 class="tsd-anchor-link"><span>not<wbr/>After</span><a href="#notAfter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
45
+ <div class="tsd-signature"><span class="tsd-kind-property">not<wbr/>After</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Date</span></div>
46
+ <div class="tsd-comment tsd-typography"><p>the date after which the certificate is not valid any more</p>
47
+ </div>
48
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
49
+ <ul>
50
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L45">packages/node-opcua-crypto/source/explore_certificate.ts:45</a></li></ul></aside></section>
51
+ <section class="tsd-panel tsd-member"><a id="notBefore" class="tsd-anchor"></a>
52
+ <h3 class="tsd-anchor-link"><span>not<wbr/>Before</span><a href="#notBefore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
53
+ <div class="tsd-signature"><span class="tsd-kind-property">not<wbr/>Before</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Date</span></div>
54
+ <div class="tsd-comment tsd-typography"><p>the date at which the certificate starts to be valid</p>
55
+ </div>
56
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
57
+ <ul>
58
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L43">packages/node-opcua-crypto/source/explore_certificate.ts:43</a></li></ul></aside></section>
59
+ <section class="tsd-panel tsd-member"><a id="publicKey" class="tsd-anchor"></a>
60
+ <h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
61
+ <div class="tsd-signature"><span class="tsd-kind-property">public<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">SubjectPublicKey</span></div>
62
+ <div class="tsd-comment tsd-typography"><p>public key</p>
63
+ </div>
64
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
65
+ <ul>
66
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L49">packages/node-opcua-crypto/source/explore_certificate.ts:49</a></li></ul></aside></section>
67
+ <section class="tsd-panel tsd-member"><a id="publicKeyLength" class="tsd-anchor"></a>
68
+ <h3 class="tsd-anchor-link"><span>public<wbr/>Key<wbr/>Length</span><a href="#publicKeyLength" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
69
+ <div class="tsd-signature"><span class="tsd-kind-property">public<wbr/>Key<wbr/>Length</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">PublicKeyLength</span></div>
70
+ <div class="tsd-comment tsd-typography"><p>the public key length in bits</p>
71
+ </div>
72
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
73
+ <ul>
74
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L41">packages/node-opcua-crypto/source/explore_certificate.ts:41</a></li></ul></aside></section>
75
+ <section class="tsd-panel tsd-member"><a id="subject" class="tsd-anchor"></a>
76
+ <h3 class="tsd-anchor-link"><span>subject</span><a href="#subject" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
77
+ <div class="tsd-signature"><span class="tsd-kind-property">subject</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">DirectoryName</span></div>
78
+ <div class="tsd-comment tsd-typography"><p>info about certificate owner</p>
79
+ </div>
80
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
81
+ <ul>
82
+ <li>Defined in <a href="https://github.com/node-opcua/node-opcua-crypto/blob/2220548/packages/node-opcua-crypto/source/explore_certificate.ts#L47">packages/node-opcua-crypto/source/explore_certificate.ts:47</a></li></ul></aside></section></section></div>
83
+ <div class="col-sidebar">
84
+ <div class="page-menu">
85
+ <div class="tsd-navigation settings">
86
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
87
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
88
+ <div class="tsd-accordion-details">
89
+ <div class="tsd-filter-visibility">
90
+ <h4 class="uppercase">Member Visibility</h4><form>
91
+ <ul id="tsd-filter-options">
92
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
93
+ <div class="tsd-theme-toggle">
94
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
95
+ <details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
96
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
97
+ <div class="tsd-accordion-details">
98
+ <ul>
99
+ <li><a href="#notAfter" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>not<wbr/>After</span></a></li>
100
+ <li><a href="#notBefore" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>not<wbr/>Before</span></a></li>
101
+ <li><a href="#publicKey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>public<wbr/>Key</span></a></li>
102
+ <li><a href="#publicKeyLength" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>public<wbr/>Key<wbr/>Length</span></a></li>
103
+ <li><a href="#subject" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>subject</span></a></li></ul></div></details></div>
104
+ <div class="site-menu">
105
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>node-<wbr/>opcua-<wbr/>crypto</span></a>
106
+ <ul class="tsd-small-nested-navigation">
107
+ <li><a href="../classes/Subject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Subject</span></a></li>
108
+ <li><a href="CertificateInfo.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Certificate<wbr/>Info</span></a></li>
109
+ <li><a href="../functions/combine_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>combine_<wbr/>der</span></a></li>
110
+ <li><a href="../functions/createPrivateKeyFromNodeJSCrypto.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Private<wbr/>Key<wbr/>From<wbr/>NodeJSCrypto</span></a></li>
111
+ <li><a href="../functions/createSelfSignedCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Self<wbr/>Signed<wbr/>Certificate</span></a></li>
112
+ <li><a href="../functions/exploreCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate</span></a></li>
113
+ <li><a href="../functions/exploreCertificateInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate<wbr/>Info</span></a></li>
114
+ <li><a href="../functions/explorePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Private<wbr/>Key</span></a></li>
115
+ <li><a href="../functions/extractPublicKeyFromCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>extract<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Certificate</span></a></li>
116
+ <li><a href="../functions/generatePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key</span></a></li>
117
+ <li><a href="../functions/generatePrivateKeyFileAlternate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key<wbr/>File<wbr/>Alternate</span></a></li>
118
+ <li><a href="../functions/makeMessageChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>make<wbr/>Message<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
119
+ <li><a href="../functions/privateKeyToPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>private<wbr/>Key<wbr/>ToPEM</span></a></li>
120
+ <li><a href="../functions/readCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Certificate</span></a></li>
121
+ <li><a href="../functions/readPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Key</span></a></li>
122
+ <li><a href="../functions/readPrivateKeyPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>KeyPEM</span></a></li>
123
+ <li><a href="../functions/readPrivateRsaKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Rsa<wbr/>Key</span></a></li>
124
+ <li><a href="../functions/readPublicKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Public<wbr/>Key</span></a></li>
125
+ <li><a href="../functions/reduceLength.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>reduce<wbr/>Length</span></a></li>
126
+ <li><a href="../functions/removePadding.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>remove<wbr/>Padding</span></a></li>
127
+ <li><a href="../functions/rsaLengthPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>rsa<wbr/>Length<wbr/>Private<wbr/>Key</span></a></li>
128
+ <li><a href="../functions/split_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>split_<wbr/>der</span></a></li>
129
+ <li><a href="../functions/toPem2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>to<wbr/>Pem2</span></a></li>
130
+ <li><a href="../functions/verifyChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature</span></a></li>
131
+ <li><a href="../functions/verifyChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
132
+ <li><a href="../functions/verifyMessageChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Message<wbr/>Chunk<wbr/>Signature</span></a></li></ul></nav></div></div></div>
133
+ <div class="tsd-generator">
134
+ <p>Generated using <a href="https://typedoc.org/" rel="noopener" target="_blank">TypeDoc</a></p></div>
135
+ <div class="overlay"></div></body></html>
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>node-opcua-crypto</title><meta name="description" content="Documentation for node-opcua-crypto"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base=".">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">node-opcua-crypto</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <h2>node-opcua-crypto</h2></div>
15
+ <section class="tsd-panel-group tsd-index-group">
16
+ <section class="tsd-panel tsd-index-panel">
17
+ <h3 class="tsd-index-heading uppercase">Index</h3>
18
+ <section class="tsd-index-section">
19
+ <h3 class="tsd-index-heading">Classes</h3>
20
+ <div class="tsd-index-list"><a href="classes/Subject.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Subject</span></a>
21
+ </div></section>
22
+ <section class="tsd-index-section">
23
+ <h3 class="tsd-index-heading">Interfaces</h3>
24
+ <div class="tsd-index-list"><a href="interfaces/CertificateInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Certificate<wbr/>Info</span></a>
25
+ </div></section>
26
+ <section class="tsd-index-section">
27
+ <h3 class="tsd-index-heading">Functions</h3>
28
+ <div class="tsd-index-list"><a href="functions/combine_der.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>combine_<wbr/>der</span></a>
29
+ <a href="functions/createPrivateKeyFromNodeJSCrypto.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Private<wbr/>Key<wbr/>From<wbr/>NodeJSCrypto</span></a>
30
+ <a href="functions/createSelfSignedCertificate.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Self<wbr/>Signed<wbr/>Certificate</span></a>
31
+ <a href="functions/exploreCertificate.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate</span></a>
32
+ <a href="functions/exploreCertificateInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate<wbr/>Info</span></a>
33
+ <a href="functions/explorePrivateKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Private<wbr/>Key</span></a>
34
+ <a href="functions/extractPublicKeyFromCertificate.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>extract<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Certificate</span></a>
35
+ <a href="functions/generatePrivateKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key</span></a>
36
+ <a href="functions/generatePrivateKeyFileAlternate.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key<wbr/>File<wbr/>Alternate</span></a>
37
+ <a href="functions/makeMessageChunkSignatureWithDerivedKeys.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>make<wbr/>Message<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a>
38
+ <a href="functions/privateKeyToPEM.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>private<wbr/>Key<wbr/>ToPEM</span></a>
39
+ <a href="functions/readCertificate.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Certificate</span></a>
40
+ <a href="functions/readPrivateKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Key</span></a>
41
+ <a href="functions/readPrivateKeyPEM.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>KeyPEM</span></a>
42
+ <a href="functions/readPrivateRsaKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Rsa<wbr/>Key</span></a>
43
+ <a href="functions/readPublicKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Public<wbr/>Key</span></a>
44
+ <a href="functions/reduceLength.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>reduce<wbr/>Length</span></a>
45
+ <a href="functions/removePadding.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>remove<wbr/>Padding</span></a>
46
+ <a href="functions/rsaLengthPrivateKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>rsa<wbr/>Length<wbr/>Private<wbr/>Key</span></a>
47
+ <a href="functions/split_der.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>split_<wbr/>der</span></a>
48
+ <a href="functions/toPem2.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>to<wbr/>Pem2</span></a>
49
+ <a href="functions/verifyChunkSignature.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature</span></a>
50
+ <a href="functions/verifyChunkSignatureWithDerivedKeys.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a>
51
+ <a href="functions/verifyMessageChunkSignature.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Message<wbr/>Chunk<wbr/>Signature</span></a>
52
+ </div></section></section></section></div>
53
+ <div class="col-sidebar">
54
+ <div class="page-menu">
55
+ <div class="tsd-navigation settings">
56
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
57
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
58
+ <div class="tsd-accordion-details">
59
+ <div class="tsd-filter-visibility">
60
+ <h4 class="uppercase">Member Visibility</h4><form>
61
+ <ul id="tsd-filter-options">
62
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
63
+ <div class="tsd-theme-toggle">
64
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
65
+ <div class="site-menu">
66
+ <nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>node-<wbr/>opcua-<wbr/>crypto</span></a>
67
+ <ul class="tsd-small-nested-navigation">
68
+ <li><a href="classes/Subject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Subject</span></a></li>
69
+ <li><a href="interfaces/CertificateInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Certificate<wbr/>Info</span></a></li>
70
+ <li><a href="functions/combine_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>combine_<wbr/>der</span></a></li>
71
+ <li><a href="functions/createPrivateKeyFromNodeJSCrypto.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Private<wbr/>Key<wbr/>From<wbr/>NodeJSCrypto</span></a></li>
72
+ <li><a href="functions/createSelfSignedCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Self<wbr/>Signed<wbr/>Certificate</span></a></li>
73
+ <li><a href="functions/exploreCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate</span></a></li>
74
+ <li><a href="functions/exploreCertificateInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Certificate<wbr/>Info</span></a></li>
75
+ <li><a href="functions/explorePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>explore<wbr/>Private<wbr/>Key</span></a></li>
76
+ <li><a href="functions/extractPublicKeyFromCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>extract<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Certificate</span></a></li>
77
+ <li><a href="functions/generatePrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key</span></a></li>
78
+ <li><a href="functions/generatePrivateKeyFileAlternate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>generate<wbr/>Private<wbr/>Key<wbr/>File<wbr/>Alternate</span></a></li>
79
+ <li><a href="functions/makeMessageChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>make<wbr/>Message<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
80
+ <li><a href="functions/privateKeyToPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>private<wbr/>Key<wbr/>ToPEM</span></a></li>
81
+ <li><a href="functions/readCertificate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Certificate</span></a></li>
82
+ <li><a href="functions/readPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Key</span></a></li>
83
+ <li><a href="functions/readPrivateKeyPEM.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>KeyPEM</span></a></li>
84
+ <li><a href="functions/readPrivateRsaKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Private<wbr/>Rsa<wbr/>Key</span></a></li>
85
+ <li><a href="functions/readPublicKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>read<wbr/>Public<wbr/>Key</span></a></li>
86
+ <li><a href="functions/reduceLength.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>reduce<wbr/>Length</span></a></li>
87
+ <li><a href="functions/removePadding.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>remove<wbr/>Padding</span></a></li>
88
+ <li><a href="functions/rsaLengthPrivateKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>rsa<wbr/>Length<wbr/>Private<wbr/>Key</span></a></li>
89
+ <li><a href="functions/split_der.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>split_<wbr/>der</span></a></li>
90
+ <li><a href="functions/toPem2.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>to<wbr/>Pem2</span></a></li>
91
+ <li><a href="functions/verifyChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature</span></a></li>
92
+ <li><a href="functions/verifyChunkSignatureWithDerivedKeys.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Chunk<wbr/>Signature<wbr/>With<wbr/>Derived<wbr/>Keys</span></a></li>
93
+ <li><a href="functions/verifyMessageChunkSignature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>verify<wbr/>Message<wbr/>Chunk<wbr/>Signature</span></a></li></ul></nav></div></div></div>
94
+ <div class="tsd-generator">
95
+ <p>Generated using <a href="https://typedoc.org/" rel="noopener" target="_blank">TypeDoc</a></p></div>
96
+ <div class="overlay"></div></body></html>
Binary file