Class BasicKeystoreKeyStrategyTool.CommandLineArgs
- java.lang.Object
-
- net.shibboleth.utilities.java.support.security.BasicKeystoreKeyStrategyTool.CommandLineArgs
-
- Enclosing class:
- BasicKeystoreKeyStrategyTool
private static class BasicKeystoreKeyStrategyTool.CommandLineArgs extends Object
Manages command line parsing for application and the bean properties used by the tool.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhelpDisplay command usage.static StringHELPDisplay command usage.static StringKEY_ALIASKey alias base.static StringKEY_COUNTNumber of keys to maintain.static StringKEY_SIZEKey size.static StringKEY_TYPEKey algorithm.private StringkeyAliasKey alias base.private intkeyCountKey count.private intkeySizeKey size.private FilekeystoreFileKeystore file.private StringkeystorePasswordKeystore password.private StringkeystoreTypeKeystore type.private StringkeyTypeKey algorithm.static StringSTORE_FILEPath to keystore to create.static StringSTORE_PASSKeystore password.static StringSTORE_TYPEType of keystore to create.static StringVERSION_FILEPath to key versioning file.private FileversionFileKey versioning file.
-
Constructor Summary
Constructors Modifier Constructor Description privateCommandLineArgs()
-
-
-
Field Detail
-
HELP
@Nonnull @NotEmpty public static final String HELP
Display command usage.- See Also:
- Constant Field Values
-
KEY_TYPE
@Nonnull @NotEmpty public static final String KEY_TYPE
Key algorithm.- See Also:
- Constant Field Values
-
KEY_SIZE
@Nonnull @NotEmpty public static final String KEY_SIZE
Key size.- See Also:
- Constant Field Values
-
KEY_ALIAS
@Nonnull @NotEmpty public static final String KEY_ALIAS
Key alias base.- See Also:
- Constant Field Values
-
KEY_COUNT
@Nonnull @NotEmpty public static final String KEY_COUNT
Number of keys to maintain.- See Also:
- Constant Field Values
-
STORE_TYPE
@Nonnull @NotEmpty public static final String STORE_TYPE
Type of keystore to create.- See Also:
- Constant Field Values
-
STORE_FILE
@Nonnull @NotEmpty public static final String STORE_FILE
Path to keystore to create.- See Also:
- Constant Field Values
-
STORE_PASS
@Nonnull @NotEmpty public static final String STORE_PASS
Keystore password.- See Also:
- Constant Field Values
-
VERSION_FILE
@Nonnull @NotEmpty public static final String VERSION_FILE
Path to key versioning file.- See Also:
- Constant Field Values
-
help
private boolean help
Display command usage.
-
keySize
@Positive private int keySize
Key size.
-
keyAlias
@Nullable private String keyAlias
Key alias base.
-
keyCount
@Positive private int keyCount
Key count.
-
keystoreFile
@Nullable private File keystoreFile
Keystore file.
-
keystorePassword
@Nullable private String keystorePassword
Keystore password.
-
versionFile
@Nullable private File versionFile
Key versioning file.
-
-