Move signature verification functions to CPubKey.