<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src/key.h, branch gpgme-1.13.1</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.13.1</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.13.1'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-11-08T05:34:27Z</updated>
<entry>
<title>spelling: fix misspellings</title>
<updated>2018-11-08T05:34:27Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-11-08T05:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2557d0ae6ff0336b041129b7bf5c1e3a8c20a805'/>
<id>urn:sha1:2557d0ae6ff0336b041129b7bf5c1e3a8c20a805</id>
<content type='text'>
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>cpp: Add some convenience functions</title>
<updated>2018-10-25T12:13:39Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-10-25T12:09:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=05a0e97f5c12c06082fbeab0fba6f86ddbfbe6b2'/>
<id>urn:sha1:05a0e97f5c12c06082fbeab0fba6f86ddbfbe6b2</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::create): New.
* lang/cpp/src/context.h: Update accordingly.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h:
(Key::isBad, Subkey::isBad, UserID::isBad)
(UserID::Signature::isBad): Add shorthand for the isX checks.
* NEWS: Mention it.

--
I don't know how often I wrote:
if (key.isNull() || key.isExpired() || key.isRevoked() ...

And for the context it is good practice to use a unique ptr
so the API should make it easy.
</content>
</entry>
<entry>
<title>cpp: Add origin and last_update to UserID</title>
<updated>2018-04-19T09:56:15Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-04-19T09:56:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d65d6329319bff8cc555999fc92a20e151762a10'/>
<id>urn:sha1:d65d6329319bff8cc555999fc92a20e151762a10</id>
<content type='text'>
* NEWS: Mention it.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h (UserID::lastUpdate),
(UserID::origin): New.
(gpgme_origin_to_pp_origin): New helper.
</content>
</entry>
<entry>
<title>cpp: Add origin and last_update</title>
<updated>2018-04-19T08:46:34Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-04-19T08:44:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0adaf7bafd352f1c3a1e797493780150e3bb0adc'/>
<id>urn:sha1:0adaf7bafd352f1c3a1e797493780150e3bb0adc</id>
<content type='text'>
* NEWS: mention interface change.
* lang/cpp/src/key.cpp (Key::origin, Key::lastUpdate): New.
* lang/cpp/src/key.h (Key::Origin): New enum.
</content>
</entry>
<entry>
<title>cpp: Add shorthand for key locate</title>
<updated>2018-02-16T12:00:49Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-02-16T11:58:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7f9d5c6cd204bfd84ea477b284df795b1dadb1af'/>
<id>urn:sha1:7f9d5c6cd204bfd84ea477b284df795b1dadb1af</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::locate): New static helper.
* lang/cpp/src/key.h: Update accordingly.
</content>
</entry>
<entry>
<title>core,cpp: New key flag 'is_de_vs'.</title>
<updated>2017-03-20T19:05:16Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-03-20T18:56:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ea9686ec71a2dd2225ce2b6d6d4038821d36205f'/>
<id>urn:sha1:ea9686ec71a2dd2225ce2b6d6d4038821d36205f</id>
<content type='text'>
* src/gpgme.h.in (_gpgme_subkey): New flag is_de_vs.
* tests/run-keylist.c (main): Print that flag.
* src/keylist.c (parse_pub_field18): New.
(keylist_colon_handler): Parse compliance flags.
* lang/cpp/src/key.cpp (Key::isDeVs): New.
(Subkey::isDeVs): New.

* lang/cpp/src/key.h (class Key): New method isDeVs.
(class Subkey): New method isDeVs.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>cpp: Add subkey keygrip to API</title>
<updated>2017-03-02T08:38:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-03-02T08:35:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8071a6b2ca33c2a46ed1d50ae7283241daaafcd3'/>
<id>urn:sha1:8071a6b2ca33c2a46ed1d50ae7283241daaafcd3</id>
<content type='text'>
* lang/cpp/src/key.cpp (Subkey::keyGrip): New.
* lang/cpp/src/key.h: Update accordingly.
</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 API for gpgme_addrspec_from_uid</title>
<updated>2016-10-11T12:13:15Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-10-11T12:13:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=54f94b14e2bb9b38ffd89f509406bfbd012da632'/>
<id>urn:sha1:54f94b14e2bb9b38ffd89f509406bfbd012da632</id>
<content type='text'>
* lang/cpp/src/key.cpp (UserID::addrSpecFromString): New static
function to expose addrspec from uid.
(UserID::addrSpec): New. Get addrSpec from Userid.
* NEWS: Update accordingly.
</content>
</entry>
<entry>
<title>cpp: Add convenience update function to a key</title>
<updated>2016-09-05T10:53:02Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-09-05T10:53:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=79439e76cc5b302222874a1f9e93665cb12801ac'/>
<id>urn:sha1:79439e76cc5b302222874a1f9e93665cb12801ac</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::update): New.
* lang/cpp/src/key.h: Update accordingly.

--
This function helps if you have an incomplete key or want
to make sure all info in a key is complete (e.g. validity / tofuinfo)
</content>
</entry>
</feed>
