Commit a65dc85a authored by garciay's avatar garciay
Browse files

Prepare support of certificate signature check

parent a869f1ad
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -1663,12 +1663,12 @@ module LibItsGeoNetworking_Functions {
         * @return  FncRetCode
         * @return  FncRetCode
         */
         */
        function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode {
        function f_acEnableSecurity() runs on ItsGeoNetworking return FncRetCode {
            var template (value) ToBeSignedData v_toBeSignedData;
            var template (value) ToBeSignedSecuredMessage v_ToBeSignedSecuredMessage;
            
            
            // Build the beacon template
            // Build the beacon template
            v_toBeSignedData := f_buildSecuredMessagePayloadToBeSigned();
            v_ToBeSignedSecuredMessage := f_buildSecuredMessagePayloadToBeSigned();
            
            
            return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_toBeSignedData))) } );
            return f_acTriggerEvent(AcGnPrimitive:{ acEnableSecurity := m_enableSecurity(bit2oct(encvalue(v_ToBeSignedSecuredMessage))) } );
        }
        }
        
        
        /**
        /**