Uses of Class
org.pgpainless.util.Passphrase
-
Packages that use Passphrase Package Description org.pgpainless.decryption_verification Classes used to decryption and verification of OpenPGP encrypted / signed data.org.pgpainless.encryption_signing Classes used to encrypt or sign data using OpenPGP.org.pgpainless.implementation Implementation factory classes to be able to switch out the underlying crypto engine implementation.org.pgpainless.key.generation Classes related to OpenPGP key generation.org.pgpainless.key.modification.secretkeyring Classes that deal with modifications made toPGPSecretKeyRings
.org.pgpainless.key.protection Classes related to OpenPGP secret key password protection.org.pgpainless.key.protection.passphrase_provider Passphrase Provider classes.org.pgpainless.util Utility classes. -
-
Uses of Passphrase in org.pgpainless.decryption_verification
Methods in org.pgpainless.decryption_verification that return types with arguments of type Passphrase Modifier and Type Method Description Set<Passphrase>
ConsumerOptions. getDecryptionPassphrases()
Methods in org.pgpainless.decryption_verification with parameters of type Passphrase Modifier and Type Method Description ConsumerOptions
ConsumerOptions. addDecryptionPassphrase(Passphrase passphrase)
Add a passphrase for message decryption. -
Uses of Passphrase in org.pgpainless.encryption_signing
Methods in org.pgpainless.encryption_signing with parameters of type Passphrase Modifier and Type Method Description EncryptionOptions
EncryptionOptions. addPassphrase(Passphrase passphrase)
Add a symmetric passphrase which the message will be encrypted to. -
Uses of Passphrase in org.pgpainless.implementation
Methods in org.pgpainless.implementation with parameters of type Passphrase Modifier and Type Method Description org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
BcImplementationFactory. getPBEDataDecryptorFactory(Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
ImplementationFactory. getPBEDataDecryptorFactory(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory
JceImplementationFactory. getPBEDataDecryptorFactory(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
BcImplementationFactory. getPBEKeyEncryptionMethodGenerator(Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
ImplementationFactory. getPBEKeyEncryptionMethodGenerator(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator
JceImplementationFactory. getPBEKeyEncryptionMethodGenerator(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
BcImplementationFactory. getPBESecretKeyDecryptor(Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
ImplementationFactory. getPBESecretKeyDecryptor(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
JceImplementationFactory. getPBESecretKeyDecryptor(Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
BcImplementationFactory. getPBESecretKeyEncryptor(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
BcImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
BcImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
ImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
JceImplementationFactory. getPBESecretKeyEncryptor(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
JceImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
JceImplementationFactory. getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)
-
Uses of Passphrase in org.pgpainless.key.generation
Methods in org.pgpainless.key.generation with parameters of type Passphrase Modifier and Type Method Description KeyRingBuilder
KeyRingBuilder. setPassphrase(Passphrase passphrase)
B
KeyRingBuilderInterface. setPassphrase(Passphrase passphrase)
-
Uses of Passphrase in org.pgpainless.key.modification.secretkeyring
-
Uses of Passphrase in org.pgpainless.key.protection
Methods in org.pgpainless.key.protection that return Passphrase Modifier and Type Method Description Passphrase
CachingSecretKeyRingProtector. getPassphraseFor(Long keyId)
Methods in org.pgpainless.key.protection with parameters of type Passphrase Modifier and Type Method Description void
CachingSecretKeyRingProtector. addPassphrase(Long keyId, Passphrase passphrase)
Add a passphrase to the cache.void
CachingSecretKeyRingProtector. addPassphrase(org.bouncycastle.openpgp.PGPKeyRing keyRing, Passphrase passphrase)
Remember the given passphrase for all keys in the given key ring.void
CachingSecretKeyRingProtector. addPassphrase(org.bouncycastle.openpgp.PGPPublicKey key, Passphrase passphrase)
Remember the given passphrase for the given (sub-)key.void
CachingSecretKeyRingProtector. addPassphrase(OpenPgpFingerprint fingerprint, Passphrase passphrase)
static PasswordBasedSecretKeyRingProtector
PasswordBasedSecretKeyRingProtector. forKey(org.bouncycastle.openpgp.PGPKeyRing keyRing, Passphrase passphrase)
static PasswordBasedSecretKeyRingProtector
PasswordBasedSecretKeyRingProtector. forKey(org.bouncycastle.openpgp.PGPSecretKey key, Passphrase passphrase)
static PasswordBasedSecretKeyRingProtector
PasswordBasedSecretKeyRingProtector. forKeyId(long singleKeyId, Passphrase passphrase)
void
CachingSecretKeyRingProtector. replacePassphrase(Long keyId, Passphrase passphrase)
Replace the passphrase for the given key-id in the cache.void
CachingSecretKeyRingProtector. replacePassphrase(org.bouncycastle.openpgp.PGPKeyRing keyRing, Passphrase passphrase)
Replace the cached passphrases for all keys in the key ring with the provided passphrase.static SecretKeyRingProtector
SecretKeyRingProtector. unlockAllKeysWith(Passphrase passphrase, org.bouncycastle.openpgp.PGPSecretKeyRing keys)
Deprecated.static SecretKeyRingProtector
SecretKeyRingProtector. unlockAnyKeyWith(Passphrase passphrase)
Use the provided passphrase to unlock any key.static SecretKeyRingProtector
SecretKeyRingProtector. unlockEachKeyWith(Passphrase passphrase, org.bouncycastle.openpgp.PGPSecretKeyRing keys)
Use the provided passphrase to lock/unlock all keys in the provided key ring.static org.bouncycastle.openpgp.PGPPrivateKey
UnlockSecretKey. unlockSecretKey(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase)
static SecretKeyRingProtector
SecretKeyRingProtector. unlockSingleKeyWith(Passphrase passphrase, long keyId)
static SecretKeyRingProtector
SecretKeyRingProtector. unlockSingleKeyWith(Passphrase passphrase, org.bouncycastle.openpgp.PGPSecretKey key)
Use the provided passphrase to lock/unlock only the provided (sub-)key.Method parameters in org.pgpainless.key.protection with type arguments of type Passphrase Modifier and Type Method Description static SecretKeyRingProtector
SecretKeyRingProtector. fromPassphraseMap(Map<Long,Passphrase> passphraseMap)
Use the provided map of key-ids and passphrases to unlock keys.Constructor parameters in org.pgpainless.key.protection with type arguments of type Passphrase Constructor Description CachingSecretKeyRingProtector(Map<Long,Passphrase> passphrases, KeyRingProtectionSettings protectionSettings, SecretKeyPassphraseProvider missingPassphraseCallback)
-
Uses of Passphrase in org.pgpainless.key.protection.passphrase_provider
Methods in org.pgpainless.key.protection.passphrase_provider that return Passphrase Modifier and Type Method Description Passphrase
MapBasedPassphraseProvider. getPassphraseFor(Long keyId)
Passphrase
SecretKeyPassphraseProvider. getPassphraseFor(Long keyId)
Return a passphrase for the given key.default Passphrase
SecretKeyPassphraseProvider. getPassphraseFor(org.bouncycastle.openpgp.PGPSecretKey secretKey)
Return a passphrase for the given secret key.Passphrase
SolitaryPassphraseProvider. getPassphraseFor(Long keyId)
Constructors in org.pgpainless.key.protection.passphrase_provider with parameters of type Passphrase Constructor Description SolitaryPassphraseProvider(Passphrase passphrase)
Constructor parameters in org.pgpainless.key.protection.passphrase_provider with type arguments of type Passphrase Constructor Description MapBasedPassphraseProvider(Map<Long,Passphrase> passphraseMap)
Create a new map based passphrase provider. -
Uses of Passphrase in org.pgpainless.util
Methods in org.pgpainless.util that return Passphrase Modifier and Type Method Description static Passphrase
Passphrase. emptyPassphrase()
Represents aPassphrase
instance that represents no password.static Passphrase
Passphrase. fromPassword(String password)
Create aPassphrase
from aString
.
-