Interface IdTLSContextServiceType

All Superinterfaces:
com.io7m.repetoir.core.RPServiceType
All Known Implementing Classes:
IdTLSContextService

public interface IdTLSContextServiceType extends com.io7m.repetoir.core.RPServiceType
A service that provides preconfigured TLS contexts.
  • Method Details

    • create

      IdTLSContext create(String user, IdTLSStoreConfiguration keyStoreConfiguration, IdTLSStoreConfiguration trustStoreConfiguration) throws IdException
      Create a TLS context.
      Parameters:
      user - The user of this context (such as "HealthService", "AdminService", etc)
      keyStoreConfiguration - The keystore configuration
      trustStoreConfiguration - The truststore configuration
      Returns:
      A TLS context
      Throws:
      IdException - On errors
    • reload

      void reload()
      Reload all TLS contexts. Primarily used to reload short-lived certificates issued using the ACME protocol.