org.kohsuke.maven.pgp.loaders
Class KeyRingLoader
java.lang.Object
org.kohsuke.maven.pgp.SecretKeyLoader
org.kohsuke.maven.pgp.loaders.KeyRingLoader
@Component(role=SecretKeyLoader.class,
hint="keyring")
public class KeyRingLoader- extends SecretKeyLoader
Loads a key from a keyring.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyRingLoader
public KeyRingLoader()
load
public org.bouncycastle.openpgp.PGPSecretKey load(PgpMojo mojo,
String specifier)
throws IOException
- Specified by:
load in class SecretKeyLoader
- Parameters:
mojo - Mojo that's driving the execution.specifier - 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.
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.