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
Specifies the parameters used to control a jar signer sign operation invocation.
- Since:
- 1.0
- Author:
- Tony Chemit
-
Field Summary
Modifier and TypeFieldDescriptionprotected File
Location of the extra certchain file to be used during signing.protected File
See options.Fields inherited from class org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
protectedAuthenticationPath
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet certificate chain.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
setTsadigestalg
(String tsadigestalg) void
setTsaLocation
(String tsaLocation) void
setTsapolicyid
(String tsapolicyid) 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
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
-
Field Details
-
signedjar
-
certchain
-
-
Constructor Details
-
JarSignerSignRequest
public JarSignerSignRequest()
-
-
Method Details
-
getKeypass
-
getSigfile
-
getTsaLocation
-
getTsaAlias
-
getTsapolicyid
-
getTsadigestalg
-
setKeypass
-
setSigfile
-
setTsaLocation
-
setTsaAlias
-
setTsapolicyid
-
setTsadigestalg
-
getSignedjar
-
setSignedjar
-
setCertchain
Sets certchain to be used.- Parameters:
certchain
- Cert Chain file path ornull
to remove the option- Since:
- 3.0.0
-
getCertchain
Get certificate chain.- Returns:
- Path to the certificate chain file or
null
if undefined
-