com.sun.net.ssl
Interface HostnameVerifier


public interface HostnameVerifier

HostnameVerifier provides a callback mechanism so that implementers of this interface can supply a policy for handling the case where the host to connect to and the server name from the certificate mismatch. package com.sun.net.ssl;


Method Summary
 boolean verify(java.lang.String urlHostname, java.lang.String certHostname)
           
 

Method Detail

verify

public boolean verify(java.lang.String urlHostname,
                      java.lang.String certHostname)