java.security.spec
Class RSAKeyGenParameterSpec

java.lang.Object
  |
  +--java.security.spec.RSAKeyGenParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class RSAKeyGenParameterSpec
extends Object
implements AlgorithmParameterSpec

Untamed: This class specifies the set of parameters used to generate an RSA key pair.

Since:
1.3
Version:
1.6 12/03/01
Author:
Jan Luehe
See Also:
java.security.KeyPairGenerator#initialize(java.security.spec.AlgorithmParameterSpec)

Field Summary
static BigInteger F0
          Enabled: The public-exponent value F0 = 3.
static BigInteger F4
          Enabled: The public exponent-value F4 = 65537.
private  int keysize
           
private  BigInteger publicExponent
           
 
Constructor Summary
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
          Enabled: Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.
 
Method Summary
 int getKeysize()
          Enabled: Returns the keysize.
 BigInteger getPublicExponent()
          Enabled: Returns the public-exponent value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keysize

private int keysize

publicExponent

private BigInteger publicExponent

F0

public static final BigInteger F0
Enabled: The public-exponent value F0 = 3.


F4

public static final BigInteger F4
Enabled: The public exponent-value F4 = 65537.

Constructor Detail

RSAKeyGenParameterSpec

public RSAKeyGenParameterSpec(int keysize,
                              BigInteger publicExponent)
Enabled: Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.

Parameters:
keysize - the modulus size (specified in number of bits)
publicExponent - the public exponent
Method Detail

getKeysize

public int getKeysize()
Enabled: Returns the keysize.

Returns:
the keysize.

getPublicExponent

public BigInteger getPublicExponent()
Enabled: Returns the public-exponent value.

Returns:
the public-exponent value.


comments?