public class GpgSigner extends AbstractGpgSigner
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
args, defaultKeyring, homeDir, isInteractive, keyname, lockMode, passphrase, publicKeyring, secretKeyring, SIGNATURE_EXTENSION, terminatePassphrase, useAgent| Modifier and Type | Method and Description |
|---|---|
protected void |
generateSignatureForFile(File file,
File signature)
Generate the detached signature file for the provided file.
|
String |
getKeyInfo()
Should return some identification about the used key for logging purposes.
|
String |
signerName() |
generateSignatureForArtifact, getLog, prepare, setArgs, setBaseDirectory, setBuildDirectory, setDefaultKeyring, setHomeDirectory, setInteractive, setKeyName, setLockMode, setLog, setOutputDirectory, setPassPhrase, setPublicKeyring, setSecretKeyring, setTerminatePassphrase, setUseAgentpublic static final String NAME
public GpgSigner(String executable)
public String signerName()
signerName in class AbstractGpgSignerpublic String getKeyInfo()
AbstractGpgSignerAbstractGpgSigner.prepare() was invoked.getKeyInfo in class AbstractGpgSignerprotected void generateSignatureForFile(File file, File signature) throws org.apache.maven.plugin.MojoExecutionException
generateSignatureForFile in class AbstractGpgSignerfile - The file to signsignature - The file in which the generate signature will be putorg.apache.maven.plugin.MojoExecutionException - if signature generation failsCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.