---
name: "gnutls_openpgp_send_key"
section: "3"
platform: "linux"
package: "gnutls-doc"
version: "1.4.4-3+etch5"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/gnutls_openpgp_send_key"
---

# gnutls\_openpgp\_send\_key(3)

This function will order gnutls to send the openpgp fingerprint instead of the key

## NAME

gnutls\_openpgp\_send\_key - This function will order gnutls to send the openpgp fingerprint instead of the key

## SYNOPSIS

**#include \<gnutls/gnutls.h\>**

**void gnutls\_openpgp\_send\_key(gnutls\_session\_t** *session***, gnutls\_openpgp\_key\_status\_t** *status***);**

## ARGUMENTS

- gnutls\_session\_t session

  is a pointer to a **gnutls\_session\_t** structure.

- gnutls\_openpgp\_key\_status\_t status

  is one of OPENPGP\_KEY, or OPENPGP\_KEY\_FINGERPRINT

## DESCRIPTION

This function will order gnutls to send the key fingerprint instead of the key in the initial handshake procedure. This should be used with care and only when there is indication or knowledge that the  server can obtain the client's key.

## REPORTING BUGS

Report bugs to \<bug-gnutls@gnu.org\>.

## COPYRIGHT

Copyright © 2004 Free Software Foundation.\
 Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

## SEE ALSO

The full documentation for **gnutls** is maintained as a Texinfo manual.  If the **info** and **gnutls** programs are properly installed at your site, the command

-

  **info gnutls**

should give you access to the complete manual.
