introduce CachingDataDecryptorFactory towards cached session keys

this commit introduces the CachingDataDecryptorFactory, which wraps
a DataDecryptorFactory but supports caching of decrypted session keys.

this change also gets rid of runtimeexception based control flow in
PgpDecryptVerify.
This commit is contained in:
Vincent Breitmoser committed 2015-06-01 00:52:18 +02:00
1 parent 403f74f558
commit dbfa55f6b9
8 files changed
+145 -319