O'Reilly logo

Java Security by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required