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 FilecertchainLocation of the extra certchain file to be used during signing.protected FilesignedjarSee 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 FilegetCertchain()Get certificate chain.StringgetKeypass()StringgetSigfile()FilegetSignedjar()StringgetTsaAlias()StringgetTsaLocation()voidsetCertchain(File certchain)Sets certchain to be used.voidsetKeypass(String keypass)voidsetSigfile(String sigfile)voidsetSignedjar(File signedjar)voidsetTsaAlias(String tsaAlias)voidsetTsaLocation(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 ornullto remove the option- Since:
- 3.0.0
-
getCertchain
public File getCertchain()
Get certificate chain.- Returns:
- Path to the certificate chain file or
nullif undefined
-
-