public interface HostnameMismatchCallback
| Modifier and Type | Method and Description |
|---|---|
void |
nameMismatch(SSLSocket socket,
X509Certificate peerCertificate,
String hostName)
This method is called whenever peer's host name is not matching the peer's
certificate DN.
|
void nameMismatch(SSLSocket socket, X509Certificate peerCertificate, String hostName) throws SSLException
socket - the socketpeerCertificate - peer's certificate (for convenience)hostName - peer's host name (for convenience)SSLExceptionCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.