Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security.spec

Class RSAKeyGenParameterSpec

java.lang.Object
|
+--java.security.spec.RSAKeyGenParameterSpec

All Implemented Interfaces:

AlgorithmParameterSpec


public class RSAKeyGenParameterSpec

extends Object

implements AlgorithmParameterSpec

This class generates a set of RSA Key parameters used in the generation of RSA keys.

Since:Author:

Field Summary

static java.math.BigIntegerF0

Public Exponent F0 = 3
static java.math.BigIntegerF4

Public Exponent F4 = 3

Constructor Summary

RSAKeyGenParameterSpec(int keysize, java.math.BigInteger publicExponent)

Create a new RSAKeyGenParameterSpec to store the RSA key's keysize and public exponent

Method Summary

intgetKeysize()

Return the size of the key.
java.math.BigIntegergetPublicExponent()

Return the public exponent.

Field Details

F0

public static final BigInteger F0

Public Exponent F0 = 3


F4

public static final BigInteger F4

Public Exponent F4 = 3


Constructor Details

RSAKeyGenParameterSpec

public RSAKeyGenParameterSpec(int keysize, java.math.BigInteger publicExponent)

Create a new RSAKeyGenParameterSpec to store the RSA key's keysize and public exponent

Parameters:


Method Details

getKeysize

public int getKeysize()

Return the size of the key.

Returns:


getPublicExponent

public BigInteger getPublicExponent()

Return the public exponent.

Returns: