(PHP 4 >= 4.2.0, PHP 5)
openssl_x509_check_private_key — Überprüft, ob ein privater Schlüssel zu einem Zertifikat passt
Prüft ob der übergebene Schlüssel key der private Schlüssel zum Zertifikat cert ist.
Das Zertifikat
Der private Schlüssel.
Gibt TRUE zurück wenn key der private Schlüssel zum Zertifikat certist, andernfalls FALSE.
Please note that this function only compares the public key component of the private key with the public key residing in the certificate.