Compartilhar via


StandardConstants.SniHostName Field

Definition

The "host_name" type representing of a DNS hostname (see SNIHostName) in a Server Name Indication (SNI) extension.

[Android.Runtime.Register("SNI_HOST_NAME", ApiSince=24)]
public const int SniHostName = 0;
[<Android.Runtime.Register("SNI_HOST_NAME", ApiSince=24)>]
val mutable SniHostName : int

Field Value

Value = 0
Attributes

Remarks

The "host_name" type representing of a DNS hostname (see SNIHostName) in a Server Name Indication (SNI) extension.

The SNI extension is a feature that extends the SSL/TLS protocols to indicate what server name the client is attempting to connect to during handshaking. See section 3, "Server Name Indication", of TLS Extensions (RFC 6066).

The value of this constant is 0x00.

Java documentation for javax.net.ssl.StandardConstants.SNI_HOST_NAME.

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