Enum Constant and Description |
---|
CRL_SIGN |
DATA_ENCIPHERMENT |
DECIPHER_ONLY |
DIGITAL_SIGNATURE |
ENCIPHER_ONLY |
KEY_AGREEMENT |
KEY_CERT_SIGN |
KEY_ENCIPHERMENT |
NON_REPUDIATION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Get the value as a
String |
java.lang.String |
toString() |
static KeyUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyUsage DIGITAL_SIGNATURE
public static final KeyUsage NON_REPUDIATION
public static final KeyUsage KEY_ENCIPHERMENT
public static final KeyUsage DATA_ENCIPHERMENT
public static final KeyUsage KEY_AGREEMENT
public static final KeyUsage KEY_CERT_SIGN
public static final KeyUsage CRL_SIGN
public static final KeyUsage ENCIPHER_ONLY
public static final KeyUsage DECIPHER_ONLY
public static KeyUsage[] values()
for (KeyUsage c : KeyUsage.values()) System.out.println(c);
public static KeyUsage 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 nullpublic java.lang.String getValue()
String
public java.lang.String toString()
toString
in class java.lang.Enum<KeyUsage>