org.apache.commons.openpgp
Class BouncyCastleOpenPgpSignerTest

java.lang.Object
  extended by org.apache.commons.openpgp.BouncyCastleOpenPgpSignerTest

public class BouncyCastleOpenPgpSignerTest
extends Object

Test the open pgp signer.

Author:
Brett Porter

Constructor Summary
BouncyCastleOpenPgpSignerTest()
           
 
Method Summary
 void setUp()
           
 void testSignDataDetachedAscii()
           
 void testSignDataDetachedBinary()
           
 void testVerifyDualSignatureDetachedAsciiBad()
           
 void testVerifyDualSignatureDetachedAsciiBothGood()
           
 void testVerifyDualSignatureDetachedAsciiBothMissing()
           
 void testVerifyDualSignatureDetachedAsciiOneGoodOneMissing()
           
 void testVerifyDualSignatureDetachedAsciiOneMissingOneGood()
           
 void testVerifyMultipleSignatureDetachedAsciiBothGood()
           
 void testVerifyMultipleSignatureDetachedAsciiBothMissing()
           
 void testVerifyMultipleSignatureDetachedAsciiOneBadOneGood()
           
 void testVerifyMultipleSignatureDetachedAsciiOneGoodOneBad()
           
 void testVerifyMultipleSignatureDetachedAsciiOneGoodOneMissing()
           
 void testVerifySignatureDetachedAscii()
           
 void testVerifySignatureDetachedBinary()
           
 void testVerifySignatureDetachedBinaryGpg()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BouncyCastleOpenPgpSignerTest

public BouncyCastleOpenPgpSignerTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testSignDataDetachedBinary

public void testSignDataDetachedBinary()
                                throws OpenPgpException,
                                       IOException
Throws:
OpenPgpException
IOException

testVerifySignatureDetachedBinary

public void testVerifySignatureDetachedBinary()
                                       throws IOException,
                                              OpenPgpException
Throws:
IOException
OpenPgpException

testVerifySignatureDetachedBinaryGpg

public void testVerifySignatureDetachedBinaryGpg()
                                          throws IOException,
                                                 OpenPgpException
Throws:
IOException
OpenPgpException

testSignDataDetachedAscii

public void testSignDataDetachedAscii()
                               throws OpenPgpException,
                                      IOException
Throws:
OpenPgpException
IOException

testVerifySignatureDetachedAscii

public void testVerifySignatureDetachedAscii()
                                      throws IOException,
                                             OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyMultipleSignatureDetachedAsciiBothGood

public void testVerifyMultipleSignatureDetachedAsciiBothGood()
                                                      throws IOException,
                                                             OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyMultipleSignatureDetachedAsciiOneGoodOneBad

public void testVerifyMultipleSignatureDetachedAsciiOneGoodOneBad()
                                                           throws IOException,
                                                                  OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyMultipleSignatureDetachedAsciiOneGoodOneMissing

public void testVerifyMultipleSignatureDetachedAsciiOneGoodOneMissing()
                                                               throws IOException,
                                                                      OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyMultipleSignatureDetachedAsciiOneBadOneGood

public void testVerifyMultipleSignatureDetachedAsciiOneBadOneGood()
                                                           throws IOException,
                                                                  OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyMultipleSignatureDetachedAsciiBothMissing

public void testVerifyMultipleSignatureDetachedAsciiBothMissing()
                                                         throws IOException,
                                                                OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyDualSignatureDetachedAsciiBothGood

public void testVerifyDualSignatureDetachedAsciiBothGood()
                                                  throws IOException,
                                                         OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyDualSignatureDetachedAsciiOneGoodOneMissing

public void testVerifyDualSignatureDetachedAsciiOneGoodOneMissing()
                                                           throws IOException,
                                                                  OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyDualSignatureDetachedAsciiBad

public void testVerifyDualSignatureDetachedAsciiBad()
                                             throws IOException,
                                                    OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyDualSignatureDetachedAsciiOneMissingOneGood

public void testVerifyDualSignatureDetachedAsciiOneMissingOneGood()
                                                           throws IOException,
                                                                  OpenPgpException
Throws:
IOException
OpenPgpException

testVerifyDualSignatureDetachedAsciiBothMissing

public void testVerifyDualSignatureDetachedAsciiBothMissing()
                                                     throws IOException,
                                                            OpenPgpException
Throws:
IOException
OpenPgpException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.