Package org.mozilla.jss.ssl
Class SSLVersionRange
java.lang.Object
org.mozilla.jss.ssl.SSLVersionRange
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SSLVersion
private SSLVersion
static final int
Deprecated.Replaced with SSLVersion.SSL_3_0.static final int
Deprecated.Replaced with SSLVersion.TLS_1_0.static final int
Deprecated.Replaced with SSLVersion.TLS_1_1.static final int
Deprecated.Replaced with SSLVersion.TLS_1_2.static final int
Deprecated.Replaced with SSLVersion.TLS_1_3. -
Constructor Summary
ConstructorsConstructorDescriptionSSLVersionRange
(int min_enum, int max_enum) Deprecated.Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).SSLVersionRange
(SSLVersion minVersion, SSLVersion maxVersion) -
Method Summary
Modifier and TypeMethodDescriptionboundBy
(SSLVersionRange bound) Bounds this SSLVersionRange by the given range.Gets all of the SSLVersions in this range, including endpoints.int
int
-
Field Details
-
minVersion
-
maxVersion
-
ssl3
Deprecated.Replaced with SSLVersion.SSL_3_0.- See Also:
-
tls1_0
Deprecated.Replaced with SSLVersion.TLS_1_0.- See Also:
-
tls1_1
Deprecated.Replaced with SSLVersion.TLS_1_1.- See Also:
-
tls1_2
Deprecated.Replaced with SSLVersion.TLS_1_2.- See Also:
-
tls1_3
Deprecated.Replaced with SSLVersion.TLS_1_3.- See Also:
-
-
Constructor Details
-
SSLVersionRange
public SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
SSLVersionRange
Deprecated.Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).Used by the C code, do not use it directly- Parameters:
min_enum
-max_enum
-- Throws:
IllegalArgumentException
-
-
Method Details
-
getMinVersion
-
getMaxVersion
-
getMinEnum
public int getMinEnum()- Returns:
- enumeration value
-
getMaxEnum
public int getMaxEnum()- Returns:
- enumeration value
-
getAllInRange
Gets all of the SSLVersions in this range, including endpoints.- Returns:
- All SSLVersions in this range
-
boundBy
Bounds this SSLVersionRange by the given range. The resulting SSLVersionRange does not has a minimum less than that of its bound and does not have a maximum greater than that of its bound.
-