java.lang.Objectjava.security.spec.DSAPublicKeySpec
此类指定带关联参数的 DSA 公用密钥。
Key,
KeyFactory,
KeySpec,
DSAPrivateKeySpec,
X509EncodedKeySpec
| 构造方法摘要 | |
|---|---|
DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g) 创建一个具有指定参数值的新 DSAPublicKeySpec。 |
|
| 方法摘要 | |
|---|---|
BigInteger |
getG() 返回基数 g。 |
BigInteger |
getP() 返回素数 p。 |
BigInteger |
getQ() 返回子素数 q。 |
BigInteger |
getY() 返回公用密钥 y。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
y - 公用键。
p - 素数。
q - 子素数。
g - 基数。
| 方法详细信息 |
|---|
public BigInteger getY()
y。
y。
public BigInteger getP()
p。
p。
public BigInteger getQ()
q。
q。
public BigInteger getG()
g。
g。