Most visited

Recently visited

Added in API level 1

CertSelector

public interface CertSelector
implements Cloneable

java.security.cert.CertSelector
Known Indirect Subclasses


一个选择器,用于定义一组选择Certificate的标准。 实现此接口的类通常用于指定Certificate检索CertStore

并发访问

除非另有说明,否则此接口中定义的方法不是线程安全的。 需要同时访问单个对象的多个线程应该自己同步并提供必要的锁定。 每个操作单独对象的多个线程不需要同步。

也可以看看:

摘要(Summary)

公共方法(Public methods)

abstract Object clone()

制作这个 CertSelector的副本。

abstract boolean match(Certificate cert)

决定是否应该选择 Certificate

公共方法(Public methods)

clone

Added in API level 1
Object clone ()

制作此CertSelector的副本。 副本的更改不会影响原件,反之亦然。

返回(Returns)
Object a copy of this CertSelector

match

Added in API level 1
boolean match (Certificate cert)

决定是否应该选择 Certificate

参数(Parameters)
cert Certificate: the Certificate to be checked
返回(Returns)
boolean true if the Certificate should be selected, false otherwise

Hooray!