public abstract class CRL extends Object
This class is an abstraction of certificate revocation lists (CRLs) that have different formats but important common uses. For example, all CRLs share the functionality of listing revoked certificates, and can be queried on whether or not they list a given certificate.
Specialized CRL types can be defined by subclassing off of this abstract class.
X509CRL
, CertificateFactory
protected CRL(String type)
Creates a CRL of the specified type.
type
- the standard name of the CRL type. See Appendix A in the Java Cryptography Architecture API Specification & Reference for information about standard CRL types.public final String getType()
Returns the type of this CRL.
public abstract String toString()
Returns a string representation of this CRL.
public abstract boolean isRevoked(Certificate cert)
Checks whether the given certificate is on this CRL.
cert
- the certificate to check for.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.