Imported Upstream version 3.4.11
[platform/upstream/gnutls.git] / doc / functions / gnutls_x509_crq_print
1
2
3
4
5 @deftypefun {int} {gnutls_x509_crq_print} (gnutls_x509_crq_t @var{crq}, gnutls_certificate_print_formats_t @var{format}, gnutls_datum_t * @var{out})
6 @var{crq}: The data to be printed
7
8 @var{format}: Indicate the format to use
9
10 @var{out}: Newly allocated datum with null terminated string.
11
12 This function will pretty print a certificate request, suitable for
13 display to a human.
14
15 The output  @code{out} needs to be deallocated using @code{gnutls_free()} .
16
17 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
18 negative error value.
19
20 @strong{Since:} 2.8.0
21 @end deftypefun