SSLParameters.SNIMatchers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Collection
containing all SNIMatcher
s of the
Server Name Indication (SNI) parameter, or null if none has been set. -or- Sets the SNIMatcher
s of the Server Name Indication (SNI)
parameter.
public System.Collections.Generic.ICollection<Javax.Net.Ssl.SNIMatcher>? SNIMatchers { [Android.Runtime.Register("getSNIMatchers", "()Ljava/util/Collection;", "", ApiSince=24)] get; [Android.Runtime.Register("setSNIMatchers", "(Ljava/util/Collection;)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getSNIMatchers", "()Ljava/util/Collection;", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setSNIMatchers", "(Ljava/util/Collection;)V", "", ApiSince=24)>]
member this.SNIMatchers : System.Collections.Generic.ICollection<Javax.Net.Ssl.SNIMatcher> with get, set
Property Value
null or an immutable collection of non-null SNIMatcher
s
- Attributes
Remarks
Property getter documentation:
Returns a Collection
containing all SNIMatcher
s of the Server Name Indication (SNI) parameter, or null if none has been set.
This method is only useful to SSLSocket
s or SSLEngine
s operating in server mode.
For better interoperability, providers generally will not define default matchers so that by default servers will ignore the SNI extension and continue the handshake.
Added in 1.8.
Java documentation for javax.net.ssl.SSLParameters.getSNIMatchers()
.
Property setter documentation:
Sets the SNIMatcher
s of the Server Name Indication (SNI) parameter.
This method is only useful to SSLSocket
s or SSLEngine
s operating in server mode.
Note that the matchers
collection is cloned to protect against subsequent modification.
Added in 1.8.
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.