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