Package org.forgerock.security.keystore
Enum KeyStoreType
- java.lang.Object
-
- java.lang.Enum<KeyStoreType>
-
- org.forgerock.security.keystore.KeyStoreType
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyStoreType>
@Deprecated public enum KeyStoreType extends Enum<KeyStoreType>
Deprecated.Specify the keystore type string directly in preference to this enum, as it is extensible at runtimeLists the various keystore/truststore types.- See Also:
- List of Keystore Types in JDK 7
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static KeyStoreType
valueOf​(String name)
Deprecated.Returns the enum constant of this type with the specified name.static KeyStoreType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JKS
public static final KeyStoreType JKS
Deprecated.JKS keystore type.
-
JCEKS
public static final KeyStoreType JCEKS
Deprecated.JCEKS keystore type.
-
PKCS11
public static final KeyStoreType PKCS11
Deprecated.PKCS11 keystore type.
-
PKCS12
public static final KeyStoreType PKCS12
Deprecated.PKCS12 keystore type.
-
-
Method Detail
-
values
public static KeyStoreType[] values()
Deprecated.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)
Deprecated.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
-
-