5 X509_check_issued - checks if certificate is issued by another
10 #include <openssl/x509v3.h>
12 int X509_check_issued(X509 *issuer, X509 *subject);
17 This function checks if certificate I<subject> was issued using CA
18 certificate I<issuer>. This function takes into account not only
19 matching of issuer field of I<subject> with subject field of I<issuer>,
20 but also compares B<authorityKeyIdentifier> extension of I<subject> with
21 B<subjectKeyIdentifier> of I<issuer> if B<authorityKeyIdentifier>
22 present in the I<subject> certificate and checks B<keyUsage> field of
27 Function return B<X509_V_OK> if certificate I<subject> is issued by
28 I<issuer> or some B<X509_V_ERR*> constant to indicate an error.
32 L<X509_verify_cert(3)>,