CertStore.GetCRLs(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("getCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "")]
public System.Collections.Generic.ICollection<Java.Security.Cert.CRL>? GetCRLs (Java.Security.Cert.ICRLSelector? selector);
[<Android.Runtime.Register("getCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "")>]
member this.GetCRLs : 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.
Java documentation for java.security.cert.CertStore.getCRLs(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.