EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Transform Algorithm

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 11/13/2015 12:01:35
by Filippo Menditto (Standard support level)
Joined: 11/13/2015
Posts: 5

I' testing SecureBlackBox do sign xml document.
I'm not be able to generate the follow:


-<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">

<XPath Filter="subtract" xmlns="http://www.w3.org/2002/06/xmldsig-filter2">/descendant::ds:Signature</XPath>



How can ido this ?
thanks Filippo
Posted: 11/13/2015 12:24:49
by Dmytro Bogatskyy (EldoS Corp.)

Thank you for contacting us.

-<ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">

You need to use XPath Filter 2.0 transform. In other words, you would need to create an instance of TElXMLXPathFilter2Transform class and add it to the transform chain of the reference. And also add XPath filter items (TElXMLXPathFilterItem class) to this transform and specify NamespaceURI, XPath expression and Filter properties.



Topic viewed 1064 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!