java.security.cert
Class X509CRLSelector

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.security.cert.X509CRLSelector
All Implemented Interfaces:
Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable , CRLSelector sample code for java.security.cert.CRLSelector definition code for java.security.cert.CRLSelector

public class X509CRLSelector
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements CRLSelector sample code for java.security.cert.CRLSelector definition code for java.security.cert.CRLSelector

A CRLSelector that selects X509CRLs that match all specified criteria. This class is particularly useful when selecting CRLs from a CertStore to check revocation status of a particular certificate.

When first constructed, an X509CRLSelector has no criteria enabled and each of the get methods return a default value (null). Therefore, the match sample code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL) method would return true for any X509CRL. Typically, several criteria are enabled (by calling setIssuers sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) or setDateAndTime sample code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) definition code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) , for instance) and then the X509CRLSelector is passed to CertStore.getCRLs sample code for java.security.cert.CertStore.getCRLs(java.security.cert.CRLSelector) definition code for java.security.cert.CertStore.getCRLs(java.security.cert.CRLSelector) or some similar method.

Please refer to RFC 2459 for definitions of the X.509 CRL fields and extensions mentioned below.

Concurrent Access

Unless otherwise specified, the methods defined in this class 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.

Since:
1.4
See Also:
CRLSelector sample code for java.security.cert.CRLSelector definition code for java.security.cert.CRLSelector , X509CRL sample code for java.security.cert.X509CRL definition code for java.security.cert.X509CRL

Constructor Summary
X509CRLSelector sample code for java.security.cert.X509CRLSelector.X509CRLSelector() definition code for java.security.cert.X509CRLSelector.X509CRLSelector() ()
          Creates an X509CRLSelector.
 
Method Summary
 void addIssuer sample code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) definition code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) (X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal  issuer)
          Adds a name to the issuerNames criterion.
 void addIssuerName sample code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) definition code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) (byte[] name)
          Adds a name to the issuerNames criterion.
 void addIssuerName sample code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String) definition code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name)
          Denigrated, use addIssuer(X500Principal) sample code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) definition code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) or addIssuerName(byte[]) sample code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) definition code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) instead.
 Object sample code for java.lang.Object definition code for java.lang.Object clone sample code for java.security.cert.X509CRLSelector.clone() definition code for java.security.cert.X509CRLSelector.clone() ()
          Returns a copy of this object.
 X509Certificate sample code for java.security.cert.X509Certificate definition code for java.security.cert.X509Certificate getCertificateChecking sample code for java.security.cert.X509CRLSelector.getCertificateChecking() definition code for java.security.cert.X509CRLSelector.getCertificateChecking() ()
          Returns the certificate being checked.
 Date sample code for java.util.Date definition code for java.util.Date getDateAndTime sample code for java.security.cert.X509CRLSelector.getDateAndTime() definition code for java.security.cert.X509CRLSelector.getDateAndTime() ()
          Returns the dateAndTime criterion.
 Collection sample code for java.util.Collection definition code for java.util.Collection <Object sample code for java.lang.Object definition code for java.lang.Object > getIssuerNames sample code for java.security.cert.X509CRLSelector.getIssuerNames() definition code for java.security.cert.X509CRLSelector.getIssuerNames() ()
          Returns a copy of the issuerNames criterion.
 Collection sample code for java.util.Collection definition code for java.util.Collection <X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal > getIssuers sample code for java.security.cert.X509CRLSelector.getIssuers() definition code for java.security.cert.X509CRLSelector.getIssuers() ()
          Returns the issuerNames criterion.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getMaxCRL sample code for java.security.cert.X509CRLSelector.getMaxCRL() definition code for java.security.cert.X509CRLSelector.getMaxCRL() ()
          Returns the maxCRLNumber criterion.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getMinCRL sample code for java.security.cert.X509CRLSelector.getMinCRL() definition code for java.security.cert.X509CRLSelector.getMinCRL() ()
          Returns the minCRLNumber criterion.
 boolean match sample code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL) (CRL sample code for java.security.cert.CRL definition code for java.security.cert.CRL  crl)
          Decides whether a CRL should be selected.
 void setCertificateChecking sample code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate) definition code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate) (X509Certificate sample code for java.security.cert.X509Certificate definition code for java.security.cert.X509Certificate  cert)
          Sets the certificate being checked.
 void setDateAndTime sample code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) definition code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) (Date sample code for java.util.Date definition code for java.util.Date  dateAndTime)
          Sets the dateAndTime criterion.
 void setIssuerNames sample code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) (Collection sample code for java.util.Collection definition code for java.util.Collection <?> names)
          Note: use setIssuers(Collection) sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) instead or only specify the byte array form of distinguished names when using this method.
 void setIssuers sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) (Collection sample code for java.util.Collection definition code for java.util.Collection <X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal > issuers)
          Sets the issuerNames criterion.
 void setMaxCRLNumber sample code for java.security.cert.X509CRLSelector.setMaxCRLNumber(java.math.BigInteger) definition code for java.security.cert.X509CRLSelector.setMaxCRLNumber(java.math.BigInteger) (BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  maxCRL)
          Sets the maxCRLNumber criterion.
 void setMinCRLNumber sample code for java.security.cert.X509CRLSelector.setMinCRLNumber(java.math.BigInteger) definition code for java.security.cert.X509CRLSelector.setMinCRLNumber(java.math.BigInteger) (BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  minCRL)
          Sets the minCRLNumber criterion.
 String sample code for java.lang.String definition code for java.lang.String toString sample code for java.security.cert.X509CRLSelector.toString() definition code for java.security.cert.X509CRLSelector.toString() ()
          Returns a printable representation of the X509CRLSelector.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

