Added Dao.getPrivateKey method.