diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-02 13:27:43 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-02 13:27:43 +0000 |
commit | d45c74b75d8753747672561e760e7832154805c3 (patch) | |
tree | 5cda7efb37496c0e5def99958e44d388386293c7 /includes/gnutls | |
parent | 43ed1e984fe63abcc5511cf63b3cda3bf52f7504 (diff) | |
download | gnutls-d45c74b75d8753747672561e760e7832154805c3.tar.gz |
added gnutls_openpgp_key_export() function.
Diffstat (limited to 'includes/gnutls')
-rw-r--r-- | includes/gnutls/openpgp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/gnutls/openpgp.h b/includes/gnutls/openpgp.h index e209cf67e7..2955631c1c 100644 --- a/includes/gnutls/openpgp.h +++ b/includes/gnutls/openpgp.h @@ -43,6 +43,9 @@ void gnutls_openpgp_key_deinit(gnutls_openpgp_key key); /* frees all memory */ int gnutls_openpgp_key_import(gnutls_openpgp_key key, const gnutls_datum* data, gnutls_openpgp_key_fmt format); +int gnutls_openpgp_key_export(gnutls_openpgp_key key, + gnutls_openpgp_key_fmt format, unsigned char* output_data, + size_t* output_data_size); int gnutls_openpgp_key_get_fingerprint( gnutls_openpgp_key key, char* result, size_t* result_size); |