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 Summary
Modifier and TypeMethodDescriptioncreate
(String user, IdTLSStoreConfiguration keyStoreConfiguration, IdTLSStoreConfiguration trustStoreConfiguration) Create a TLS context.void
reload()
Reload all TLS contexts.Methods inherited from interface com.io7m.repetoir.core.RPServiceType
description
-
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 configurationtrustStoreConfiguration
- 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.
-