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 a
Certificate meets some criteria.
The implementations of this interface are typically used to define the
criteria for selecting Certificates from a CertStore.
- See Also:
CertStore,Certificate
-
Method Summary
Modifier and Type Method Description Objectclone()Clones thisCertSelectorinstance.booleanmatch(Certificate cert)Checks whether the defined criteria of this instance match the specified certificate.
-
Method Details
-
clone
Object clone()Clones thisCertSelectorinstance.- Returns:
- the cloned instance.
-
match
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.
-