Interface CATLSContextServiceType
- All Superinterfaces:
com.io7m.repetoir.core.RPServiceType
- All Known Implementing Classes:
CATLSContextService
public interface CATLSContextServiceType
extends com.io7m.repetoir.core.RPServiceType
A service that provides preconfigured TLS contexts.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String user, CATLSStoreConfiguration keyStoreConfiguration, CATLSStoreConfiguration trustStoreConfiguration) Create a TLS context.voidreload()Reload all TLS contexts.Methods inherited from interface com.io7m.repetoir.core.RPServiceType
description
-
Method Details
-
create
CATLSContext create(String user, CATLSStoreConfiguration keyStoreConfiguration, CATLSStoreConfiguration trustStoreConfiguration) throws CAException Create a TLS context.- Parameters:
user- The user of this context (such as "HealthService", "AdminService", etc)keyStoreConfiguration- The keystore configurationtrustStoreConfiguration- The truststore configuration- Returns:
- A TLS context
- Throws:
CAException- On errors
-
reload
void reload()Reload all TLS contexts. Primarily used to reload short-lived certificates issued using the ACME protocol.
-