public class

BrowserCompatHostnameVerifier

extends AbstractVerifier
java.lang.Object
   ↳ org.apache.http.conn.ssl.AbstractVerifier
     ↳ org.apache.http.conn.ssl.BrowserCompatHostnameVerifier

Class Overview

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".

Summary

Public Constructors
BrowserCompatHostnameVerifier()
Public Methods
final String toString()
final void verify(String host, String[] cns, String[] subjectAlts)
[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

Public Constructors

public BrowserCompatHostnameVerifier ()

Also: HttpClient

Public Methods

public final String toString ()

Also: HttpClient

public final void verify (String host, String[] cns, String[] subjectAlts)

Also: HttpClient

Throws
SSLException