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
pkcs12_parse(3ssl) - linux
pkcs12_parse(3ssl) - debian
pkcs12_parse(3) - centos
certtool(1) - suse
openssl_pkcs7_decrypt(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!