Class HashSignatureSpi

Direct Known Subclasses:
HashSignatureSpi.MLDSA, HashSignatureSpi.MLDSA44, HashSignatureSpi.MLDSA65, HashSignatureSpi.MLDSA87, HashSignatureSpi.MLDSAExtHash

public class HashSignatureSpi extends BaseDeterministicOrRandomSignature
JCA Signature SPI for the pre-hash ("ExtHash") ML-DSA (FIPS 204) variants.

As with the plain SignatureSpi, a structurally malformed signature (wrong length, or a FIPS 204 Algorithm 8 hint-decode failure) and a well-formed-but-cryptographically-wrong signature both make engineVerify(byte[]) return false; only an invalid caller-supplied external-digest length throws SignatureException. See github #2367.