|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.keytool.AbstractKeyToolMojo
org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo
org.codehaus.mojo.keytool.GenkeyMojo
generateKeyPair
mojo instead.
@Deprecated public class GenkeyMojo
Generates a keystore.
Implemented as a wrapper around the SDKkeytool -genkey
command.
-genkey [-v] [-protected] [-alias <alias>] [-keyalg <keyalg>] [-keysize <keysize>] [-sigalg <sigalg>] [-dname <dname>] [-validity <valDays>] [-keypass <keypass>] [-keystore <keystore>] [-storepass <storepass>] [-storetype <storetype>] [-providerName <name>] [-providerClass <provider_class_name> [-providerArg <arg>]] ...See keystore documentation.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
GenkeyMojo()
Deprecated. |
Method Summary | |
---|---|
protected KeyToolRequestWithKeyStoreAndAliasParameters |
createRequest()
Deprecated. Creates the key tool request to execute. |
protected String |
getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Deprecated. Gets a string representation of a Commandline . |
void |
setDname(String dname)
Deprecated. |
void |
setKeyalg(String keyalg)
Deprecated. |
void |
setKeypass(String keypass)
Deprecated. |
void |
setKeysize(String keysize)
Deprecated. |
void |
setSigalg(String sigalg)
Deprecated. |
void |
setValidity(String validity)
Deprecated. |
Methods inherited from class org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo |
---|
consumeResult, createParentDirIfNecessary, execute, getKeystore, getWorkingDir, setAlias, setArguments, setKeystore, setKeyTool, setStorepass, setStoretype, setWorkingDir |
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo |
---|
getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenkeyMojo()
Method Detail |
---|
protected KeyToolRequestWithKeyStoreAndAliasParameters createRequest()
createRequest
in class AbstractCmdLineKeyToolMojo
protected String getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Commandline
.
This method creates the string representation by calling commandLine.toString()
by default.
getCommandlineInfo
in class AbstractCmdLineKeyToolMojo
commandLine
- The Commandline
to get a string representation of (can not be null).
commandLine
.public void setKeyalg(String keyalg)
keyalg
- value of the keyalg
field to setpublic void setSigalg(String sigalg)
sigalg
- value of the sigalg
field to setpublic void setKeysize(String keysize)
keysize
- value of the keysize
field to setpublic void setValidity(String validity)
validity
- value of the validity
field to setpublic void setDname(String dname)
dname
- value of the dname
field to setpublic void setKeypass(String keypass)
keypass
- the keypass to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |