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
{{ message }}
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
I have service with SOAP authentication, one of my client use php at their side, but we can't understand, how to create DigestValue.
We trying next:
// Before make hash using canonicalize http://php.net/manual/en/domnode.c14n.php
$data = '<wsu:Timestamp wsu:Id="TS-1"><wsu:Created>2018-10-23T06:20:36.133Z</wsu:Created><wsu:Expires>2018-10-23T06:37:16.133Z</wsu:Expires></wsu:Timestamp>';
base64_encode(hash('sha1', $data, true));
But receive wrong digest value: +qaxdSqNQ29JGMeHvoTQqg7lxww=
This is correct DigestValue from another java client:
I have service with SOAP authentication, one of my client use php at their side, but we can't understand, how to create DigestValue.
We trying next:
But receive wrong digest value: +qaxdSqNQ29JGMeHvoTQqg7lxww=
This is correct DigestValue from another java client:
Help me please with algorithm, can't find any information.
The text was updated successfully, but these errors were encountered: