Package com.santaba.agent.groovyapi.http
Class Client.SBHostVerifier
- java.lang.Object
-
- com.santaba.agent.groovyapi.http.Client.SBHostVerifier
-
- All Implemented Interfaces:
javax.net.ssl.HostnameVerifier
,org.apache.http.conn.ssl.X509HostnameVerifier
- Enclosing class:
- Client
public static class Client.SBHostVerifier extends java.lang.Object implements org.apache.http.conn.ssl.X509HostnameVerifier
-
-
Constructor Summary
Constructors Constructor Description SBHostVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
void
verify(java.lang.String host, java.lang.String[] cns, java.lang.String[] subjectAlts)
void
verify(java.lang.String host, java.security.cert.X509Certificate cert)
boolean
verify(java.lang.String hostname, javax.net.ssl.SSLSession session)
void
verify(java.lang.String host, javax.net.ssl.SSLSocket ssl)
-
-
-
Method Detail
-
verify
public boolean verify(java.lang.String hostname, javax.net.ssl.SSLSession session)
- Specified by:
verify
in interfacejavax.net.ssl.HostnameVerifier
-
verify
public void verify(java.lang.String host, java.lang.String[] cns, java.lang.String[] subjectAlts) throws javax.net.ssl.SSLException
- Specified by:
verify
in interfaceorg.apache.http.conn.ssl.X509HostnameVerifier
- Throws:
javax.net.ssl.SSLException
-
verify
public void verify(java.lang.String host, java.security.cert.X509Certificate cert) throws javax.net.ssl.SSLException
- Specified by:
verify
in interfaceorg.apache.http.conn.ssl.X509HostnameVerifier
- Throws:
javax.net.ssl.SSLException
-
verify
public void verify(java.lang.String host, javax.net.ssl.SSLSocket ssl) throws java.io.IOException
- Specified by:
verify
in interfaceorg.apache.http.conn.ssl.X509HostnameVerifier
- Throws:
java.io.IOException
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-