Stay organized with collections
Save and categorize content based on your preferences.
DSAParams
interface DSAParams
Known Direct Subclasses
DSAParameterSpec |
This class specifies the set of parameters used with the DSA algorithm.
|
|
Interface to a DSA-specific set of key parameters, which defines a DSA key family. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.
Summary
Public methods
getG
abstract fun getG(): BigInteger!
Returns the base, g
.
getP
abstract fun getP(): BigInteger!
Returns the prime, p
.
getQ
abstract fun getQ(): BigInteger!
Returns the subprime, q
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# DSAParams\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDSAParams\n=========\n\n```\ninterface DSAParams\n```\n\n|-----------------------------------------|\n| [java.security.interfaces.DSAParams](#) |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [DSAParameterSpec](../spec/DSAParameterSpec.html#) |----------------------------------------------------|-------------------------------------------------------------------------| | [DSAParameterSpec](../spec/DSAParameterSpec.html#) | This class specifies the set of parameters used with the DSA algorithm. | |\n\nInterface to a DSA-specific set of key parameters, which defines a DSA *key family*. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.\n\nSummary\n-------\n\n| Public methods ||\n|-----------------------------------------------------|------------------------------------------------|\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getG](#getG())`()` Returns the base, `g`. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getP](#getP())`()` Returns the prime, `p`. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getQ](#getQ())`()` Returns the subprime, `q`. |\n\nPublic methods\n--------------\n\n### getG\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getG(): BigInteger!\n```\n\nReturns the base, `g`.\n\n| Return ||\n|--------------------------------------------|----------------|\n| [BigInteger](../../math/BigInteger.html#)! | the base, `g`. |\n\n### getP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getP(): BigInteger!\n```\n\nReturns the prime, `p`.\n\n| Return ||\n|--------------------------------------------|-----------------|\n| [BigInteger](../../math/BigInteger.html#)! | the prime, `p`. |\n\n### getQ\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getQ(): BigInteger!\n```\n\nReturns the subprime, `q`.\n\n| Return ||\n|--------------------------------------------|--------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the subprime, `q`. |"]]