Bouncy Castle Cryptography Library 1.82

org.bouncycastle.crypto.agreement.test
Class ECJPAKEParticipantTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.bouncycastle.crypto.agreement.test.ECJPAKEParticipantTest
All Implemented Interfaces:
junit.framework.Test

public class ECJPAKEParticipantTest
extends junit.framework.TestCase


Constructor Summary
ECJPAKEParticipantTest()
           
 
Method Summary
 void testConstruction()
           
 void testIncorrectPassword()
           
 void testStateValidation()
           
 void testSuccessfulExchange()
           
 void testValidateRound1PayloadReceived()
           
 void testValidateRound2PayloadReceived()
           
 
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
 

Constructor Detail

ECJPAKEParticipantTest

public ECJPAKEParticipantTest()
Method Detail

testConstruction

public void testConstruction()
                      throws CryptoException
Throws:
CryptoException

testSuccessfulExchange

public void testSuccessfulExchange()
                            throws CryptoException
Throws:
CryptoException

testIncorrectPassword

public void testIncorrectPassword()
                           throws CryptoException
Throws:
CryptoException

testStateValidation

public void testStateValidation()
                         throws CryptoException
Throws:
CryptoException

testValidateRound1PayloadReceived

public void testValidateRound1PayloadReceived()
                                       throws CryptoException
Throws:
CryptoException

testValidateRound2PayloadReceived

public void testValidateRound2PayloadReceived()
                                       throws CryptoException
Throws:
CryptoException

Bouncy Castle Cryptography Library 1.82