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
    Object clone()
    Clones this CertSelector instance.
    boolean match​(Certificate cert)
    Checks whether the defined criteria of this instance match the specified certificate.
  • Method Details

    • clone

      Object clone()
      Clones this CertSelector instance.
      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:
      true if the certificate matches the criteria, false otherwise.