Package org.pgpainless.key.protection
package org.pgpainless.key.protection
Classes related to OpenPGP secret key password protection.
-
ClassDescriptionImplementation of the
SecretKeyRingProtector
which holds a map of key ids and their passwords.Secret key protection settings for iterated and salted S2K.ProvidesPBESecretKeyDecryptor
andPBESecretKeyEncryptor
objects while getting the passphrases from aSecretKeyPassphraseProvider
and using settings from anKeyRingProtectionSettings
.Task of theSecretKeyRingProtector
is to map encryptor/decryptor objects to key-ids.Implementation of theSecretKeyRingProtector
which assumes that all handled keys are not password protected.