Skip to main content

produce_bundle

Function produce_bundle 

Source
pub fn produce_bundle<S, Sig>(
    ca: &CaIdentity,
    snapshot: &StatusSnapshot,
    config: &GenerationConfig,
    signer: &mut S,
    seal_fn: impl FnOnce(&[u8]) -> Result<Vec<u8>>,
    responder_cert_der: Option<&[u8]>,
) -> Result<Vec<u8>>
where S: Signer<Sig> + DynSignatureAlgorithmIdentifier, Sig: SignatureBitStringEncoding,