gnutls_openpgp_set_recv_key_function man page

gnutls_openpgp_set_recv_key_function — API function

Synopsis

#include <gnutls/openpgp.h>

void gnutls_openpgp_set_recv_key_function(gnutls_session_t session, gnutls_openpgp_recv_key_func func);

Arguments

gnutls_session_t session
a TLS session
gnutls_openpgp_recv_key_func func
the callback

Description

This function will set a key retrieval function for OpenPGP keys. This callback is only useful in server side, and will be used if the peer sent a key fingerprint instead of a full key.

The retrieved key must be allocated using gnutls_malloc().

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: http://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

http://www.gnutls.org/manual/

Info

3.5.5 gnutls gnutls