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 - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

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

REPORTING BUGS

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

SEE ALSO

49       The  full  documentation  for gnutls is maintained as a Texinfo manual.
50       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
51       visit
52
53       http://www.gnutls.org/manual/
54
55gnutls                           gnu3t.l3s._2c9ertificate_set_openpgp_keyring_mem(3)
Impressum