Package java.security.cert
Interface CertSelector
-
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
AttributeCertificateHolder,AttributeCertificateIssuer,X509CertSelector,X509CertStoreSelector
public interface CertSelector extends Cloneable
The interface specification to determine whether aCertificatemeets some criteria.The implementations of this interface are typically used to define the criteria for selecting
Certificates from aCertStore.- See Also:
CertStore,Certificate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Clones thisCertSelectorinstance.booleanmatch(Certificate cert)Checks whether the defined criteria of this instance match the specified certificate.
-
-
-
Method Detail
-
clone
Object clone()
Clones thisCertSelectorinstance.- Returns:
- the cloned instance.
-
match
boolean match(Certificate cert)
Checks whether the defined criteria of this instance match the specified certificate.- Parameters:
cert- the certificate to be evaluated.- Returns:
trueif the certificate matches the criteria,falseotherwise.
-
-