Class Ed448KeyGenSpec

java.lang.Object
zeroecho.core.alg.ed448.Ed448KeyGenSpec
All Implemented Interfaces:
AlgorithmKeySpec

public final class Ed448KeyGenSpec extends Object implements AlgorithmKeySpec

Ed448 Key Generation Specification

Marker specification for generating Ed448 key pairs.

Unlike parameterized algorithms (e.g., RSA with modulus size), Ed448 has fixed domain parameters defined in RFC 8032. As a result, this spec carries no configuration fields - it serves only as a typed handle linking Ed448KeyGenBuilder with the surrounding framework.

Usage

// Generate a new Ed448 key pair using the default spec
KeyPair kp = new Ed448KeyGenBuilder().generateKeyPair(Ed448KeyGenSpec.defaultSpec());

Thread-safety

The defaultSpec() instance is immutable and safe to reuse across threads.
Since:
1.0
  • Constructor Details

    • Ed448KeyGenSpec

      public Ed448KeyGenSpec()
      Creates the parameter-free Ed448 key-generation specification.
  • Method Details

    • defaultSpec

      public static Ed448KeyGenSpec defaultSpec()
      Returns the shared default specification instance for Ed448 key generation.

      Since Ed448 has no configurable generation parameters, all key generation uses this singleton. This avoids unnecessary object allocation and clarifies intent.

      Returns:
      the singleton Ed448KeyGenSpec instance