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