Andre Heinecke 05a0e97f5c
cpp: Add some convenience functions
* 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.
2018-10-25 14:13:39 +02:00
..
2017-07-10 17:26:46 +02:00
2018-10-25 14:13:39 +02:00
2018-05-29 09:19:50 +02:00
2018-05-29 09:19:50 +02:00
2017-09-04 11:23:56 +02:00
2018-10-09 11:26:15 +02:00
2018-03-15 16:23:18 +01:00
2018-03-15 16:23:18 +01:00
2018-10-25 14:13:39 +02:00
2018-10-25 14:13:39 +02:00