English
php
soap
xml
pkcs12
fiskalizacija
croatia
xml-dsig
shinobi-apps-framework
SOAP in PHP without ext-soap: building the Croatian CIS fiscal connector
CisClient: raw SOAP envelope as PHP string (no ext-soap), 8-step XML-DSig (enveloped, exc-c14n, RSA-SHA1): SHA1 digest of RacunZahtjev → X509Certificate+IssuerSerial → SignedInfo string → PLACEHOLDER Signature inserted → C14N in doc context → openssl_sign → PLACEHOLDER replaced. Client cert via CURLOPT_SSLCERT+SSLKEY (tempnam 0600, cleanup in finally). FINA RDC CA not in Mozilla bundle → custom cacert.pem. SafeXmlLoader LIBXML_NONET+DOCTYPE guard on response.