Class JarSignerSignRequest
- java.lang.Object
-
- org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
- org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
-
- org.apache.maven.shared.jarsigner.JarSignerSignRequest
-
- All Implemented Interfaces:
JarSignerRequest
,org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
public class JarSignerSignRequest extends AbstractJarSignerRequest
Specifies the parameters used to control a jar signer sign operation invocation.- Since:
- 1.0
- Author:
- Tony Chemit
-
-
Field Summary
Fields Modifier and Type Field Description protected File
certchain
Location of the extra certchain file to be used during signing.protected File
signedjar
See options.-
Fields inherited from class org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
protectedAuthenticationPath
-
-
Constructor Summary
Constructors Constructor Description JarSignerSignRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getCertchain()
Get certificate chain.String
getKeypass()
String
getSigfile()
File
getSignedjar()
String
getTsaAlias()
String
getTsaLocation()
void
setCertchain(File certchain)
Sets certchain to be used.void
setKeypass(String keypass)
void
setSigfile(String sigfile)
void
setSignedjar(File signedjar)
void
setTsaAlias(String tsaAlias)
void
setTsaLocation(String tsaLocation)
-
Methods inherited from class org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
getAlias, getArchive, getArguments, getKeystore, getMaxMemory, getProviderArg, getProviderClass, getProviderName, getStorepass, getStoretype, getWorkingDirectory, isProtectedAuthenticationPath, isVerbose, setAlias, setArchive, setArguments, setKeystore, setMaxMemory, setProtectedAuthenticationPath, setProviderArg, setProviderClass, setProviderName, setStorepass, setStoretype, setVerbose, setWorkingDirectory
-
Methods inherited from class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumer
-
-
-
-
Method Detail
-
getKeypass
public String getKeypass()
-
getSigfile
public String getSigfile()
-
getTsaLocation
public String getTsaLocation()
-
getTsaAlias
public String getTsaAlias()
-
setKeypass
public void setKeypass(String keypass)
-
setSigfile
public void setSigfile(String sigfile)
-
setTsaLocation
public void setTsaLocation(String tsaLocation)
-
setTsaAlias
public void setTsaAlias(String tsaAlias)
-
getSignedjar
public File getSignedjar()
-
setSignedjar
public void setSignedjar(File signedjar)
-
setCertchain
public void setCertchain(File certchain)
Sets certchain to be used.- Parameters:
certchain
- Cert Chain file path ornull
to remove the option- Since:
- 3.0.0
-
getCertchain
public File getCertchain()
Get certificate chain.- Returns:
- Path to the certificate chain file or
null
if undefined
-
-