Class IdTLSContextService
java.lang.Object
com.io7m.idstore.server.service.tls.IdTLSContextService
- All Implemented Interfaces:
IdTLSContextServiceType, com.io7m.repetoir.core.RPServiceType
The TLS context service.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String user, IdTLSStoreConfiguration keyStoreConfiguration, IdTLSStoreConfiguration trustStoreConfiguration) Create a TLS context.static IdTLSContextServiceTypecreateService(com.io7m.repetoir.core.RPServiceDirectoryType services) voidreload()Reload all TLS contexts.toString()
-
Method Details
-
toString
-
createService
public static IdTLSContextServiceType createService(com.io7m.repetoir.core.RPServiceDirectoryType services) - Parameters:
services- The service directory- Returns:
- A new TLS context service
-
create
public IdTLSContext create(String user, IdTLSStoreConfiguration keyStoreConfiguration, IdTLSStoreConfiguration trustStoreConfiguration) throws IdException Description copied from interface:IdTLSContextServiceTypeCreate a TLS context.- Specified by:
createin interfaceIdTLSContextServiceType- 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
public void reload()Description copied from interface:IdTLSContextServiceTypeReload all TLS contexts. Primarily used to reload short-lived certificates issued using the ACME protocol.- Specified by:
reloadin interfaceIdTLSContextServiceType
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-