1 5 6 9 10 17 18 package javax.crypto; 19 20 import java.security.*; 21 import java.security.spec.*; 22 23 37 public abstract class KeyGeneratorSpi 38 { 39 40 public KeyGeneratorSpi() { } 41 42 47 protected abstract void engineInit(SecureRandom random); 48 49 59 protected abstract void engineInit(AlgorithmParameterSpec params, 60 SecureRandom random) throws InvalidAlgorithmParameterException; 61 62 73 protected abstract void engineInit(int keysize, SecureRandom random); 74 75 80 protected abstract SecretKey engineGenerateKey(); 81 } 82 | Popular Tags |