- java.lang.Object
-  
      - java.security.spec.RSAPublicKeySpec
 
-  
       - 实现的所有接口
-  
         KeySpec
 
 public class RSAPublicKeySpec extends Object implements KeySpec 此类指定RSA公钥。- 从以下版本开始:
- 1.2
- 另请参见:
-  
         Key,KeyFactory,KeySpec,X509EncodedKeySpec,RSAPrivateKeySpec,RSAPrivateCrtKeySpec
 
-  
        
       -  
             构造方法摘要构造方法 构造器 描述 RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)创建一个新的RSAPublicKeySpec。RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params)使用其他关键参数创建新的RSAPublicKeySpec。
 -  
             方法摘要所有方法 实例方法 具体的方法 变量和类型 方法 描述 BigIntegergetModulus()返回模数。AlgorithmParameterSpecgetParams()返回与此键关联的参数,如果不存在,则可以为null。BigIntegergetPublicExponent()返回公共指数。
 
-  
             
-  
        
       -  
             构造方法详细信息-  RSAPublicKeySpecpublic RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) 创建一个新的RSAPublicKeySpec。- 参数
-  
              modulus- 模数
-  
              publicExponent- 公共指数
 
 -  RSAPublicKeySpecpublic RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params) 使用其他关键参数创建新的RSAPublicKeySpec。- 参数
-  
              modulus- 模数
-  
              publicExponent- 公共指数
-  
              params- 与此键关联的参数可以为null
- 从以下版本开始:
- 11
 
 
-  
 -  
             方法详细信息-  getModuluspublic BigInteger getModulus() 返回模数。- 结果
- 模数
 
 -  getPublicExponentpublic BigInteger getPublicExponent() 返回公共指数。- 结果
- 公众指数
 
 -  getParamspublic AlgorithmParameterSpec getParams() 返回与此键关联的参数,如果不存在,则可以为null。- 结果
- 与此键关联的参数
- 从以下版本开始:
- 11
 
 
-  
 
-