1gnutls_pcert_import_openpgp_raw(3)  gnutls  gnutls_pcert_import_openpgp_raw(3)
2
3
4

NAME

6       gnutls_pcert_import_openpgp_raw - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int   gnutls_pcert_import_openpgp_raw(gnutls_pcert_st  *  pcert,  const
12       gnutls_datum_t     *     cert,     gnutls_openpgp_crt_fmt_t     format,
13       gnutls_openpgp_keyid_t keyid, unsigned int 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_openpgp_crt_fmt_t format
23                   The format of the certificate
24
25       gnutls_openpgp_keyid_t keyid
26                   The key ID to use (NULL for the master key)
27
28       unsigned int flags
29                   zero for now
30

DESCRIPTION

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

RETURNS

37       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
38       error value.
39

SINCE

41       3.0
42

REPORTING BUGS

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

SEE ALSO

55       The full documentation for gnutls is maintained as  a  Texinfo  manual.
56       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
57       visit
58
59       http://www.gnutls.org/manual/
60
61gnutls                              3.3.29  gnutls_pcert_import_openpgp_raw(3)
Impressum