PeculiarVentures / xml-core

xml-core is a set of classes that make it easier to work with XML within the browser and node.
MIT License
19 stars 11 forks source link

Missing cryptographic transform algorhitm #7

Open katsanva opened 6 years ago

katsanva commented 6 years ago

Hi. When trying to parse an example of signed XML with xadesjs I encountered next thing -

Error: XMLJS0015: Unknown transform http://www.w3.org/2002/06/xmldsig-filter2

which proceeds to the docs.

Is there any chance xml-core to support this?

rmhrisk commented 6 years ago

We would be interested in supporting xpath based transforms but the xpath support in JS is limited, we currently use xpath.js (I believe) if it has enough support to implement a meaningful subset we would take a PR for it.

Given complete support is not likely, a sample document that could be used as the basis for testing would minimally be needed for anyone to do this work.