pub fn permissions_bitmap(cam: &Cam, coder: Option<&CamCoder>) -> Vec<u8> ⓘExpand description
SSP bits a CAM needs (Table 3), as the permissions of the signing
request: the sign service only signs with an AT whose SSP grants them
(clause 6.2.2.1, TP/CAM/MSD/SSP/BO-02-X). Octet 0 (SSP version) is not
requested. The two-wheeler bits are requested whatever the SSP version of
the AT, so a CAM with a TwoWheelerContainer is only sent when the AT
grants them. With a coder, the twoWheeler-cyclist bit is derived too.