public class TlsCertificateAuthorityServiceCommandLine extends BaseCertificateAuthorityCommandLine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION |
static java.lang.String |
NIFI_CA_KEYSTORE |
CONFIG_JSON_ARG, DEFAULT_CONFIG_JSON, PORT_ARG, READ_CONFIG_JSON_ARG, TOKEN_ARG, USE_CONFIG_JSON_ARG
CERTIFICATE_AUTHORITY_HOSTNAME_ARG, DAYS_ARG, DIFFERENT_KEY_AND_KEYSTORE_PASSWORDS_ARG, DN_ARG, FOOTER, HELP_ARG, JAVA_HOME, KEY_ALGORITHM_ARG, KEY_SIZE_ARG, KEY_STORE_TYPE_ARG, KEYSTORE, NIFI_TOOLKIT_HOME, SIGNING_ALGORITHM_ARG, TRUSTSTORE
Constructor and Description |
---|
TlsCertificateAuthorityServiceCommandLine() |
TlsCertificateAuthorityServiceCommandLine(InputStreamFactory inputStreamFactory) |
Modifier and Type | Method and Description |
---|---|
TlsConfig |
createConfig() |
protected java.lang.String |
getDnDescription() |
protected java.lang.String |
getDnHostname() |
protected java.lang.String |
getPortDescription() |
protected java.lang.String |
getTokenDescription() |
static void |
main(java.lang.String[] args) |
doParse, getConfigJsonIn, getConfigJsonOut, getDn, getPort, getToken
addOptionNoArg, addOptionWithArg, addOptionWithArg, differentPasswordForKeyAndKeystore, getCertificateAuthorityHostname, getDays, getIntValue, getKeyAlgorithm, getKeySize, getKeyStoreType, getKeyStoreTypeDefault, getSigningAlgorithm, parse, printUsage, printUsageAndThrow, shouldAddDaysArg, shouldAddSigningAlgorithmArg
public static final java.lang.String DESCRIPTION
public static final java.lang.String NIFI_CA_KEYSTORE
public TlsCertificateAuthorityServiceCommandLine()
public TlsCertificateAuthorityServiceCommandLine(InputStreamFactory inputStreamFactory)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public TlsConfig createConfig() throws java.io.IOException
java.io.IOException
protected java.lang.String getTokenDescription()
getTokenDescription
in class BaseCertificateAuthorityCommandLine
protected java.lang.String getDnDescription()
getDnDescription
in class BaseCertificateAuthorityCommandLine
protected java.lang.String getPortDescription()
getPortDescription
in class BaseCertificateAuthorityCommandLine
protected java.lang.String getDnHostname()
getDnHostname
in class BaseCertificateAuthorityCommandLine