complete validatePrivateKey method