aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-08-09 07:35:19 +0000
committerIngo Klöcker <[email protected]>2022-08-09 12:52:42 +0000
commit125867f268f2a49ff060a7adc859500500b77025 (patch)
tree8aff1557ecd70aa55d1858d94f816a32a48e0a30 /lang/cpp/src/context.h
parentpython: Don't call __del__ from __exit__ method. (diff)
downloadgpgme-125867f268f2a49ff060a7adc859500500b77025.tar.gz
gpgme-125867f268f2a49ff060a7adc859500500b77025.zip
cpp: Add support for gpgme_op_set_uid_flag
* lang/cpp/src/context.cpp, lang/cpp/src/context.h (Context::setPrimaryUid, Context::startSetPrimaryUid): New. -- GnuPG-bug-id: 5938
Diffstat (limited to 'lang/cpp/src/context.h')
-rw-r--r--lang/cpp/src/context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h
index 405d54ea..7bd1b03d 100644
--- a/lang/cpp/src/context.h
+++ b/lang/cpp/src/context.h
@@ -295,6 +295,9 @@ public:
Error revUid(const Key &key, const char *userid);
Error startRevUid(const Key &key, const char *userid);
+ Error setPrimaryUid(const Key &key, const char *userid);
+ Error startSetPrimaryUid(const Key &key, const char *userid);
+
Error createSubkey(const Key &key, const char *algo,
unsigned long reserved = 0,
unsigned long expires = 0,