Name

gnutls_openpgp_key_to_xml — Return a certificate as a XML fragment

Synopsis

#include <gnutls/openpgp.h>
int gnutls_openpgp_key_to_xml( gnutls_openpgp_key_t   key,
  gnutls_datum_t *   xmlkey,
  int   ext);

ARGUMENTS

gnutls_openpgp_key_t key
gnutls_datum_t * xmlkey

he datum struct to store the XML result.

int ext

extension mode (1/0), 1 means include key signatures and key data.

DESCRIPTION

This function will return the all OpenPGP key information encapsulated as a XML string.

REPORTING BUGS

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

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.

COPYRIGHT

Copyright © 2006, 2007 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.