public class ConsoleRSAKeyPairGenerator extends Object
java net.nicholaswilliams.java.licensing.text ConsoleRSAKeyPairGenerator -helpjava net.nicholaswilliams.java.licensing.text ConsoleRSAKeyPairGenerator -interactivejava net.nicholaswilliams.java.licensing.text ConsoleRSAKeyPairGenerator -password <password> -private <file|class name> -public <file|class name> [-privatePassword <password>] [-classes -passwordClass <class name> -privatePasswordClass <class name> [-privatePackage <package>] [-publicPackage <package>] [-passwordPackage <package>] [-privatePasswordPackage <package>]]PasswordProvider,
PrivateKeyDataProvider and PublicKeyDataProvider for
further instructions.| Modifier and Type | Class and Description |
|---|---|
protected class |
ConsoleRSAKeyPairGenerator.KeyPairGeneratorInternal |
| Modifier and Type | Field and Description |
|---|---|
protected CommandLine |
cli |
protected boolean |
interactive |
| Modifier | Constructor and Description |
|---|---|
protected |
ConsoleRSAKeyPairGenerator(RSAKeyPairGeneratorInterface generator,
TextInterfaceDevice textInterfaceDevice,
CommandLineParser cliParser) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkAndPromptToOverwriteFile(String fileName) |
protected void |
doCommandLine() |
protected void |
doInteractive() |
protected void |
finalize() |
static void |
main(String... arguments) |
protected void |
processCommandLineOptions(String[] arguments) |
protected String |
promptForString(String message) |
protected boolean |
promptToGenerateClasses() |
protected boolean |
promptToUseDifferentPasswords() |
void |
run(String[] arguments) |
protected CommandLine cli
protected boolean interactive
protected ConsoleRSAKeyPairGenerator(RSAKeyPairGeneratorInterface generator, TextInterfaceDevice textInterfaceDevice, CommandLineParser cliParser)
protected void finalize()
throws Throwable
protected void processCommandLineOptions(String[] arguments)
protected boolean promptToGenerateClasses()
protected boolean promptToUseDifferentPasswords()
protected boolean checkAndPromptToOverwriteFile(String fileName)
public void run(String[] arguments)
public static void main(String... arguments)
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.