public class DefaultHostnameVerifier extends Object implements HostnameVerifier
| Constructor and Description |
|---|
DefaultHostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
extractCN(X500Principal principal) |
protected boolean |
match(String hostname,
String altName) |
boolean |
verify(String hostname,
SSLSession session) |
protected boolean |
verifyHostname(String hostname,
X509Certificate x509Certificate) |
protected boolean |
verifyIp(String ipAddr,
X509Certificate x509Certificate) |
protected final Logger log
protected static String extractCN(X500Principal principal)
public boolean verify(String hostname, SSLSession session)
verify in interface HostnameVerifierprotected boolean verifyHostname(String hostname, X509Certificate x509Certificate) throws CertificateParsingException
CertificateParsingExceptionprotected boolean verifyIp(String ipAddr, X509Certificate x509Certificate) throws CertificateParsingException
CertificateParsingExceptionCopyright © 2006–2015 Tigase. All rights reserved.