java.lang.Objectjava.security.spec.RSAKeyGenParameterSpec
public class RSAKeyGenParameterSpec
     此类指定用于生成 RSA 密钥对的参数集。
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)
   | 字段摘要 | |
|---|---|
 static BigInteger |  
     F0 公用指数值 F0 = 3。  |  
    
 static BigInteger |  
     F4 公用指数值 F4 = 65537。  |  
    
| 构造方法摘要 | |
|---|---|
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) 构造一个具有给定密钥大小和公用指数值的新的 RSAParameterSpec 对象。 |  
    |
| 方法摘要 | |
|---|---|
  int |  
     getKeysize() 返回密钥大小。  |  
    
  BigInteger |  
     getPublicExponent() 返回公用指数值。  |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |  
    
| 字段详细信息 | 
|---|
public static final BigInteger F0
public static final BigInteger F4
| 构造方法详细信息 | 
|---|
public RSAKeyGenParameterSpec(int keysize,
                              BigInteger publicExponent) 
  RSAParameterSpec 对象。 
    
keysize - 系数大小(用位数指定)
     publicExponent - 公用指数
     | 方法详细信息 | 
|---|
public int getKeysize()
public BigInteger getPublicExponent()