Class MldsaSignatureContext

java.lang.Object
zeroecho.core.alg.mldsa.MldsaSignatureContext
All Implemented Interfaces:
Closeable, AutoCloseable, CryptoContext, SignatureContext, TagEngine<Signature>

public final class MldsaSignatureContext extends Object implements SignatureContext
Streaming signature context for ML-DSA (FIPS 204).

MldsaSignatureContext adapts a JCA Signature engine for use within the ZeroEcho streaming signature infrastructure. It supports both signing and verification and delegates the low-level mechanics to GenericJcaSignatureContext.

Provider and algorithm

  • JCA algorithm: "ML-DSA".
  • Provider: "BC" (Bouncy Castle core provider).

Streaming contract

  • SIGN: the wrapped stream emits the message body and appends a detached signature trailer at EOF.
  • VERIFY: the wrapped stream emits the body only; verification is performed at EOF against a caller-supplied expected tag.
Since:
1.0