node-opcua-pki 6.4.0 → 6.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-pki",
3
- "version": "6.4.0",
3
+ "version": "6.5.0",
4
4
  "description": "PKI management for node-opcua",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -44,10 +44,10 @@
44
44
  "chokidar": "4.0.3",
45
45
  "command-line-args": "^6.0.1",
46
46
  "command-line-usage": "^7.0.3",
47
- "node-opcua-crypto": "5.1.0",
47
+ "node-opcua-crypto": "5.2.0",
48
48
  "progress": "^2.0.3",
49
49
  "wget-improved-2": "^3.3.0",
50
50
  "yauzl": "^3.2.0"
51
51
  },
52
- "gitHead": "605b89f114cd144148e5766e2fc270bd5382b7bb"
52
+ "gitHead": "1ca27a313de057145601f25385fd6522dbcf9621"
53
53
  }
package/readme.md CHANGED
@@ -217,11 +217,10 @@ await cm.createSelfSignedCertificate({
217
217
  | ----------------------------------------------- | ------------------------------------------------------------------------------------------ |
218
218
  | `trustCertificate(cert)` | Add a certificate to the trusted store |
219
219
  | `rejectCertificate(cert)` | Move a certificate to the rejected store |
220
- | `getCertificateStatus(cert)` | Returns `"trusted"`, `"rejected"`, or `"unknown"` |
220
+ | `verifyCertificate(cert, options?)` | Full certificate chain validation |
221
221
  | `removeTrustedCertificate(thumbprint)` | Remove a trusted certificate by SHA-1 thumbprint. Returns the certificate buffer or `null` |
222
222
  | `addTrustedCertificateFromChain(certChain)` | Validate and trust the leaf certificate from a DER chain |
223
223
  | `isIssuerInUseByTrustedCertificate(issuerCert)` | Check if any trusted cert was signed by this issuer |
224
- | `verifyCertificate(cert, options?)` | Full certificate chain validation |
225
224
  | `reloadCertificates()` | Force a full re-scan of all PKI folders |
226
225
 
227
226
  #### Issuer (CA) Certificates