Sortix 1.1dev nightly manual
This manual documents Sortix 1.1dev nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
|X509_CHECK_PRIVATE_KEY(3)||Library Functions Manual||X509_CHECK_PRIVATE_KEY(3)|
compare public key components
X509_check_private_key(const X509 *x, const EVP_PKEY *k); int
X509_REQ_check_private_key(X509_REQ *x, EVP_PKEY *k);
X509_check_private_key() compares the public key components (e.g. exponent and modulus of an RSA key) and parameters (e.g. EC params of an EC key) of k with the corresponding properties of x. Despite the name, it neither checks whether k contains private key components at all, nor, if any are present, whether they are consistent with the public key components.
X509_REQ_check_private_key() is equivalent to
X509_check_private_key() except that it compares to the public key contained in a certificate request. ERR_get_error(3). SSL_check_private_key(3), X509_new(3), X509_REQ_new(3)
X509_check_private_key() first appeared in SSLeay 0.6.5 and has been available since OpenBSD 2.4.
X509_REQ_check_private_key() first appeared in OpenSSL 0.9.8 and has been available since OpenBSD 4.5.
|June 6, 2019||Debian|