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