Share via


PKIXParameters.RevocationEnabled Property

Definition

Checks the RevocationEnabled flag. -or- Sets the RevocationEnabled flag.

public virtual bool RevocationEnabled { [Android.Runtime.Register("isRevocationEnabled", "()Z", "GetIsRevocationEnabledHandler")] get; [Android.Runtime.Register("setRevocationEnabled", "(Z)V", "GetSetRevocationEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isRevocationEnabled", "()Z", "GetIsRevocationEnabledHandler")>]
[<set: Android.Runtime.Register("setRevocationEnabled", "(Z)V", "GetSetRevocationEnabled_ZHandler")>]
member this.RevocationEnabled : bool with get, set

Property Value

the current value of the RevocationEnabled flag

Attributes

Remarks

Property getter documentation:

Checks the RevocationEnabled flag. If this flag is true, the default revocation checking mechanism of the underlying PKIX service provider will be used. If this flag is false, the default revocation checking mechanism will be disabled (not used). See the #setRevocationEnabled setRevocationEnabled method for more details on setting the value of this flag.

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

Property setter documentation:

Sets the RevocationEnabled flag. If this flag is true, the default revocation checking mechanism of the underlying PKIX service provider will be used. If this flag is false, the default revocation checking mechanism will be disabled (not used).

When a PKIXParameters object is created, this flag is set to true. This setting reflects the most common strategy for checking revocation, since each service provider must support revocation checking to be PKIX compliant. Sophisticated applications should set this flag to false when it is not practical to use a PKIX service provider's default revocation checking mechanism or when an alternative revocation checking mechanism is to be substituted (by also calling the #addCertPathChecker addCertPathChecker or #setCertPathCheckers setCertPathCheckers methods).

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