Expand description
DENM Service Specific Permissions (ETSI TS 103 831 V2.3.1 (2025-11), clause 6.2.2.2).
The SSP of a DENM Authorization Ticket is a BitmapSsp: octet 0 is the SSP version, octets 1 to 4 hold one bit per cause code (Table 10). A DENM is consistent with the SSP when the bit of its cause code is set.
Mirrors flexstack/facilities/decentralized_environmental_notification_service/denm_ssp.py.
Functionsยง
- cause_
code_ of_ choice - Cause code value of a CauseCodeChoice, from the alternative name, which
ends with the value (e.g.
accident2-> 2), as in the Python stack. - cause_
code_ ssp_ bit - Octet index and bit mask of a cause code value (Table 10).
- cause_
code_ value - Cause code value of a DENM;
Nonefor a DENM without situation container. - permissions_
bitmap - SSP bits a DENM needs (Table 10), as the
permissionsof the signing request: the sign service only signs with an AT whose SSP grants them. Octet 0 (SSP version) is not requested. A DENM without cause code (a termination) or with a cause code without Table 10 bit requests none. - ssp_
consistent - SSP check of the receiving ITS-S (clause 8.4.2): true when no SSP is available, when the DENM has no cause code (termination DENM), or when the SSP permits the cause code.
- ssp_
permits_ cause_ code - True when the DENM SSP allows signing DENMs with
cause_code. A cause code without a Table 10 bit, or whose octet lies beyond the SSP length, is not permitted.