Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.security.KeyPairGenerator

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);
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.