我需要一些有关如何将数据放入此属性的信息。在文档中没有任何信息,谷歌对此很愚蠢。我需要的只是一个小小的例子如何初始化这个:)我的代码看起来像这样:
$some_sec_array = array(); // here, give my anything
$policy = new WSPolicy(array("outMessagePolicy"=>$some_sec_array));
答案 0 :(得分:1)
outMessagePolicy
接受与基本WSPolicy对象相同的密钥,它只是一种分离入站和出站策略的方法。因此,您可以使用API documentation中定义的键:
sign
encrypt
algorithmSuite
layout
includeTimeStamp
protectionOrder
useUsernameToken
securityTokenReference
encryptSignature
binding