Class KeyToolGenerateCertificateRequest
- 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.KeyToolGenerateCertificateRequest
-
- All Implemented Interfaces:
org.apache.maven.shared.utils.cli.javatool.JavaToolRequest,KeyToolRequest,KeyToolRequestWithKeyStoreAndAliasParameters,KeyToolRequestWithKeyStoreParameters
public class KeyToolGenerateCertificateRequest extends AbstractKeyToolRequestWithKeyStoreAndAliasParameters
Request to do a Generate certificate from a certificate request using the KeyTool tool. Note: Such a request requires a jdk >= 1.7.- Since:
- 1.1
- Author:
- tchemit
-
-
Constructor Summary
Constructors Constructor Description KeyToolGenerateCertificateRequest()
-
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.FilegetInfile()Gets the value of theinfilefield.StringgetKeypass()Gets the value of thekeypassfield.FilegetOutfile()Gets the value of theoutfilefield.StringgetSigalg()Gets the value of thesigalgfield.StringgetStartdate()Gets the value of thestartdatefield.StringgetValidity()Gets the value of thevalidityfield.booleanisRfc()Gets the value of therfcfield.voidsetDname(String dname)Setter for the fielddname.voidsetExt(String ext)setExt.voidsetExts(List<String> exts)Setter for the fieldexts.voidsetInfile(File infile)Setter for the fieldinfile.voidsetKeypass(String keypass)Sets the new given value to the fieldkeypassof the request.voidsetOutfile(File outfile)Setter for the fieldoutfile.voidsetRfc(boolean rfc)Setter for the fieldrfc.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
-
setRfc
public void setRfc(boolean rfc)
Setter for the field
rfc.- Parameters:
rfc- value of the fieldrfcto set
-
getInfile
public File getInfile()
Gets the value of theinfilefield.- Returns:
- the value of the
infilefield
-
setInfile
public void setInfile(File infile)
Setter for the field
infile.- Parameters:
infile- value of the fieldinfileto set
-
getOutfile
public File getOutfile()
Gets the value of theoutfilefield.- Returns:
- the value of the
outfilefield
-
setOutfile
public void setOutfile(File outfile)
Setter for the field
outfile.- Parameters:
outfile- value of the fieldoutfileto set
-
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
-
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
-
getExts
public List<String> getExts()
Gets the values of theextsfield.- Returns:
- the values of the
extsfield - Since:
- 1.6
-
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
-
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.
-
-