CertStoreSpi.EngineGetCRLs(ICRLSelector) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Collection
of CRL
s 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
CRL
s should be returned. Specify null
to return all CRL
s (if supported).
Returns
A Collection
of CRL
s that
match the specified selector (never null
)
- Attributes
Exceptions
if error(s) occur.
Remarks
Returns a Collection
of CRL
s that match the specified selector. If no CRL
s match the selector, an empty Collection
will be returned.
For some CertStore
types, the resulting Collection
may not contain <b>all</b> of the CRL
s 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 CRL
s it is looking for.
Some CertStore
implementations (especially LDAP CertStore
s) 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.
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.