pub fn sidecar_for_export(
sidecar: &SidecarV1,
privacy: ExportPrivacy,
) -> SidecarV1Expand description
The copy of sidecar that may cross a trust boundary under privacy.
When anything is stripped the copy is returned unsigned: the library signature covered
the removed fields, so it no longer verifies. When nothing is stripped the copy keeps its
signature. Under the Default choice the device and session ids are always stripped, so
a strict copy is always unsigned.