security: In key-chain.cpp, added a static utility function verifySha256WithRsaSignature.