AsymmetricKey, DEREncodablePREVIEW, Destroyable, DSAKey, Key, PrivateKey, Serializablepublic interface DSAPrivateKey extends DSAKey, PrivateKey
| Modifier and Type | Field | Description |
|---|---|---|
static final long |
serialVersionUID |
Deprecated. |
| Modifier and Type | Method | Description |
|---|---|---|
default DSAParams |
getParams() |
Returns the parameters associated with this key. |
BigInteger |
getX() |
Returns the value of the private key, x. |
destroy, isDestroyed
getAlgorithm, getEncoded, getFormat
@Deprecated static final long serialVersionUID
serialVersionUID field in an interface is ineffectual. Do not use; no replacement.BigInteger getX()
x.x.default DSAParams getParams()
getParams in interface AsymmetricKey
getParams in interface DSAKey
null.null
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/security/interfaces/DSAPrivateKey.html
serialVersionUIDfield in an interface is ineffectual.