Trusted Object Framework (TOF): A clustering reputation-based approach using edge computing for sharing resources among IoT smart objects