Bouncy Castle Cryptography Library 1.64

org.bouncycastle.jce.provider.test
Class ECIESVectorTest

java.lang.Object
  extended byorg.bouncycastle.util.test.SimpleTest
      extended byorg.bouncycastle.jce.provider.test.ECIESVectorTest
All Implemented Interfaces:
Test

public class ECIESVectorTest
extends SimpleTest

Test for ECIES - Elliptic Curve Integrated Encryption Scheme


Method Summary
 void doTestNoParams(java.lang.String testname, java.security.KeyPair keyPair, java.lang.String cipher, byte[] ephPrivateValue, byte[] expected)
           
 void doTestWithParams(java.lang.String testname, java.security.KeyPair keyPair, java.lang.String cipher, byte[] ephPrivateValue, IESParameterSpec p, byte[] expected)
           
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Specified by:
performTest in class SimpleTest
Throws:
java.lang.Exception

doTestNoParams

public void doTestNoParams(java.lang.String testname,
                           java.security.KeyPair keyPair,
                           java.lang.String cipher,
                           byte[] ephPrivateValue,
                           byte[] expected)
                    throws java.lang.Exception
Throws:
java.lang.Exception

doTestWithParams

public void doTestWithParams(java.lang.String testname,
                             java.security.KeyPair keyPair,
                             java.lang.String cipher,
                             byte[] ephPrivateValue,
                             IESParameterSpec p,
                             byte[] expected)
                      throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)

Bouncy Castle Cryptography Library 1.64