AlgorithmParameterSpecpublic class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static BigInteger |
F0 |
The public-exponent value F0 = 3.
|
static BigInteger |
F4 |
The public exponent-value F4 = 65537.
|
| 构造器 | 说明 |
|---|---|
RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent) |
Constructs a new
RSAKeyGenParameterSpec object from the
given keysize, public-exponent value, and null key parameters. |
public static final BigInteger F0
public static final BigInteger F4
public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
RSAKeyGenParameterSpec object from the
given keysize, public-exponent value, and null key parameters.keysize - the modulus size (specified in number of bits)publicExponent - the public exponentpublic int getKeysize()
public BigInteger getPublicExponent()