Package org.pgpainless.key.protection
Classes related to OpenPGP secret key password protection.
-
Interface Summary Interface Description SecretKeyRingProtector Interface that is used to provide secret key ring encryptors and decryptors. -
Class Summary Class Description 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.