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)SSLException - SSL exceptionCopyright © 2012–2016 European Middleware Initiative. All rights reserved.