Added in API level 1
DSAPrivateKeySpec
open class DSAPrivateKeySpec : KeySpec
| kotlin.Any | |
| ↳ | java.security.spec.DSAPrivateKeySpec |
This class specifies a DSA private key with its associated parameters.
Summary
| Public constructors | |
|---|---|
DSAPrivateKeySpec(x: BigInteger!, p: BigInteger!, q: BigInteger!, g: BigInteger!)Creates a new DSAPrivateKeySpec 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! |
getX()Returns the private key |
Public constructors
DSAPrivateKeySpec
Added in API level 1
DSAPrivateKeySpec(
x: BigInteger!,
p: BigInteger!,
q: BigInteger!,
g: BigInteger!)
Creates a new DSAPrivateKeySpec with the specified parameter values.
| Parameters | |
|---|---|
x |
BigInteger!: the private 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. |
getX
Added in API level 1
open fun getX(): BigInteger!
Returns the private key x.
| Return | |
|---|---|
BigInteger! |
the private key x. |