You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Thomas Sondergaard <ts...@medical-insight.com> on 2009/08/03 15:18:48 UTC

XMLSignature::getSignatureMethod() broken?

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


RE: XMLSignature::getSignatureMethod() broken?

Posted by Scott Cantor <ca...@osu.edu>.
> Looks like a bug to me.

Bugs need to be reported to issues.apache.org/bugzilla.

Thanks,
-- Scott



Re: XMLSignature::getSignatureMethod() broken?

Posted by Thomas Sondergaard <ts...@medical-insight.com>.
Scott Cantor wrote:
>> Looks like a bug to me.
> 
> Bugs need to be reported to issues.apache.org/bugzilla.
> 
> Thanks,
> -- Scott
> 

Fine, I'll report it.

Thomas