@Component(role=PassphraseLoader.class, hint="literal") public class LiteralPassPhraseLoader extends PassphraseLoader
Constructor and Description |
---|
LiteralPassPhraseLoader() |
public String load(PgpMojo mojo, org.bouncycastle.openpgp.PGPSecretKey secretKey, String specifier) throws IOException, org.apache.maven.plugin.MojoExecutionException
PassphraseLoader
load
in class PassphraseLoader
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.