RecvKeyFunc


Description:

[ CCode ( has_target = false ) ]
public delegate int RecvKeyFunc (Session session, uint8[] keyfpr, out Datum key)

Callback prototype to get OpenPGP keys

A callback of this type is used to retrieve OpenPGP keys. Only useful on the server, and will only be used if the peer send a key fingerprint instead of a full key.

Parameters:

session

a TLS session

key

output key.

keyfp

key fingerprint

See also:

ServerSession.set_openpgp_recv_key_function


Namespace: GnuTLS.OpenPGP
Package: gnutls