Forum und email

openssl_x509_check_private_key

(PHP 4 >= 4.2.0, PHP 5)

openssl_x509_check_private_key — Vérifie si une clé privée correspond à un certificat

Description

bool openssl_x509_check_private_key ( mixed $cert , mixed $key )

openssl_x509_check_private_key() retourne TRUE si key est la clé privée qui correspond au certificat cert , ou FALSE sinon.