Types of Smartcard PINs
Smartcards use various types of PINs (Personal Identification Numbers) for authentication and security purposes. Some common types of PINs associated with smartcards are: User PIN: The User PIN is the...
View ArticleSolving CryptoCard Graphite Plus Smart Card Signing Problems
Information about the CryptoCard Graphite Plus smartcard is located at https://www.cryptotech.com.pl/Produkty/CryptoCard_Graphite,content.html “The card works closely with the new edition of the...
View ArticleWhat to do if Chilkat.Cert.LoadFromSmartcard Fails?
Here are the initial steps to follow to determine the reason why LoadFromSmartcard failed. Make sure to set the Cert,SmartCardPin property prior to calling LoadFromSmartcard. Make sure you are using...
View ArticleOffice 365 IMAP, POP, SMTP OAuth2 with Client Credentials
See https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#use-client-credentials-grant-flow In my opinion, this is...
View ArticleNew Example for Paraguay E-Invoicing (SIFEN)
See this new example for signing XML E-invoices for Paraguay — SISTEMA INTEGRADO DE FACTURACIÓN ELECTRÓNICA NACIONAL (SIFEN). AutoIt Paraguay eInvoice XML Digital Signature C Paraguay eInvoice XML...
View ArticleHMAC SHA1 of Byte Array in “C” Programming Language
Here is a “C” programming language code snippet compute the HMAC SHA1 using byte arrays. void demonstrate_hmac_sha1_binary_bytes() { unsigned char key[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,...
View ArticleUse CURL to Chilkat Source Code Generator
Question According to the Sonar API documentation at https://docs.sonar.expert/system/api-calls-using-third-party-applications-personal-access-tokens, this is an example of how to run a query to their...
View ArticleUsing Microsoft Graph API HTTP Request/Response Documentation to Generate Code
This blog post describes how to use the raw HTTP request/response samples provided in the Microsoft Graph API documentation to generate Chilkat source code in your chosen programming language. First,...
View ArticleHelping with old programming environments where string lengths are limited,...
Many Chilkat methods have string arguments, and return strings. In some cases, the strings can be long. There are older programming environments such as Microsoft Navision, SQL Server, and others where...
View ArticleCreate JWT using EdDSA (Ed25519) Private Key
Chilkat added the ability to create JWT’s using Ed25519 private keys. See: AutoIt Create JWT Using Ed25519 Private Key (EdDSA) C Create JWT Using Ed25519 Private Key (EdDSA) Python Create JWT Using...
View ArticleChilkat C++ Class Thread Safety
Are Chilkat C++ classes thread safe? Should I use a guard, such as a mutex, in multi-threaded code? Answer: Yes, Chilkat C++ classes are thread-safe, meaning they can be safely used in a multi-threaded...
View ArticleOffice365 SMTP: 535 5.7.139 Authentication unsuccessful,...
This blog post is about the following error encountered when trying to send email via Chilkat.MailMan.SendEmail (using the SMTP protocol). smtpAuthenticate: smtp_host: smtp.office365.com smtp_port: 587...
View ArticleHow to Send an HTTPS GET Request with “Authorization: Bearer ” Header
Question: I’m using VB6. Can you tell me how I would use your software to duplicate this VB6 code snippet? I can’t seem to find a way to set headers, use OPEN or SEND. Any help would be appreciated. '...
View ArticleClarifying the Desktop Application OAuth2 Flow
To clarify further: When your desktop application (or script) calls Chilkat.OAuth2.StartAuth, two things happen: It returns a URL that you need to open in a web browser to obtain authorization...
View ArticleBCC Email Addresses Should Never be in “BCC” MIME Headers
In the context of email communication, the BCC (Blind Carbon Copy) field is used to send a copy of an email to recipients without revealing their addresses to other recipients. When it comes to the...
View ArticleNew Example Showing How to Process a Multipart/Report Email
AutoIt How to Process a Multipart/Report Email C How to Process a Multipart/Report Email Python How to Process a Multipart/Report Email C++ How to Process a Multipart/Report Email C# How to Process a...
View ArticleHow to get the Version of Chilkat at Runtime
Most Chilkat classes include a Version property. To find the version of Chilkat, such as “9.5.0.94”, instantiate the object and examine the Version property. AutoIt How to get the Version of Chilkat at...
View ArticleDelphi Error: Undeclared identifier ‘TChilkatGlobal’
See the “Quick Start” instructions here: https://www.chilkatsoft.com/delphiDll.asp The Chilkat distribution contains Delphi .pas source files, one for each Chilkat class. For each Chilkat class used,...
View ArticleASP VBscript and Office365 OAuth2 Access Token
The Chilkat.OAuth2 class is designed for desktop applications, not server-side web applications. To explain further: The call to OAuth2.StartAuth does 2 things: Returns a URL you’ll open in a browser...
View ArticleEmail “FROM” MIME Header Field vs “MAIL FROM” Command in SMTP Session
In the SMTP (Simple Mail Transfer Protocol) protocol, the “FROM” header field and the “MAIL FROM” command in the SMTP session serve different purposes and play distinct roles in the process of sending...
View Article