public class CertGenerator
extends java.lang.Object
Generates Cert files and Keep config files
| Constructor and Description |
|---|
CertGenerator(io.vertx.core.json.JsonObject config) |
| Modifier and Type | Method and Description |
|---|---|
StatusMessage |
generateCert(java.lang.String certName,
int duration,
boolean isCreateConfigForKeep)
Generates a private/public key pair for use with JWT and SAML authentication.
|
public CertGenerator(io.vertx.core.json.JsonObject config)
config - System configurationpublic StatusMessage generateCert(java.lang.String certName, int duration, boolean isCreateConfigForKeep)
Generates a private/public key pair for use with JWT and SAML authentication. Configures Keep to use it
certName - duration - isCreateConfigForKeep - should keep get configured