May 2001
Intermediate to advanced
618 pages
20h 50m
English
Interface com.sun.net.ssl.HostnameVerifier
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.
public interface com.sun.net.ssl.HostnameVerifier {
// Instance Methods
public abstract boolean verify(String, String);
}
HttpsURLConnection
|
Read now
Unlock full access