XMLSignature::getSignatureMethod() broken?

View: New views
3 Messages — Rating Filter:   Alert me  

XMLSignature::getSignatureMethod() broken?

by Thomas Sondergaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

by Scott Cantor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Looks like a bug to me.

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

Thanks,
-- Scott



Parent Message unknown Re: XMLSignature::getSignatureMethod() broken?

by Thomas Sondergaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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