org.openuat.util.test
Class SimpleBlockCipherTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openuat.util.test.SimpleBlockCipherTest
All Implemented Interfaces:
junit.framework.Test

public class SimpleBlockCipherTest
extends junit.framework.TestCase


Field Summary
protected  boolean useJSSE
           
protected  boolean useJSSE2
           
 
Constructor Summary
SimpleBlockCipherTest(java.lang.String s)
           
 
Method Summary
 void testEncryptDecrypt_MultipleBlocks()
           
 void testEncryptDecrypt_SingleBlock()
           
 void testParameterCheckEncrypt1()
           
 void testParameterCheckEncrypt2()
           
 void testParameterCheckEncrypt3()
           
 void testParameterCheckEncrypt4()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Field Detail

useJSSE

protected boolean useJSSE

useJSSE2

protected boolean useJSSE2
Constructor Detail

SimpleBlockCipherTest

public SimpleBlockCipherTest(java.lang.String s)
Method Detail

testParameterCheckEncrypt1

public void testParameterCheckEncrypt1()

testParameterCheckEncrypt2

public void testParameterCheckEncrypt2()

testParameterCheckEncrypt3

public void testParameterCheckEncrypt3()
                                throws InternalApplicationException
Throws:
InternalApplicationException

testParameterCheckEncrypt4

public void testParameterCheckEncrypt4()
                                throws InternalApplicationException
Throws:
InternalApplicationException

testEncryptDecrypt_SingleBlock

public void testEncryptDecrypt_SingleBlock()
                                    throws InternalApplicationException
Throws:
InternalApplicationException

testEncryptDecrypt_MultipleBlocks

public void testEncryptDecrypt_MultipleBlocks()
                                       throws InternalApplicationException
Throws:
InternalApplicationException


2005-2009, Rene Mayrhofer.