openssl_x509_check_private_key(3) php man page | unix.com

Man Page: openssl_x509_check_private_key

Operating Environment: php

Section: 3

OPENSSL_X509_CHECK_PRIVATE_KEY(3)					 1					 OPENSSL_X509_CHECK_PRIVATE_KEY(3)

openssl_x509_check_private_key - Checks if a private key corresponds to a certificate

SYNOPSIS
bool openssl_x509_check_private_key (mixed $cert, mixed $key)
DESCRIPTION
Checks whether the given $key is the private key that corresponds to $cert.
PARAMETERS
o $cert - The certificate. o $key - The private key.
RETURN VALUES
Returns TRUE if $key is the private key that corresponds to $cert, or FALSE otherwise. PHP Documentation Group OPENSSL_X509_CHECK_PRIVATE_KEY(3)
Related Man Pages
nbsvtool(1) - netbsd
pkcs12_parse(3ssl) - debian
certtool(1) - suse
io::socket::ssl::utils(3) - centos
pkcs12_parse(3ssl) - minix
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team