Extend keycache for fingerprint lookup
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 28 Aug 2018 10:11:23 +0000 (12:11 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 28 Aug 2018 10:11:23 +0000 (12:11 +0200)
commitd92cb5f7548c542046e9331ecaf53d05a43b57e3
treed20ac2bbc27e2aa93877ce1696af9ea7827fac08
parent8d2a2acd2e1b3714d1f48fefac1510676a71c534
Extend keycache for fingerprint lookup

* src/keycache.cpp, src/keycache.h (KeyCache::update),
(KeyCache::getByFpr): New.

--
This extends the keycache with a generic fingerprint
to key mapping. Update inserts or updates a key
in the keycache, getByFpr is the main accessor.
src/keycache.cpp
src/keycache.h