1X509_CHECK_ISSUED(3) OpenSSL X509_CHECK_ISSUED(3)
2
3
4
6 X509_check_issued - checks if certificate is issued by another
7 certificate
8
10 #include <openssl/x509v3.h>
11
12 int X509_check_issued(X509 *issuer, X509 *subject);
13
15 This function checks if certificate subject was issued using CA
16 certificate issuer. This function takes into account not only matching
17 of issuer field of subject with subject field of issuer, but also
18 compares authorityKeyIdentifier extension of subject with
19 subjectKeyIdentifier of issuer if authorityKeyIdentifier present in the
20 subject certificate and checks keyUsage field of issuer.
21
23 Function return X509_V_OK if certificate subject is issued by issuer or
24 some X509_V_ERR* constant to indicate an error.
25
27 X509_verify_cert(3), X509_check_ca(3), verify(1)
28
30 Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
31
32 Licensed under the OpenSSL license (the "License"). You may not use
33 this file except in compliance with the License. You can obtain a copy
34 in the file LICENSE in the source distribution or at
35 <https://www.openssl.org/source/license.html>.
36
37
38
391.1.1 2018-09-11 X509_CHECK_ISSUED(3)