You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refNode is probably from some old left over code. I will look at removing it. As for the 2 methods, also very old and I am assuming the encryptBody method was the first method supported for encryption, and kept for BC reasons, with the other added later with more functionality. These versions predate the git history and I really don't remember anymore
wse-php/src/WSSESoap.php
Lines 438 to 447 in c9611f5
The
$refNode
variable is not used on this method, even more, I couldn't find the use of this method anywhere.It seems there's two way to encrypt the Body, this mentioned method and the
encryptSoapDoc
method which can also encrypt the Signature.So, why thereś two way to do the same thing?, any advantage of one over the other?, and what about the unused variable? 😄
Greets and thanks.
Ernesto
The text was updated successfully, but these errors were encountered: