1gnutls_pkcs7_print(3)               gnutls               gnutls_pkcs7_print(3)
2
3
4

NAME

6       gnutls_pkcs7_print - API function
7

SYNOPSIS

9       #include <gnutls/pkcs7.h>
10
11       int     gnutls_pkcs7_print(gnutls_pkcs7_t     pkcs7,    gnutls_certifi‐
12       cate_print_formats_t format, gnutls_datum_t * out);
13

ARGUMENTS

15       gnutls_pkcs7_t pkcs7
16                   The PKCS7 struct to be printed
17
18       gnutls_certificate_print_formats_t format
19                   Indicate the format to use
20
21       gnutls_datum_t * out
22                   Newly allocated datum with null terminated string.
23

DESCRIPTION

25       This function will pretty print a signed PKCS 7 structure, suitable for
26       display to a human.
27
28       Currently   the   supported   formats   are  GNUTLS_CRT_PRINT_FULL  and
29       GNUTLS_CRT_PRINT_COMPACT.
30
31       The output  out needs to be deallocated using gnutls_free().
32

RETURNS

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

REPORTING BUGS

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

SEE ALSO

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