Chilkat v9.5.0.91 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-90-release-notes/ Chilkat v9.5.0.91 Release Notes Smart Card: Improved automatic recognition and handling for various smart cards. Chilkat.Charset: Fixed behavior when ErrorAction property is set to value 1 to replace non-convertable chars with a pre-specified char. SFtp: Fixed: SyncTreeUpload did not pay attention to the SyncMustMatchDir property. Ssh: Fixed: The ChannelReadAndPoll method incorrectly returned the number of bytes available […]

Chilkat v9.5.0.90 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-89-release-notes/ Chilkat v9.5.0.90 Release Notes XmlDSigGen:  Added the AddObjectRef2 and AddSameDocRef2 methods to allow for a more precise specification of the transforms to be applied when signing. XmlDSigGen: Added the ability to include an EncapsulatedTimeStamp when signing. The SetTsa method was added to provide the URL for the timestamping authority. XmlDSig: Added the ability to add an EncapsulatedTimeStamp […]

How to Create QuickBooks in Developer Dashboard

1.  Log in to your Intuit Developer Account Go to https://developer.intuit.com/app/developer/homepage and Sign In. 2. Go to the Dashboard Click on the “Dashboard” link in the top right of the web page. 3. Click on the blue “+ Create an app” link/button. 4. Select the “Quickbooks Online and Payments” platform. 5. Give your app a name and select a scope.  […]

Application Blocked on a System with Carbon Black Installed

Carbon Black is security software that can block your application from running unless you whitelist it.  Here’s a description of how a Chilkat user discovered that Carbon Black was the cause of his PowerBuilder application not working. We figured out why the executable could not retrieve a token from Box. It was not a firewall/network issue, the application was being […]

Office365 Modern Authentication for IMAP, POP3, and SMTP

This post documents how to implement Modern Authentication (OAuth2) for Office365 for the IMAP, POP3, and SMTP protocols.  The very first thing you’ll need to do is to create an “App Registration” in Azure Active Directory. See this Chilkat blog post for Instructions for Setting Up an App Registration in Azure for Modern Authentication for IMAP, SMTP, and POP3. After […]

Create Azure App Registration for use with IMAP, POP3, and SMTP

1) Go to https://portal.azure.com/#home and login to your Microsoft account. then go to Azure Active Directory.   2) Click On App Registrations * Copy your Tenant ID, you’ll need it later. 3) Click on “+ New registration” 4) Name your App and Click Register. Give it a name. For the Redirect URI, select “Web” and then use “http://localhost:3017/”. Your application […]

How to Create Microsoft Graph App (in Azure Portal) for Client Credentials Authentication

1) Go to https://portal.azure.com/#home and login to your Microsoft account. Then click on Azure Active Directory 2) Click on “App registrations” Copy your Tenant ID, you’ll need it later. 3) Click on “+ New registration” 4) Name Your App and Click Register Give it a name (can be anything) and click Register.  Given that the intended authentication is by client […]

ZATCA Toolkit SDK Produces Invalid Results for E-invoicing Phase 2

This describes the invalid results produced by the ZATCA Toolkit SDK at https://zatca.gov.sa/en/E-Invoicing/SystemsDevelopers/ComplianceEnablementToolbox/Pages/DownloadSDK.aspx The ZATCA toolkit produces a DigestValue for the xadesSignedProperties (i.e. 2nd Reference) that is not correct. For example, the following sha256 digest (created by ZATCA) is NOT correct: <ds:Reference Type=“http://www.w3.org/2000/09/xmldsig#SignatureProperties” URI=”#xadesSignedProperties”> <ds:DigestMethod Algorithm=“http://www.w3.org/2001/04/xmlenc#sha256”/> <ds:DigestValue>ZDZjMzQyZTBjNGVjY2VlODgxYTBiMzhiNDFlM2QxZTlkZDkyMDQ1NTEwNzUwN2RhYjUwNGNmZmNmNTFmY2I2OA==</ds:DigestValue> </ds:Reference> The base64 string “ZDZ…..” decodes to 64 bytes.  A SHA256 digest MUST […]

Problems with XML Signatures for TicketBAI and FacturaE in Spain are Fixed in v9.5.0.92

Certain problems regarding the signing of XML documents for TicketBAI (Basque Government) and FacturaE in Spain have been fixed.  At the time of writing this blog post (31-July-2022), Chilkat v9.5.0.92 is not yet released.  You may send email to info@chilkatsoft.com to request a pre-release.  Please indicate your programming language, operating system, etc. so that Chilkat knows exactly which build you […]

Bit4id Digital-DNA 0

Chilkat added support for the Bit4id Digital-DNA Identity device.   (https://www.bit4id.com/en/devices/digitaldna/) The easiest way to use the device for signing within applications is via the Chilkat.Cert.LoadFromSmartcard method. At the time of this writing (28-July-2022) the latest version of Chilkat (v9.5.0.91) does not yet support this device.  If v9.5.0.92 or later is not yet released, you can request a pre-release build by […]

Does Chilkat Support WebHooks?

Question:  I’ve been asked to write an application that supports WebHooks (asynchronous communications back to me) and RESTful API’s(synchronous send to them). Answer: Some REST API’s, such as Shopify, allow an application to create webhook subscriptions.  (See https://shopify.dev/apps/webhooks)  When some event happens, the service (such as Shopify) will send an HTTP POST request to your applicaton’s endpoint URL specified by […]

Fix for Spain FacturaE Signature Online Example

A Chilkat user graciously reported an error in the example at http://www.example-code.com/phpExt/xades_facturae_3_2_es.asp “I use it to sign TicketBAI XML files and FacturaE in Spain. I noticed that the FacturaE signatures weren’t validating properly on some government websites with an error something like “the signature is not a correct xades signature”. The namespace “etsi” was replaced with “xades” in the following […]