public enum KeyUsageEnum extends Enum<KeyUsageEnum>
Java class for KeyUsageEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="KeyUsageEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DIGITAL_SIGNATURE"/>
<enumeration value="NON_REPUDIATION"/>
<enumeration value="KEY_ENCIPHERMENT"/>
<enumeration value="DATA_ENCIPHERMENT"/>
<enumeration value="KEY_AGREEMENT"/>
<enumeration value="KEY_CERT_SIGN"/>
<enumeration value="CRL_SIGN"/>
<enumeration value="ENCIPHER_ONLY"/>
<enumeration value="DECIPHER_ONLY"/>
</restriction>
</simpleType>
| 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 |
|---|---|
static KeyUsageEnum |
fromValue(String v) |
String |
value() |
static KeyUsageEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyUsageEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyUsageEnum DIGITAL_SIGNATURE
public static final KeyUsageEnum NON_REPUDIATION
public static final KeyUsageEnum KEY_ENCIPHERMENT
public static final KeyUsageEnum DATA_ENCIPHERMENT
public static final KeyUsageEnum KEY_AGREEMENT
public static final KeyUsageEnum KEY_CERT_SIGN
public static final KeyUsageEnum CRL_SIGN
public static final KeyUsageEnum ENCIPHER_ONLY
public static final KeyUsageEnum DECIPHER_ONLY
public static KeyUsageEnum[] values()
for (KeyUsageEnum c : KeyUsageEnum.values()) System.out.println(c);
public static KeyUsageEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static KeyUsageEnum fromValue(String v)
Copyright © 2023 NorStella. All rights reserved.