简体   繁体   English

php wso2 ws-security仅签名不加密的消息

[英]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). 我需要通过肥皂发送带有时间标记和证书签名的结构,但是主体未加密(ws-安全机制)。 How to achieve such result - how to create a message signed with cert but not ecnrypted. 如何获得这样的结果-如何创建使用cert签名但未加密的消息。 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. 另外,我还必须补充一点,目前我从提供者那里获得了cert.p12,据我所知,里面有两个公钥和私钥。

Any ideas? 有任何想法吗?

https://svn.wso2.org/repos/wso2/trunk/wsf/php/samples/security/signing中检查以下示例文件夹,以获取有关如何使用WSF / PHP实施签名的示例。

I'm not sure, but a SOAP request itself can not be encrypted. 我不确定,但是SOAP请求本身无法加密。 You only can encrypt ans sign the connection to the server. 您只能加密和签名与服务器的连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM