1gnutls_certificate_set_openpgp_kegynruitnglgns_u_ftcilelsret(i3f)icate_set_openpgp_keyring_file(3)
2
3
4

NAME

6       gnutls_certificate_set_openpgp_keyring_file  -  Sets a keyring file for
7       OpenPGP
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int gnutls_certificate_set_openpgp_keyring_file(gnutls_certificate_cre‐
13       dentials_t c, const char * file, gnutls_openpgp_crt_fmt_t format);
14

ARGUMENTS

16       gnutls_certificate_credentials_t c
17                   A certificate credentials structure
18
19       const char * file
20                   filename of the keyring.
21
22       gnutls_openpgp_crt_fmt_t format
23                   format of keyring.
24

DESCRIPTION

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

RETURNS

32       On success, GNUTLS_E_SUCCESS is returned, otherwise  a  negative  error
33       value.
34

REPORTING BUGS

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

SEE ALSO

47       The  full  documentation  for gnutls is maintained as a Texinfo manual.
48       If the info and gnutls programs are properly installed  at  your  site,
49       the command
50
51              info gnutls
52
53       should give you access to the complete manual.
54
55
56
57gnutls                          gnutl2s._8c.e6rtificate_set_openpgp_keyring_file(3)
Impressum