public class SSLVersionRange
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ssl3
Deprecated.
Replaced with SSLVersion.SSL_3_0.
|
static int |
tls1_0
Deprecated.
Replaced with SSLVersion.TLS_1_0.
|
static int |
tls1_1
Deprecated.
Replaced with SSLVersion.TLS_1_1.
|
static int |
tls1_2
Deprecated.
Replaced with SSLVersion.TLS_1_2.
|
static int |
tls1_3
Deprecated.
Replaced with SSLVersion.TLS_1_3.
|
Constructor and Description |
---|
SSLVersionRange(int min_enum,
int max_enum)
Deprecated.
Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).
|
SSLVersionRange(SSLVersion minVersion,
SSLVersion maxVersion) |
Modifier and Type | Method and Description |
---|---|
SSLVersionRange |
boundBy(SSLVersionRange bound)
Bounds this SSLVersionRange by the given range.
|
SSLVersion[] |
getAllInRange()
Gets all of the SSLVersions in this range, including endpoints.
|
int |
getMaxEnum() |
SSLVersion |
getMaxVersion() |
int |
getMinEnum() |
SSLVersion |
getMinVersion() |
@Deprecated public static final int ssl3
@Deprecated public static final int tls1_0
@Deprecated public static final int tls1_1
@Deprecated public static final int tls1_2
@Deprecated public static final int tls1_3
public SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
@Deprecated public SSLVersionRange(int min_enum, int max_enum) throws java.lang.IllegalArgumentException
min_enum
- max_enum
- java.lang.IllegalArgumentException
public SSLVersion getMinVersion()
public SSLVersion getMaxVersion()
public int getMinEnum()
public int getMaxEnum()
public SSLVersion[] getAllInRange()
public SSLVersionRange boundBy(SSLVersionRange bound)