Package | Description |
---|---|
org.pgpainless |
PGPainless - Use OpenPGP Painlessly!
|
org.pgpainless.key.generation |
Classes related to OpenPGP key generation.
|
org.pgpainless.key.protection |
Classes related to OpenPGP secret key password protection.
|
org.pgpainless.symmetric_encryption |
Classes related to OpenPGP symmetric encryption.
|
org.pgpainless.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
PGPainless.decryptWithPassword(byte[] data,
Passphrase password)
Decrypt some symmetrically encrypted data using a password.
|
static byte[] |
PGPainless.encryptWithPassword(byte[] data,
Passphrase password,
SymmetricKeyAlgorithm algorithm)
Encrypt some data symmetrically using OpenPGP and a password.
|
Modifier and Type | Method and Description |
---|---|
KeyRingBuilderInterface.Build |
KeyRingBuilderInterface.WithPassphrase.withPassphrase(Passphrase passphrase) |
Modifier and Type | Method and Description |
---|---|
Passphrase |
PassphraseMapKeyRingProtector.getPassphraseFor(Long keyId) |
Passphrase |
SecretKeyPassphraseProvider.getPassphraseFor(Long keyId)
Return a passphrase for the given key.
|
Modifier and Type | Method and Description |
---|---|
void |
PassphraseMapKeyRingProtector.addPassphrase(Long keyId,
Passphrase passphrase)
Add a passphrase to the cache.
|
Constructor and Description |
---|
PassphraseMapKeyRingProtector(Map<Long,Passphrase> passphrases,
KeyRingProtectionSettings protectionSettings,
SecretKeyPassphraseProvider missingPassphraseCallback) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
SymmetricEncryptorDecryptor.symmetricallyDecrypt(byte[] data,
Passphrase password)
Decrypt and decompress some symmetrically encrypted data using a password.
|
static byte[] |
SymmetricEncryptorDecryptor.symmetricallyEncrypt(byte[] data,
Passphrase password,
SymmetricKeyAlgorithm encryptionAlgorithm,
CompressionAlgorithm compressionAlgorithm)
Encrypt some
data symmetrically using an encryptionAlgorithm and a given password . |
Modifier and Type | Method and Description |
---|---|
static Passphrase |
Passphrase.emptyPassphrase()
Represents a
Passphrase instance that represents no password. |