Name
X509CRL
Synopsis
This class represents an X.509 CRL,
which consists primarily of a set of X509CRLEntry
objects. The various methods of this class provide access to the full
details of the CRL, and require a complete understanding of the X.509
standard, which is beyond the scope of this reference. Use
verify( ) to check the digital signature of the
CRL to ensure that it does indeed originate from the the source it
specifies. Use the inherited isRevoked( ) method
to determine whether a given certificate has been revoked. If you are
curious about the revocation date for a revoked certificate, obtain
the X509CRLEntry for that certificate by calling
getRevokedCertificate( ). Call
getThisUpdate( ) to obtain the date this CRL was
issued. Use getNextUpdate( ) to find if the CRL
has been superseded by a newer version. Use
getRevokedCertificates( ) to obtain a
Set of all X509CRLEntry objects
from this CRL.
Obtain an
X509CRL object by creating a
CertificateFactory for certificate type
“X.509” and then using the
generateCRL( ) to parse an X.509 CRL from a stream
of bytes. Finally, cast the CRL returned by this
method to an X509CRL.
Figure 14-73. java.security.cert.X509CRL
public abstract class X509CRL extends CRL implements X509Extension { // Protected Constructors protected X509CRL( ); // Public Instance Methods public abstract byte[ ] getEncoded( ) throws CRLException; public abstract ...