如何用PHP解码加密的soap消息
我在PHP中遇到了大量加密SOAP消息的问题 我们得到的数据如下如何用PHP解码加密的soap消息,php,soap,encryption,ws-security,Php,Soap,Encryption,Ws Security,我在PHP中遇到了大量加密SOAP消息的问题 我们得到的数据如下 <?xml version="1.0" ?> <xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:d
<?xml version="1.0" ?>
<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dp="http://www.datapower.com/schemas/management">
<dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<xenc:EncryptedKey Recipient="name:[NAME]">
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
<dsig:KeyInfo>
<dsig:KeyName>[KEY_NAME]</dsig:KeyName>
</dsig:KeyInfo>
<xenc:CipherData>
<xenc:CipherValue>[RSA_ENCRYPTED_PK]</xenc:CipherValue>
</xenc:CipherData>
</xenc:EncryptedKey>
</dsig:KeyInfo>
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<xenc:CipherData>
<xenc:CipherValue>[ENCRYPTED_DATA_HERE]</xenc:CipherValue>
</xenc:CipherData>
</xenc:EncryptedData>
[主要名称]
[RSA_加密_PK]
[此处为加密数据]
我可以找到以下信息
但无法解密消息
我有正确的私钥
这是s SAML-2 iDP站的一部分
有人知道如何使用PHP库吗
你的
Tim尝试使用设置您的服务提供商。尝试使用设置您的服务提供商