Stay organized with collections
Save and categorize content based on your preferences.
DSAParams
public
interface
DSAParams
| java.security.interfaces.DSAParams
|
Known indirect 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
public abstract BigInteger getG ()
Returns the base, g.
getP
public abstract BigInteger getP ()
Returns the prime, p.
getQ
public abstract BigInteger getQ ()
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# DSAParams\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nDSAParams\n=========\n\n\n`\npublic\n\n\ninterface\nDSAParams\n`\n\n\n`\n\n\n`\n\n|------------------------------------|\n| java.security.interfaces.DSAParams |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [DSAParameterSpec](/reference/java/security/spec/DSAParameterSpec) |--------------------------------------------------------------------|-------------------------------------------------------------------------| | [DSAParameterSpec](/reference/java/security/spec/DSAParameterSpec) | This class specifies the set of parameters used with the DSA algorithm. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface to a DSA-specific set of key parameters, which defines a\nDSA *key family*. DSA (Digital Signature Algorithm) is defined\nin NIST's FIPS-186. \n**See also:**\n\n- [DSAKey](/reference/java/security/interfaces/DSAKey)\n- [Key](/reference/java/security/Key)\n- [Signature](/reference/java/security/Signature)\n\nSummary\n-------\n\n| ### Public methods ||\n|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------|\n| ` abstract `[BigInteger](/reference/java/math/BigInteger) | ` `[getG](/reference/java/security/interfaces/DSAParams#getG())`() ` Returns the base, `g`. |\n| ` abstract `[BigInteger](/reference/java/math/BigInteger) | ` `[getP](/reference/java/security/interfaces/DSAParams#getP())`() ` Returns the prime, `p`. |\n| ` abstract `[BigInteger](/reference/java/math/BigInteger) | ` `[getQ](/reference/java/security/interfaces/DSAParams#getQ())`() ` Returns the subprime, `q`. |\n\nPublic methods\n--------------\n\n### getG\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract BigInteger getG ()\n```\n\nReturns the base, `g`.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------|-----------------------|\n| [BigInteger](/reference/java/math/BigInteger) | the base, `g`. \u003cbr /\u003e |\n\n### getP\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract BigInteger getP ()\n```\n\nReturns the prime, `p`.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------|------------------------|\n| [BigInteger](/reference/java/math/BigInteger) | the prime, `p`. \u003cbr /\u003e |\n\n### getQ\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract BigInteger getQ ()\n```\n\nReturns the subprime, `q`.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------|---------------------------|\n| [BigInteger](/reference/java/math/BigInteger) | the subprime, `q`. \u003cbr /\u003e |"]]