Package | Description |
---|---|
org.pgpainless.algorithm |
Enums which map to OpenPGP's algorithm IDs.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static HashAlgorithm |
HashAlgorithm.fromId(int id) |
static HashAlgorithm |
HashAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashAlgorithm[] |
HashAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<HashAlgorithm> |
AlgorithmSuite.getHashAlgorithms() |
Modifier and Type | Method and Description |
---|---|
void |
AlgorithmSuite.setHashAlgorithms(List<HashAlgorithm> hashAlgorithms) |
Constructor and Description |
---|
AlgorithmSuite(List<SymmetricKeyAlgorithm> symmetricKeyAlgorithms,
List<HashAlgorithm> hashAlgorithms,
List<CompressionAlgorithm> compressionAlgorithms) |
Modifier and Type | Method and Description |
---|---|
EncryptionBuilderInterface.SignWith |
EncryptionBuilderInterface.WithAlgorithms.usingAlgorithms(SymmetricKeyAlgorithm symmetricKeyAlgorithm,
HashAlgorithm hashAlgorithm,
CompressionAlgorithm compressionAlgorithm) |
Modifier and Type | Method and Description |
---|---|
KeySpecBuilderInterface.WithPreferredCompressionAlgorithms |
KeySpecBuilderInterface.WithPreferredHashAlgorithms.withPreferredHashAlgorithms(HashAlgorithm... algorithms) |
Modifier and Type | Method and Description |
---|---|
HashAlgorithm |
KeyRingProtectionSettings.getHashAlgorithm() |
Constructor and Description |
---|
KeyRingProtectionSettings(SymmetricKeyAlgorithm encryptionAlgorithm,
HashAlgorithm hashAlgorithm,
int s2kCount) |