Org.Apache.Http.Conn.Ssl.BrowserCompatHostnameVerifier Class
The HostnameVerifier that works the same way as Curl and Firefox.

See Also: BrowserCompatHostnameVerifier Members

Syntax

[Android.Runtime.Register("org/apache/http/conn/ssl/BrowserCompatHostnameVerifier", DoNotGenerateAcw=true)]
public class BrowserCompatHostnameVerifier : AbstractVerifier

Remarks

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

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1