Class SelfSignedCertificateGenerator.CommandLineArgs
java.lang.Object
net.shibboleth.utilities.java.support.security.SelfSignedCertificateGenerator.CommandLineArgs
- Enclosing class:
- SelfSignedCertificateGenerator
private static class SelfSignedCertificateGenerator.CommandLineArgs extends Object
Manages command line parsing for application and the bean properties used by the generator.
-
Field Summary
Fields Modifier and Type Field Description static String
CERT_ALG
Certificate algorithm.static String
CERT_FILE
Path to certificate file to create.static String
CERT_LIFETIME
Certificate lifetime.private String
certAlg
Certificate algorithm.private File
certificateFile
Certificate file.private int
certificateLifetime
Certificate lifetime.static String
DNS_ALTNAMES
DNS subjectAltNames.private List<String>
dnsSubjectAltNames
DNS subjectAltNames.private boolean
help
Display command usage.static String
HELP
Display command usage.private String
hostname
Hostname.static String
HOSTNAME
Hostname for cert subject.static String
KEY_FILE
Path to private key file to create.static String
KEY_SIZE
Key size.static String
KEY_TYPE
Key algorithm.private int
keySize
Key size.private File
keystoreFile
Keystore file.private String
keystorePassword
Keystore password.private String
keystoreType
Keystore type.private String
keyType
Key algorithm.private File
privateKeyFile
Private key file.static String
STORE_FILE
Path to keystore to create.static String
STORE_PASS
Keystore password.static String
STORE_TYPE
Type of keystore to create.static String
URI_ALTNAMES
URI subjectAltNames.private List<String>
uriSubjectAltNames
URI subjectAltNames. -
Constructor Summary
Constructors Modifier Constructor Description private
CommandLineArgs()
-
Method Summary
-
Field Details
-
HELP
Display command usage.- See Also:
- Constant Field Values
-
KEY_TYPE
Key algorithm.- See Also:
- Constant Field Values
-
KEY_SIZE
Key size.- See Also:
- Constant Field Values
-
CERT_LIFETIME
Certificate lifetime.- See Also:
- Constant Field Values
-
CERT_ALG
Certificate algorithm.- See Also:
- Constant Field Values
-
HOSTNAME
Hostname for cert subject.- See Also:
- Constant Field Values
-
DNS_ALTNAMES
DNS subjectAltNames.- See Also:
- Constant Field Values
-
URI_ALTNAMES
URI subjectAltNames.- See Also:
- Constant Field Values
-
KEY_FILE
Path to private key file to create.- See Also:
- Constant Field Values
-
CERT_FILE
Path to certificate file to create.- See Also:
- Constant Field Values
-
STORE_TYPE
Type of keystore to create.- See Also:
- Constant Field Values
-
STORE_FILE
Path to keystore to create.- See Also:
- Constant Field Values
-
STORE_PASS
Keystore password.- See Also:
- Constant Field Values
-
help
private boolean helpDisplay command usage. -
keyType
Key algorithm. -
keySize
Key size. -
certificateLifetime
Certificate lifetime. -
certAlg
Certificate algorithm. -
hostname
Hostname. -
dnsSubjectAltNames
DNS subjectAltNames. -
uriSubjectAltNames
URI subjectAltNames. -
privateKeyFile
Private key file. -
certificateFile
Certificate file. -
keystoreType
Keystore type. -
keystoreFile
Keystore file. -
keystorePassword
Keystore password.
-
-
Constructor Details
-
CommandLineArgs
private CommandLineArgs()
-