aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-12-18 20:54:43 +0000
committerWerner Koch <[email protected]>2000-12-18 20:54:43 +0000
commita92ecd447027258e2674719bc868cb064a747f94 (patch)
treede5ec5926ba42722349854871871142205bd4c8b /gpgme/export.c
parentAdd key import and export facility (diff)
downloadgpgme-a92ecd447027258e2674719bc868cb064a747f94.tar.gz
gpgme-a92ecd447027258e2674719bc868cb064a747f94.zip
Add key generation
Diffstat (limited to '')
-rw-r--r--gpgme/export.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gpgme/export.c b/gpgme/export.c
index ff6f3258..0265b46a 100644
--- a/gpgme/export.c
+++ b/gpgme/export.c
@@ -96,6 +96,20 @@ gpgme_op_export_start ( GpgmeCtx c, GpgmeRecipients recp,
+/**
+ * gpgme_op_export:
+ * @c: the context
+ * @recp: a list of recipients or NULL
+ * @keydata: Returns the keys
+ *
+ * This function can be used to extract public keys from the GnuPG key
+ * database either in armored (by using gpgme_set_armor()) or in plain
+ * binary form. The function expects a list of user IDs in @recp for
+ * whom the public keys are to be exportedkinit
+ *
+ *
+ * Return value: 0 for success or an error code
+ **/
GpgmeError
gpgme_op_export ( GpgmeCtx c, GpgmeRecipients recp, GpgmeData keydata )
{