public class BcSigner extends AbstractGpgSigner
| Modifier and Type | Class and Description |
|---|---|
class |
BcSigner.GpgAgentPasswordLoader |
class |
BcSigner.GpgConfLoader |
class |
BcSigner.GpgEnvLoader |
static interface |
BcSigner.Loader |
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
args, defaultKeyring, homeDir, isInteractive, keyname, lockMode, passphrase, publicKeyring, secretKeyring, SIGNATURE_EXTENSION, terminatePassphrase, useAgent| Constructor and Description |
|---|
BcSigner(org.eclipse.aether.RepositorySystemSession session,
String keyEnvName,
String keyFingerprintEnvName,
String agentSocketLocations,
String keyFilePath,
String keyFingerprint) |
| 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.
|
void |
prepare()
Must be invoked BEFORE signing!
|
String |
signerName() |
generateSignatureForArtifact, getLog, setArgs, setBaseDirectory, setBuildDirectory, setDefaultKeyring, setHomeDirectory, setInteractive, setKeyName, setLockMode, setLog, setOutputDirectory, setPassPhrase, setPublicKeyring, setSecretKeyring, setTerminatePassphrase, setUseAgentpublic static final String NAME
public String signerName()
signerName in class AbstractGpgSignerpublic void prepare()
throws org.apache.maven.plugin.MojoFailureException
AbstractGpgSignerprepare in class AbstractGpgSignerorg.apache.maven.plugin.MojoFailureExceptionpublic String getKeyInfo()
AbstractGpgSignerAbstractGpgSigner.prepare() was invoked.getKeyInfo in class AbstractGpgSignerprotected void generateSignatureForFile(File file, File signature) throws org.apache.maven.plugin.MojoExecutionException
AbstractGpgSignergenerateSignatureForFile 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.