x509.checkPrivateKey(privateKey)
-
privateKey
<KeyObject> 私钥。¥
privateKey
<KeyObject> A private key. -
返回:<boolean>
¥Returns: <boolean>
检查此证书的公钥是否与给定的私钥一致。
¥Checks whether the public key for this certificate is consistent with the given private key.