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