robrichards / xmlseclibs

A PHP library for XML Security
BSD 3-Clause "New" or "Revised" License
386 stars 180 forks source link

Missing some docs on simply parsing and visualizing an XMLDSig #250

Open dietergeerts opened 1 year ago

dietergeerts commented 1 year ago

Hi, we are working with a 3rd party provider to sign documents, and we eventually get a Base64 encoded XMLDSig as a result, which we then store in our database. We now have the need to just display this signature, and from the docs in this package, I can't seem to figure out how to just do this. I'm fairly new to these signatures and such libraries, so I might be missing or overlooking something. With displaying, I don't mean just the XML structure as-is as text, but the need to extract the values and nicely display them with the help of a blade template. So I guess we actually need some class/object from the parsing to help us navigate the content of the signature. I would really appreciate some pointers on how to achieve this.