1gnutls_openpgp_keyring_get_crt(3)   gnutls   gnutls_openpgp_keyring_get_crt(3)
2
3
4

NAME

6       gnutls_openpgp_keyring_get_crt - API function
7

SYNOPSIS

9       #include <gnutls/openpgp.h>
10
11       int    gnutls_openpgp_keyring_get_crt(gnutls_openpgp_keyring_t    ring,
12       unsigned int idx, gnutls_openpgp_crt_t * cert);
13

ARGUMENTS

15       gnutls_openpgp_keyring_t ring
16                   Holds the keyring.
17
18       unsigned int idx
19                   the index of the certificate to export
20
21       gnutls_openpgp_crt_t * cert
22                   An uninitialized gnutls_openpgp_crt_t type
23

DESCRIPTION

25       This function will  extract  an  OpenPGP  certificate  from  the  given
26       keyring.      If     the     index    given    is    out    of    range
27       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be  returned.  The  returned
28       structure needs to be deinited.
29

RETURNS

31       GNUTLS_E_SUCCESS on success, or an error code.
32

REPORTING BUGS

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

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       http://www.gnutls.org/manual/
50
51gnutls                              3.3.29   gnutls_openpgp_keyring_get_crt(3)
Impressum