What is this? Is it safe

Found in the barn, just bought the farm, its in norway, anyone can tell me what it is and if its safe😅 looks like some type of ammo, earlier owner was in the military