public class RSAPublicKeySpec
extends Object
implements KeySpec
java.lang.Object | |
java.security.spec.RSAPublicKeySpec |
这个类指定一个RSA公钥。
Public constructors |
|
---|---|
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) 创建一个新的RSAPublicKeySpec。 |
公共方法(Public methods) |
|
---|---|
BigInteger |
getModulus() 返回模量。 |
BigInteger |
getPublicExponent() 返回公共指数。 |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Object
|
RSAPublicKeySpec (BigInteger modulus, BigInteger publicExponent)
创建一个新的RSAPublicKeySpec。
参数(Parameters) | |
---|---|
modulus |
BigInteger : the modulus |
publicExponent |
BigInteger : the public exponent |
BigInteger getPublicExponent ()
返回公共指数。
返回(Returns) | |
---|---|
BigInteger |
the public exponent |