Expand description
Bridge between ml-dsa (signature v3) and x509-ocsp (signature v2).
produce_bundle requires Signer<Sig> + DynSignatureAlgorithmIdentifier
from signature v2 / spki v0.7. The ml-dsa crate implements signature v3.
This module wraps the v3 types to satisfy v2 trait bounds.
Structs§
- MlDsa
Signature Bytes - Wrapper around raw signature bytes implementing v2
SignatureBitStringEncoding. - MlDsa
Signer - Wrapper around ml-dsa
SigningKeyimplementing signature v2 traits.
Enums§
- MlDsa
Signer Variant - Signer variant that dispatches to the correct ML-DSA parameter set.
Returned by
load_ml_dsa_signer_from_pkcs8_derwhen the parameter set is auto-detected from the PKCS#8 AlgorithmIdentifier OID.
Constants§
Functions§
- load_
ml_ dsa_ signer_ from_ pkcs8_ der - Load an ML-DSA signer from PKCS#8 DER bytes, auto-detecting the parameter set from the AlgorithmIdentifier OID (RFC 9881).
- ml_
dsa_ 44_ signer - ml_
dsa_ 65_ signer - ml_
dsa_ 87_ signer - ml_
dsa_ signature_ size