Package | Description |
---|---|
org.pgpainless |
PGPainless - Use OpenPGP Painlessly!
|
org.pgpainless.algorithm |
Enums which map to OpenPGP's algorithm IDs.
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static SymmetricKeyAlgorithm |
SymmetricKeyAlgorithm.fromId(int id) |
static SymmetricKeyAlgorithm |
SymmetricKeyAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymmetricKeyAlgorithm[] |
SymmetricKeyAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<SymmetricKeyAlgorithm> |
AlgorithmSuite.getSymmetricKeyAlgorithms() |
Modifier and Type | Method and Description |
---|---|
void |
AlgorithmSuite.setSymmetricKeyAlgorithms(List<SymmetricKeyAlgorithm> symmetricKeyAlgorithms) |
Constructor and Description |
---|
AlgorithmSuite(List<SymmetricKeyAlgorithm> symmetricKeyAlgorithms,
List<HashAlgorithm> hashAlgorithms,
List<CompressionAlgorithm> compressionAlgorithms) |
Modifier and Type | Method and Description |
---|---|
SymmetricKeyAlgorithm |
OpenPgpMetadata.getSymmetricKeyAlgorithm() |
Constructor and Description |
---|
OpenPgpMetadata(Set<Long> recipientKeyIds,
OpenPgpV4Fingerprint decryptionFingerprint,
SymmetricKeyAlgorithm symmetricKeyAlgorithm,
CompressionAlgorithm algorithm,
boolean integrityProtected,
Set<Long> unverifiedSignatureKeyIds,
Set<OpenPgpV4Fingerprint> verifiedSignaturesFingerprints) |
Modifier and Type | Method and Description |
---|---|
EncryptionBuilderInterface.SignWith |
EncryptionBuilderInterface.WithAlgorithms.usingAlgorithms(SymmetricKeyAlgorithm symmetricKeyAlgorithm,
HashAlgorithm hashAlgorithm,
CompressionAlgorithm compressionAlgorithm) |
Modifier and Type | Method and Description |
---|---|
KeySpecBuilderInterface.WithPreferredHashAlgorithms |
KeySpecBuilderInterface.WithPreferredSymmetricAlgorithms.withPreferredSymmetricAlgorithms(SymmetricKeyAlgorithm... algorithms) |
Modifier and Type | Method and Description |
---|---|
SymmetricKeyAlgorithm |
KeyRingProtectionSettings.getEncryptionAlgorithm() |
Constructor and Description |
---|
KeyRingProtectionSettings(SymmetricKeyAlgorithm encryptionAlgorithm,
HashAlgorithm hashAlgorithm,
int s2kCount) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
SymmetricEncryptorDecryptor.symmetricallyEncrypt(byte[] data,
Passphrase password,
SymmetricKeyAlgorithm encryptionAlgorithm,
CompressionAlgorithm compressionAlgorithm)
Encrypt some
data symmetrically using an encryptionAlgorithm and a given password . |