method X509Certificate.prototype.checkPrivateKey
Usage
import { X509Certificate } from "node:crypto";
Checks whether the public key for this certificate is consistent with the given private key.
import { X509Certificate } from "node:crypto";
Checks whether the public key for this certificate is consistent with the given private key.