fix securitykey factory method call
This commit is contained in:
parent
8d62141a3d
commit
1cde22d8bb
|
@ -566,7 +566,7 @@ class WsSecurityFilter implements SoapRequestFilter, SoapResponseFilter
|
||||||
&& 'EncryptedKey' == $referencedNode->localName) {
|
&& 'EncryptedKey' == $referencedNode->localName) {
|
||||||
$key = XmlSecurityEnc::decryptEncryptedKey($referencedNode, $this->userSecurityKey->getPrivateKey());
|
$key = XmlSecurityEnc::decryptEncryptedKey($referencedNode, $this->userSecurityKey->getPrivateKey());
|
||||||
|
|
||||||
return XmlSecurityKey::factory($algorithm, $key, XmlSecurityKey::TYPE_PRIVATE);
|
return XmlSecurityKey::factory($algorithm, $key, false, XmlSecurityKey::TYPE_PRIVATE);
|
||||||
} else {
|
} else {
|
||||||
//$valueType = $key->getAttribute('ValueType');
|
//$valueType = $key->getAttribute('ValueType');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue