|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<KeyUsageBits>
edu.vt.middleware.crypt.x509.types.KeyUsageBits
public enum KeyUsageBits
Representation of the bit meanings in the KeyUsage BIT STRING
type defined in section 4.2.1.3 of RFC 2459.
| Enum Constant Summary | |
|---|---|
CRLSign
cRLSign bit. |
|
DataEncipherment
dataEncipherment bit. |
|
DecipherOnly
decipherOnly bit. |
|
DigitalSignature
digitalSignature bit. |
|
EncipherOnly
encipherOnly bit. |
|
KeyAgreement
keyAgreement bit. |
|
KeyCertSign
keyCertSign bit. |
|
KeyEncipherment
keyEncipherment bit. |
|
NonRepudiation
nonRepudiation bit. |
|
| Method Summary | |
|---|---|
int |
getMask()
|
static KeyUsageBits |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KeyUsageBits[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final KeyUsageBits DigitalSignature
public static final KeyUsageBits NonRepudiation
public static final KeyUsageBits KeyEncipherment
public static final KeyUsageBits DataEncipherment
public static final KeyUsageBits KeyAgreement
public static final KeyUsageBits KeyCertSign
public static final KeyUsageBits CRLSign
public static final KeyUsageBits EncipherOnly
public static final KeyUsageBits DecipherOnly
| Method Detail |
|---|
public static KeyUsageBits[] values()
for (KeyUsageBits c : KeyUsageBits.values()) System.out.println(c);
public static KeyUsageBits valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getMask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||