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