Home » openjdk-7 » javax » crypto » [javadoc | source]
abstract public class: KeyGeneratorSpi [javadoc | source]
This class defines the Service Provider Interface (SPI) for the KeyGenerator class. All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a key generator for a particular algorithm.
Method from javax.crypto.KeyGeneratorSpi Summary:
engineGenerateKey,   engineInit,   engineInit,   engineInit
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.crypto.KeyGeneratorSpi Detail:
 abstract protected SecretKey engineGenerateKey()
    Generates a secret key.
 abstract protected  void engineInit(SecureRandom random)
    Initializes the key generator.
 abstract protected  void engineInit(AlgorithmParameterSpec params,
    SecureRandom random) throws InvalidAlgorithmParameterException
    Initializes the key generator with the specified parameter set and a user-provided source of randomness.
 abstract protected  void engineInit(int keysize,
    SecureRandom random)
    Initializes this key generator for a certain keysize, using the given source of randomness.