public class RSAKeyGenParameterSpec
extends Object implements AlgorithmParameterSpec
| java.lang.Object | |
| ↳ | java.security.spec.RSAKeyGenParameterSpec |
该类指定用于生成RSA密钥对的参数集。
Fields |
|
|---|---|
public static final BigInteger |
F0 公开指数值F0 = 3。 |
public static final BigInteger |
F4 公共指数值F4 = 65537。 |
Public constructors |
|
|---|---|
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) 根据给定的密钥大小和公开指数值构造一个新的 |
|
Public methods |
|
|---|---|
int |
getKeysize() 返回密钥大小。 |
BigInteger |
getPublicExponent() 返回公开指数值。 |
Inherited methods |
|
|---|---|
java.lang.Object
|
|
RSAKeyGenParameterSpec (int keysize,
BigInteger publicExponent)
根据给定的密钥大小和公开指数值构造一个新的 RSAParameterSpec对象。
| Parameters | |
|---|---|
keysize |
int: the modulus size (specified in number of bits) |
publicExponent |
BigInteger: the public exponent |
BigInteger getPublicExponent ()
返回公开指数值。
| Returns | |
|---|---|
BigInteger |
the public-exponent value. |