Name
Class javax.crypto.KeyGeneratorSpi
Description
KeyGenerator
implementations descend from
KeyGeneratorSpi
. To create an implementation of a
key generation algorithm, make a subclass of
KeyGeneratorSpi
and define each of its methods.
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 Cryptography 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.