-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Append signature after a specific node #137
base: master
Are you sure you want to change the base?
Conversation
This would be better off passing a reference node rather than a position. I would expect a developer to have access to the node it would be inserted before or after rather than knowing what position it lives within the subtree. |
Libera isso aiiii |
Please accept this pull request! |
Was this pull request accepted? |
nop :( |
@seorefbe Perhaps for your SAML2 use-case you can use https://github.com/simplesamlphp/saml2 |
I have a tricky SOAP xml that I have to sign just after a element. Any thoughts on how can I do this? |
@seorefbe Did you see my comment about passing in a reference node and not position? If you modify the code to pass in a reference node rather than position number I would add it in. |
@robrichards I've found a much better solution: so submit to your library only the node that needs the signature and it worked perfectly. Thanks! |
Hello,
To be compliant with urn:oasis:names:tc:SAML:2.0:protocol in a RequestedAuthnContext, the signature have to be append just after the Issuer node.
I need the possibility to define a position in function appendSignature.
Have a good day,
Sébastien