1gnutls_x509_trust_list_get_issuer(3)gnutlsgnutls_x509_trust_list_get_issuer(3)
2
3
4

NAME

6       gnutls_x509_trust_list_get_issuer - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int   gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t  list,
12       gnutls_x509_crt_t  cert,  gnutls_x509_crt_t  *  issuer,  unsigned   int
13       flags);
14

ARGUMENTS

16       gnutls_x509_trust_list_t list
17                   The structure of the list
18
19       gnutls_x509_crt_t cert
20                   is the certificate to find issuer for
21
22       gnutls_x509_crt_t * issuer
23                   Will hold the issuer if any. Should be treated as constant.
24
25       unsigned int flags
26                   Use zero or GNUTLS_TL_GET_COPY
27

DESCRIPTION

29       This  function  will  find the issuer of the given certificate.  If the
30       flag GNUTLS_TL_GET_COPY is specified a  copy  of  the  issuer  will  be
31       returned which must be freed using gnutls_x509_crt_deinit().  Note that
32       the flag GNUTLS_TL_GET_COPY is required for this function to work  with
33       PKCS 11 trust lists in a thread-safe way.
34

RETURNS

36       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
37       error value.
38

SINCE

40       3.0
41

REPORTING BUGS

43       Report bugs to <bugs@gnutls.org>.
44       Home page: http://www.gnutls.org
45
46
48       Copyright © 2001-2014 Free Software Foundation, Inc..
49       Copying and distribution of this file, with  or  without  modification,
50       are  permitted  in  any  medium  without royalty provided the copyright
51       notice and this notice are preserved.
52

SEE ALSO

54       The full documentation for gnutls is maintained as  a  Texinfo  manual.
55       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
56       visit
57
58       http://www.gnutls.org/manual/
59
60gnutls                              3.3.29gnutls_x509_trust_list_get_issuer(3)
Impressum