Package org.pgpainless.key.protection
Classes related to OpenPGP secret key password protection.
-
Interface Summary Interface Description SecretKeyRingProtector Task of theSecretKeyRingProtector
is to map encryptor/decryptor objects to key-ids. -
Class Summary Class Description BaseSecretKeyRingProtector CachingSecretKeyRingProtector Implementation of theSecretKeyRingProtector
which holds a map of key ids and their passwords.KeyRingProtectionSettings PasswordBasedSecretKeyRingProtector ProvidesPBESecretKeyDecryptor
andPBESecretKeyEncryptor
objects while getting the passphrases from aSecretKeyPassphraseProvider
and using settings from anKeyRingProtectionSettings
.UnlockSecretKey UnprotectedKeysProtector Implementation of theSecretKeyRingProtector
which assumes that all handled keys are not password protected.