Language

EchConfigMismatchException.PublicHostname Property

Definition

Returns the hostname that should be used for verification.

public virtual string? PublicHostname { [Android.Runtime.Register("getPublicHostname", "()Ljava/lang/String;", "GetGetPublicHostnameHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPublicHostname", "()Ljava/lang/String;", "GetGetPublicHostnameHandler", ApiSince=37)>]
member this.PublicHostname : string

Property Value

Attributes

Remarks

Returns the hostname that should be used for verification. This method must be called before interpreting the retry config list, returned by getRetryConfigList(). For more details see section 6.1.7 "Authenticating for the Public Name" in RFC TLS Encrypted Client Hello (draft-ietf-tls-esni-25).

Android reference for android.net.ssl.EchConfigMismatchException.getPublicHostname.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to