Interface CertificateQuarantine

All Known Implementing Classes:
FileBasedCertificateQuarantine, MemoryCertificateQuarantine

public interface CertificateQuarantine
Manages otherwise valid Certificates that have been rejected by the client or server because they do not lead to a Trust Anchor.

AKA the "rejected list" and the target of the GetRejectedList methods defined by Part 12.

  • Method Details

    • getRejectedCertificates

      List<X509Certificate> getRejectedCertificates()
      Get the list of rejected Certificates.
      Returns:
      the list of rejected X509Certificates.
    • addRejectedCertificate

      void addRejectedCertificate(X509Certificate certificate)
      Add a Certificate to the list of rejected Certificates.
      Parameters:
      certificate - the X509Certificate to add.
    • removeRejectedCertificate

      void removeRejectedCertificate(X509Certificate certificate)
      Remove a Certificate from the list of rejected Certificates.
      Parameters:
      certificate - the X509Certificate to remove.