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 83 public class KeyGenerator 84 { 85 86 93 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, String 94 algorithm) 95 { } 96 97 106 public final String getAlgorithm() { } 107 108 130 public static final KeyGenerator getInstance(String algorithm) 131 throws NoSuchAlgorithmException 132 { } 133 134 155 public static final KeyGenerator getInstance(String algorithm, String 156 provider) throws NoSuchAlgorithmException, NoSuchProviderException 157 { } 158 159 179 public static final KeyGenerator getInstance(String algorithm, Provider 180 provider) throws NoSuchAlgorithmException 181 { } 182 183 188 public final Provider getProvider() { } 189 190 195 public final void init(SecureRandom random) { } 196 197 213 public final void init(AlgorithmParameterSpec params) 214 throws InvalidAlgorithmParameterException 215 { } 216 217 227 public final void init(AlgorithmParameterSpec params, SecureRandom random) 228 throws InvalidAlgorithmParameterException 229 { } 230 231 248 public final void init(int keysize) { } 249 250 261 public final void init(int keysize, SecureRandom random) { } 262 263 268 public final SecretKey generateKey() { } 269 } 270 | Popular Tags |