santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Sondergaard ...@medical-insight.com>
Subject XMLSignature::getSignatureMethod() broken?
Date Mon, 03 Aug 2009 13:18:48 GMT
With a signed xml-document in 'doc', the following code fragment for 
getting the signature method worked in xml-security-c 1.3.0:

     XSECProvider prov;
     DSIGSignature *sig = prov.newSignatureFromDOM(doc);
     sig->load();
     signatureMethod meth= sig->getSignatureMethod();

Since the commit linked below DSIGSignature::getSignatureMethod() 
returns SIGNATURE_NONE.

 
http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGSignedInfo.cpp?r1=409902&r2=450747

Looks like a bug to me.

Regards,

Thomas Sondergaard


Mime
View raw message