Name
KeyPairGeneratorSpi
Synopsis
This abstract class defines
the service-provider interface for
KeyPairGenerator
. A security provider must
implement a concrete subclass of this class for each cryptographic
algorithm for which it can generate key pairs. Applications never
need to use or subclass this class.
public abstract class KeyPairGeneratorSpi { // Public Constructors public KeyPairGeneratorSpi( ); // Public Instance Methods public abstract KeyPair generateKeyPair( ); public void initialize(java.security.spec.AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException; public abstract void initialize(int keysize, SecureRandom random); }
Subclasses
KeyPairGenerator
Get Java in a Nutshell, 5th Edition 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.