|
gnutls_pubkey_import_openpgp — API function
#include <gnutls/abstract.h>
int
gnutls_pubkey_import_openpgp( |
gnutls_pubkey_t key, |
gnutls_openpgp_crt_t crt, | |
unsigned int flags) ; |
The public key
The certificate to be imported
should be zero
Imports a public key from an openpgp key. This function will import the given public key to the abstract gnutls_pubkey_t structure. The subkey set as preferred will be imported or the master key otherwise.
Report bugs to <bug-gnutls@gnu.org>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GnuTLS home page: http://www.gnu.org/software/gnutls/