uk.me.nxg.enormity
Class Signer

java.lang.Object
  extended by uk.me.nxg.enormity.Signer

public class Signer
extends Object

A utility class which will extract the GPG signature from an input source. This is provided as a convenient alternative to doing essentially the same thing with SigningXMLReader (this class may not be needed, and may be in the wrong place, so it may be changed or moved in future releases)


Constructor Summary
Signer(File gpgHome, String identity, String passphrase)
           
 
Method Summary
 String getSignature(InputSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Signer

public Signer(File gpgHome,
              String identity,
              String passphrase)
Method Detail

getSignature

public String getSignature(InputSource source)
                    throws IOException,
                           SAXException
Throws:
IOException
SAXException


Copyright © 2012. All Rights Reserved.