method X509Certificate.prototype.checkPrivateKey
Jump to headingX509Certificate.prototype.checkPrivateKey(privateKey: KeyObject): booleanChecks whether the public key for this certificate is consistent with the given private key.
Parameters Jump to heading
Jump to headingprivateKey: KeyObjectA private key.
Return Type Jump to heading
boolean