Package org.pgpainless.key.protection
Classes related to OpenPGP secret key password protection.
-
Interface Summary Interface Description SecretKeyRingProtector Task of theSecretKeyRingProtectoris to map encryptor/decryptor objects to key-ids. -
Class Summary Class Description BaseSecretKeyRingProtector 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.