Class KeyToolGenerateKeyPairRequest
- java.lang.Object
-
- org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
- org.codehaus.mojo.keytool.requests.AbstractKeyToolRequest
-
- org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreParameters
-
- org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreAndAliasParameters
-
- org.codehaus.mojo.keytool.requests.KeyToolGenerateKeyPairRequest
-
- All Implemented Interfaces:
org.apache.maven.shared.utils.cli.javatool.JavaToolRequest,KeyToolRequest,KeyToolRequestWithKeyStoreAndAliasParameters,KeyToolRequestWithKeyStoreParameters
public class KeyToolGenerateKeyPairRequest extends AbstractKeyToolRequestWithKeyStoreAndAliasParameters
Request to generate a key pair using the KeyTool tool.- Since:
- 1.1
- Author:
- tchemit
-
-
Constructor Summary
Constructors Constructor Description KeyToolGenerateKeyPairRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDname()Gets the value of thednamefield.StringgetExt()Gets the value of theextsfield.List<String>getExts()Gets the values of theextsfield.StringgetKeyalg()Gets the value of thekeyalgfield.StringgetKeypass()Gets the value of thekeypassfield.StringgetKeysize()Gets the value of thekeysizefield.StringgetSigalg()Gets the value of thesigalgfield.StringgetStartdate()Gets the value of thestartdatefield.StringgetValidity()Gets the value of thevalidityfield.voidsetDname(String dname)Setter for the fielddname.voidsetExt(String ext)setExt.voidsetExts(List<String> exts)Setter for the fieldexts.voidsetKeyalg(String keyalg)Setter for the fieldkeyalg.voidsetKeypass(String keypass)Sets the new given value to the fieldkeypassof the request.voidsetKeysize(String keysize)Setter for the fieldkeysize.voidsetSigalg(String sigalg)Setter for the fieldsigalg.voidsetStartdate(String startdate)Setter for the fieldstartdate.voidsetValidity(String validity)Setter for the fieldvalidity.-
Methods inherited from class org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreAndAliasParameters
getAlias, isPasswordProtected, setAlias, setPasswordProtected
-
Methods inherited from class org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreParameters
getKeystore, getProviderarg, getProviderclass, getProvidername, getProviderpath, getStorepass, getStoretype, setKeystore, setProviderarg, setProviderclass, setProvidername, setProviderpath, setStorepass, setStoretype
-
Methods inherited from class org.codehaus.mojo.keytool.requests.AbstractKeyToolRequest
getArguments, getWorkingDirectory, isVerbose, setArguments, setVerbose, setWorkingDirectory
-
Methods inherited from class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
-
Methods inherited from interface org.codehaus.mojo.keytool.KeyToolRequest
getArguments, getWorkingDirectory, isVerbose, setArguments, setVerbose, setWorkingDirectory
-
Methods inherited from interface org.codehaus.mojo.keytool.KeyToolRequestWithKeyStoreParameters
getKeystore, getProviderarg, getProviderclass, getProvidername, getProviderpath, getStorepass, getStoretype, setKeystore, setProviderarg, setProviderclass, setProvidername, setProviderpath, setStorepass, setStoretype
-
-
-
-
Method Detail
-
getKeyalg
public String getKeyalg()
Gets the value of thekeyalgfield.- Returns:
- the value of the
keyalgfield
-
setKeyalg
public void setKeyalg(String keyalg)
Setter for the field
keyalg.- Parameters:
keyalg- value of the fieldkeyalgto set
-
getKeysize
public String getKeysize()
Gets the value of thekeysizefield.- Returns:
- the value of the
keysizefield
-
setKeysize
public void setKeysize(String keysize)
Setter for the field
keysize.- Parameters:
keysize- value of the fieldkeysizeto set
-
getKeypass
public String getKeypass()
Gets the value of thekeypassfield.- Returns:
- the value of the
keypassfield.
-
setKeypass
public void setKeypass(String keypass)
Sets the new given value to the fieldkeypassof the request.- Parameters:
keypass- the new value of the fieldkeypass.
-
getSigalg
public String getSigalg()
Gets the value of thesigalgfield.- Returns:
- the value of the
sigalgfield
-
setSigalg
public void setSigalg(String sigalg)
Setter for the field
sigalg.- Parameters:
sigalg- value of the fieldsigalgto set
-
getValidity
public String getValidity()
Gets the value of thevalidityfield.- Returns:
- the value of the
validityfield
-
setValidity
public void setValidity(String validity)
Setter for the field
validity.- Parameters:
validity- value of the fieldvalidityto set
-
getDname
public String getDname()
Gets the value of thednamefield.- Returns:
- the value of the
dnamefield
-
setDname
public void setDname(String dname)
Setter for the field
dname.- Parameters:
dname- value of the fielddnameto set
-
getStartdate
public String getStartdate()
Gets the value of thestartdatefield.- Returns:
- the value of the
startdatefield
-
setStartdate
public void setStartdate(String startdate)
Setter for the field
startdate.- Parameters:
startdate- value of the fieldstartdateto set
-
getExt
public String getExt()
Gets the value of theextsfield.- Returns:
- the value of the
extsfield
-
setExts
public void setExts(List<String> exts)
Setter for the field
exts.- Parameters:
exts- values of the fieldextsto set- Since:
- 1.6
-
-