Commit ae6dba68 authored by berge's avatar berge
Browse files

Modified f_buildGnSecured*()

Added TC_SEC_ITSS_REC_CAM_09_03_EB
parent 76314a8b
......@@ -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(
......
......@@ -820,20 +820,21 @@ 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
} // End of template m_secureMessage
} // End of group messagesSend
/**
......@@ -2093,9 +2094,10 @@ module LibItsSecurity_Templates {
* @desc Generic send template for Security profile for CAMs with several payloads
*/
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) HeaderFields p_header_fields,
in template (omit) SecPayloads p_payload_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,
......@@ -2149,9 +2151,10 @@ module LibItsSecurity_Templates {
* @desc Generic send template for Security profile for CAMs with several payloads
*/
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) HeaderFields p_header_fields,
in template (omit) SecPayloads p_payload_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,
......@@ -2192,9 +2195,10 @@ module LibItsSecurity_Templates {
group otherSecurityProfilesSend {
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) HeaderFields p_header_fields,
in template (omit) SecPayloads p_payload_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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment