Skip to main content

RFC9421_DEFAULT_COMPONENTS

Constant RFC9421_DEFAULT_COMPONENTS 

Source
pub const RFC9421_DEFAULT_COMPONENTS: &[&str];
Expand description

Default component sequence emitted by Rfc9421Signer::new.

Mirrors the Cavage default in every respect except the body digest, which follows the modern RFC 9530 Content-Digest: form that RFC 9421 implementations expect (Mastodon 4.5+, Mitra, Takahē). Callers running in dual-stack deployments attach the legacy Digest: header for their Cavage signer and the modern Content-Digest: header for this one; both names can be emitted side by side, since receivers simply ignore headers they do not recognise.