.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_openpgp_privkey_get_subkey_fingerprint" 3 "3.5.8" "gnutls" "gnutls" .SH NAME gnutls_openpgp_privkey_get_subkey_fingerprint \- API function .SH SYNOPSIS .B #include .sp .BI "int gnutls_openpgp_privkey_get_subkey_fingerprint(gnutls_openpgp_privkey_t " key ", unsigned int " idx ", void * " fpr ", size_t * " fprlen ");" .SH ARGUMENTS .IP "gnutls_openpgp_privkey_t key" 12 the raw data that contains the OpenPGP secret key. .IP "unsigned int idx" 12 the subkey index .IP "void * fpr" 12 the buffer to save the fingerprint, must hold at least 20 bytes. .IP "size_t * fprlen" 12 the integer to save the length of the fingerprint. .SH "DESCRIPTION" Get the fingerprint of an OpenPGP subkey. Depends on the algorithm, the fingerprint can be 16 or 20 bytes. .SH "RETURNS" On success, 0 is returned, or an error code. .SH "SINCE" 2.4.0 .SH "REPORTING BUGS" Report bugs to . .br Home page: http://www.gnutls.org .SH COPYRIGHT Copyright \(co 2001-2017 Free Software Foundation, Inc., and others. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit .B .IP http://www.gnutls.org/manual/ .PP