X509CRLSelector sample code for java.security.cert.X509CRLSelector() definition code for java.security.cert.X509CRLSelector()

public X509CRLSelector()
Creates an X509CRLSelector. Initially, no criteria are set so any X509CRL will match.

Method Detail

setIssuers sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>)

public void setIssuers(Collection sample code for java.util.Collection definition code for java.util.Collection <X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal > issuers)
Sets the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names. If null, any issuer distinguished name will do.

This method allows the caller to specify, with a single method call, the complete set of issuer names which X509CRLs may contain. The specified value replaces the previous value for the issuerNames criterion.

The names parameter (if not null) is a Collection of X500Principals.

Note that the names parameter can contain duplicate distinguished names, but they may be removed from the Collection of names returned by the getIssuers sample code for java.security.cert.X509CRLSelector.getIssuers() definition code for java.security.cert.X509CRLSelector.getIssuers() method.

Note that a copy is performed on the Collection to protect against subsequent modifications.

Parameters:
issuers - a Collection of X500Principals (or null)
Since:
1.5
See Also:
getIssuers() sample code for java.security.cert.X509CRLSelector.getIssuers() definition code for java.security.cert.X509CRLSelector.getIssuers()

setIssuerNames sample code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection<?>) definition code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection<?>)

public void setIssuerNames(Collection sample code for java.util.Collection definition code for java.util.Collection <?> names)
                    throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Note: use setIssuers(Collection) sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) instead or only specify the byte array form of distinguished names when using this method. See addIssuerName(String) sample code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String) definition code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String) for more information.

Sets the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names. If null, any issuer distinguished name will do.

This method allows the caller to specify, with a single method call, the complete set of issuer names which X509CRLs may contain. The specified value replaces the previous value for the issuerNames criterion.

The names parameter (if not null) is a Collection of names. Each name is a String or a byte array representing a distinguished name (in RFC 2253 or ASN.1 DER encoded form, respectively). If null is supplied as the value for this argument, no issuerNames check will be performed.

Note that the names parameter can contain duplicate distinguished names, but they may be removed from the Collection of names returned by the getIssuerNames sample code for java.security.cert.X509CRLSelector.getIssuerNames() definition code for java.security.cert.X509CRLSelector.getIssuerNames() method.

If a name is specified as a byte array, it should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure is as follows.


 Name ::= CHOICE {
   RDNSequence }

 RDNSequence ::= SEQUENCE OF RelativeDistinguishedName

 RelativeDistinguishedName ::=
   SET SIZE (1 .. MAX) OF AttributeTypeAndValue

 AttributeTypeAndValue ::= SEQUENCE {
   type     AttributeType,
   value    AttributeValue }

 AttributeType ::= OBJECT IDENTIFIER

 AttributeValue ::= ANY DEFINED BY AttributeType
 ....
 DirectoryString ::= CHOICE {
       teletexString           TeletexString (SIZE (1..MAX)),
       printableString         PrintableString (SIZE (1..MAX)),
       universalString         UniversalString (SIZE (1..MAX)),
       utf8String              UTF8String (SIZE (1.. MAX)),
       bmpString               BMPString (SIZE (1..MAX)) }
 

Note that a deep copy is performed on the Collection to protect against subsequent modifications.

Parameters:
names - a Collection of names (or null)
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a parsing error occurs
See Also:
getIssuerNames() sample code for java.security.cert.X509CRLSelector.getIssuerNames() definition code for java.security.cert.X509CRLSelector.getIssuerNames()

addIssuer sample code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) definition code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal)

public void addIssuer(X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal  issuer)
Adds a name to the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names.

This method allows the caller to add a name to the set of issuer names which X509CRLs may contain. The specified name is added to any previous value for the issuerNames criterion. If the specified name is a duplicate, it may be ignored.

Parameters:
issuer - the issuer as X500Principal
Since:
1.5

