开发者

php wso2 ws-security sign only messages without encryption

I need to send a structure via soap which is time marked and cert signed but the body is not encrypted (ws-security mechanism). How to achieve such result - how to create a message signed with cert but not ecnrypted. Also I have to add that currently I have cert.p12 from my provider which as far as I know have开发者_开发百科 two keys public and private inside.

Any ideas?


Check the following sample folder at https://svn.wso2.org/repos/wso2/trunk/wsf/php/samples/security/signing for an example on how to implement signing with WSF/PHP.


I'm not sure, but a SOAP request itself can not be encrypted. You only can encrypt ans sign the connection to the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