Question about checking signature in soap document

135 views
Skip to first unread message

corwin

unread,
Feb 22, 2017, 7:23:09 AM2/22/17
to wse-php
Hi,
i have question, im sending signed document to soap server (using private crt), signature is added before soap __doRequest by WSSESoap object by method signSoapDoc(), but how to check signature when i receive signed reply from server ?

Dont using encryption just signing document and want to verify if signature in response is valid (guess server uses his private key to sign his response, so i use public key of that server).

Thanx

Rob Richards

unread,
Feb 23, 2017, 8:22:51 AM2/23/17
to wse...@googlegroups.com
You could use the raw XML from the __getLastResponse() method and then use similar processing to verify the signature as is done in the WSSESoapServer class.

Rob
--
You received this message because you are subscribed to the Google Groups "wse-php" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wse-php+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


corwin

unread,
Feb 23, 2017, 8:27:18 AM2/23/17
to wse-php
hi,
thanx for reply, thats exactly what i done, but with not success, having troubles with XPath found right tags and also im probably manipulating with keys in bad way, so verifying is not included in your lib so im not blind.
Tha
Reply all
Reply to author
Forward
0 new messages