org.vafer.jdeb.signing
Class SigningUtils

java.lang.Object
  extended by org.vafer.jdeb.signing.SigningUtils

public final class SigningUtils
extends Object

Utils to do the signing with OpenPGP

Author:
Torsten Curdt

Constructor Summary
SigningUtils()
           
 
Method Summary
static void clearSign(InputStream pInput, InputStream pKeyring, String pKey, String pPassphrase, OutputStream pOutput)
          Create a clear sign signature over the input data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigningUtils

public SigningUtils()
Method Detail

clearSign

public static void clearSign(InputStream pInput,
                             InputStream pKeyring,
                             String pKey,
                             String pPassphrase,
                             OutputStream pOutput)
                      throws IOException,
                             org.bouncycastle.openpgp.PGPException,
                             NoSuchProviderException,
                             NoSuchAlgorithmException,
                             SignatureException
Create a clear sign signature over the input data. (Not detached)

Parameters:
pInput -
pKeyring -
pKey -
pPassphrase -
pOutput -
Throws:
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
NoSuchAlgorithmException
SignatureException


Copyright © 2012. All Rights Reserved.