public abstract class CRL
extends Object
| java.lang.Object | |
| ↳ | java.security.cert.CRL |
| |
该类是证书撤销列表(CRL)的抽象,具有不同的格式但是重要的常见用途。 例如,所有CRL都共享列出被吊销证书的功能,并且可以查询他们是否列出给定的证书。
专门的CRL类型可以通过从这个抽象类的子类中定义。
也可以看看:
Protected constructors |
|
|---|---|
CRL(String type) 创建指定类型的CRL。 |
|
Public methods |
|
|---|---|
final String |
getType() 返回此CRL的类型。 |
abstract boolean |
isRevoked(Certificate cert) 检查给定证书是否在此CRL上。 |
abstract String |
toString() 返回此CRL的字符串表示形式。 |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
CRL (String type)
创建指定类型的CRL。
| Parameters | |
|---|---|
type |
String: the standard name of the CRL type. See Appendix A in the Java Cryptography Architecture API Specification & Reference for information about standard CRL types. |
boolean isRevoked (Certificate cert)
检查给定证书是否在此CRL上。
| Parameters | |
|---|---|
cert |
Certificate: the certificate to check for. |
| Returns | |
|---|---|
boolean |
true if the given certificate is on this CRL, false otherwise. |
String toString ()
返回此CRL的字符串表示形式。
| Returns | |
|---|---|
String |
a string representation of this CRL. |