Loading ttcn/Security/LibItsSecurity_Pixits.ttcn3 +8 −0 Original line number Original line Diff line number Diff line Loading @@ -7,6 +7,9 @@ */ */ module LibItsSecurity_Pixits { module LibItsSecurity_Pixits { // LibItsSecurity import from LibItsSecurity_TypesAndValues all; /** /** * @desc Root path to access certificate stored in files, identified by certficate ID * @desc Root path to access certificate stored in files, identified by certficate ID */ */ Loading @@ -23,4 +26,9 @@ module LibItsSecurity_Pixits { */ */ modulepar charstring PX_DEFAULT_IUT_HASHEDID8 := "CERT_IUT_A"; modulepar charstring PX_DEFAULT_IUT_HASHEDID8 := "CERT_IUT_A"; /** * @desc ITS-AID value for other profile. Default: 38 */ modulepar IntX PX_OTHER_ITS_AID := 38; } // End of module LibItsSecurity_Pixits } // End of module LibItsSecurity_Pixits No newline at end of file ttcn/Security/LibItsSecurity_Templates.ttcn3 +31 −5 Original line number Original line Diff line number Diff line Loading @@ -15,6 +15,7 @@ module LibItsSecurity_Templates { // LibItsSecurity // LibItsSecurity import from LibItsSecurity_TypesAndValues all; import from LibItsSecurity_TypesAndValues all; import from LibItsSecurity_Pixits all; /** /** * @desc Constants declaration * @desc Constants declaration Loading Loading @@ -45,6 +46,12 @@ module LibItsSecurity_Templates { */ */ const IntX c_its_aid_DENM := 37; const IntX c_its_aid_DENM := 37; /** * @desc Its AID for Other * @see Draft ETSI TS 103 097 V1.1.14 Clause 7.3 Security profile for DENMs */ const IntX c_its_aid_Other := PX_OTHER_ITS_AID; /** /** * @desc Minimal value of Longitude * @desc Minimal value of Longitude */ */ Loading Loading @@ -961,10 +968,7 @@ module LibItsSecurity_Templates { ) := { ) := { protocol_version := c_protocol_version, protocol_version := c_protocol_version, header_fields := superset( header_fields := superset( complement( mw_header_field_its_aid_Other, mw_header_field_its_aid_CAM, mw_header_field_its_aid_DENM ), p_header p_header ), ), payload_field := p_payload, payload_field := p_payload, Loading Loading @@ -1187,6 +1191,17 @@ module LibItsSecurity_Templates { } } } // End of template m_header_field_its_aid_DENM } // End of template m_header_field_its_aid_DENM /** * @desc Send template for HeaderField with CAM ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ template (value) HeaderField m_header_field_its_aid_Other := { type_ := e_its_aid, headerField := { its_aid := c_its_aid_Other } } // End of template m_header_field_its_aid_Other /** /** * @desc Send template for HeaderField with signer information * @desc Send template for HeaderField with signer information * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField Loading Loading @@ -1443,7 +1458,7 @@ module LibItsSecurity_Templates { } // End of template mw_header_field_its_aid_CAM } // End of template mw_header_field_its_aid_CAM /** /** * @desc Receive template for HeaderField with CAM ItsAid identifier * @desc Receive template for HeaderField with DENM ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ */ template (value) HeaderField mw_header_field_its_aid_DENM := { template (value) HeaderField mw_header_field_its_aid_DENM := { Loading @@ -1453,6 +1468,17 @@ module LibItsSecurity_Templates { } } } // End of template mw_header_field_its_aid_DENM } // End of template mw_header_field_its_aid_DENM /** * @desc Receive template for HeaderField with Other ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ template (value) HeaderField mw_header_field_its_aid_Other := { type_ := e_its_aid, headerField := { its_aid := c_its_aid_Other } } // End of template mw_header_field_its_aid_Other } // End of group headerFieldsRecv } // End of group headerFieldsRecv } // End of group headerFields } // End of group headerFields Loading Loading
ttcn/Security/LibItsSecurity_Pixits.ttcn3 +8 −0 Original line number Original line Diff line number Diff line Loading @@ -7,6 +7,9 @@ */ */ module LibItsSecurity_Pixits { module LibItsSecurity_Pixits { // LibItsSecurity import from LibItsSecurity_TypesAndValues all; /** /** * @desc Root path to access certificate stored in files, identified by certficate ID * @desc Root path to access certificate stored in files, identified by certficate ID */ */ Loading @@ -23,4 +26,9 @@ module LibItsSecurity_Pixits { */ */ modulepar charstring PX_DEFAULT_IUT_HASHEDID8 := "CERT_IUT_A"; modulepar charstring PX_DEFAULT_IUT_HASHEDID8 := "CERT_IUT_A"; /** * @desc ITS-AID value for other profile. Default: 38 */ modulepar IntX PX_OTHER_ITS_AID := 38; } // End of module LibItsSecurity_Pixits } // End of module LibItsSecurity_Pixits No newline at end of file
ttcn/Security/LibItsSecurity_Templates.ttcn3 +31 −5 Original line number Original line Diff line number Diff line Loading @@ -15,6 +15,7 @@ module LibItsSecurity_Templates { // LibItsSecurity // LibItsSecurity import from LibItsSecurity_TypesAndValues all; import from LibItsSecurity_TypesAndValues all; import from LibItsSecurity_Pixits all; /** /** * @desc Constants declaration * @desc Constants declaration Loading Loading @@ -45,6 +46,12 @@ module LibItsSecurity_Templates { */ */ const IntX c_its_aid_DENM := 37; const IntX c_its_aid_DENM := 37; /** * @desc Its AID for Other * @see Draft ETSI TS 103 097 V1.1.14 Clause 7.3 Security profile for DENMs */ const IntX c_its_aid_Other := PX_OTHER_ITS_AID; /** /** * @desc Minimal value of Longitude * @desc Minimal value of Longitude */ */ Loading Loading @@ -961,10 +968,7 @@ module LibItsSecurity_Templates { ) := { ) := { protocol_version := c_protocol_version, protocol_version := c_protocol_version, header_fields := superset( header_fields := superset( complement( mw_header_field_its_aid_Other, mw_header_field_its_aid_CAM, mw_header_field_its_aid_DENM ), p_header p_header ), ), payload_field := p_payload, payload_field := p_payload, Loading Loading @@ -1187,6 +1191,17 @@ module LibItsSecurity_Templates { } } } // End of template m_header_field_its_aid_DENM } // End of template m_header_field_its_aid_DENM /** * @desc Send template for HeaderField with CAM ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ template (value) HeaderField m_header_field_its_aid_Other := { type_ := e_its_aid, headerField := { its_aid := c_its_aid_Other } } // End of template m_header_field_its_aid_Other /** /** * @desc Send template for HeaderField with signer information * @desc Send template for HeaderField with signer information * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField Loading Loading @@ -1443,7 +1458,7 @@ module LibItsSecurity_Templates { } // End of template mw_header_field_its_aid_CAM } // End of template mw_header_field_its_aid_CAM /** /** * @desc Receive template for HeaderField with CAM ItsAid identifier * @desc Receive template for HeaderField with DENM ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ */ template (value) HeaderField mw_header_field_its_aid_DENM := { template (value) HeaderField mw_header_field_its_aid_DENM := { Loading @@ -1453,6 +1468,17 @@ module LibItsSecurity_Templates { } } } // End of template mw_header_field_its_aid_DENM } // End of template mw_header_field_its_aid_DENM /** * @desc Receive template for HeaderField with Other ItsAid identifier * @see Draft ETSI TS 103 097 V1.1.14 Clause 5.4 HeaderField */ template (value) HeaderField mw_header_field_its_aid_Other := { type_ := e_its_aid, headerField := { its_aid := c_its_aid_Other } } // End of template mw_header_field_its_aid_Other } // End of group headerFieldsRecv } // End of group headerFieldsRecv } // End of group headerFields } // End of group headerFields Loading