Top Description Fields Methods
java.security.interfaces

public Interface DSAPublicKey

extends DSAKey, PublicKey
Known Direct Implementers
sun.security.provider.DSAPublicKey
Imports
java.math.BigInteger

The interface to a DSA public key. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.
Author
Benjamin Renaud
Since
1.1
See Also
java.security.Key, java.security.Signature, DSAKey, DSAPrivateKey

Field Summary

Modifier and TypeField and Description
public static final long
serialVersionUID

Hides java.security.PublicKey.serialVersionUID.

Deprecated A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

Method Summary

Modifier and TypeMethod and Description
public default DSAParams

Returns:

the associated parameters, may be null
getParams
()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.DSAKey.getParams.

Returns the parameters associated with this key.

public BigInteger

Returns:

the value of the public key, y.
getY
()

Returns the value of the public key, y.

Field Detail

serialVersionUIDback to summary
public static final long serialVersionUID

Hides java.security.PublicKey.serialVersionUID.

Deprecated

A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.

The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

Annotations
@Deprecated
@SuppressWarnings:serial
@Serial

Method Detail

getParamsback to summary
public default DSAParams getParams()

Overrides default java.security.AsymmetricKey.getParams.

Implements java.security.interfaces.DSAKey.getParams.

Doc from java.security.AsymmetricKey.getParams.

Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.

Implementation Specification

The default implementation returns null.

Returns:DSAParams

the associated parameters, may be null

Annotations
@Override
getYback to summary
public BigInteger getY()

Returns the value of the public key, y.

Returns:BigInteger

the value of the public key, y.