Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract class KeyPairGenerator extends Object { // Protected Constructor protected KeyPairGenerator(String algorithm); // Class Methods public static KeyPairGenerator getInstance(String algorithm) throws NoSuchAlgorithmException; public static KeyPairGenerator getInstance(String algorithm, String provider) throws NoSuchAlgorithmException, NoSuchProviderException; // Public Instance Methods public abstract KeyPair generateKeyPair(); public String getAlgorithm(); public abstract void initialize(int strength, SecureRandom random); public void initialize(int strength); }