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 FileLocation of the extra certchain file to be used during signing.private StringSee options.private StringSee options.protected FileSee options.private StringSee options.private StringSee options.Fields inherited from class 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) voidsetTsaLocation(String tsaLocation) Methods inherited from class 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 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
-
keypass
-
sigfile
-
tsaLocation
-
tsaAlias
-
signedjar
-
certchain
-
-
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 ornullto remove the option- Since:
- 3.0.0
-
getCertchain
Get certificate chain.- Returns:
- Path to the certificate chain file or
nullif undefined
-