addIssuerName sample code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String) definition code for java.security.cert.X509CRLSelector.addIssuerName(java.lang.String)

public void addIssuerName(String sample code for java.lang.String definition code for java.lang.String  name)
                   throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Denigrated, use addIssuer(X500Principal) sample code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) definition code for java.security.cert.X509CRLSelector.addIssuer(javax.security.auth.x500.X500Principal) or addIssuerName(byte[]) sample code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) definition code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) instead. This method should not be relied on as it can fail to match some CRLs because of a loss of encoding information in the RFC 2253 String form of some distinguished names.

Adds a name to the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names.

This method allows the caller to add a name to the set of issuer names which X509CRLs may contain. The specified name is added to any previous value for the issuerNames criterion. If the specified name is a duplicate, it may be ignored.

Parameters:
name - the name in RFC 2253 form
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a parsing error occurs

addIssuerName sample code for java.security.cert.X509CRLSelector.addIssuerName(byte[]) definition code for java.security.cert.X509CRLSelector.addIssuerName(byte[])

public void addIssuerName(byte[] name)
                   throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Adds a name to the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names.

This method allows the caller to add a name to the set of issuer names which X509CRLs may contain. The specified name is added to any previous value for the issuerNames criterion. If the specified name is a duplicate, it may be ignored. If a name is specified as a byte array, it should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure is as follows.

The name is provided as a byte array. This byte array should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure appears in the documentation for setIssuerNames(Collection names) sample code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) .

Note that the byte array supplied here is cloned to protect against subsequent modifications.

Parameters:
name - a byte array containing the name in ASN.1 DER encoded form
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException - if a parsing error occurs

setMinCRLNumber sample code for java.security.cert.X509CRLSelector.setMinCRLNumber(java.math.BigInteger) definition code for java.security.cert.X509CRLSelector.setMinCRLNumber(java.math.BigInteger)

public void setMinCRLNumber(BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  minCRL)
Sets the minCRLNumber criterion. The X509CRL must have a CRL number extension whose value is greater than or equal to the specified value. If null, no minCRLNumber check will be done.

Parameters:
minCRL - the minimum CRL number accepted (or null)

setMaxCRLNumber sample code for java.security.cert.X509CRLSelector.setMaxCRLNumber(java.math.BigInteger) definition code for java.security.cert.X509CRLSelector.setMaxCRLNumber(java.math.BigInteger)

public void setMaxCRLNumber(BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  maxCRL)
Sets the maxCRLNumber criterion. The X509CRL must have a CRL number extension whose value is less than or equal to the specified value. If null, no maxCRLNumber check will be done.

Parameters:
maxCRL - the maximum CRL number accepted (or null)

setDateAndTime sample code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) definition code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date)

public void setDateAndTime(Date sample code for java.util.Date definition code for java.util.Date  dateAndTime)
Sets the dateAndTime criterion. The specified date must be equal to or later than the value of the thisUpdate component of the X509CRL and earlier than the value of the nextUpdate component. There is no match if the X509CRL does not contain a nextUpdate component. If null, no dateAndTime check will be done.

Note that the Date supplied here is cloned to protect against subsequent modifications.

Parameters:
dateAndTime - the Date to match against (or null)
See Also:
getDateAndTime() sample code for java.security.cert.X509CRLSelector.getDateAndTime() definition code for java.security.cert.X509CRLSelector.getDateAndTime()

setCertificateChecking sample code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate) definition code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate)

public void setCertificateChecking(X509Certificate sample code for java.security.cert.X509Certificate definition code for java.security.cert.X509Certificate  cert)
Sets the certificate being checked. This is not a criterion. Rather, it is optional information that may help a CertStore find CRLs that would be relevant when checking revocation for the specified certificate. If null is specified, then no such optional information is provided.

Parameters:
cert - the X509Certificate being checked (or null)
See Also:
getCertificateChecking() sample code for java.security.cert.X509CRLSelector.getCertificateChecking() definition code for java.security.cert.X509CRLSelector.getCertificateChecking()

getIssuers sample code for java.security.cert.X509CRLSelector.getIssuers() definition code for java.security.cert.X509CRLSelector.getIssuers()

public Collection sample code for java.util.Collection definition code for java.util.Collection <X500Principal sample code for javax.security.auth.x500.X500Principal definition code for javax.security.auth.x500.X500Principal > getIssuers()
Returns the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names. If the value returned is null, any issuer distinguished name will do.

If the value returned is not null, it is a unmodifiable Collection of X500Principals.

Returns:
an unmodifiable Collection of names (or null)
Since:
1.5
See Also:
setIssuers(java.util.Collection) sample code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuers(java.util.Collection)

