DSAParams
Stay organized with collections
Save and categorize content based on your preferences.
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.
Public Method Summary
abstract
BigInteger
|
getG()
Returns the base, g .
|
abstract
BigInteger
|
getP()
Returns the prime, p .
|
abstract
BigInteger
|
getQ()
Returns the subprime, q .
|
Public Methods
public
abstract
BigInteger
getG
()
public
abstract
BigInteger
getP
()
public
abstract
BigInteger
getQ
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-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 2024-07-10 UTC."],[[["DSAParams interface defines a DSA key family, which is a set of parameters used with the Digital Signature Algorithm (DSA) as defined in NIST's FIPS-186."],["This interface provides access to the DSA algorithm's key parameters: the base (g), the prime (p), and the subprime (q), using respective methods getG(), getP(), and getQ()."],["DSAParams is related to other security interfaces such as DSAKey, Key and Signature for digital signature operations."]]],["The `DSAParams` interface defines a DSA key family, crucial for the Digital Signature Algorithm. It provides three key methods: `getG()`, `getP()`, and `getQ()`. These methods return, respectively, the base (`g`), the prime (`p`), and the subprime (`q`) as `BigInteger` objects. The `DSAParameterSpec` is a subclass specifying the parameter set used with the DSA algorithm.\n"]]