Compartir a través de


ExtendedSSLSession.RequestedServerNames Property

Definition

Obtains a List containing all SNIServerNames of the requested Server Name Indication (SNI) extension.

public virtual System.Collections.Generic.IList<Javax.Net.Ssl.SNIServerName>? RequestedServerNames { [Android.Runtime.Register("getRequestedServerNames", "()Ljava/util/List;", "GetGetRequestedServerNamesHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRequestedServerNames", "()Ljava/util/List;", "GetGetRequestedServerNamesHandler", ApiSince=24)>]
member this.RequestedServerNames : System.Collections.Generic.IList<Javax.Net.Ssl.SNIServerName>

Property Value

a non-null immutable list of SNIServerNames of the requested server name indications. The returned list may be empty if no server name indications were requested.

Attributes

Remarks

Obtains a List containing all SNIServerNames of the requested Server Name Indication (SNI) extension.

In server mode, unless the return List is empty, the server should use the requested server names to guide its selection of an appropriate authentication certificate, and/or other aspects of security policy.

In client mode, unless the return List is empty, the client should use the requested server names to guide its endpoint identification of the peer's identity, and/or other aspects of security policy.

Added in 1.8.

Java documentation for javax.net.ssl.ExtendedSSLSession.getRequestedServerNames().

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