Signing on iOS with a USB Token or Smartcard

Chilkat v10.0.0 is able to create digital signatures for PDF, XmlDSig (XAdES), CAdES, S/MIME, etc. using the HSM (USB token or smartcard) connected to an iPhone.  It’s just a matter of calling the certificate object’s LoadFromSmartcard function.  You’ll also need to add the “com.apple.token” entitlement to your application. Here are some examples: Objective-C Sign PDF using USB Token or Smartcard […]

What 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 the very latest version of Chilkat.  Chilkat’s internal intelligence regarding the options and choices to be made for different smartcard makes/models evolves with each new version. Assuming the failure persists […]

Solving 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 CryptoCard Suite software dedicated to it, which allows you to manage the content of the card and mediates in communication between programs using the card (logging into operating systems, e-mail programs, web browsers or signing applications) and the card […]

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 […]

Support for Cryptographic card cryptoCertum 3.5

Chilkat recently added support for the cryptoCertum 3.5 smartcard (and also for cryptoCertum3, and cryptoCertum3.2). At the time of this writing (13-July-2022), the support is available in a pre-release of the next version of Chilkat (v9.5.0.92) We have it working on Windows, but should also be able to get it working on Linux and MacOS.    

Using Chilkat with la Carta Nazionale dei Servizi delle Camere di Commercio d’Italia

To use Chilkat for signing XML with a CNS smartcard, the certificate must be installed on the Windows system.  Chilkat uses the Microsoft CNG (Cryptographic Next Generation) to do the signing.  If the CNS smartcard certificate is installed on Windows correctly, then CNG should automatically know to use the smartcard for signing.  I cannot read Italian, but I think the […]

Selecting Smartcard Hash Algorithm

Question: I’m tried to produce a P7S file with the hash algorithm SHA-512, but the code always produces a signature with an SHA-1 hash for the data. If I’m selecting MD5 as hash algorithm it works fine. I’m using a Smartcard (D-Trust with Siemens Card OS 4.3) , ReinerSCT card reader and as Smartcard CSP Nexus Personal 4.10.1. Here’s my […]