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 primary PIN used by the cardholder to authenticate themselves and access the smartcard’s functionality. It is typically used for general card operations, such as authentication, digital signatures, and encryption. The […]

Office365 POP3 Authenticate Fails but Previously Succeeded

It’s normal for OAuth2 access tokens to expire after some time, such as 1 hour, and then you’ll need to refresh and retry. For example, this error in the LastErrorText for a call to Pop3Authenticate could indicate the OAuth2 accces token expired: Pop3Authenticate: DllDate: Mar 28 2023 ChilkatVersion: 9.5.0.94 UnlockPrefix: *** Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 1 Pop3Authenticate: […]

Quickly Understanding the MIME Format of Email

The format of email is MIME. A simple MIME message consists of headers followed by a body.  For example, here’s a simple text/plain email: From: sender@example.com To: recipient@example.com Subject: Example Email Content-Type: text/plain; charset=”UTF-8″ Hello, This is a simple plain text email. Regards, Sender MIME can be multipart. Here’s a text/plain email with a PDF attachment: From: sender@example.com To: recipient@example.com […]

AES-CMAC Keyed Hash Algorithm

The AES-CMAC keyed hash function, see https://www.rfc-editor.org/rfc/rfc4493, has been added to Chilkat for the next version release (v9.5.0.95). Here are some examples: AutoIt AES-CMAC C AES-CMAC Python AES-CMAC C++ AES-CMAC C# AES-CMAC DataFlex AES-CMAC Delphi AES-CMAC Visual FoxPro AES-CMAC Go AES-CMAC Java AES-CMAC Objective-C AES-CMAC Perl AES-CMAC PHP ActiveX AES-CMAC PHP AES-CMAC PowerBuilder AES-CMAC PowerShell AES-CMAC Swift AES-CMAC Tcl AES-CMAC […]

Getting an OAuth2 access token using “client credentials” does not require interactivity with a browser

The “client credentials” OAuth2 flow is allowed by many REST API’s for the case where a program is running in a non-interactive environment. It’s simply an HTTP POST where the client_id and client_secret are sent, and the OAuth2 access token is returned. If you have a sample CURL statement that demonstrates how to do it, you can generate Chilkat source […]

Generate Chilkat Code from PostMan

This is a way to generate Chilkat source code from a working PostMan request: Open Postman: Launch the Postman application on your computer. Create or Import a Request: Create a new request or import an existing one that you want to inspect the raw HTTP request for. Send the Request: Click the “Send” button to send the request to the […]