sign_mso

Function sign_mso 

Source
pub fn sign_mso(
    mso: &MobileSecurityObject,
    signer: &dyn Signer,
) -> Result<Vec<u8>>
Expand description

Sign an MSO with COSE_Sign1.

Serializes the MSO to CBOR, wraps it in a COSE_Sign1 envelope signed by the provided signer. Returns the COSE_Sign1 CBOR bytes.