Implemented extraction of certificates as XML