Document changing subkey expiry time.

This commit is contained in:
SET
2020-11-22 09:21:38 +01:00
parent e9a55a1f69
commit 898764be7b

View File

@@ -77,6 +77,16 @@ public:
const char * fprKeyToSign,
vector<uint>& 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,