public class AnyHostnameVerifier extends Object
Constructor and Description |
---|
AnyHostnameVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Always returns
true . |
void |
verify(String host,
SSLSocket ssl) |
void |
verify(String host,
String[] cns,
String[] subjectAlts) |
void |
verify(String host,
X509Certificate cert) |
public boolean verify(String hostname, SSLSession session)
true
.hostname
- the hostnamesession
- the SSL sessiontrue
public void verify(String host, SSLSocket ssl) throws IOException
IOException
public void verify(String host, X509Certificate cert) throws SSLException
SSLException
public void verify(String host, String[] cns, String[] subjectAlts) throws SSLException
SSLException
Copyright © 2015. All Rights Reserved.