X509CRLSelector Class

Definition

A CRLSelector that selects X509CRLs that match all specified criteria.

[Android.Runtime.Register("java/security/cert/X509CRLSelector", DoNotGenerateAcw=true)]
public class X509CRLSelector : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Java.Security.Cert.ICRLSelector
[<Android.Runtime.Register("java/security/cert/X509CRLSelector", DoNotGenerateAcw=true)>]
type X509CRLSelector = class
    inherit Object
    interface ICRLSelector
    interface ICloneable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
X509CRLSelector
Attributes
Implements

Remarks

A CRLSelector that selects X509CRLs that match all specified criteria. This class is particularly useful when selecting CRLs from a CertStore to check revocation status of a particular certificate.

When first constructed, an X509CRLSelector has no criteria enabled and each of the get methods return a default value (null). Therefore, the #match match method would return true for any X509CRL. Typically, several criteria are enabled (by calling #setIssuers setIssuers or #setDateAndTime setDateAndTime, for instance) and then the X509CRLSelector is passed to CertStore#getCRLs CertStore.getCRLs or some similar method.

Please refer to RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile for definitions of the X.509 CRL fields and extensions mentioned below.

<b>Concurrent Access</b>

Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.

Added in 1.4.

Java documentation for java.security.cert.X509CRLSelector.

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.

Constructors

X509CRLSelector()

Creates an X509CRLSelector.

X509CRLSelector(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

CertificateChecking

Returns the certificate being checked. -or- Sets the certificate being checked.

Class

Returns the runtime class of this Object.

(Inherited from Object)
DateAndTime

Returns the dateAndTime criterion. -or- Sets the dateAndTime criterion.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
IssuerNames

Returns a copy of the issuerNames criterion.

Issuers

Returns the issuerNames criterion. -or- Sets the issuerNames criterion.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MaxCRL

Returns the maxCRLNumber criterion.

MinCRL

Returns the minCRLNumber criterion.

PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AddIssuer(X500Principal)

Adds a name to the issuerNames criterion.

AddIssuerName(Byte[])

Adds a name to the issuerNames criterion.

AddIssuerName(String)

<strong>Denigrated</strong>, use #addIssuer(X500Principal) or #addIssuerName(byte[]) instead.

Clone()

Returns a copy of this object.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Match(CRL)

Decides whether a CRL should be selected.

Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetIssuerNames(ICollection<Object>)

<strong>Note:</strong> use #setIssuers(Collection) instead or only specify the byte array form of distinguished names when using this method.

SetMaxCRLNumber(BigInteger)

Sets the maxCRLNumber criterion.

SetMinCRLNumber(BigInteger)

Sets the minCRLNumber criterion.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to