Compartilhar via


X509CertSelector.MatchAllSubjectAltNames Property

Definition

Indicates if the X509Certificate must contain all or at least one of the subjectAlternativeNames specified in the #setSubjectAlternativeNames setSubjectAlternativeNames or #addSubjectAlternativeName addSubjectAlternativeName methods. -or- Enables/disables matching all of the subjectAlternativeNames specified in the #setSubjectAlternativeNames setSubjectAlternativeNames or #addSubjectAlternativeName addSubjectAlternativeName methods.

public virtual bool MatchAllSubjectAltNames { [Android.Runtime.Register("getMatchAllSubjectAltNames", "()Z", "GetGetMatchAllSubjectAltNamesHandler")] get; [Android.Runtime.Register("setMatchAllSubjectAltNames", "(Z)V", "GetSetMatchAllSubjectAltNames_ZHandler")] set; }
[<get: Android.Runtime.Register("getMatchAllSubjectAltNames", "()Z", "GetGetMatchAllSubjectAltNamesHandler")>]
[<set: Android.Runtime.Register("setMatchAllSubjectAltNames", "(Z)V", "GetSetMatchAllSubjectAltNames_ZHandler")>]
member this.MatchAllSubjectAltNames : bool with get, set

Property Value

true if the flag is enabled; false if the flag is disabled. The flag is true by default.

Attributes

Remarks

Property getter documentation:

Indicates if the X509Certificate must contain all or at least one of the subjectAlternativeNames specified in the #setSubjectAlternativeNames setSubjectAlternativeNames or #addSubjectAlternativeName addSubjectAlternativeName methods. If true, the X509Certificate must contain all of the specified subject alternative names. If false, the X509Certificate must contain at least one of the specified subject alternative names.

Java documentation for java.security.cert.X509CertSelector.getMatchAllSubjectAltNames().

Property setter documentation:

Enables/disables matching all of the subjectAlternativeNames specified in the #setSubjectAlternativeNames setSubjectAlternativeNames or #addSubjectAlternativeName addSubjectAlternativeName methods. If enabled, the X509Certificate must contain all of the specified subject alternative names. If disabled, the X509Certificate must contain at least one of the specified subject alternative names.

The matchAllNames flag is true by default.

Java documentation for java.security.cert.X509CertSelector.setMatchAllSubjectAltNames(boolean).

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