Added in API level 1

DSAParameterSpec

open class DSAParameterSpec : AlgorithmParameterSpec, DSAParams
kotlin.Any
   ↳ java.security.spec.DSAParameterSpec

This class specifies the set of parameters used with the DSA algorithm.

Summary

Public constructors

Creates a new DSAParameterSpec with the specified parameter values.

Public methods
open BigInteger!

Returns the base g.

open BigInteger!

Returns the prime p.

open BigInteger!

Returns the sub-prime q.

Public constructors

DSAParameterSpec

Added in API level 1
DSAParameterSpec(
    p: BigInteger!,
    q: BigInteger!,
    g: BigInteger!)

Creates a new DSAParameterSpec with the specified parameter values.

Parameters
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.