org.openuat.authentication.test
Class CandidateKeyProtocolTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.openuat.authentication.test.CandidateKeyProtocolTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- CandidateKeyProtocolTest_BCAPI, CandidateKeyProtocolTest_Mixed1, CandidateKeyProtocolTest_Mixed2
public class CandidateKeyProtocolTest
- extends junit.framework.TestCase
| 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 |
useJSSE1
protected boolean useJSSE1
useJSSE2
protected boolean useJSSE2
CandidateKeyProtocolTest
public CandidateKeyProtocolTest(java.lang.String s)
setUp
public void setUp()
- Overrides:
setUp in class junit.framework.TestCase
testMatching_1Round
public void testMatching_1Round()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatching_2Rounds
public void testMatching_2Rounds()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_1Round
public void testMatchingAndKeyGeneration_1Round()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_1Round_multipleCandidates
public void testMatchingAndKeyGeneration_1Round_multipleCandidates()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant1
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant1()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant2
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant2()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant1_multipleCandidates_historyTooSmall
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant1_multipleCandidates_historyTooSmall()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant2_multipleCandidates_historyTooSmall
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant2_multipleCandidates_historyTooSmall()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant1_multipleCandidates_historySufficient
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant1_multipleCandidates_historySufficient()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_2Rounds_searchKey_variant2_multipleCandidates_historySufficient
public void testMatchingAndKeyGeneration_2Rounds_searchKey_variant2_multipleCandidates_historySufficient()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_1Round
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_1Round()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_1Round_multipleCandidates
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_1Round_multipleCandidates()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_multipleCandidates
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_multipleCandidates()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant1_multipleCandidates_historyTooSmall
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant1_multipleCandidates_historyTooSmall()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant2_multipleCandidates_historyTooSmall
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant2_multipleCandidates_historyTooSmall()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant1_multipleCandidates_historySufficient
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant1_multipleCandidates_historySufficient()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant2_multipleCandidates_historySufficient
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_2Rounds_searchKey_variant2_multipleCandidates_historySufficient()
throws InternalApplicationException
- Throws:
InternalApplicationException
testBug1_2Rounds_generateKey_interlocked_RoundsWithSameParts
public void testBug1_2Rounds_generateKey_interlocked_RoundsWithSameParts()
throws InternalApplicationException
- Throws:
InternalApplicationException
testBug1_2Rounds_generateKey_generateThenMatch_variant1_RoundsWithSameParts_sameMatchOrder
public void testBug1_2Rounds_generateKey_generateThenMatch_variant1_RoundsWithSameParts_sameMatchOrder()
throws InternalApplicationException
- Throws:
InternalApplicationException
testBug1_2Rounds_generateKey_generateThenMatch_variant2_RoundsWithSameParts_sameMatchOrder
public void testBug1_2Rounds_generateKey_generateThenMatch_variant2_RoundsWithSameParts_sameMatchOrder()
throws InternalApplicationException
- Throws:
InternalApplicationException
testBug1_2Rounds_searchKey_generateThenMatch_variant1_RoundsWithSameParts_differentMatchOrder
public void testBug1_2Rounds_searchKey_generateThenMatch_variant1_RoundsWithSameParts_differentMatchOrder()
throws InternalApplicationException
- Throws:
InternalApplicationException
testBug1_2Rounds_searchKey_generateThenMatch_variant2_RoundsWithSameParts_differentMatchOrder
public void testBug1_2Rounds_searchKey_generateThenMatch_variant2_RoundsWithSameParts_differentMatchOrder()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAndKeyGeneration_3Hosts_1Round
public void testMatchingAndKeyGeneration_3Hosts_1Round()
throws InternalApplicationException
- Throws:
InternalApplicationException
testMatchingAcknowledgeAndKeyGeneration_Asymmetric_3Hosts_1Round
public void testMatchingAcknowledgeAndKeyGeneration_Asymmetric_3Hosts_1Round()
throws InternalApplicationException
- Throws:
InternalApplicationException
testIndexTupleStringEncoding
public void testIndexTupleStringEncoding()
testSetExploder
public void testSetExploder()
throws InternalApplicationException
- Throws:
InternalApplicationException
testSetExploder_FixedErrorCase1
public void testSetExploder_FixedErrorCase1()
throws InternalApplicationException
- Throws:
InternalApplicationException
2005-2009, Rene Mayrhofer.