com.caucho.quercus.lib.curl
Class CurlHostnameVerifier

java.lang.Object
  extended by com.caucho.quercus.lib.curl.CurlHostnameVerifier
All Implemented Interfaces:
javax.net.ssl.HostnameVerifier

public final class CurlHostnameVerifier
extends java.lang.Object
implements javax.net.ssl.HostnameVerifier


Method Summary
static CurlHostnameVerifier create()
           
static CurlHostnameVerifier create(boolean verifyPeer, boolean commonName, boolean hostname)
           
 boolean verify(java.lang.String hostname, javax.net.ssl.SSLSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static CurlHostnameVerifier create()

create

public static CurlHostnameVerifier create(boolean verifyPeer,
                                          boolean commonName,
                                          boolean hostname)

verify

public boolean verify(java.lang.String hostname,
                      javax.net.ssl.SSLSession session)
Specified by:
verify in interface javax.net.ssl.HostnameVerifier