pub unsafe extern "C" fn cose_signature_serialize_protected(
    sig: *const cose_signature_t,
    encode: bool,
    buf: *mut u8,
    buflen: size_t
) -> size_t
Expand description

@brief Serialize the protected headers of a signature struct

@param sig Encoder signature struct @param encode @param buf Buffer to encode into @param buflen length of the buffer