CRLSelector
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
X509CRLSelector |
A CRLSelector that selects X509CRLs that
match all specified criteria. |
|
A selector that defines a set of criteria for selecting CRL
s.
Classes that implement this interface are often used to specify
which CRL
s should be retrieved from a CertStore
.
Concurrent Access
Unless otherwise specified, the methods defined in this interface 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.
Public Method Summary
abstract
Object
|
clone()
Makes a copy of this CRLSelector .
|
abstract
boolean
|
match( CRL crl)
Decides whether a CRL should be selected.
|
Public Methods
public
abstract
Object
clone
()
Makes a copy of this CRLSelector
. Changes to the
copy will not affect the original and vice versa.
Returns
- a copy of this
CRLSelector
public
abstract
boolean
match
(CRL crl)
Decides whether a CRL
should be selected.
Parameters
crl |
the CRL to be checked |
Returns
true
if the CRL
should be selected,
false
otherwise
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eCRLSelector\u003c/code\u003e defines criteria for selecting Certificate Revocation Lists (\u003ccode\u003eCRL\u003c/code\u003es) from a \u003ccode\u003eCertStore\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt's implemented by classes like \u003ccode\u003eX509CRLSelector\u003c/code\u003e for specific \u003ccode\u003eCRL\u003c/code\u003e types (e.g., \u003ccode\u003eX509CRL\u003c/code\u003es).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ematch\u003c/code\u003e method determines if a given \u003ccode\u003eCRL\u003c/code\u003e meets the selection criteria.\u003c/p\u003e\n"],["\u003cp\u003eMethods are not inherently thread-safe, requiring manual synchronization for concurrent access by multiple threads.\u003c/p\u003e\n"]]],["`CRLSelector` defines criteria for selecting Certificate Revocation Lists (`CRL`s), often used with `CertStore`. It includes an abstract `match` method to decide if a `CRL` should be selected and a `clone` method to create copies. `X509CRLSelector` is a subclass for selecting `X509CRL`s. Methods are not thread-safe, requiring synchronization for concurrent access to a single object. The `CertStore.getCRLs` method retrieves `CRL`s based on `CRLSelector` criteria.\n"],null,["public interface **CRLSelector** implements [Cloneable](../../../../reference/java/lang/Cloneable.html) \n\n|---|---|---|\n| Known Indirect Subclasses [X509CRLSelector](../../../../reference/java/security/cert/X509CRLSelector.html) |----------------------------------------------------------------------------------|----------------------------------------------------------------------------| | [X509CRLSelector](../../../../reference/java/security/cert/X509CRLSelector.html) | A `CRLSelector` that selects `X509CRLs` that match all specified criteria. | |||\n\nA selector that defines a set of criteria for selecting `CRL`s.\nClasses that implement this interface are often used to specify\nwhich `CRL`s should be retrieved from a `CertStore`.\n\n\n**Concurrent Access**\n\n\nUnless otherwise specified, the methods defined in this interface are not\nthread-safe. Multiple threads that need to access a single\nobject concurrently should synchronize amongst themselves and\nprovide the necessary locking. Multiple threads each manipulating\nseparate objects need not synchronize. \n\nSee Also\n\n- [CRL](../../../../reference/java/security/cert/CRL.html)\n- [CertStore](../../../../reference/java/security/cert/CertStore.html)\n- [CertStore.getCRLs(CRLSelector)](../../../../reference/java/security/cert/CertStore.html#getCRLs(java.security.cert.CRLSelector)) \n\nPublic Method Summary\n\n|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Object](../../../../reference/java/lang/Object.html) | [clone](../../../../reference/java/security/cert/CRLSelector.html#clone())() Makes a copy of this `CRLSelector`. |\n| abstract boolean | [match](../../../../reference/java/security/cert/CRLSelector.html#match(java.security.cert.CRL))([CRL](../../../../reference/java/security/cert/CRL.html) crl) Decides whether a `CRL` should be selected. |\n\nPublic Methods \n\npublic abstract [Object](../../../../reference/java/lang/Object.html)\n**clone**\n() \nMakes a copy of this `CRLSelector`. Changes to the\ncopy will not affect the original and vice versa. \n\nReturns\n\n- a copy of this `CRLSelector` \n\npublic abstract boolean\n**match**\n([CRL](../../../../reference/java/security/cert/CRL.html) crl) \nDecides whether a `CRL` should be selected. \n\nParameters\n\n| crl | the `CRL` to be checked |\n|-----|-------------------------|\n\nReturns\n\n- `true` if the `CRL` should be selected, `false` otherwise"]]