org.kohsuke.maven.pgp.loaders
Class KeyRingLoader

java.lang.Object
  extended by org.kohsuke.maven.pgp.SecretKeyLoader
      extended by 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

Constructor Summary
KeyRingLoader()
           
 
Method Summary
 org.bouncycastle.openpgp.PGPSecretKey load(PgpMojo mojo, String specifier)
           
static void main(String[] args)
           
 
Methods inherited from class org.kohsuke.maven.pgp.SecretKeyLoader
parseQueryParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyRingLoader

public KeyRingLoader()
Method Detail

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.