| Constructor and Description |
|---|
KeyGen(String algorithm,
int length,
String file,
boolean overwrite) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Returns the
algorithm. |
String |
getFile()
Returns the
file. |
KeyPair |
getKeyPair()
Returns the
keyPair. |
int |
getLength()
Returns the
length. |
protected static Options |
getOptions()
Creates the CLI options.
|
boolean |
isOverwrite()
Returns the
overwrite. |
static void |
main(String[] args)
CLI.
|
protected static void |
printHelp(Options options)
Prints the CLI help text.
|
void |
run()
Generates and saved the key.
|
public int getLength()
length.public boolean isOverwrite()
overwrite.public static void main(String[] args)
args - protected static void printHelp(Options options)
options - options for CLIprotected static Options getOptions()
Copyright © 2014. All rights reserved.