DSAPublicKey
Stay organized with collections
Save and categorize content based on your preferences.
The interface to a DSA public key. DSA (Digital Signature Algorithm)
is defined in NIST's FIPS-186.
Constant Summary
long |
serialVersionUID |
The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class. |
Inherited Constant Summary
From interface
java.security.Key
long |
serialVersionUID |
The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class. |
Public Method Summary
abstract
BigInteger
|
getY()
Returns the value of the public key, y .
|
Inherited Method Summary
From interface
java.security.Key
abstract
String
|
getAlgorithm()
Returns the standard algorithm name for this key.
|
abstract
byte[]
|
getEncoded()
Returns the key in its primary encoding format, or null
if this key does not support encoding.
|
abstract
String
|
getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
Constants
public
static
final
long
serialVersionUID
The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class.
Constant Value:
1234526332779022332
Public Methods
public
abstract
BigInteger
getY
()
Returns the value of the public key, y
.
Returns
- the value of the public key,
y
.
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."],[[["`DSAPublicKey` interface provides access to the public key used in the Digital Signature Algorithm (DSA), as defined in NIST's FIPS-186."],["It allows retrieval of the public key value (`y`) and DSA-specific parameters."],["This interface inherits methods for getting the algorithm name, encoded key, and encoding format from the `Key` interface."],["It extends the `DSAKey` and `PublicKey` interfaces, providing a specialized type for DSA public keys within the Java security framework."],["`serialVersionUID` ensures serialization compatibility with previous versions of the class."]]],[]]