jdk/test/com/sun/crypto/provider/KeyAgreement/DHKeyAgreement2.java
changeset 34687 d302ed125dc9
parent 31422 67cd03bc9cce
equal deleted inserted replaced
34686:29ea8310a27a 34687:d302ed125dc9
    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  *