java.lang.Object | ||
↳ | org.apache.http.conn.ssl.AbstractVerifier | |
↳ | org.apache.http.conn.ssl.BrowserCompatHostnameVerifier |
The HostnameVerifier that works the same way as Curl and Firefox.
The hostname must match either the first CN, or any of the subject-alts. A wildcard can occur in the CN, and in any of the subject-alts.
The only difference between BROWSER_COMPATIBLE and STRICT is that a wildcard (such as "*.foo.com") with BROWSER_COMPATIBLE matches all subdomains, including "a.b.foo.com".
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns a string containing a concise, human-readable description of this
object.
|
||||||||||
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.conn.ssl.AbstractVerifier
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
javax.net.ssl.HostnameVerifier
|
|||||||||||
From interface
org.apache.http.conn.ssl.X509HostnameVerifier
|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.
SSLException |
---|