SSLParameters.ServerNames Property

Definition

Returns a List containing all SNIServerNames of the Server Name Indication (SNI) parameter, or null if none has been set. -or- Sets the desired SNIServerNames of the Server Name Indication (SNI) parameter.

public System.Collections.Generic.IList<Javax.Net.Ssl.SNIServerName>? ServerNames { [Android.Runtime.Register("getServerNames", "()Ljava/util/List;", "", ApiSince=24)] get; [Android.Runtime.Register("setServerNames", "(Ljava/util/List;)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getServerNames", "()Ljava/util/List;", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setServerNames", "(Ljava/util/List;)V", "", ApiSince=24)>]
member this.ServerNames : System.Collections.Generic.IList<Javax.Net.Ssl.SNIServerName> with get, set

Property Value

IList<SNIServerName>

null or an immutable list of non-null SNIServerNames

Attributes

Remarks

Property getter documentation:

Java documentation for javax.net.ssl.SSLParameters.getServerNames().

Property setter documentation:

Java documentation for javax.net.ssl.SSLParameters.setServerNames(java.util.List<javax.net.ssl.SNIServerName>).

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