Chilkat 17-Dec-2021 — Careful with Network Connections in Garbage Collection Languages

What’s going on with Chilkat support today? 1) Problem report:   My PowerBuilder 10.5 app runs fine, however when I call functions that are using the Chilkat DLL and controls returns to the calling script, the application crashes with the following error: … Exception code: 0xc000041d … Faulting module path: C:\…\pbdwe105.dll Solution: Before returning to the calling script, tell Powerbuilder to […]

Chilkat 16-Dec-2021 — idToken HTTP Header

What’s going on w/ Chilkat support today… 1. Long HTTP request headers present a difficulty because some web servers choke on header fields that are too long and require folding, whereas others choke on folded headers.  Given that HTTP requests are MIME, and the request/response headers are MIME headers, header folding follows the MIME specification.  Folding SHOULD occur at whitespace.  […]

Chilkat 14-Dec-2021 — PDF Signature Notes

What’s going on with Chilkat support today… 1. The Http.PostJson, PostJson2, and PostJson3 methods neglect to send a Content-Type header if a completely empty body is sent.  Starting in the next version (v9.5.0.90) Chilkat will always send the Content-Type header for these methods even if the JSON body is completely empty (i.e. a zero-length string where the Content-Length of the […]

Chilkat 10-Dec-2021 – Brasilian Tax Server problems?

Chilkat is going to try to blog daily notes on issues we’re handling for customers. So… starting for today.. Suddenly SOAP XML posts to the Brasilian tax server https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx  stop working with a 415 response code having error “The server cannot service the request because the media type is unsupported.”.    The error “media type is unsupported” generally means the server […]

Validating PDF Signatures with https://ec.europa.eu/cefdigital/DSS/webapp-demo/validation

A Chilkat customer is signing PDFs and then validating using the online tool at https://ec.europa.eu/cefdigital/DSS/webapp-demo/validation A few errors/warnings were encountered: 1) “The signature is not intact”.   <b>This error only happens if the “ltvOcsp” option was set</b> to create an LTV-enabled signature.  The source of the “Signature is not intact” error can be found here:  https://github.com/esig/dss/blob/master/validation-policy/src/main/java/eu/europa/esig/dss/validation/process/bbb/cv/checks/SignatureIntactCheck.java When “ltvOcsp” is specified (i.e. […]

Support for PureBasic on Apple M1 and Linux arm32/arm64, etc.

Chilkat has received email from customers asking to support PureBasic on M1 Apple silicon and Raspberry Pi.   This is no problem for Chilkat.  We can easily produce the required native .so, .dylib, etc. for each architecture.  We only need documentation from PureBasic about these new architectures.  For example, what are the compiler directives to choose? We currently have something like […]

Chilkat v9.5.0.89 Release Notes

The previous version release notes: Chilkat v9.5.0.88 Release Notes Chilkat v9.5.0.89 Release Notes Http: Integrated Amazon Pay authentication into the Chilkat HTTP API to eliminate the need for the application developer to directly implement the computations for canonical request and signature. Http: Integrated Duo Security Multi-Factor Authentication (MFA) into the Chilkat HTTP API to eliminate the need for the application […]

.NET RijndaelManaged to Chilkat Equivalent

Here’s a snippet of C# code to do AES encryption.  What is the equivalent in Chilkat? Dim cspRijndael As New System.Security.Cryptography.RijndaelManaged csCryptoStream = New CryptoStream(fsOutput, cspRijndael.CreateEncryptor(bytKey, bytIV), CryptoStreamMode.Write) “Rijndael” is the name of the encryption algorithm, and (essentially) “AES” is Rijndael limited to the choices of 128, 192, or 256 bits. Rijndael/AES is a symmetric block encryption algorithm, and the […]

Case-Insensitive JSON

Question: How can JSON be processed in a case-insensitive manner? Rant followed by Answer:  JSON is intended to be case-sensitive.  XML is the same.  Similar to Java, C, C++, etc.  Names are case-sensitive.   Except, of course, there are knuckleheads out there that don’t understand the fundamental specifications and as a result introduce complexity into systems that should never have existed.  […]