Class Ed448PrivateKeyBuilder

All Implemented Interfaces:
PrivateKeyImporter<Ed448PrivateKeySpec>

public final class Ed448PrivateKeyBuilder extends AbstractEncodedPrivateKeyBuilder<Ed448PrivateKeySpec>

Ed448 Private Key Builder

Concrete builder for importing Ed448 private keys from their PKCS#8-encoded representation.

This class extends AbstractEncodedPrivateKeyBuilder and specifies the Ed448 algorithm. It reconstructs PrivateKey instances from Ed448PrivateKeySpec, which carries the raw encoded form.

Responsibilities

  • Provide the canonical JCA key factory algorithm name ("Ed448").
  • Extract the PKCS#8-encoded key bytes from Ed448PrivateKeySpec.
  • Delegate actual key reconstruction to KeyFactory.

Usage

// Import an Ed448 private key from encoded bytes
Ed448PrivateKeySpec spec = new Ed448PrivateKeySpec(encodedPkcs8Bytes);
PrivateKey key = new Ed448PrivateKeyBuilder().importPrivate(spec);

Thread-safety

Stateless and safe for concurrent use. Each call to PrivateKeyImporter.importPrivate(AlgorithmKeySpec) creates a new KeyFactory.
Since:
1.0