[TIMOB-16520] Added better validation around iOS keychains.