moov-io / signedxml

pure go library for processing signed XML documents
MIT License
52 stars 44 forks source link

Add support for corrected C14N10 REC canonicalization algorithm #31

Closed rowland66 closed 1 year ago

rowland66 commented 1 year ago

Added ProcessElement() and ProcessDocument() methods to CanonicalizationAlgorithm interface. The ProcessElement() method supports passing an element within a larger xml document to the canonicalization algorithm. Some canonicalization algorithms require information from outside the element being canonicalized in order to perform correct canonicalization. The ProcessDocument() method reduces the need for some xml string conversion.

adamdecaf commented 1 year ago

cc @ma314smith