Stay organized with collections
Save and categorize content based on your preferences.
DSAKey
public
interface
DSAKey
java.security.interfaces.DSAKey
|
Known indirect subclasses
|
The interface to a DSA public or private key. DSA (Digital Signature
Algorithm) is defined in NIST's FIPS-186.
Summary
Public methods
getParams
public abstract DSAParams getParams ()
Returns the DSA-specific key parameters. These parameters are
never secret.
Returns |
DSAParams |
the DSA-specific key parameters. |
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,["# DSAKey\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nDSAKey\n======\n\n\n`\npublic\n\n\ninterface\nDSAKey\n`\n\n\n`\n\n\n`\n\n|---------------------------------|\n| java.security.interfaces.DSAKey |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [DSAPrivateKey](/reference/java/security/interfaces/DSAPrivateKey), [DSAPublicKey](/reference/java/security/interfaces/DSAPublicKey) |--------------------------------------------------------------------|----------------------------------------------| | [DSAPrivateKey](/reference/java/security/interfaces/DSAPrivateKey) | The standard interface to a DSA private key. | | [DSAPublicKey](/reference/java/security/interfaces/DSAPublicKey) | The interface to a DSA public key. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThe interface to a DSA public or private key. DSA (Digital Signature\nAlgorithm) is defined in NIST's FIPS-186. \n**See also:**\n\n- [DSAParams](/reference/java/security/interfaces/DSAParams)\n- [Key](/reference/java/security/Key)\n- [Signature](/reference/java/security/Signature)\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[DSAParams](/reference/java/security/interfaces/DSAParams) | ` `[getParams](/reference/java/security/interfaces/DSAKey#getParams())`() ` Returns the DSA-specific key parameters. |\n\nPublic methods\n--------------\n\n### getParams\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract DSAParams getParams ()\n```\n\nReturns the DSA-specific key parameters. These parameters are\nnever secret.\n\n\u003cbr /\u003e\n\n| Returns ||\n|------------------------------------------------------------|-----------------------------------------|\n| [DSAParams](/reference/java/security/interfaces/DSAParams) | the DSA-specific key parameters. \u003cbr /\u003e |\n\n**See also:**\n\n- [DSAParams](/reference/java/security/interfaces/DSAParams)"]]