Csaba,

An Envelope transform has to operate on the document the signature is contained in, so it throws an exception if it finds that the input is not a node set of some kind.

Can you post a copy of the XML signature you are trying to validate?

Cheers,
        Berin


Csaba Vegso wrote:


Dear all,
I am trying to validate an enveloped XML signature by using XML Security v1.0. The verifyOnlySigniture() returns with true, but when I want to validate the signature
over the whole document with the verify() method a TransformInputOutputFail <http://xml.apache.org/security/c/apiDocs/classXSECException.html#w43w6> type of XSECException exception is catched (desc.: "XPath requires DOM_NODES
input type"). As I am checking the downloaded source code, I see that the only one position where such type of exception is thrown is the TXFMEnvelope::setInput() method.
I would be very grateful, if somebody could save me some time required by further debugging.
I am using Xerces 2.4.0, Xalan 1.7.0 and openssl-0.9.7. I doubt it is matter, but the signiture was created by choosing RSA on Win2000.
Thanks in advance,
------------------------------------------------------------------------


*Csaba Vegso*

Electrical Engineer



Phone: +36 1 476 8437

Mobile: +36 30 242 0862

Geomant Call Center Solutions








Reply via email to