public enum PgpKeyType extends java.lang.Enum<PgpKeyType>
| Enum Constant and Description |
|---|
ELGAMAL
ElGamal PGP key.
|
RSA
RSA PGP key.
|
| Modifier and Type | Method and Description |
|---|---|
static PgpKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PgpKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PgpKeyType ELGAMAL
public static final PgpKeyType RSA
public static PgpKeyType[] values()
for (PgpKeyType c : PgpKeyType.values()) System.out.println(c);
public static PgpKeyType 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.