Home | History | Annotate | Download | only in jsse

Lines Matching refs:version

5  *  The ASF licenses this file to You under the Apache License, Version 2.0
23 * Represents Protocol Version
36 * Returns true if protocol version is supported
38 * @param version
40 public static boolean isSupported(byte[] version) {
41 if (version[0] != 3 || (version[1] != 0 && version[1] != 1)) {
50 * @param version
53 public static ProtocolVersion getByVersion(byte[] version) {
54 if (version[0] == 3) {
55 if (version[1] == 1) {
58 if (version[1] == 0) {
66 * Returns true if provider supports protocol version
86 * Highest protocol version supported by provider implementation
103 || (latest.version[0] < current.version[0])
104 || (latest.version[0] == current.version[0] && latest.version[1] < current.version[1])) {
113 * SSL 3.0 protocol version
119 * TLS 1.0 protocol version
137 * Protocol version as byte array
139 public final byte[] version;
141 private ProtocolVersion(String name, byte[] version) {
143 this.version = version;
152 && this.version[0] == ((ProtocolVersion) o).version[0]
153 && this.version[1] == ((ProtocolVersion) o).version[1]) {