java.lang.Object | |
↳ | java.security.cert.X509CRLSelector |
A CRL selector (CRLSelector
for selecting X509CRL
s that match the specified criteria.
When constructed, all criteria are set to default values that will match any
X509CRL
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
X509CertSelector . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an issuer to the criterion for the issuer distinguished names.
| |||||||||||
Adds an issuer to the criterion for the issuer distinguished names.
| |||||||||||
Do not use:, use
addIssuer(X500Principal) or
addIssuerName(byte[]) instead. | |||||||||||
Clones this
X509CRL instance. | |||||||||||
Returns the certificate hint to find CRLs.
| |||||||||||
Returns the criterion for the CRL update period.
| |||||||||||
Returns the criterion for the issuer distinguished names.
| |||||||||||
Returns the criterion for the issuer distinguished names.
| |||||||||||
Returns the criterion for the maximum CRL number.
| |||||||||||
Returns the criterion for the minimum CRL number.
| |||||||||||
Returns whether the specified CRL matches all the criteria collected in
this instance.
| |||||||||||
Sets a certificate hint to find CRLs.
| |||||||||||
Sets the criterion for the CRL update period.
| |||||||||||
Do not use: use
setIssuers(Collection) or one of
addIssuerName(byte[]) instead. | |||||||||||
Sets the criterion for the issuer distinguished names.
| |||||||||||
Sets the criterion for the maximum CRL number.
| |||||||||||
Sets the criterion for the minimum CRL number.
| |||||||||||
Returns a string representation of this
X509CRLSelector instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.security.cert.CRLSelector
|
Adds an issuer to the criterion for the issuer distinguished names.
The CRL issuer must match at least one of the specified distinguished names.
issuer | the issuer to add to the criterion |
---|
Adds an issuer to the criterion for the issuer distinguished names.
The CRL issuer must match at least one of the specified distinguished names.
iss_name | the issuer to add to the criterion in ASN.1 DER encoded form. |
---|
IOException | if parsing fails. |
---|
Do not use:, use addIssuer(X500Principal)
or
addIssuerName(byte[])
instead. It can fail to match some CRLs
because of a loss of encoding information in a RFC 2253 string.
Adds an issuer to the criterion for the issuer distinguished names. The CRK issuer must match at least one of the specified distinguished names.
iss_name | the RFC 2253 encoded name. |
---|
IOException | if parsing fails. |
---|
Clones this X509CRL
instance.
Returns the certificate hint to find CRLs. It's not a criterion but may help finding relevant CRLs.
null
if none set.
Returns the criterion for the CRL update period.
The CRL's thisUpdate
value must be equal or before the returned
date and the nextUpdate
value must be after the returned date.
null
if the date is
not checked.
Returns the criterion for the issuer distinguished names.
The CRL issuer must match at least one of the distinguished names.
null
if any issuer distinguished name
will do. The elements may be strings or ASN.1 DER
encoded byte arrays.
Returns the criterion for the issuer distinguished names.
The CRL issuer must match at least one of the distinguished names.
null
if any issuer distinguished name will do.
Returns the criterion for the maximum CRL number.
The CRL must have a number extension with a value less than or equal to the returned value.
Returns the criterion for the minimum CRL number.
The CRL must have a number extension with a value greater than or equal to the returned value.
null
if the minimum CRL number
is not to be checked.
Returns whether the specified CRL matches all the criteria collected in this instance.
crl | the CRL to check. |
---|
true
if the CRL matches all the criteria, otherwise
false
.
Sets a certificate hint to find CRLs. It's not a criterion but may help finding relevant CRLs.
cert | the certificate hint or null .
|
---|
Sets the criterion for the CRL update period.
The CRL's thisUpdate
value must be equal or before the specified
date and the nextUpdate
value must be after the specified date.
dateAndTime | the date to search for valid CRL's or null to not
check the date.
|
---|
Do not use: use setIssuers(Collection)
or one of
addIssuerName(byte[])
instead. Sets the criterion for the issuer
distinguished names.
The CRL issuer must match at least one of the specified distinguished names.
The specified parameter names
is a collection with an entry for
each name to be included in the criterion. The name is specified as a
String
or a byte array specifying the name (in RFC 2253 or ASN.1
DER encoded form)
names | the list of issuer distinguished names to match, or null if any issuer distinguished name will do. |
---|
IOException | if parsing fails. |
---|
Sets the criterion for the issuer distinguished names.
The CRL issuer must match at least one of the specified distinguished names.
issuers | the list of issuer distinguished names to match, or null if any issuer distinguished name will do.
|
---|
Sets the criterion for the maximum CRL number.
The CRL must have a number extension with a value less than or equal to the specified parameter.
maxCRL | the maximum CRL number or null to not check the maximum CRL number. |
---|
Sets the criterion for the minimum CRL number.
The CRL must have a number extension with a value greater than or equal to the specified parameter.
minCRL | the minimum CRL number or null to not check the minimum CRL number |
---|
Returns a string representation of this X509CRLSelector
instance.
X509CRLSelector
instance.