Added trust server signature validation
Improved signing and signature validation