From 15718cb2954d9df9af979f574cec859feb2ba052 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 8 Jan 2024 11:33:28 +0100 Subject: qt,cpp: Implement adding ADSKs to existing keys * lang/cpp/src/context.cpp: Add functions for adding ADSKs. * lang/cpp/src/context.h: Ditto. * lang/qt/src/qgpgmequickjob.cpp: Add implementation of ADSK job. * lang/qt/src/qgpgmequickjob.h: Ditto. * lang/qt/src/quickjob.h: Add job for adding ADSKs. --- lang/cpp/src/context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/cpp/src/context.h') diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index 4d7fedf0..c4f968f4 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -324,6 +324,9 @@ public: Error startRevokeSignature(const Key &key, const Key &signingKey, const std::vector &userIds = std::vector()); + Error addAdsk(const Key &k, const char *adsk); + Error startAddAdsk(const Key &k, const char *adsk); + // using TofuInfo::Policy Error setTofuPolicy(const Key &k, unsigned int policy); Error setTofuPolicyStart(const Key &k, unsigned int policy); -- cgit v1.2.3