Stay organized with collections
Save and categorize content based on your preferences.
CRLSelector
public
interface
CRLSelector
implements
Cloneable
java.security.cert.CRLSelector
|
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.
Summary
Public methods |
abstract
Object
|
clone()
Makes a copy of this CRLSelector .
|
abstract
boolean
|
match(CRL crl)
Decides whether a CRL should be selected.
|
Public methods
clone
public abstract Object clone ()
Makes a copy of this CRLSelector
. Changes to the
copy will not affect the original and vice versa.
Returns |
Object |
a copy of this CRLSelector |
match
public abstract boolean match (CRL crl)
Decides whether a CRL
should be selected.
Parameters |
crl |
CRL : the CRL to be checked |
Returns |
boolean |
true if the CRL should be selected,
false otherwise |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-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 2025-02-10 UTC."],[],[],null,["# CRLSelector\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nCRLSelector\n===========\n\n\n`\npublic\n\n\ninterface\nCRLSelector\n`\n\n\n`\n\n\nimplements\n\n`[Cloneable](/reference/java/lang/Cloneable)`\n\n\n`\n\n|--------------------------------|\n| java.security.cert.CRLSelector |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [X509CRLSelector](/reference/java/security/cert/X509CRLSelector) |------------------------------------------------------------------|----------------------------------------------------------------------------| | [X509CRLSelector](/reference/java/security/cert/X509CRLSelector) | A `CRLSelector` that selects `X509CRLs` that match all specified criteria. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\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**See also:**\n\n- [CRL](/reference/java/security/cert/CRL)\n- [CertStore](/reference/java/security/cert/CertStore)\n- [CertStore.getCRLs(CRLSelector)](/reference/java/security/cert/CertStore#getCRLs(java.security.cert.CRLSelector))\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[Object](/reference/java/lang/Object) | ` `[clone](/reference/java/security/cert/CRLSelector#clone())`() ` Makes a copy of this `CRLSelector`. |\n| ` abstract boolean` | ` `[match](/reference/java/security/cert/CRLSelector#match(java.security.cert.CRL))`(`[CRL](/reference/java/security/cert/CRL)` crl) ` Decides whether a `CRL` should be selected. |\n\nPublic methods\n--------------\n\n### clone\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract Object clone ()\n```\n\nMakes a copy of this `CRLSelector`. Changes to the\ncopy will not affect the original and vice versa.\n\n\u003cbr /\u003e\n\n| Returns ||\n|---------------------------------------|-------------------------------------|\n| [Object](/reference/java/lang/Object) | a copy of this `CRLSelector` \u003cbr /\u003e |\n\n### match\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract boolean match (CRL crl)\n```\n\nDecides whether a `CRL` should be selected.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------|---------------------------------------|\n| `crl` | `CRL`: the `CRL` to be checked \u003cbr /\u003e |\n\n| Returns ||\n|-----------|------------------------------------------------------------------|\n| `boolean` | `true` if the `CRL` should be selected, `false` otherwise \u003cbr /\u003e |"]]