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 theSecretKeyRingProtectorwhich holds a map of key ids and their passwords.KeyRingProtectionSettings PasswordBasedSecretKeyRingProtector ProvidesPBESecretKeyDecryptorandPBESecretKeyEncryptorobjects while getting the passphrases from aSecretKeyPassphraseProviderand using settings from anKeyRingProtectionSettings.UnlockSecretKey UnprotectedKeysProtector Implementation of theSecretKeyRingProtectorwhich assumes that all handled keys are not password protected.