Skip to main content

load_seal_materials

Function load_seal_materials 

Source
pub fn load_seal_materials(
    ca_config: &CaConfig,
) -> Result<(SealKey, Vec<u8>), String>
Expand description

Load the seal key and certificate for CMS bundle sealing.

F07: delegates the seal-material policy — complete persistent pair, half-pair error, demo-only distinct ephemeral fallback, and the F08 CMS pair preflight — to the shared load_or_generate_seal_material helper (the same decision the one-shot CLI sign path uses), prefixing this CA’s label. Implicit OCSP-signing-key reuse and non-demo ephemeral fallback are removed. The OCSP/seal key-separation proof runs in the loaded-signer branches that consume this material.