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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected File
Location of the extra certchain file to be used during signing.private String
See options.private String
See options.protected File
See options.private String
See options.private String
See options.Fields inherited from class org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
protectedAuthenticationPath
-
Constructor Summary
Constructors -
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
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
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
-
Constructor Details
-
JarSignerSignRequest
public JarSignerSignRequest()
-
-
Method Details
-
getKeypass
-
getSigfile
-
getTsaLocation
-
getTsaAlias
-
setKeypass
-
setSigfile
-
setTsaLocation
-
setTsaAlias
-
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
-