Hello friends,
I want to implement the ECDH key exchange algorithm. I have the code but i am getting the error as class or interface expected. please help me.

which packages i need to add and how to add new package.

code is:

package sun.security.ss l;
package sun.security.ss l.JsseJce;

import java.security.* ;
// import java.security.i nterfaces.ECPub licKey;...