PKIXParameters.PolicyQualifiersRejected Property

Definition

Gets the PolicyQualifiersRejected flag. -or- Sets the PolicyQualifiersRejected flag.

public virtual bool PolicyQualifiersRejected { [Android.Runtime.Register("getPolicyQualifiersRejected", "()Z", "GetGetPolicyQualifiersRejectedHandler")] get; [Android.Runtime.Register("setPolicyQualifiersRejected", "(Z)V", "GetSetPolicyQualifiersRejected_ZHandler")] set; }
[<get: Android.Runtime.Register("getPolicyQualifiersRejected", "()Z", "GetGetPolicyQualifiersRejectedHandler")>]
[<set: Android.Runtime.Register("setPolicyQualifiersRejected", "(Z)V", "GetSetPolicyQualifiersRejected_ZHandler")>]
member this.PolicyQualifiersRejected : bool with get, set

Property Value

the current value of the PolicyQualifiersRejected flag

Attributes

Remarks

Property getter documentation:

Gets the PolicyQualifiersRejected flag. If this flag is true, certificates that include policy qualifiers in a certificate policies extension that is marked critical are rejected. If the flag is false, certificates are not rejected on this basis.

When a PKIXParameters object is created, this flag is set to true. This setting reflects the most common (and simplest) strategy for processing policy qualifiers. Applications that want to use a more sophisticated policy must set this flag to false.

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

Property setter documentation:

Sets the PolicyQualifiersRejected flag. If this flag is true, certificates that include policy qualifiers in a certificate policies extension that is marked critical are rejected. If the flag is false, certificates are not rejected on this basis.

When a PKIXParameters object is created, this flag is set to true. This setting reflects the most common (and simplest) strategy for processing policy qualifiers. Applications that want to use a more sophisticated policy must set this flag to false.

Note that the PKIX certification path validation algorithm specifies that any policy qualifier in a certificate policies extension that is marked critical must be processed and validated. Otherwise the certification path must be rejected. If the policyQualifiersRejected flag is set to false, it is up to the application to validate all policy qualifiers in this manner in order to be PKIX compliant.

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