Lines Matching defs:host
92 public final void verify(String host, SSLSocket ssl)
94 if(host == null) {
95 throw new NullPointerException("host to verify is null");
101 verify(host, x509);
104 public final boolean verify(String host, SSLSession session) {
108 verify(host, x509);
116 public final void verify(String host, X509Certificate cert)
120 verify(host, cns, subjectAlts);
123 public final void verify(final String host, final String[] cns,
145 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt";
152 // We're can be case-insensitive when comparing the host we used to
154 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
174 !isIPv4Address(host);
191 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);