Interface CSCertificateStoreType

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
CSCertificateStoreH2MV

public interface CSCertificateStoreType extends Closeable
A certificate store.
  • Method Details

    • isClosed

      boolean isClosed()
      Returns:
      true if the store has been closed
    • put

      void put(CSCertificateStored certificate) throws IOException
      Create or update a certificate.
      Parameters:
      certificate - The certificate
      Throws:
      IOException - On I/O errors
    • find

      Find a certificate that has the given domain and name.
      Parameters:
      domain - The domain
      name - The certificate name
      Returns:
      The certificate, if one exists
      Throws:
      IOException - On errors
    • delete

      boolean delete(String domain, CSCertificateName name) throws IOException
      Delete the certificate with the given domain and name.
      Parameters:
      domain - The domain
      name - The certificate name
      Returns:
      true if a certificate existed and was deleted
      Throws:
      IOException - On I/O errors