Commit ae6dba68 authored by berge's avatar berge
Browse files

Modified f_buildGnSecured*()

Added TC_SEC_ITSS_REC_CAM_09_03_EB
parent 76314a8b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2569,7 +2569,9 @@ module LibItsGeoNetworking_Functions {
            
            f_buildGnSecuredCam(
                v_securedMessage,
                bit2oct(encvalue(v_gnNonSecuredPacket)),
                {
                    m_payload_signed(bit2oct(encvalue(v_gnNonSecuredPacket)))
                },
                e_certificate,
                { 
                    m_header_field_unrecognised_certificate(
+238 −297

File changed.

Preview size limit exceeded, changes collapsed.

+17 −13
Original line number Diff line number Diff line
@@ -820,15 +820,16 @@ module LibItsSecurity_Templates {
        group messagesSend {
            
            /**
             * @desc Generic send template for Security profile for CAMs with several payloads
             * @desc Generic send template for secured message
             */
            template (value) SecuredMessage m_secureMessage(
                 in template (value) HeaderFields p_header_fields,
                 in template (omit) SecPayloads p_payload_fields,
                 in template (value) TrailerFields p_trailer_fields
                 in template (value) TrailerFields p_trailer_fields,
                 in UInt8 p_securityProfile := 0
            ) := {
                protocol_version    := c_protocol_version,
                security_profile    := 0,
                security_profile    := p_securityProfile,
                header_fields       := p_header_fields,
                payload_fields      := p_payload_fields,
                trailer_fields      := p_trailer_fields
@@ -2095,7 +2096,8 @@ module LibItsSecurity_Templates {
                template (value) SecuredMessage md_secureMessage_profileCam(
                    in template (value) HeaderFields p_header_fields,
                    in template (omit) SecPayloads p_payload_fields,
                                                                            in template (value) TrailerFields p_trailer_fields
                    in template (value) TrailerFields p_trailer_fields,
                    in UInt8 p_securityProfile := 0                                                                            
                ) modifies m_secureMessage := {
                    security_profile    := c_security_profileCAMs,
                    header_fields       := p_header_fields,
@@ -2151,7 +2153,8 @@ module LibItsSecurity_Templates {
                template (value) SecuredMessage md_secureMessage_profileDenm(
                    in template (value) HeaderFields p_header_fields,
                    in template (omit) SecPayloads p_payload_fields,
                                                                             in template (value) TrailerFields p_trailer_fields
                    in template (value) TrailerFields p_trailer_fields,
                    in UInt8 p_securityProfile := 0
                ) modifies m_secureMessage := {
                    security_profile    := c_security_profileDENMs,
                    header_fields       := p_header_fields,
@@ -2194,7 +2197,8 @@ module LibItsSecurity_Templates {
                template (value) SecuredMessage md_securedMessage_profileOther(
                    in template (value) HeaderFields p_header_fields,
                    in template (omit) SecPayloads p_payload_fields,
                                                                               in template (value) TrailerFields p_trailer_fields
                    in template (value) TrailerFields p_trailer_fields,
                    in UInt8 p_securityProfile := 0
                ) modifies m_secureMessage := {
                    security_profile    := c_security_profileOthers,
                    header_fields       := p_header_fields,