Skip to content
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

Creating XML Signature #232

Open
davidovv opened this issue Nov 2, 2020 · 3 comments
Open

Creating XML Signature #232

davidovv opened this issue Nov 2, 2020 · 3 comments

Comments

@davidovv
Copy link

davidovv commented Nov 2, 2020

I have a wsdl that uses enveloped signature
The signature is inserted into element, but wsdl description already contains signature. So the class that is kreated with tool that converts wsdl to cpp allready contains signature. How can i have object without one element, and after put that element back.

First i need element without signature, canonicalize it and calculate hash value, insert hash value into signed info, canonicalize signed info and sign it, append signature value and certificate back into my element.
How can i achieve this in kdsoap?

@dfaure-kdab
Copy link
Member

I don't understand the request, which kinds of "signature" is this about? I don't see any feature in KDSoap which is about "signatures".

@davidovv
Copy link
Author

davidovv commented Jun 2, 2021

i am talking about this kind of signature, that involves certificates AND RSA https://en.wikipedia.org/wiki/XML_Signature

@dfaure-kdab
Copy link
Member

OK, thanks for the pointer. I think this is the same as #17 then (in summary "every KDSOAP type should have some serializeFromXml(const QString&) and QString deserializeToXml()"). If you had such methods, you could then perform the signing you mention, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants