Name
Interface com.sun.net.ssl.HostnameVerifier
Synopsis
Classes that implement this interface can be registered with an HTTPS connection. If the underlying HTTPS socket detects a name mismatch between the server to which it connects and the certificate that the server presents, the verify( )
method will be called to allow the user to accept the connection anyway.
Interface Definition
public interface com.sun.net.ssl.HostnameVerifier { // Instance Methods public abstract boolean verify(String, String); }
See also
HttpsURLConnection
|
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.