所有类
java.security.spec
类 RSAKeyGenParameterSpec
java.lang.Object
java.security.spec.RSAKeyGenParameterSpec
- 所有已实现的接口:
- AlgorithmParameterSpec
public class RSAKeyGenParameterSpec
- extends Object
- implements AlgorithmParameterSpec
此类指定用于生成 RSA 密钥对的参数集。
- 从以下版本开始:
- 1.3
- 另请参见:
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
F0
public static final BigInteger F0
- 公用指数值 F0 = 3。
F4
public static final BigInteger F4
- 公用指数值 F4 = 65537。
RSAKeyGenParameterSpec
public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
- 构造一个具有给定密钥大小和公用指数值的新的
RSAParameterSpec
对象。 - 参数:
keysize
- 系数大小(用位数指定) publicExponent
- 公用指数
getKeysize
public int getKeysize()
- 返回密钥大小。
- 返回:
- 密钥大小。
getPublicExponent
public BigInteger getPublicExponent()
- 返回公用指数值。
- 返回:
- 公用指数值。
所有类