Working algorithm for PasswordDigest in WS-Security php

て烟熏妆下的殇ゞ 提交于 2019-12-03 17:13:40

Got the solution!...we have to decode the nonce and then apply the formula on it and in xml we have to send the encoded nonce

As you mentioned - the issue was in Nonce.

If I may suggest, it may be better to use for nonce a stream of bytes (random_bytes), instead of mt_rand(10000000, 99999999) without encoding it. And then, only encode it when you'll be including it in the Nonce SOAP/XML node.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!