Most visited

Recently visited

Added in API level 1

CRL

public abstract class CRL
extends Object

java.lang.Object
    java.security.cert.CRL
Known Direct Subclasses


该类是证书撤销列表(CRL)的抽象,具有不同的格式但是重要的常见用途。 例如,所有CRL都共享列出被吊销证书的功能,并且可以查询他们是否列出给定的证书。

专门的CRL类型可以通过从这个抽象类的子类中定义。

也可以看看:

摘要(Summary)

Protected constructors

CRL(String type)

创建指定类型的CRL。

公共方法(Public methods)

final String getType()

返回此CRL的类型。

abstract boolean isRevoked(Certificate cert)

检查给定证书是否在此CRL上。

abstract String toString()

返回此CRL的字符串表示形式。

继承方法(Inherited methods)

From class java.lang.Object

Protected constructors

CRL

Added in API level 1
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.

公共方法(Public methods)

getType

Added in API level 1
String getType ()

返回此CRL的类型。

返回(Returns)
String the type of this CRL.

isRevoked

Added in API level 1
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.

toString

Added in API level 1
String toString ()

返回此CRL的字符串表示形式。

返回(Returns)
String a string representation of this CRL.

Hooray!