@Component(role=PassphraseLoader.class, hint="gpg-agent") public class GpgAgentPassPhraseLoader extends PassphraseLoader
| Modifier and Type | Class and Description |
|---|---|
static interface |
GpgAgentPassPhraseLoader.LIBC |
class |
GpgAgentPassPhraseLoader.sockaddr_un |
| Constructor and Description |
|---|
GpgAgentPassPhraseLoader() |
public String load(PgpMojo mojo, org.bouncycastle.openpgp.PGPSecretKey secretKey, String specifier) throws IOException, org.apache.maven.plugin.MojoExecutionException
PassphraseLoaderload in class PassphraseLoadermojo - Mojo that's driving the execution.secretKey - The key for which the pass-phrase is retrieved.specifier - The pass phrase loader parameter specified to PgpMojo, except the first scheme part.
If the loader needs to take additional parameters, it should do so from this string.IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionpublic String getPassphrase(String socketFile, org.bouncycastle.openpgp.PGPSecretKey secretKey) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2014. All Rights Reserved.