Commit 6e1afa29 authored by filatov's avatar filatov
Browse files

f_adaptPayloadForUtInd_m: fix omited payload

Add BO certificate names
parent 94a7abca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2325,8 +2325,12 @@ module LibItsGeoNetworking_Templates {
            
            if(PX_BTP_IN_UT_IND == false) {
            	if(PX_GN_UPPER_LAYER == e_btpA or PX_GN_UPPER_LAYER == e_btpB) {
            		if( ispresent(p_gnPayload.decodedPayload) ){
				        return bit2oct(encvalue(p_gnPayload.decodedPayload.btpPacket.payload));
            		}
            		
            		return p_gnPayload.rawPayload;
            	}
            }
            
			return bit2oct(encvalue(p_gnPayload));
+4 −0
Original line number Diff line number Diff line
@@ -45,6 +45,10 @@ module LibItsSecurity_TestSystem {
            const charstring cc_taCert_EC := "CERT_TS_A_EC"; /** Certificate with a subject type indicating 'enrolment_credentials', to be used when secured messages are sent from TA to IUT */
            const charstring cc_taCert_AA := "CERT_TS_A_AA"; /** Certificate with a subject type indicating 'authorisation_authority', to be used when secured messages are sent from TA to IUT */
            // Test Adapter certificates & private keys - Inoportune behavior
            const charstring cc_taCert_B_BO  := "CERT_TS_B_BO_AT"; /** Certificate with a circular region, the IUT position is outside of the region */
            const charstring cc_taCert_C_BO  := "CERT_TS_C_BO_AT"; /** Certificate with a rectangular region, the IUT position is outside of the region */
            const charstring cc_taCert_D_BO  := "CERT_TS_D_BO_AT"; /** Certificate with a polygonal region, the IUT position is outside of the region */
            const charstring cc_taCert_E_BO  := "CERT_TS_E_BO_AT"; /** Certificate with a region identifier, the IUT position is outside of the region */
            const charstring cc_taCert0101BO := "CERT_TS_01_01_BO_AT"; /**  */
            const charstring cc_taCert0102BO := "CERT_TS_01_02_BO_AT"; /**  */
            const charstring cc_taCert0103BO := "CERT_TS_01_03_BO_AT"; /**  */