Loading ItsSecurity_TestCases.ttcn +13 −6 Original line number Diff line number Diff line Loading @@ -7764,7 +7764,7 @@ module ItsSecurity_TestCases { } // End of testcase TC_SEC_ITSS_RCV_MSG_01_BO /** * @desc Check that ITS-S sends a Ieee1609Dot2Data containing protocol version greather than 3 * @desc Check that IUT discards a secured message containing protocol version set to a value greater than 3 * <pre> * Pics Selection: PICS_GN_SECURITY * Config Id: CF01 Loading Loading @@ -7825,12 +7825,12 @@ module ItsSecurity_TestCases { // Empty on purpose } if (i < lengthof(vc_utInds)) { log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success); log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error); } else { log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error); log("*** " & testcasename() & ": PASS: GN was not transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success); } // Postamble Loading Loading @@ -7981,6 +7981,7 @@ module ItsSecurity_TestCases { testcase TC_SEC_ITSS_RCV_CAM_02_BV() runs on ItsGeoNetworking system ItsSecSystem { // Local variables var EtsiTs103097Certificate v_aaCertificate, v_atCertificate; var integer i; var GeoNetworkingPdu v_securedGnPdu; var GnRawPayload v_sentRawPayload; Loading @@ -7998,10 +7999,16 @@ module ItsSecurity_TestCases { // Preamble f_prNeighbour(); // Load certificates if required if (f_prepareCertificates(cc_taCert_A, v_aaCertificate, v_atCertificate) == false) { f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_timeout); } else { f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); } v_securedGnPdu := f_sendSecuredCam( cc_taCert_A, valueof(m_headerInfo_cam(-, (f_getCurrentTime() * 1000)/*us*/)), valueof(m_signerIdentifier_digest), valueof(m_signerIdentifier_certificates(v_atCertificate)), f_getTsStationId() ); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); Loading Loading
ItsSecurity_TestCases.ttcn +13 −6 Original line number Diff line number Diff line Loading @@ -7764,7 +7764,7 @@ module ItsSecurity_TestCases { } // End of testcase TC_SEC_ITSS_RCV_MSG_01_BO /** * @desc Check that ITS-S sends a Ieee1609Dot2Data containing protocol version greather than 3 * @desc Check that IUT discards a secured message containing protocol version set to a value greater than 3 * <pre> * Pics Selection: PICS_GN_SECURITY * Config Id: CF01 Loading Loading @@ -7825,12 +7825,12 @@ module ItsSecurity_TestCases { // Empty on purpose } if (i < lengthof(vc_utInds)) { log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success); log("*** " & testcasename() & ": FAIL: GN was transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error); } else { log("*** " & testcasename() & ": FAIL: GN was not transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_error); log("*** " & testcasename() & ": PASS: GN was not transmitted to upper layer***"); f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success); } // Postamble Loading Loading @@ -7981,6 +7981,7 @@ module ItsSecurity_TestCases { testcase TC_SEC_ITSS_RCV_CAM_02_BV() runs on ItsGeoNetworking system ItsSecSystem { // Local variables var EtsiTs103097Certificate v_aaCertificate, v_atCertificate; var integer i; var GeoNetworkingPdu v_securedGnPdu; var GnRawPayload v_sentRawPayload; Loading @@ -7998,10 +7999,16 @@ module ItsSecurity_TestCases { // Preamble f_prNeighbour(); // Load certificates if required if (f_prepareCertificates(cc_taCert_A, v_aaCertificate, v_atCertificate) == false) { f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_timeout); } else { f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); } v_securedGnPdu := f_sendSecuredCam( cc_taCert_A, valueof(m_headerInfo_cam(-, (f_getCurrentTime() * 1000)/*us*/)), valueof(m_signerIdentifier_digest), valueof(m_signerIdentifier_certificates(v_atCertificate)), f_getTsStationId() ); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); Loading