Modifier and Type | Field and Description |
---|---|
public static final ProtocolVersion | |
public static final ProtocolVersion | |
pack-priv final int | |
pack-priv final boolean | |
pack-priv final boolean | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv final byte | |
pack-priv final byte | |
pack-priv final String | name
Hides java. |
public static final ProtocolVersion | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
pack-priv static final ProtocolVersion[] | |
public static final ProtocolVersion | |
public static final ProtocolVersion | |
public static final ProtocolVersion | |
public static final ProtocolVersion | |
public static final ProtocolVersion | |
public static final ProtocolVersion |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
pack-priv int | |
pack-priv static boolean | isNegotiable(byte major, byte minor, boolean isDTLS, boolean allowSSL20Hello)
Return true if the specific (D)TLS protocol is negotiable. |
pack-priv static String | nameOf(byte major, byte minor)
Return name of a (D)TLS protocol specified by major and minor version numbers. |
pack-priv static String | |
pack-priv static ProtocolVersion | |
pack-priv static List | |
pack-priv static ProtocolVersion | selectedFrom(List<ProtocolVersion>
the listed protocol version listedVersions, int the suggested protocol version suggestedVersion)Select the lower of the suggested protocol version and the highest of the listed protocol versions. |
pack-priv static String[] | toStringArray(List<ProtocolVersion> protocolVersions)
Get names of a list of ProtocolVersion objects. |
pack-priv static String[] | |
pack-priv boolean | |
pack-priv static boolean | useTLS10PlusSpec(int id, boolean isDTLS)
Return true if this ProtocolVersion object is of TLS 1.0 or newer version. |
pack-priv boolean | useTLS11PlusSpec()
Return true if this ProtocolVersion object is of TLS 1.1/DTLS 1.0 or newer version. |
pack-priv static boolean | useTLS12PlusSpec(String name)
Return true if the specific protocol version name is of (D)TLS 1.2 or newer version. |
pack-priv boolean | |
pack-priv boolean | |
pack-priv static boolean | useTLS13PlusSpec(int id, boolean isDTLS)
Return true if this ProtocolVersion object is of (D)TLS 1.3 or newer version. |
public static ProtocolVersion | |
pack-priv static ProtocolVersion | valueOf(byte major, byte minor)
Return a ProtocolVersion with the specified major and minor version numbers. |
pack-priv static ProtocolVersion | |
public static ProtocolVersion[] |
DTLS10 | back to summary |
---|---|
public static final ProtocolVersion DTLS10 |
DTLS12 | back to summary |
---|---|
public static final ProtocolVersion DTLS12 |
id | back to summary |
---|---|
pack-priv final int id |
isAvailable | back to summary |
---|---|
pack-priv final boolean isAvailable |
isDTLS | back to summary |
---|---|
pack-priv final boolean isDTLS |
LIMIT_MAX_VALUE | back to summary |
---|---|
pack-priv static final int LIMIT_MAX_VALUE |
LIMIT_MIN_VALUE | back to summary |
---|---|
pack-priv static final int LIMIT_MIN_VALUE |
major | back to summary |
---|---|
pack-priv final byte major |
minor | back to summary |
---|---|
pack-priv final byte minor |
name | back to summary |
---|---|
pack-priv final String name Hides java. |
NONE | back to summary |
---|---|
public static final ProtocolVersion NONE |
PROTOCOLS_10_11 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_10_11 |
PROTOCOLS_10_12 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_10_12 |
PROTOCOLS_11_12 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_11_12 |
PROTOCOLS_12_13 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_12_13 |
PROTOCOLS_EMPTY | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_EMPTY |
PROTOCOLS_OF_11 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_OF_11 |
PROTOCOLS_OF_12 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_OF_12 |
PROTOCOLS_OF_13 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_OF_13 |
PROTOCOLS_OF_30 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_OF_30 |
PROTOCOLS_OF_NONE | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_OF_NONE |
PROTOCOLS_TO_10 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_10 |
PROTOCOLS_TO_11 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_11 |
PROTOCOLS_TO_12 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_12 |
PROTOCOLS_TO_13 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_13 |
PROTOCOLS_TO_TLS10 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_TLS10 |
PROTOCOLS_TO_TLS11 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_TLS11 |
PROTOCOLS_TO_TLS12 | back to summary |
---|---|
pack-priv static final ProtocolVersion[] PROTOCOLS_TO_TLS12 |
SSL20Hello | back to summary |
---|---|
public static final ProtocolVersion SSL20Hello |
SSL30 | back to summary |
---|---|
public static final ProtocolVersion SSL30 |
TLS10 | back to summary |
---|---|
public static final ProtocolVersion TLS10 |
TLS11 | back to summary |
---|---|
public static final ProtocolVersion TLS11 |
TLS12 | back to summary |
---|---|
public static final ProtocolVersion TLS12 |
TLS13 | back to summary |
---|---|
public static final ProtocolVersion TLS13 |
ProtocolVersion | back to summary |
---|---|
private ProtocolVersion(int id, String name, boolean isDTLS) |
compare | back to summary |
---|---|
pack-priv int compare(ProtocolVersion that) Compares this object with the specified ProtocolVersion.
|
isNegotiable | back to summary |
---|---|
pack-priv static boolean isNegotiable(byte major, byte minor, boolean isDTLS, boolean allowSSL20Hello) Return true if the specific (D)TLS protocol is negotiable. Used to filter out SSLv2Hello and protocol numbers less than the minimal supported protocol versions. |
nameOf | back to summary |
---|---|
pack-priv static String nameOf(byte major, byte minor) Return name of a (D)TLS protocol specified by major and minor version numbers. |
nameOf | back to summary |
---|---|
pack-priv static String nameOf(int id) Return name of a (D)TLS protocol specified by a protocol number. |
nameOf | back to summary |
---|---|
pack-priv static ProtocolVersion nameOf(String name) Return a ProtocolVersion for the given (D)TLS protocol name. |
namesOf | back to summary |
---|---|
pack-priv static List Get a list of ProtocolVersion objects of an array protocol version names. |
selectedFrom | back to summary |
---|---|
pack-priv static ProtocolVersion selectedFrom(List<ProtocolVersion> listedVersions, int suggestedVersion) Select the lower of the suggested protocol version and the highest of the listed protocol versions.
|
toStringArray | back to summary |
---|---|
pack-priv static String[] toStringArray(List<ProtocolVersion> protocolVersions) Get names of a list of ProtocolVersion objects. |
toStringArray | back to summary |
---|---|
pack-priv static String[] toStringArray(int[] protocolVersions) Get names of a list of protocol version identifiers. |
useTLS10PlusSpec | back to summary |
---|---|
pack-priv boolean useTLS10PlusSpec() Return true if this ProtocolVersion object is of TLS 1.0 or newer version. |
useTLS10PlusSpec | back to summary |
---|---|
pack-priv static boolean useTLS10PlusSpec(int id, boolean isDTLS) Return true if this ProtocolVersion object is of TLS 1.0 or newer version. |
useTLS11PlusSpec | back to summary |
---|---|
pack-priv boolean useTLS11PlusSpec() Return true if this ProtocolVersion object is of TLS 1.1/DTLS 1.0 or newer version. |
useTLS12PlusSpec | back to summary |
---|---|
pack-priv static boolean useTLS12PlusSpec(String name) Return true if the specific protocol version name is of (D)TLS 1.2 or newer version. |
useTLS12PlusSpec | back to summary |
---|---|
pack-priv boolean useTLS12PlusSpec() Return true if this ProtocolVersion object is of (D)TLS 1.2 or newer version. |
useTLS13PlusSpec | back to summary |
---|---|
pack-priv boolean useTLS13PlusSpec() Return true if this ProtocolVersion object is of (D)TLS 1.3 or newer version. |
useTLS13PlusSpec | back to summary |
---|---|
pack-priv static boolean useTLS13PlusSpec(int id, boolean isDTLS) Return true if this ProtocolVersion object is of (D)TLS 1.3 or newer version. |
valueOf | back to summary |
---|---|
public static ProtocolVersion valueOf(String name) |
valueOf | back to summary |
---|---|
pack-priv static ProtocolVersion valueOf(byte major, byte minor) Return a ProtocolVersion with the specified major and minor version numbers. |
valueOf | back to summary |
---|---|
pack-priv static ProtocolVersion valueOf(int id) Return a ProtocolVersion with the specified version number. |
values | back to summary |
---|---|
public static ProtocolVersion[] values() |