public abstract class PassphraseLoader extends Object
Implementations should be plexus components, and its role hint is matched against the passphrase loader configuration parameter's scheme portion.
Constructor and Description |
---|
PassphraseLoader() |
public abstract String load(PgpMojo mojo, org.bouncycastle.openpgp.PGPSecretKey secretKey, String specifier) throws IOException, org.apache.maven.plugin.MojoExecutionException
mojo
- 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.IOException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014. All Rights Reserved.