Interface StTLSContextServiceType

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

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

    • create

      StTLSContext create(String user, StConfiguration.TLSStore keyStoreConfiguration, StConfiguration.TLSStore trustStoreConfiguration) throws StException
      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:
      StException - On errors
    • reload

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