1gnutls_certificate_get_issuer(3)    gnutls    gnutls_certificate_get_issuer(3)
2
3
4

NAME

6       gnutls_certificate_get_issuer - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_certificate_get_issuer(gnutls_certificate_credentials_t sc,
12       gnutls_x509_crt_t  cert,  gnutls_x509_crt_t  *  issuer,  unsigned   int
13       flags);
14

ARGUMENTS

16       gnutls_certificate_credentials_t sc
17                   is a gnutls_certificate_credentials_t structure.
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 return the issuer of a given certificate.  As with
30       gnutls_x509_trust_list_get_issuer()   this   function   requires    the
31       GNUTLS_TL_GET_COPY  flag  in order to operate with PKCS 11 trust lists.
32       In that case the issuer must be freed using gnutls_x509_crt_deinit().
33

RETURNS

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

SINCE

39       3.0
40

REPORTING BUGS

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

SEE ALSO

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