Giter Site home page Giter Site logo

Comments (13)

rodrigoferra avatar rodrigoferra commented on June 28, 2024 7

To remove the prefix you can pass a new prefix as parameter to class.
$objDSig = new XMLSecurityDSig('');

from xmlseclibs.

akshaykmr286 avatar akshaykmr286 commented on June 28, 2024 2

Wdf..
Not helpfull..Y do u suggest nonsense..

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I've also added the node <RSAKeyValue>

Original comment by atiruz on 20 Sep 2012 at 9:47

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Issue 12 has been merged into this issue.

Original comment by [email protected] on 19 Jun 2013 at 7:58

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Hello,

This patch doesn't seem to be functionnal.

Neither the internal method (verify) nor external one validate the signature 
generated without prefix 'ns', the signature seems to be broken.

Which is the right way to generate XML-DSig without any prefix ?

Cédric

Original comment by [email protected] on 12 Aug 2013 at 12:30

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
I need to go through the entire code base as adding the support will require 
changes in numerous places as I need to make sure that it doesn't break BC

Original comment by [email protected] on 12 Aug 2013 at 1:30

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
This is in attached file the effective patch that seems to validate both sides 
(works fine for us in production environnement).

Best regards,

Cédric

Original comment by [email protected] on 12 Aug 2013 at 1:46

  • Added labels: ****
  • Removed labels: ****

Attachments:

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Thank you, Cédric!
It was wery helpfull for me. =)

Original comment by [email protected] on 16 Sep 2013 at 3:56

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
Thank you Cedric!

Original comment by [email protected] on 6 Feb 2015 at 7:33

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 28, 2024
how to add <RSAKeyValue> node???

Original comment by [email protected] on 25 Mar 2015 at 9:00

  • Added labels: ****
  • Removed labels: ****

from xmlseclibs.

robrichards avatar robrichards commented on June 28, 2024

The constructor for the XMLSecurityDSig now takes an optional argument for defining the prefix, if any, to be used. When not passed it uses default behavior. When set to an empty string or null, it won't use a prefix, otherwise it will use the prefix passed in. See the xml-sign-prefix.phpt test for an example

from xmlseclibs.

langaro avatar langaro commented on June 28, 2024

@rodrigoferra Thank you!

from xmlseclibs.

falinhares avatar falinhares commented on June 28, 2024

Thanks @rodrigoferra for the tip. Solved my problem here!

from xmlseclibs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.