Partager via


PKIXParameters.ExplicitPolicyRequired Property

Definition

Checks if explicit policy is required. -or- Sets the ExplicitPolicyRequired flag.

public virtual bool ExplicitPolicyRequired { [Android.Runtime.Register("isExplicitPolicyRequired", "()Z", "GetIsExplicitPolicyRequiredHandler")] get; [Android.Runtime.Register("setExplicitPolicyRequired", "(Z)V", "GetSetExplicitPolicyRequired_ZHandler")] set; }
[<get: Android.Runtime.Register("isExplicitPolicyRequired", "()Z", "GetIsExplicitPolicyRequiredHandler")>]
[<set: Android.Runtime.Register("setExplicitPolicyRequired", "(Z)V", "GetSetExplicitPolicyRequired_ZHandler")>]
member this.ExplicitPolicyRequired : bool with get, set

Property Value

true if explicit policy is required, false otherwise

Attributes

Remarks

Property getter documentation:

Checks if explicit policy is required. If this flag is true, an acceptable policy needs to be explicitly identified in every certificate. By default, the ExplicitPolicyRequired flag is false.

Java documentation for java.security.cert.PKIXParameters.isExplicitPolicyRequired().

Property setter documentation:

Sets the ExplicitPolicyRequired flag. If this flag is true, an acceptable policy needs to be explicitly identified in every certificate. By default, the ExplicitPolicyRequired flag is false.

Java documentation for java.security.cert.PKIXParameters.setExplicitPolicyRequired(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