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
"Having conversations" is not the purpose of the issue tracker. Please, consider using https://gitter.im/Synap/EBICS.php for it (as there is many things to say) or sending me an e-mail at [email protected]
By the way, I will have a look at your code and tell you if I see something wrong.
On PHP for generate Hash (SHA-256).
I do next. But I do not know exactly is it correct. Please check me and correct if I am wrong.
Here is correct certificat (INI response is OK).
$cert = file_get_contents('files/cert.pem');
$cert_array = openssl_x509_parse($cert);
$cert_details = openssl_pkey_get_details(openssl_pkey_get_public($cert));
Exponent hash without leading zeros.
$exponent = ltrim(hash('sha256', base64_encode($cert_details['rsa']['e'])), '0');
Modulus hash without leading zeros.
$modulus = ltrim(hash('sha256', base64_encode($cert_details['rsa']['n'])), '0');
HEX representation.
$A006_unpack = unpack("H*", $exponent . ' ' . $modulus);
$A006_H = array_shift($A006_unpack);
Here is my Hash (SHA-256).
echo implode(' ', str_split(strtoupper($A006_H), 2));
The text was updated successfully, but these errors were encountered: