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
FieldsModifier and TypeFieldDescriptionprotected FileLocation of the extra certchain file to be used during signing.protected FileSee options.Fields inherited from class org.apache.maven.shared.jarsigner.AbstractJarSignerRequest
protectedAuthenticationPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet certificate chain.voidsetCertchain(File certchain) Sets certchain to be used.voidsetKeypass(String keypass) voidsetSigfile(String sigfile) voidsetSignedjar(File signedjar) voidsetTsaAlias(String tsaAlias) voidsetTsadigestalg(String tsadigestalg) voidsetTsaLocation(String tsaLocation) voidsetTsapolicyid(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, setWorkingDirectoryMethods inherited from class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
getSystemErrorStreamConsumer, getSystemOutStreamConsumer, setSystemErrorStreamConsumer, setSystemOutStreamConsumerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 ornullto remove the option- Since:
- 3.0.0
-
getCertchain
Get certificate chain.- Returns:
- Path to the certificate chain file or
nullif undefined
-