Class ECIESVectorTest

  • All Implemented Interfaces:
    Test

    public class ECIESVectorTest
    extends SimpleTest
    Test for ECIES - Elliptic Curve Integrated Encryption Scheme
    • Method Detail

      • 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)