Condividi tramite


CertStoreSpi.EngineGetCRLs(ICRLSelector) Method

Definition

Returns a Collection of CRLs that match the specified selector.

[Android.Runtime.Register("engineGetCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "GetEngineGetCRLs_Ljava_security_cert_CRLSelector_Handler")]
public abstract System.Collections.Generic.ICollection<Java.Security.Cert.CRL>? EngineGetCRLs (Java.Security.Cert.ICRLSelector? selector);
[<Android.Runtime.Register("engineGetCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "GetEngineGetCRLs_Ljava_security_cert_CRLSelector_Handler")>]
abstract member EngineGetCRLs : Java.Security.Cert.ICRLSelector -> System.Collections.Generic.ICollection<Java.Security.Cert.CRL>

Parameters

selector
ICRLSelector

A CRLSelector used to select which CRLs should be returned. Specify null to return all CRLs (if supported).

Returns

A Collection of CRLs that match the specified selector (never null)

Attributes

Exceptions

if error(s) occur.

Remarks

Returns a Collection of CRLs that match the specified selector. If no CRLs match the selector, an empty Collection will be returned.

For some CertStore types, the resulting Collection may not contain <b>all</b> of the CRLs that match the selector. For instance, an LDAP CertStore may not search all entries in the directory. Instead, it may just search entries that are likely to contain the CRLs it is looking for.

Some CertStore implementations (especially LDAP CertStores) may throw a CertStoreException unless a non-null CRLSelector is provided that includes specific criteria that can be used to find the CRLs. Issuer names and/or the certificate to be checked are especially useful.

Java documentation for java.security.cert.CertStoreSpi.engineGetCRLs(java.security.cert.CRLSelector).

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