Lines Matching refs:ProtocolVersion
25 public class ProtocolVersion {
32 private static Hashtable<String, ProtocolVersion> protocolsByName = new Hashtable<String, ProtocolVersion>(4);
48 * Returns ProtocolVersion
53 public static ProtocolVersion getByVersion(byte[] version) {
76 * Returns ProtocolVersion
81 public static ProtocolVersion getByName(String name) {
91 public static ProtocolVersion getLatestVersion(String[] protocols) {
95 ProtocolVersion latest = getByName(protocols[0]);
96 ProtocolVersion current;
115 public static final ProtocolVersion SSLv3 = new ProtocolVersion("SSLv3",
121 public static final ProtocolVersion TLSv1 = new ProtocolVersion("TLSv1",
141 private ProtocolVersion(String name, byte[] version) {