Save signature validation info and fix memory leaks

Authored by chinmoyr on Jul 10 2018, 8:18 AM.