1gnutls_x509_crt_check_issuer(3)     gnutls     gnutls_x509_crt_check_issuer(3)
2
3
4

NAME

6       gnutls_x509_crt_check_issuer - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       unsigned      gnutls_x509_crt_check_issuer(gnutls_x509_crt_t      cert,
12       gnutls_x509_crt_t issuer);
13

ARGUMENTS

15       gnutls_x509_crt_t cert
16                   is the certificate to be checked
17
18       gnutls_x509_crt_t issuer
19                   is the certificate of a possible issuer
20

DESCRIPTION

22       This function will check if the given certificate  was  issued  by  the
23       given  issuer. It checks the DN fields and the authority key identifier
24       and subject key identifier fields match.
25
26       If the same certificate is provided at the  cert and  issuer fields, it
27       will check whether the certificate is self-signed.
28

RETURNS

30       It will return true (1) if the given certificate is issued by the given
31       issuer, and false (0) if not.
32

REPORTING BUGS

34       Report bugs to <bugs@gnutls.org>.
35       Home page: https://www.gnutls.org
36
37
39       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
40       Copying and distribution of this file, with  or  without  modification,
41       are  permitted  in  any  medium  without royalty provided the copyright
42       notice and this notice are preserved.
43

SEE ALSO

45       The full documentation for gnutls is maintained as  a  Texinfo  manual.
46       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3.6.7     gnutls_x509_crt_check_issuer(3)
Impressum