public static enum AsymmetricRSAKey.Usage extends java.lang.Enum<AsymmetricRSAKey.Usage>
Enum Constant and Description |
---|
ENCRYPT_OR_DECRYPT
Key usage encryption or decryption.
|
SIGN_OR_VERIFY
Key usage signing or verification.
|
Modifier and Type | Method and Description |
---|---|
static AsymmetricRSAKey.Usage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsymmetricRSAKey.Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsymmetricRSAKey.Usage SIGN_OR_VERIFY
public static final AsymmetricRSAKey.Usage ENCRYPT_OR_DECRYPT
public static AsymmetricRSAKey.Usage[] values()
for (AsymmetricRSAKey.Usage c : AsymmetricRSAKey.Usage.values()) System.out.println(c);
public static AsymmetricRSAKey.Usage 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