1gnutls_pcert_list_import_x509_raw(3)gnutlsgnutls_pcert_list_import_x509_raw(3)
2
3
4

NAME

6       gnutls_pcert_list_import_x509_raw - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int    gnutls_pcert_list_import_x509_raw(gnutls_pcert_st    *   pcerts,
12       unsigned   int   *   pcert_max,   const    gnutls_datum_t    *    data,
13       gnutls_x509_crt_fmt_t format, unsigned int flags);
14

ARGUMENTS

16       gnutls_pcert_st * pcerts
17                   The structures to store the parsed certificate. Must not be
18                   initialized.
19
20       unsigned int * pcert_max
21                   Initially must hold the maximum number of certs. It will be
22                   updated with the number of certs available.
23
24       const gnutls_datum_t * data
25                   The certificates.
26
27       gnutls_x509_crt_fmt_t format
28                   One of DER or PEM.
29
30       unsigned int flags
31                   must   be  (0)  or  an  OR'd  sequence  of  gnutls_certifi‐
32                   cate_import_flags.
33

DESCRIPTION

35       This function will convert the given PEM encoded  certificate  list  to
36       the  native  gnutls_x509_crt_t  format.  The  output  will be stored in
37       certs .  They will be automatically initialized.
38
39       If the Certificate is PEM encoded it should have a header of "X509 CER‐
40       TIFICATE", or "CERTIFICATE".
41

RETURNS

43       the number of certificates read or a negative error value.
44

SINCE

46       3.0
47

REPORTING BUGS

49       Report bugs to <bugs@gnutls.org>.
50       Home page: http://www.gnutls.org
51
52
54       Copyright © 2001-2014 Free Software Foundation, Inc..
55       Copying  and  distribution  of this file, with or without modification,
56       are permitted in any medium  without  royalty  provided  the  copyright
57       notice and this notice are preserved.
58

SEE ALSO

60       The  full  documentation  for gnutls is maintained as a Texinfo manual.
61       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
62       visit
63
64       http://www.gnutls.org/manual/
65
66gnutls                              3.3.29gnutls_pcert_list_import_x509_raw(3)
Impressum