|
openssl_x509_verifyVerifies digital signature of x509 certificate against a public key Description
int openssl_x509_verify(OpenSSLCertificatestring
$certificate, OpenSSLAsymmetricKeyOpenSSLCertificatearraystring $public_key)
openssl_x509_verify verifies that the
Parameters
Return ValuesReturns 1 if the signature is correct, 0 if it is incorrect, and -1 on error. Warning
Both the success value and the error value are
truthy, so a plain
truth test such as Changelog
Examples
Example #1 openssl_x509_verify example See Also
|