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 |