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