Class Ed448PublicKeyBuilder

All Implemented Interfaces:
AsymmetricKeyBuilder<Ed448PublicKeySpec>

public final class Ed448PublicKeyBuilder extends AbstractEncodedPublicKeyBuilder<Ed448PublicKeySpec>

Ed448 Public Key Builder

Concrete builder for importing Ed448 public keys from their X.509-encoded representation.

This class extends AbstractEncodedPublicKeyBuilder and specifies the Ed448 algorithm. It reconstructs PublicKey instances from Ed448PublicKeySpec, which carries the raw encoded form.

Responsibilities

  • Provide the canonical JCA key factory algorithm name ("Ed448").
  • Extract the X.509-encoded key bytes from Ed448PublicKeySpec.
  • Delegate actual key reconstruction to KeyFactory.

Usage


 // Import an Ed448 public key from encoded bytes
 Ed448PublicKeySpec spec = new Ed448PublicKeySpec(x509Bytes);
 PublicKey key = new Ed448PublicKeyBuilder().importPublic(spec);
 

Thread-safety

Stateless and safe for concurrent use. Each call to importPublic(Ed448PublicKeySpec) creates a new KeyFactory.
Since:
1.0