=pod =head1 NAME X509_check_issued - checks if certificate is issued by another certificate =head1 SYNOPSIS #include int X509_check_issued(X509 *issuer, X509 *subject); =head1 DESCRIPTION This function checks if certificate I was issued using CA certificate I. This function takes into account not only matching of issuer field of I with subject field of I, but also compares B extension of I with B of I if B present in the I certificate and checks B field of I. =head1 RETURN VALUE 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-2016 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