org.codehaus.mojo.keytool.requests
Class KeyToolGenerateCertificateRequest

java.lang.Object
  extended by org.codehaus.mojo.keytool.requests.AbstractKeyToolRequest
      extended by org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreParameters
          extended by org.codehaus.mojo.keytool.requests.AbstractKeyToolRequestWithKeyStoreAndAliasParameters
              extended by org.codehaus.mojo.keytool.requests.KeyToolGenerateCertificateRequest
All Implemented Interfaces:
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
KeyToolGenerateCertificateRequest()
           
 
Method Summary
 String getDname()
          Gets the value of the dname field.
 String getExt()
          Gets the value of the ext field.
 File getInfile()
          Gets the value of the infile field.
 String getKeypass()
          Gets the value of the keypass field.
 File getOutfile()
          Gets the value of the outfile field.
 String getSigalg()
          Gets the value of the sigalg field.
 String getStartdate()
          Gets the value of the startdate field.
 String getValidity()
          Gets the value of the validity field.
 boolean isRfc()
          Gets the value of the rfc field.
 void setDname(String dname)
           
 void setExt(String ext)
           
 void setInfile(File infile)
           
 void setKeypass(String keypass)
          Sets the new given value to the field keypass of the request.
 void setOutfile(File outfile)
           
 void setRfc(boolean rfc)
           
 void setSigalg(String sigalg)
           
 void setStartdate(String startdate)
           
 void setValidity(String validity)
           
 
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, getSystemErrorStreamConsumer, getSystemOutStreamConsumer, getWorkingDirectory, isVerbose, setArguments, setSystemErrorStreamConsumer, setSystemOutStreamConsumer, setVerbose, setWorkingDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.mojo.keytool.KeyToolRequestWithKeyStoreParameters
getKeystore, getProviderarg, getProviderclass, getProvidername, getProviderpath, getStorepass, getStoretype, setKeystore, setProviderarg, setProviderclass, setProvidername, setProviderpath, setStorepass, setStoretype
 
Methods inherited from interface org.codehaus.mojo.keytool.KeyToolRequest
getArguments, getSystemErrorStreamConsumer, getSystemOutStreamConsumer, getWorkingDirectory, isVerbose, setArguments, setSystemErrorStreamConsumer, setSystemOutStreamConsumer, setVerbose, setWorkingDirectory
 

Constructor Detail

KeyToolGenerateCertificateRequest

public KeyToolGenerateCertificateRequest()
Method Detail

isRfc

public boolean isRfc()
Gets the value of the rfc field.

Returns:
the value of the rfc field

setRfc

public void setRfc(boolean rfc)
Parameters:
rfc - value of the field rfc to set

getInfile

public File getInfile()
Gets the value of the infile field.

Returns:
the value of the infile field

setInfile

public void setInfile(File infile)
Parameters:
infile - value of the field infile to set

getOutfile

public File getOutfile()
Gets the value of the outfile field.

Returns:
the value of the outfile field

setOutfile

public void setOutfile(File outfile)
Parameters:
outfile - value of the field outfile to set

getSigalg

public String getSigalg()
Gets the value of the sigalg field.

Returns:
the value of the sigalg field

setSigalg

public void setSigalg(String sigalg)
Parameters:
sigalg - value of the field sigalg to set

getDname

public String getDname()
Gets the value of the dname field.

Returns:
the value of the dname field

setDname

public void setDname(String dname)
Parameters:
dname - value of the field dname to set

getStartdate

public String getStartdate()
Gets the value of the startdate field.

Returns:
the value of the startdate field

setStartdate

public void setStartdate(String startdate)
Parameters:
startdate - value of the field startdate to set

getExt

public String getExt()
Gets the value of the ext field.

Returns:
the value of the ext field

setExt

public void setExt(String ext)
Parameters:
ext - value of the field ext to set

getValidity

public String getValidity()
Gets the value of the validity field.

Returns:
the value of the validity field

setValidity

public void setValidity(String validity)
Parameters:
validity - value of the field validity to set

getKeypass

public String getKeypass()
Gets the value of the keypass field.

Returns:
the value of the keypass field.

setKeypass

public void setKeypass(String keypass)
Sets the new given value to the field keypass of the request.

Parameters:
keypass - the new value of the field keypass.


Copyright © 2005-2012 Codehaus. All Rights Reserved.