1gnutls_certificate_set_openpgp_keygrniungtgnl_usmt_elcmse(r3t)ificate_set_openpgp_keyring_mem(3)
2
3
4

NAME

6       gnutls_certificate_set_openpgp_keyring_mem   -  Add  keyring  data  for
7       OpenPGP
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int  gnutls_certificate_set_openpgp_keyring_mem(gnutls_certificate_cre‐
13       dentials_t     c,     const     opaque    *    data,    size_t    dlen,
14       gnutls_openpgp_crt_fmt_t format);
15

ARGUMENTS

17       gnutls_certificate_credentials_t c
18                   A certificate credentials structure
19
20       const opaque * data
21                   buffer with keyring data.
22
23       size_t dlen length of data buffer.
24
25       gnutls_openpgp_crt_fmt_t format
26                   the format of the keyring
27

DESCRIPTION

29       The function is used to set keyrings that will be  used  internally  by
30       various  OpenPGP functions. For example to find a key when it is needed
31       for an operations. The keyring will also be used  at  the  verification
32       functions.
33

RETURNS

35       On  success,  GNUTLS_E_SUCCESS  is returned, otherwise a negative error
36       value.
37

REPORTING BUGS

39       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
40       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
41       http://www.gnu.org/gethelp/
42
44       Copyright © 2008 Free Software Foundation.
45       Copying and distribution of this file, with  or  without  modification,
46       are  permitted  in  any  medium  without royalty provided the copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The full documentation for gnutls is maintained as  a  Texinfo  manual.
51       If  the  info  and gnutls programs are properly installed at your site,
52       the command
53
54              info gnutls
55
56       should give you access to the complete manual.
57
58
59
60gnutls                           gnut2l.s8_.c6ertificate_set_openpgp_keyring_mem(3)
Impressum