Name
Class javax.crypto.KeyGeneratorSpi
Synopsis
This is the Security Provider Interface for the
KeyGenerator
class. To create an implementation
of a key generation algorithm, make a subclass of this class and
register the implementation with an appropriate security provider.
Class Definition
public abstract class javax.crypto.KeyGeneratorSpi extends java.lang.Object { // Constructors public KeyGeneratorSpi(); // Protected Instance Methods protected abstract SecretKey engineGenerateKey(); protected abstract void engineInit(int, SecureRandom); protected abstract void engineInit(SecureRandom); protected abstract void engineInit(AlgorithmParameterSpec, SecureRandom); }
See also:
AlgorithmParameterSpec
, KeyGenerator
, SecretKey
, SecureRandom
Get Java Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.