public class DSAPrivateKeySpec
extends Object implements KeySpec
| java.lang.Object | |
| java.security.spec.DSAPrivateKeySpec | |
该类使用其相关参数指定DSA私钥。
Public constructors |
|
|---|---|
DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g) 用指定的参数值创建一个新的DSAPrivateKeySpec。 |
|
公共方法(Public methods) |
|
|---|---|
BigInteger |
getG() 返回基地 |
BigInteger |
getP() 返回素数 |
BigInteger |
getQ() 返回 |
BigInteger |
getX() 返回私钥 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
DSAPrivateKeySpec (BigInteger x, BigInteger p, BigInteger q, BigInteger g)
用指定的参数值创建一个新的DSAPrivateKeySpec。
| 参数(Parameters) | |
|---|---|
x |
BigInteger: the private key. |
p |
BigInteger: the prime. |
q |
BigInteger: the sub-prime. |
g |
BigInteger: the base. |