1gnutls_openpgp_privkey_get_subkgenyu_tflisng_gnoeuprteplnrspignpt_(p3r)ivkey_get_subkey_fingerprint(3)
2
3
4

NAME

6       gnutls_openpgp_privkey_get_subkey_fingerprint - Gets the fingerprint of
7       a subkey
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int                           gnutls_openpgp_privkey_get_subkey_finger‐
13       print(gnutls_openpgp_privkey_t  key,  unsigned  int  idx,  void  * fpr,
14       size_t * fprlen);
15

ARGUMENTS

17       gnutls_openpgp_privkey_t key
18                   the raw data that contains the OpenPGP secret key.
19
20       unsigned int idx
21                   the subkey index
22
23       void * fpr  the buffer to save the fingerprint, must hold at  least  20
24                   bytes.
25
26       size_t * fprlen
27                   the integer to save the length of the fingerprint.
28

DESCRIPTION

30       Get  the  fingerprint  of an OpenPGP subkey.  Depends on the algorithm,
31       the fingerprint can be 16 or 20 bytes.
32

RETURNS

34       On success, 0 is returned, or an error code.
35

SINCE

37       2.4.0
38

REPORTING BUGS

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

SEE ALSO

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