Enum Constant and Description |
---|
cRLSign |
dataEncipherment |
decipherOnly |
digitalSignature |
encipherOnly |
keyAgreement |
keyCertSign |
keyEncipherment |
nonRepudiation |
Modifier and Type | Method and Description |
---|---|
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 digitalSignature
public static final KeyUsage nonRepudiation
public static final KeyUsage keyEncipherment
public static final KeyUsage dataEncipherment
public static final KeyUsage keyAgreement
public static final KeyUsage keyCertSign
public static final KeyUsage cRLSign
public static final KeyUsage encipherOnly
public static final KeyUsage decipherOnly
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 null