Package com.arcadedb.server.http.ssl
Enum KeystoreType
- java.lang.Object
-
- java.lang.Enum<KeystoreType>
-
- com.arcadedb.server.http.ssl.KeystoreType
-
- All Implemented Interfaces:
Serializable
,Comparable<KeystoreType>
public enum KeystoreType extends Enum<KeystoreType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeystoreType
getFromStringWithDefault(String keystoreType, KeystoreType defaultKeystoreType)
String
getKeystoreType()
static KeystoreType
validateFromString(String keystoreType)
static KeystoreType
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeystoreType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PKCS12
public static final KeystoreType PKCS12
-
JKS
public static final KeystoreType JKS
-
-
Method Detail
-
values
public static KeystoreType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeystoreType c : KeystoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeystoreType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getKeystoreType
public String getKeystoreType()
-
validateFromString
public static KeystoreType validateFromString(String keystoreType)
-
getFromStringWithDefault
public static KeystoreType getFromStringWithDefault(String keystoreType, KeystoreType defaultKeystoreType)
-
-