1gnutls_pcert_import_x509_raw(3)     gnutls     gnutls_pcert_import_x509_raw(3)
2
3
4

NAME

6       gnutls_pcert_import_x509_raw - API function
7

SYNOPSIS

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

ARGUMENTS

16       gnutls_pcert_st * pcert
17                   The pcert structure
18
19       const gnutls_datum_t * cert
20                   The raw certificate to be imported
21
22       gnutls_x509_crt_fmt_t format
23                   The format of the certificate
24
25       unsigned int flags
26                   zero for now
27

DESCRIPTION

29       This  convenience  function  will  import  the  given  certificate to a
30       gnutls_pcert_st structure. The structure must be  deinitialized  after‐
31       wards using gnutls_pcert_deinit();
32

RETURNS

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

SINCE

38       3.0
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001- 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
49       notice and this notice are preserved.
50

SEE ALSO

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.6.15     gnutls_pcert_import_x509_raw(3)
Impressum