1gnutls_x509_crt_get_issuer_dn(3)    gnutls    gnutls_x509_crt_get_issuer_dn(3)
2
3
4

NAME

6       gnutls_x509_crt_get_issuer_dn - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt_t  cert, char * buf,
12       size_t * buf_size);
13

ARGUMENTS

15       gnutls_x509_crt_t cert
16                   should contain a gnutls_x509_crt_t structure
17
18       char * buf  a pointer to a structure to hold the name (may be null)
19
20       size_t * buf_size
21                   initially holds the size of  buf
22

DESCRIPTION

24       This function will copy the name of the Certificate issuer in the  pro‐
25       vided  buffer.  The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as
26       described in RFC4514. The output string will be ASCII or UTF-8 encoded,
27       depending on the certificate data.
28
29       If  buf is null then only the size will be filled.
30

RETURNS

32       GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not long enough,
33       and in that case the  buf_size will be updated with the required  size.
34       On success 0 is returned.
35

REPORTING BUGS

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

SEE ALSO

48       The  full  documentation  for gnutls is maintained as a Texinfo manual.
49       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
50       visit
51
52       http://www.gnutls.org/manual/
53
54gnutls                              3.3.29    gnutls_x509_crt_get_issuer_dn(3)
Impressum