Package | Description |
---|---|
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.symmetric_encryption |
Classes related to OpenPGP symmetric encryption.
|
Modifier and Type | Method and Description |
---|---|
static CompressionAlgorithm |
CompressionAlgorithm.fromId(int id) |
static CompressionAlgorithm |
CompressionAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAlgorithm[] |
CompressionAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<CompressionAlgorithm> |
AlgorithmSuite.getCompressionAlgorithms() |
Modifier and Type | Method and Description |
---|---|
void |
AlgorithmSuite.setCompressionAlgorithms(List<CompressionAlgorithm> compressionAlgorithms) |
Constructor and Description |
---|
AlgorithmSuite(List<SymmetricKeyAlgorithm> symmetricKeyAlgorithms,
List<HashAlgorithm> hashAlgorithms,
List<CompressionAlgorithm> compressionAlgorithms) |
Modifier and Type | Method and Description |
---|---|
CompressionAlgorithm |
OpenPgpMetadata.getCompressionAlgorithm() |
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.WithFeatures |
KeySpecBuilderInterface.WithPreferredCompressionAlgorithms.withPreferredCompressionAlgorithms(CompressionAlgorithm... algorithms) |
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 . |