Class ECIESVectorTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.ECIESVectorTest
- All Implemented Interfaces:
Test
Test for ECIES - Elliptic Curve Integrated Encryption Scheme
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doTestNoParams
(String testname, KeyPair keyPair, String cipher, byte[] ephPrivateValue, byte[] expected) void
doTestWithParams
(String testname, KeyPair keyPair, String cipher, byte[] ephPrivateValue, IESParameterSpec p, byte[] expected) getName()
static void
void
-
Method Details
-
getName
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
- Specified by:
performTest
in classSimpleTest
- Throws:
Exception
-
doTestNoParams
public void doTestNoParams(String testname, KeyPair keyPair, String cipher, byte[] ephPrivateValue, byte[] expected) throws Exception - Throws:
Exception
-
doTestWithParams
public void doTestWithParams(String testname, KeyPair keyPair, String cipher, byte[] ephPrivateValue, IESParameterSpec p, byte[] expected) throws Exception - Throws:
Exception
-
main
-