public static enum KeyStoreManager.CertUsage extends Enum<KeyStoreManager.CertUsage>
Enum Constant and Description |
---|
EMAIL |
EMAIL_CA |
OBJECT_SIGNING |
OBJECT_SIGNING_CA |
TLS_CA |
TLS_CLIENT |
TLS_SERVER |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static KeyStoreManager.CertUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyStoreManager.CertUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyStoreManager.CertUsage UNSPECIFIED
public static final KeyStoreManager.CertUsage TLS_CLIENT
public static final KeyStoreManager.CertUsage TLS_SERVER
public static final KeyStoreManager.CertUsage EMAIL
public static final KeyStoreManager.CertUsage OBJECT_SIGNING
public static final KeyStoreManager.CertUsage TLS_CA
public static final KeyStoreManager.CertUsage EMAIL_CA
public static final KeyStoreManager.CertUsage OBJECT_SIGNING_CA
public static KeyStoreManager.CertUsage[] values()
for (KeyStoreManager.CertUsage c : KeyStoreManager.CertUsage.values()) System.out.println(c);
public static KeyStoreManager.CertUsage 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 byte getCode()