Skip to main content

Module cam_ssp

Module cam_ssp 

Source
Expand description

CAM Service Specific Permissions (ETSI TS 103 900 V2.3.1 (2026-05), clause 6.2.2.2).

The SSP of a CAM Authorization Ticket is a BitmapSsp: octet 0 is the SSP version, octets 1 and 2 hold one bit per protected CAM content (Table 3). A CAM is consistent with the SSP when every protected content it carries has its bit set.

Mirrors flexstack/facilities/ca_basic_service/cam_ssp.py.

Structs§

Permission
One SSP permission: octet, bit mask and minimum SSP version.

Constants§

STATION_TYPE_ROAD_SIDE_UNIT
Station type roadSideUnit (ETSI TS 102 894-2).
TWO_WHEELER_MIN_SSP_VERSION
Table 3: the two-wheeler bits require an SSP version greater than 2.

Functions§

permissions_bitmap
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.
required_permissions
SSP bits needed by the protected content of a CAM (Table 3). With a coder, the TwoWheelerContainer is decoded for the twoWheeler-cyclist bit.
role_special_container
Name of the special vehicle container of a vehicle role (clause 7.6), as in the ASN.1 CHOICE; None for roles without a container.
special_container_name
ASN.1 alternative name of a special vehicle container.
ssp_consistent
SSP check of a received CAM (clause 6.2.2.1): true when no SSP is available or when every protected content of the CAM is permitted.
ssp_permits
True when the SSP sets the bit. Bits defined for a later SSP version than the SSP’s own are not evaluated (they cannot be expressed).