pub fn validate_seal_materials(
key: &SealKey,
cert_der: &[u8],
now: u64,
) -> Result<()>Expand description
Prove the seal key/certificate pair before publication.
Creates a real CMS seal over the domain-separated preflight payload and
verifies it with ahu::verify_seal_with_pins using the configured
certificate as an exact pin at now. This exercises the actual signing
algorithm, the key/certificate binding, validity, and the supported
certificate profile.