Package org.mozilla.jss.ssl
Class SSLVersionRange
- java.lang.Object
-
- org.mozilla.jss.ssl.SSLVersionRange
-
public class SSLVersionRange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description SSLVersionRange(int min_enum, int max_enum)
Deprecated.Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxEnum()
SSLVersion
getMaxVersion()
int
getMinEnum()
SSLVersion
getMinVersion()
-
-
-
Field Detail
-
ssl3
@Deprecated public static final int ssl3
Deprecated.Replaced with SSLVersion.SSL_3_0.- See Also:
- Constant Field Values
-
tls1_0
@Deprecated public static final int tls1_0
Deprecated.Replaced with SSLVersion.TLS_1_0.- See Also:
- Constant Field Values
-
tls1_1
@Deprecated public static final int tls1_1
Deprecated.Replaced with SSLVersion.TLS_1_1.- See Also:
- Constant Field Values
-
tls1_2
@Deprecated public static final int tls1_2
Deprecated.Replaced with SSLVersion.TLS_1_2.- See Also:
- Constant Field Values
-
tls1_3
@Deprecated public static final int tls1_3
Deprecated.Replaced with SSLVersion.TLS_1_3.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SSLVersionRange
public SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
SSLVersionRange
public SSLVersionRange(int min_enum, int max_enum) throws java.lang.IllegalArgumentException
Deprecated.Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).Used by the C code, do not use it directly- Parameters:
min_enum
-max_enum
-- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
getMinVersion
public SSLVersion getMinVersion()
-
getMaxVersion
public SSLVersion getMaxVersion()
-
getMinEnum
public int getMinEnum()
- Returns:
- enumeration value
-
getMaxEnum
public int getMaxEnum()
- Returns:
- enumeration value
-
-