fix securitykey factory method call

This commit is contained in:
Andreas Schamberger 2013-08-19 22:16:45 +02:00
parent 8d62141a3d
commit 1cde22d8bb

View File

@ -566,7 +566,7 @@ class WsSecurityFilter implements SoapRequestFilter, SoapResponseFilter
&& 'EncryptedKey' == $referencedNode->localName) {
$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 {
//$valueType = $key->getAttribute('ValueType');