@Test(groups = "ssl", dataProvider = "certificates") public void verifyDefault(final String hostname, final X509Certificate cert, final boolean pass) throws Exception { Assert.assertEquals(DEFAULT_VERIFIER.verify(hostname, cert), pass); }
@Override public boolean verify(final String hostname, final SSLSession session) { return verifier.verify(hostname, session); }
DefaultHostnameVerifier implements HostnameVerifier, CertificateHostnameVerifier { @Override public boolean verify(final String hostname, final SSLSession session) { return verifier.verify(hostname, session); } }
DefaultHostnameVerifier implements HostnameVerifier, CertificateHostnameVerifier { @Override public boolean verify(final String hostname, final SSLSession session) { return verifier.verify(hostname, session); }  }
DefaultHostnameVerifier implements HostnameVerifier, CertificateHostnameVerifier { @Override public boolean verify(final String hostname, final SSLSession session) { return verifier.verify(hostname, session); }  @Override boolean verify(final String hostname, final SSLSession session); @Override boolean verify(final String hostname, final X509Certificate cert); }
DefaultHostnameVerifier implements HostnameVerifier, CertificateHostnameVerifier { @Override public boolean verify(final String hostname, final SSLSession session) { return verifier.verify(hostname, session); }  @Override boolean verify(final String hostname, final SSLSession session); @Override boolean verify(final String hostname, final X509Certificate cert);  }