@Component(role=SecretKeyLoader.class, hint="keyfile") public class KeyFileLoader extends SecretKeyLoader
Constructor and Description |
---|
KeyFileLoader() |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.openpgp.PGPSecretKey |
load(PgpMojo mojo,
String keyFile) |
parseQueryParameters
public org.bouncycastle.openpgp.PGPSecretKey load(PgpMojo mojo, String keyFile) throws IOException
load
in class SecretKeyLoader
mojo
- Mojo that's driving the execution.keyFile
- The secretkey 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
Copyright © 2014. All Rights Reserved.