public class SignConfig
extends java.lang.Object
| Constructor and Description |
|---|
SignConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.shared.jarsigner.JarSignerRequest |
createSignRequest(java.io.File jarToSign,
java.io.File signedJar)
Creates a jarsigner request to do a sign operation.
|
org.apache.maven.shared.jarsigner.JarSignerRequest |
createVerifyRequest(java.io.File jarFile)
Creates a jarsigner request to do a verify operation.
|
java.lang.String |
getUniqueString() |
void |
init(MapachoMojo resources) |
void |
run(org.apache.maven.shared.jarsigner.JarSignerRequest request) |
public void init(MapachoMojo resources) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getUniqueString()
public org.apache.maven.shared.jarsigner.JarSignerRequest createSignRequest(java.io.File jarToSign,
java.io.File signedJar)
jarToSign - the location of the jar to signsignedJar - the optional location of the signed jar to produce (if not set, will use the original location)public org.apache.maven.shared.jarsigner.JarSignerRequest createVerifyRequest(java.io.File jarFile)
jarFile - the location of the jar to signpublic void run(org.apache.maven.shared.jarsigner.JarSignerRequest request)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2019 Anahata. All Rights Reserved.