java.lang.Objectjava.security.spec.RSAPrivateKeySpec
此类指定 RSA 专用密钥。
| 构造方法摘要 | |
|---|---|
RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) 创建一个新的 RSAPrivateKeySpec。 |
|
| 方法摘要 | |
|---|---|
BigInteger |
getModulus() 返回系数。 |
BigInteger |
getPrivateExponent() 返回专用指数。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
modulus - 系数
privateExponent - 专用指数
| 方法详细信息 |
|---|
public BigInteger getModulus()
public BigInteger getPrivateExponent()