public class


extends AbstractVerifier
   ↳ 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 "*") with BROWSER_COMPATIBLE matches all subdomains, including "".


Public Constructors
Public Methods
final String toString()
final void verify(String host, String[] cns, String[] subjectAlts)
Inherited Methods
From class org.apache.http.conn.ssl.AbstractVerifier
From class java.lang.Object
From interface
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