pub fn build_detached_signature(
payload_hash: Vec<u8>,
signer_algorithm: impl Into<String>,
signature: Vec<u8>,
cert_chain_der: Vec<Vec<u8>>,
) -> Result<SignedData, CmsError>Expand description
Convenience: build a minimal detached CMS signature with one signer.