1 7 8 15 16 package javax.crypto; 17 18 import java.util.*; 19 import java.security.*; 20 import java.security.spec.*; 21 import sun.security.jca.*; 22 23 import java.security.Provider.Service; 24 import sun.security.jca.GetInstance.Instance; 25 26 60 public class SecretKeyFactory 61 { 62 63 70 protected SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, 71 String algorithm) 72 { } 73 74 99 public static final SecretKeyFactory getInstance(String algorithm) 100 throws NoSuchAlgorithmException 101 { } 102 103 128 public static final SecretKeyFactory getInstance(String algorithm, String 129 provider) throws NoSuchAlgorithmException, NoSuchProviderException 130 { } 131 132 155 public static final SecretKeyFactory getInstance(String algorithm, Provider 156 provider) throws NoSuchAlgorithmException 157 { } 158 159 164 public final Provider getProvider() { } 165 166 176 public final String getAlgorithm() { } 177 178 189 public final SecretKey generateSecret(KeySpec keySpec) 190 throws InvalidKeySpecException 191 { } 192 193 213 public final KeySpec getKeySpec(SecretKey key, Class keySpec) 214 throws InvalidKeySpecException 215 { } 216 217 228 public final SecretKey translateKey(SecretKey key) 229 throws InvalidKeyException 230 { } 231 } 232 | Popular Tags |