38 |
|
|
39 |
package javax.crypto; |
package javax.crypto; |
40 |
|
|
41 |
import java.lang.reflect.InvocationTargetException; |
import gnu.java.security.Engine; |
42 |
|
|
43 |
|
import java.lang.reflect.InvocationTargetException; |
44 |
import java.security.InvalidAlgorithmParameterException; |
import java.security.InvalidAlgorithmParameterException; |
45 |
import java.security.InvalidKeyException; |
import java.security.InvalidKeyException; |
46 |
import java.security.Key; |
import java.security.Key; |
51 |
import java.security.Security; |
import java.security.Security; |
52 |
import java.security.spec.AlgorithmParameterSpec; |
import java.security.spec.AlgorithmParameterSpec; |
53 |
|
|
|
import gnu.java.security.Engine; |
|
|
|
|
54 |
/** |
/** |
55 |
* Key agreement is a method in which two or more parties may agree on a |
* Key agreement is a method in which two or more parties may agree on a |
56 |
* secret key for symmetric cryptography or message authentication |
* secret key for symmetric cryptography or message authentication |