use a key mngr to verify xml