equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 7146728 |
26 * @bug 7146728 |
27 * @summary DHKeyAgreement2 |
27 * @summary DHKeyAgreement2 |
28 * @modules java.base/sun.misc |
|
29 * @author Jan Luehe |
28 * @author Jan Luehe |
30 */ |
29 */ |
31 |
30 |
32 import java.io.*; |
31 import java.io.*; |
33 import java.math.BigInteger; |
32 import java.math.BigInteger; |
35 import java.security.spec.*; |
34 import java.security.spec.*; |
36 import java.security.interfaces.*; |
35 import java.security.interfaces.*; |
37 import javax.crypto.*; |
36 import javax.crypto.*; |
38 import javax.crypto.spec.*; |
37 import javax.crypto.spec.*; |
39 import javax.crypto.interfaces.*; |
38 import javax.crypto.interfaces.*; |
40 |
|
41 import sun.misc.HexDumpEncoder; |
|
42 |
39 |
43 /** |
40 /** |
44 * This test utility executes the Diffie-Hellman key agreement protocol |
41 * This test utility executes the Diffie-Hellman key agreement protocol |
45 * between 2 parties: Alice and Bob. |
42 * between 2 parties: Alice and Bob. |
46 * |
43 * |