Added in API level 1
DSAPublicKeySpec
open class DSAPublicKeySpec : KeySpec
| kotlin.Any | |
| ↳ | java.security.spec.DSAPublicKeySpec |
This class specifies a DSA public key with its associated parameters.
Summary
| Public constructors | |
|---|---|
DSAPublicKeySpec(y: BigInteger!, p: BigInteger!, q: BigInteger!, g: BigInteger!)Creates a new DSAPublicKeySpec with the specified parameter values. | |
| Public methods | |
|---|---|
| open BigInteger! | getG()Returns the base |
| open BigInteger! | getP()Returns the prime |
| open BigInteger! | getQ()Returns the sub-prime |
| open BigInteger! | getY()Returns the public key |
Public constructors
DSAPublicKeySpec
Added in API level 1
DSAPublicKeySpec(
y: BigInteger!,
p: BigInteger!,
q: BigInteger!,
g: BigInteger!)
Creates a new DSAPublicKeySpec with the specified parameter values.
| Parameters | |
|---|---|
y | BigInteger!: the public key. |
p | BigInteger!: the prime. |
q | BigInteger!: the sub-prime. |
g | BigInteger!: the base. |
Public methods
getG
Added in API level 1
open fun getG(): BigInteger!
Returns the base g.
| Return | |
|---|---|
BigInteger! | the base g. |
getP
Added in API level 1
open fun getP(): BigInteger!
Returns the prime p.
| Return | |
|---|---|
BigInteger! | the prime p. |
getQ
Added in API level 1
open fun getQ(): BigInteger!
Returns the sub-prime q.
| Return | |
|---|---|
BigInteger! | the sub-prime q. |
getY
Added in API level 1
open fun getY(): BigInteger!
Returns the public key y.
| Return | |
|---|---|
BigInteger! | the public key y. |