Chilkat v9.5.0.94 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-93-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-95-release-notes/ Chilkat v9.5.0.94 Release Notes FTP2: Fixed problems with some FileZilla FTP servers requiring TLS 1.3 session resumption for the data connections. SFTP: Fixed problem where Chilkat may not have honored the max_packet_size limit imposed by some servers for SFTP uploads. PDF: Fixed problems when signing PDF’s for ICP Brasil (https://verificador.iti.br/) The ICP Brasil validator […]

C++ CkHttp AbortCheck Callback

Chilkat classes that involve network communications can use callbacks. This blog post describes the CkHttp AbortCheck callback. An application can request periodic AbortCheck callbacks according to the HeartbeatMs property setting. (If HeartbeatMs = 0, then no AbortCheck callbacks will occur.) For example:

Delphi Binary Data

This post shows some code snippets for getting data from Delphi Byte arrays (TBytes) and TMemoryStream’s in and out of Chilkat. First, here are some code snippets to convert from a TMemoryStream to a byte array, and back. Delphi TBytes to TMemoryStream

office365.com SMTP, POP3, IMAP OAuth2 Tips, Hints, and Solutions

This page will be updated as time progresses with what we’ve learned about getting things working with OAuth2 authentication for office365.com using the email protocols: SMTP, POP3, and IMAP. How do Other Office365 Users Send Email using my App Registered in my Azure Active Directory? It’s important to understand Tenancy in Azure Active Directory Apps.   See this https://learn.microsoft.com/en-us/azure/active-directory/develop/single-and-multi-tenant-apps When you […]

Chilkat v9.5.0.93 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-92-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-94-release-notes/ Chilkat v9.5.0.93 Release Notes PDF: Fixed more issues with LTV signatures, where sometimes Acrobat DC did not consider the signed PDF Long Term Validation enabled. PDF: Added the AddVerificationInfo method.  This is performs the same function as in Adobe Acrobat when right-clicking on a signature and selecting “Add Verification Information”. MailMan: Fixed office365.com TLS […]

AWS Reference Documentation — Sample Requests and Responses are Important

The AWS Reference Documentation is not consistent.  In some cases, the documentation provides a sample request and sample response.  The samples are extremely helpful, and make it easy to implement the call in any programming language.  With Chilkat, you can usually generate sample code by pasting the sample request, and the body of the sample response into Chilkat’s online tool […]

More Microsoft Graph Misc Notes

Relaying more shared information: “I also wanted to notify you that the “profile” can also be extracted without the use of Graph API (User.Read): https://learn.microsoft.com/en-us/azure/active-directory/develop/id-tokens id_token contains that information and is given along with the access_token but it has to be decoded from a JWT (https://en.wikipedia.org/wiki/JSON_Web_Token) openid, profile, email and offline_access are like some kind of “universal” scopes which can be […]

Microsoft Graph, Outlook, OAuth2, Resources, Audiences…

Here I’m just relaying bits of knowledge from a great Chilkat customer… “I learned meanwhile that Microsoft doesn’t like mixing “resources”, so if you request something from “Graph” resource and “Outlook” resource, they are incompatible resources, so you have to request different tokens for both, or request resource for only Graph and then refresh token only for “Outlook” resources – […]

Is Smartcard Vendor’s low-level lib (dll or so) Required?

Question:  My question is regarding the SharedLib when initializing pkcs11 module. Is the smartcard vendor’s low-level lib (dll or so) required to be able to communicate with a smartcard or do you have some kind of generic lib or driver to achieve this? Answer:  This is a good question.  On a non-Windows system, Chilkat would need to communicate with the […]

Microsoft Azure OAuth2 Redirect URI Notes

Here are some notes regarding OAuth2 Redirect URI’s for Microsoft Azure AD apps. See https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url A few important points: You can add http://127.0.0.1, and it is preferred over http://localhost because of misconfigured firewalls or hosts file etc.   127.0.0.1 is the loopback address and localhost is just translated into 127.0.0.1. The only pitfall is that you have to add it as […]