Package org.apache.hadoop.security.ssl
Enum Class DelegatingSSLSocketFactory.SSLChannelMode
java.lang.Object
java.lang.Enum<DelegatingSSLSocketFactory.SSLChannelMode>
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.SSLChannelMode
- All Implemented Interfaces:
Serializable,Comparable<DelegatingSSLSocketFactory.SSLChannelMode>,Constable
- Enclosing class:
- org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory
public static enum DelegatingSSLSocketFactory.SSLChannelMode
extends Enum<DelegatingSSLSocketFactory.SSLChannelMode>
Default indicates Ordered, preferred OpenSSL, if failed to load then fall
back to Default_JSSE.
Default_JSSE is not truly the the default JSSE implementation because the GCM cipher is disabled when running on Java 8. However, the name was not changed in order to preserve backwards compatibility. Instead, a new mode called Default_JSSE_with_GCM delegates to the default JSSE implementation with no changes to the list of enabled ciphers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OpenSSL
-
Default
-
Default_JSSE
-
Default_JSSE_with_GCM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-