File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
prov/src/test/java/org/bouncycastle/jce/provider/test Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ public class RegressionTest
9090 new SkeinTest (),
9191 new SlotTwoTest (),
9292 new SM2CipherTest (),
93+ new SM2KeyExchangeTest (),
9394 new SM2SignatureTest (),
9495 new SM4Test (),
9596 new ThreefishTest (),
Original file line number Diff line number Diff line change 33import java .security .KeyPair ;
44import java .security .KeyPairGenerator ;
55import java .security .SecureRandom ;
6- import java .security .Security ;
76
87import javax .crypto .KeyAgreement ;
98
109import org .bouncycastle .jcajce .spec .SM2KeyExchangeSpec ;
11- import org .bouncycastle .jce .provider .BouncyCastleProvider ;
1210import org .bouncycastle .util .Strings ;
1311import org .bouncycastle .util .test .SimpleTest ;
1412
1513public class SM2KeyExchangeTest
1614 extends SimpleTest
1715{
18- public static void main (String [] args )
19- throws Exception
20- {
21- SM2KeyExchangeTest test = new SM2KeyExchangeTest ();
22- Security .addProvider (new BouncyCastleProvider ());
23- test .performTest ();
24- }
25-
2616 @ Override
2717 public String getName ()
2818 {
You can’t perform that action at this time.
0 commit comments