Home GnuPG
Diffusion GPGME b6b820bff14a

Add convenience function to get key from sig
b6b820bff14aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add convenience function to get key from sig

* lang/cpp/src/verificationresult.cpp (Signature::key(bool, bool)):
New. Can be used to search / update the key associcated with this
signature.

By using update a caller can ensure that an incomplete key
obtainable through the new key() function is fully loaded.
With search the key can be looked up in the internal keyring.

As the results are cached this can be done in the crypto thread
and the result then better used in the UI thread.

Details

Provenance
aheineckeAuthored on Oct 10 2016, 5:38 PM
Parents
rM34e9dfee8195: cpp: Return null key if the signature had no key
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rMb6b820bff14a: Add convenience function to get key from sig (authored by Andre Heinecke <aheinecke@intevation.de>).Oct 10 2016, 5:38 PM