public enum PgpEncryptionAlgorithm extends java.lang.Enum<PgpEncryptionAlgorithm>
| Enum Constant and Description |
|---|
AES_128
Advanced Encryption Standard, 128 bit key.
|
AES_192
Advanced Encryption Standard, 192 bit key.
|
AES_256
Advanced Encryption Standard, 256 bit key.
|
BLOWFISH
Blowfish cipher.
|
CAST5
CAST5 cipher.
|
DES
Data Encryption Standard.
|
IDEA
International Data Encryption Algorithm.
|
SHA_1
Secure Hash Algorithm (SHA-1).
|
SHA_256
Secure Hash Algorithm (SHA-2), 256 bit digest.
|
SHA_384
Secure Hash Algorithm (SHA-2), 384 bit digest.
|
SHA_512
Secure Hash Algorithm (SHA-2), 512 bit digest.
|
TRIPLE_DES
Triple Data Encryption Standard.
|
TWOFISH
Twofish cipher.
|
| Modifier and Type | Method and Description |
|---|---|
static PgpEncryptionAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PgpEncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PgpEncryptionAlgorithm AES_128
public static final PgpEncryptionAlgorithm AES_192
public static final PgpEncryptionAlgorithm AES_256
public static final PgpEncryptionAlgorithm BLOWFISH
public static final PgpEncryptionAlgorithm CAST5
public static final PgpEncryptionAlgorithm DES
public static final PgpEncryptionAlgorithm IDEA
public static final PgpEncryptionAlgorithm TRIPLE_DES
public static final PgpEncryptionAlgorithm TWOFISH
public static final PgpEncryptionAlgorithm SHA_1
public static final PgpEncryptionAlgorithm SHA_256
public static final PgpEncryptionAlgorithm SHA_384
public static final PgpEncryptionAlgorithm SHA_512
public static PgpEncryptionAlgorithm[] values()
for (PgpEncryptionAlgorithm c : PgpEncryptionAlgorithm.values()) System.out.println(c);
public static PgpEncryptionAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null© 2000-2025 Flux Corporation. All rights reserved.