Lines Matching defs:host
86 public final void verify(String host, SSLSocket ssl)
88 if(host == null) {
89 throw new NullPointerException("host to verify is null");
95 verify(host, x509);
98 public final boolean verify(String host, SSLSession session) {
102 verify(host, x509);
110 public final void verify(String host, X509Certificate cert)
114 verify(host, cns, subjectAlts);
117 public final void verify(final String host, final String[] cns,
139 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt";
146 // We're can be case-insensitive when comparing the host we used to
148 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
168 !InetAddressUtils.isIPv4Address(host);
185 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);