KDSoap
KDSoap copied to clipboard
Creating XML Signature
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?
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".
i am talking about this kind of signature, that involves certificates AND RSA https://en.wikipedia.org/wiki/XML_Signature
OK, thanks for the pointer. I think this is the same as https://github.com/KDAB/KDSoap/issues/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?