共用方式為


WifiEnterpriseConfig.AltSubjectMatch Property

Definition

Get alternate subject match -or- Set alternate subject match.

public virtual string? AltSubjectMatch { [Android.Runtime.Register("getAltSubjectMatch", "()Ljava/lang/String;", "GetGetAltSubjectMatchHandler", ApiSince=23)] get; [Android.Runtime.Register("setAltSubjectMatch", "(Ljava/lang/String;)V", "GetSetAltSubjectMatch_Ljava_lang_String_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getAltSubjectMatch", "()Ljava/lang/String;", "GetGetAltSubjectMatchHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setAltSubjectMatch", "(Ljava/lang/String;)V", "GetSetAltSubjectMatch_Ljava_lang_String_Handler", ApiSince=23)>]
member this.AltSubjectMatch : string with get, set

Property Value

the alternate subject match string

Attributes

Remarks

Property getter documentation:

Get alternate subject match

Java documentation for android.net.wifi.WifiEnterpriseConfig.getAltSubjectMatch().

Property setter documentation:

Set alternate subject match. This is the substring to be matched against the alternate subject of the authentication server certificate.

Note: If no alternate subject is set for an Enterprise configuration, either by not calling this API, or by calling it with null, or not setting domain suffix match using the #setDomainSuffixMatch(String), then the server certificate validation is incomplete - which means that the connection is not secure.

Java documentation for android.net.wifi.WifiEnterpriseConfig.setAltSubjectMatch(java.lang.String).

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