openssl_x509_check_private_key() returns TRUE if key is the private key that corresponds to cert, or FALSE otherwise.