Module java.base

Class EdDSAParameterSpec

java.lang.Object
java.security.spec.EdDSAParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class EdDSAParameterSpec extends Object implements AlgorithmParameterSpec
A class used to specify EdDSA signature and verification parameters. All algorithm modes in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA) can be specified using combinations of the settings in this class.
  • If prehash is true, then the mode is Ed25519ph or Ed448ph
  • Otherwise, if a context is present, the mode is Ed25519ctx or Ed448
  • Otherwise, the mode is Ed25519 or Ed448
Since:
15