=pod =head1 NAME X509_check_issued - checks if certificate is apparently issued by another certificate =head1 SYNOPSIS #include int X509_check_issued(X509 *issuer, X509 *subject); =head1 DESCRIPTION X509_check_issued() checks if certificate I was apparently issued using (CA) certificate I. This function takes into account not only matching of the issuer field of I with the subject field of I, but also compares all sub-fields of the B extension of I, as far as present, with the respective B, serial number, and issuer fields of I, as far as present. It also checks if the B field (if present) of I allows certificate signing. It does not check the certificate signature. =head1 RETURN VALUES Function return B if certificate I is issued by I or some B constant to indicate an error. =head1 SEE ALSO L, L, L =head1 COPYRIGHT Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at L. =cut