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.