1gnutls_pkcs7_print_signature_info(3)gnutlsgnutls_pkcs7_print_signature_info(3)
2
3
4
6 gnutls_pkcs7_print_signature_info - API function
7
9 #include <gnutls/pkcs7.h>
10
11 int gnutls_pkcs7_print_signature_info(gnutls_pkcs7_signature_info_st *
12 info, gnutls_certificate_print_formats_t format, gnutls_datum_t * out);
13
15 gnutls_pkcs7_signature_info_st * info
16 The PKCS7 signature info 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
25 This function will pretty print a PKCS 7 signature info structure,
26 suitable for 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
34 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
35 ror value.
36
38 3.6.14
39
41 Report bugs to <bugs@gnutls.org>.
42 Home page: https://www.gnutls.org
43
44
46 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright no‐
49 tice and this notice are preserved.
50
52 The full documentation for gnutls is maintained as a Texinfo manual.
53 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
54 visit
55
56 https://www.gnutls.org/manual/
57
58gnutls 3.8.2gnutls_pkcs7_print_signature_info(3)