From 898764be7b46079ce429a609802c2c1fdbc923ff Mon Sep 17 00:00:00 2001 From: SET Date: Sun, 22 Nov 2020 09:21:38 +0100 Subject: [PATCH] Document changing subkey expiry time. --- GpgMEWorker.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/GpgMEWorker.h b/GpgMEWorker.h index 44d5404..10c8c44 100644 --- a/GpgMEWorker.h +++ b/GpgMEWorker.h @@ -77,6 +77,16 @@ public: const char * fprKeyToSign, vector& userIDsToSign, int options, const string& passphrase); + /** + * Sets the expiry time of a single subkey. Requires GPGME >= 1.15.0. + * \n If no subkey is found (wrong fpr), the expiry time of key is set + * instead. + * @param keyFpr + * @param subkeyFpr + * @param passphrase + * @param expires : seconds from now. Use 0 for no expiry. + * @return + */ const Error SetSubkeyExpiryTime(const char * keyFpr, const char * subkeyFpr, const string& passphrase,