Package org.pgpainless.key.protection
Classes related to OpenPGP secret key password protection.
-
Interface Summary Interface Description SecretKeyPassphraseProvider Interface to allow the user to provide a passphrase for an encrypted OpenPGP secret key.SecretKeyRingProtector -
Class Summary Class Description KeyRingProtectionSettings PassphraseMapKeyRingProtector Implementation of theSecretKeyRingProtector
which holds a map of key ids and their passwords.PasswordBasedSecretKeyRingProtector ProvidesPBESecretKeyDecryptor
andPBESecretKeyEncryptor
objects while getting the passphrases from aSecretKeyPassphraseProvider
and using settings from anKeyRingProtectionSettings
.UnprotectedKeysProtector Implementation of theSecretKeyRingProtector
which assumes that all handled keys are not password protected.