net.sourceforge.jcetaglib.test
Class HybridTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sourceforge.jcetaglib.test.HybridTest
All Implemented Interfaces:
junit.framework.Test

public class HybridTest
extends junit.framework.TestCase

A collection of hybrid encryption tests

These tests can be run using JUnit (http://www.junit.org)

Version:
$Id: HybridTest.java,v 1.2 2004/04/14 09:48:28 hamgert Exp $
Author:
Gert Van Ham, hamgert@users.sourceforge.net, http://jcetaglib.sourceforge.net

Constructor Summary
HybridTest()
           
 
Method Summary
protected  void setUp()
          setup test
 void testEncryptAndSign()
          test encryption with signature
 void testEncryptFileAndSign()
          test file encryption with signature
 void testEncryptFileWithHMAC()
          test file encryption with HMAC
 void testEncryptWithHMAC()
          test encryption with HMAC
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HybridTest

public HybridTest()
Method Detail

setUp

protected void setUp()
              throws java.io.IOException
setup test

Throws:
java.io.IOException

testEncryptWithHMAC

public void testEncryptWithHMAC()
                         throws java.lang.Exception
test encryption with HMAC

Throws:
java.lang.Exception

testEncryptFileWithHMAC

public void testEncryptFileWithHMAC()
                             throws java.lang.Exception
test file encryption with HMAC

Throws:
java.lang.Exception

testEncryptAndSign

public void testEncryptAndSign()
                        throws java.lang.Exception
test encryption with signature

Throws:
java.lang.Exception

testEncryptFileAndSign

public void testEncryptFileAndSign()
                            throws java.lang.Exception
test file encryption with signature

Throws:
java.lang.Exception