The problem you have is with XML Digital Signatures

You should use the http://www.w3.org/TR/xmldsig-core/#sec-XSLT transformation which returns a byte stream rather than http://www.w3.org/TR/xmldsig-core/#sec-XPath which returns an xpath node-set.

-Anli

On 9/6/2011 5:13 PM, Paul wrote:
Eric,

As an example:

Let's say you have a name, address, and phone number in an xml doc. The
requirement is to extract the data so we would have something like:

BobJones200DriveDallasTX9725557788

and then:

1. calc the digest value of the concatenated string using SHA-1 hash
2. calc signature using RSASSA-PKCS1-v1_5 w/ private key

Is that possible using the xmlsec library?

thanks,
Paul.



Reply via email to