Package fr.gpotter2.sslkeystorefactories
Enum SSLSocketKeystoreFactory.SecureType
- java.lang.Object
-
- java.lang.Enum<SSLSocketKeystoreFactory.SecureType>
-
- fr.gpotter2.sslkeystorefactories.SSLSocketKeystoreFactory.SecureType
-
- All Implemented Interfaces:
Serializable,Comparable<SSLSocketKeystoreFactory.SecureType>
- Enclosing class:
- SSLSocketKeystoreFactory
public static enum SSLSocketKeystoreFactory.SecureType extends Enum<SSLSocketKeystoreFactory.SecureType>
A SSL algorithms types chooser enum- Author:
- gpotter2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()static SSLSocketKeystoreFactory.SecureTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SSLSocketKeystoreFactory.SecureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SSL
@Deprecated public static final SSLSocketKeystoreFactory.SecureType SSL
Deprecated.
-
SSLv2
@Deprecated public static final SSLSocketKeystoreFactory.SecureType SSLv2
Deprecated.
-
SSLv3
@Deprecated public static final SSLSocketKeystoreFactory.SecureType SSLv3
Deprecated.
-
TLS
@Deprecated public static final SSLSocketKeystoreFactory.SecureType TLS
Deprecated.
-
TLSv1
@Deprecated public static final SSLSocketKeystoreFactory.SecureType TLSv1
Deprecated.
-
TLSv1_1
@Deprecated public static final SSLSocketKeystoreFactory.SecureType TLSv1_1
Deprecated.
-
TLSv1_2
public static final SSLSocketKeystoreFactory.SecureType TLSv1_2
-
-
Method Detail
-
values
public static SSLSocketKeystoreFactory.SecureType[] 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 (SSLSocketKeystoreFactory.SecureType c : SSLSocketKeystoreFactory.SecureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLSocketKeystoreFactory.SecureType 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
-
getType
public String getType()
-
-