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.InvalidKeyException; |
import java.security.InvalidKeyException; |
45 |
import java.security.NoSuchAlgorithmException; |
import java.security.NoSuchAlgorithmException; |
46 |
import java.security.NoSuchProviderException; |
import java.security.NoSuchProviderException; |
47 |
import java.security.Provider; |
import java.security.Provider; |
|
import java.security.SecureRandom; |
|
48 |
import java.security.Security; |
import java.security.Security; |
|
import java.security.spec.KeySpec; |
|
49 |
import java.security.spec.InvalidKeySpecException; |
import java.security.spec.InvalidKeySpecException; |
50 |
|
import java.security.spec.KeySpec; |
|
import gnu.java.security.Engine; |
|
51 |
|
|
52 |
/** |
/** |
53 |
* A secret key factory translates {@link SecretKey} objects to and from |
* A secret key factory translates {@link SecretKey} objects to and from |