getIssuerNames sample code for java.security.cert.X509CRLSelector.getIssuerNames() definition code for java.security.cert.X509CRLSelector.getIssuerNames()

public Collection sample code for java.util.Collection definition code for java.util.Collection <Object sample code for java.lang.Object definition code for java.lang.Object > getIssuerNames()
Returns a copy of the issuerNames criterion. The issuer distinguished name in the X509CRL must match at least one of the specified distinguished names. If the value returned is null, any issuer distinguished name will do.

If the value returned is not null, it is a Collection of names. Each name is a String or a byte array representing a distinguished name (in RFC 2253 or ASN.1 DER encoded form, respectively). Note that the Collection returned may contain duplicate names.

If a name is specified as a byte array, it should contain a single DER encoded distinguished name, as defined in X.501. The ASN.1 notation for this structure is given in the documentation for setIssuerNames(Collection names) sample code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) .

Note that a deep copy is performed on the Collection to protect against subsequent modifications.

Returns:
a Collection of names (or null)
See Also:
setIssuerNames(java.util.Collection) sample code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection) definition code for java.security.cert.X509CRLSelector.setIssuerNames(java.util.Collection)

getMinCRL sample code for java.security.cert.X509CRLSelector.getMinCRL() definition code for java.security.cert.X509CRLSelector.getMinCRL()

public BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getMinCRL()
Returns the minCRLNumber criterion. The X509CRL must have a CRL number extension whose value is greater than or equal to the specified value. If null, no minCRLNumber check will be done.

Returns:
the minimum CRL number accepted (or null)

getMaxCRL sample code for java.security.cert.X509CRLSelector.getMaxCRL() definition code for java.security.cert.X509CRLSelector.getMaxCRL()

public BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getMaxCRL()
Returns the maxCRLNumber criterion. The X509CRL must have a CRL number extension whose value is less than or equal to the specified value. If null, no maxCRLNumber check will be done.

Returns:
the maximum CRL number accepted (or null)

getDateAndTime sample code for java.security.cert.X509CRLSelector.getDateAndTime() definition code for java.security.cert.X509CRLSelector.getDateAndTime()

public Date sample code for java.util.Date definition code for java.util.Date  getDateAndTime()
Returns the dateAndTime criterion. The specified date must be equal to or later than the value of the thisUpdate component of the X509CRL and earlier than the value of the nextUpdate component. There is no match if the X509CRL does not contain a nextUpdate component. If null, no dateAndTime check will be done.

Note that the Date returned is cloned to protect against subsequent modifications.

Returns:
the Date to match against (or null)
See Also:
setDateAndTime(java.util.Date) sample code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date) definition code for java.security.cert.X509CRLSelector.setDateAndTime(java.util.Date)

getCertificateChecking sample code for java.security.cert.X509CRLSelector.getCertificateChecking() definition code for java.security.cert.X509CRLSelector.getCertificateChecking()

public X509Certificate sample code for java.security.cert.X509Certificate definition code for java.security.cert.X509Certificate  getCertificateChecking()
Returns the certificate being checked. This is not a criterion. Rather, it is optional information that may help a CertStore find CRLs that would be relevant when checking revocation for the specified certificate. If the value returned is null, then no such optional information is provided.

Returns:
the certificate being checked (or null)
See Also:
setCertificateChecking(java.security.cert.X509Certificate) sample code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate) definition code for java.security.cert.X509CRLSelector.setCertificateChecking(java.security.cert.X509Certificate)

toString sample code for java.security.cert.X509CRLSelector.toString() definition code for java.security.cert.X509CRLSelector.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()
Returns a printable representation of the X509CRLSelector.

Overrides:
toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a String describing the contents of the X509CRLSelector.

match sample code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.X509CRLSelector.match(java.security.cert.CRL)

public boolean match(CRL sample code for java.security.cert.CRL definition code for java.security.cert.CRL  crl)
Decides whether a CRL should be selected.

Specified by:
match sample code for java.security.cert.CRLSelector.match(java.security.cert.CRL) definition code for java.security.cert.CRLSelector.match(java.security.cert.CRL) in interface CRLSelector sample code for java.security.cert.CRLSelector definition code for java.security.cert.CRLSelector
Parameters:
crl - the CRL to be checked
Returns:
true if the CRL should be selected, false otherwise

clone sample code for java.security.cert.X509CRLSelector.clone() definition code for java.security.cert.X509CRLSelector.clone()

public Object sample code for java.lang.Object definition code for java.lang.Object  clone()
Returns a copy of this object.

Specified by:
clone sample code for java.security.cert.CRLSelector.clone() definition code for java.security.cert.CRLSelector.clone() in interface CRLSelector sample code for java.security.cert.CRLSelector definition code for java.security.cert.CRLSelector
Overrides:
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
the copy
See Also:
Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable