openssl_x509_check_private_key

(PHP 4 >= 4.2.0)

openssl_x509_check_private_key -- Vérifie si une clé privée correspon à un CERT

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.