<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src/context.h, branch gpgme-1.9.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.9.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2017-03-24T15:51:26Z</updated>
<entry>
<title>cpp: Use gpgme_op_decrypt_ex and add new flags.</title>
<updated>2017-03-24T15:51:26Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-03-24T15:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8ad37ecc297f208d0a63783c1ffae33ad4c3c81a'/>
<id>urn:sha1:8ad37ecc297f208d0a63783c1ffae33ad4c3c81a</id>
<content type='text'>
* lang/cpp/src/context.cpp: New decrypt and decryptVerify functions
that take flags as arguments. Use new variants in old functions.
(Context::setDecryptionFlags): New helper.
(Context::Private::Private): Initialize new member.
* lang/cpp/src/context_p.h (Context::Private::decryptFlags): New.
* lang/cpp/src/context.h (Context::DecryptFlags): New enum.
(Context::EncryptionFlags): Extend for EncryptWrap.

--
The setDecryptionFlags provides a generic way to set decryption
flags for the whole context. This allows existing code to just
keep using the old functions and modify the decryption behavior
in a central place.
</content>
</entry>
<entry>
<title>cpp: Add revuid and adduid support</title>
<updated>2017-01-11T15:14:45Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-11T15:14:45Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e416f9961837039f259558edf41fccbc181ad128'/>
<id>urn:sha1:e416f9961837039f259558edf41fccbc181ad128</id>
<content type='text'>
* lang/cpp/src/context.cpp
(Context::revUid, Context::startRevUid),
(Context::addUid, Context::startAddUid): New.
* lang/cpp/src/context.h: Declare new functions.
* lang/cpp/src/key.cpp (Key::UserID::revoke)
(Key::addUid): Idomatic helpers.
lang/cpp/src/key.h: Declare new functions.
* NEWS: Update accordingly.
</content>
</entry>
<entry>
<title>cpp: Add get / set Sender API</title>
<updated>2016-11-14T19:47:17Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-11-14T15:13:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce'/>
<id>urn:sha1:d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce</id>
<content type='text'>
* cpp/src/context.cpp, cpp/src/context.h (Context::setSender),
(Context::getSender): Add simple wrappers.
</content>
</entry>
<entry>
<title>Fix spelling</title>
<updated>2016-09-23T14:09:27Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-09-22T22:43:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=95f38652f696476b38a040644eac40b4511d2b32'/>
<id>urn:sha1:95f38652f696476b38a040644eac40b4511d2b32</id>
<content type='text'>
 * lang/cpp/src/context.h, lang/qt/src/protocol.h,
   lang/qt/src/wkspublishjob.h, src/data-identify.c, src/engine-gpg.c:
   minor spelling cleanup.
--

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>cpp: Add support for gpgme_op_tofu_policy</title>
<updated>2016-09-16T14:58:39Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-09-16T14:54:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4d384d7bfef044094695271576ca233625bb520a'/>
<id>urn:sha1:4d384d7bfef044094695271576ca233625bb520a</id>
<content type='text'>
* src/context.cpp, src/context.h (setTofuPolicy, setTofuPolicyStart):
New.
</content>
</entry>
<entry>
<title>Cpp: Add support for spawn engine</title>
<updated>2016-08-25T09:41:57Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-25T08:42:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ece8b02a839d6fc566fea7b6e59fabff164f6cf5'/>
<id>urn:sha1:ece8b02a839d6fc566fea7b6e59fabff164f6cf5</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::spawn, Context::spawnAsync): New.
* lang/cpp/src/context.h: Add prototypes.
(SpawnFlags): New.
* lang/cpp/src/global.h (SpawnEngine): Added.
</content>
</entry>
<entry>
<title>cpp: Get rid of AssuanResult due to its deprecation.</title>
<updated>2016-08-24T12:15:58Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2016-08-23T17:50:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e20b0f0201543834f15c5d50cd3b2ece69a35d70'/>
<id>urn:sha1:e20b0f0201543834f15c5d50cd3b2ece69a35d70</id>
<content type='text'>
* lang/cpp/src/assuanresult.cpp: Remove.
* lang/cpp/src/assuanresult.h: Remove.
* lang/cpp/src/Makefile.am: Remove these files.
* lang/cpp/src/context.cpp: Remove header assuanresult.h
(assuanTransact): Change return type to Error.  Use
gpgme_op_assuan_transact_ext.
(startAssuanTransaction): Change return type to Error.
(assuanResult): Remove
* lang/cpp/src/context.h (assuanResult): Adjust for changes.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Cpp: Fix some pedantic warnings</title>
<updated>2016-08-17T05:23:05Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-17T05:23:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=64194b0f8df1afe6135cd119fd3216fc8db68033'/>
<id>urn:sha1:64194b0f8df1afe6135cd119fd3216fc8db68033</id>
<content type='text'>
* lang/cpp/src/context.cpp,
lang/cpp/src/context.h (Context::getKeysFromRecipients): Remove
ignored / invalid const qualifier.
* lang/cpp/src/result.h: Don't shadow error function in ctor.
</content>
</entry>
<entry>
<title>Cpp: Handle empty recipients consistently</title>
<updated>2016-08-10T12:12:33Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-10T12:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=09667a6006986a782af98ca1de4d6521e1b8f353'/>
<id>urn:sha1:09667a6006986a782af98ca1de4d6521e1b8f353</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::getKeysFromRecipients):
New helper.
(Context::encrypt, Context::startEncryption, Context::signAndEncrypt)
(Context::startCombinedSigningAndEncryption): Use new helper.
* lang/cpp/src/context.h (Context::getKeysFromRecipients): Add
as private helper.

--
bf776ce was incomplete as the code to handle recpients
was duplicated four times. This is now unified and constently
uses a nullptr instead of an empty array.
</content>
</entry>
<entry>
<title>Cpp: Clarify ownership of provider classes</title>
<updated>2016-08-10T10:07:56Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-08-10T10:04:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=21d5e71d486da8e37cf53f2b968646b39a6daa72'/>
<id>urn:sha1:21d5e71d486da8e37cf53f2b968646b39a6daa72</id>
<content type='text'>
* lang/cpp/src/context.h: Note that the context does not take
ownership of providers.
</content>
</entry>
</feed>
