Class Ed448KeyGenSpec
java.lang.Object
zeroecho.core.alg.ed448.Ed448KeyGenSpec
- All Implemented Interfaces:
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
ThedefaultSpec() instance is immutable and
safe to reuse across threads.- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the parameter-free Ed448 key-generation specification. -
Method Summary
Modifier and TypeMethodDescriptionstatic Ed448KeyGenSpecReturns the shared default specification instance for Ed448 key generation.
-
Constructor Details
-
Ed448KeyGenSpec
public Ed448KeyGenSpec()Creates the parameter-free Ed448 key-generation specification.
-
-
Method Details
-
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
Ed448KeyGenSpecinstance
-