summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_ext_print
blob: 7fb83e28bf21098a793e2c3f95ba8c92a141334b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@deftypefun {int} {gnutls_x509_ext_print} (gnutls_x509_ext_st * @var{exts}, unsigned int @var{exts_size}, gnutls_certificate_print_formats_t @var{format}, gnutls_datum_t * @var{out})
@var{exts}: The data to be printed

@var{exts_size}: the number of available structures

@var{format}: Indicate the format to use

@var{out}: Newly allocated datum with null terminated string.

This function will pretty print X.509 certificate extensions,
suitable for display to a human.

The output  @code{out} needs to be deallocated using @code{gnutls_free()} .

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun