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 …

Accessing Private Key causes Windows to show Dialog Box – How to Suppress

Question:  Calling CkXmlDSigGen.SetX509Cert causes Windows to show a dialog box requesting validation.  Is it possible to avoid the dialog box? Answer: Yes.  The reason for displaying the dialog box  is because the cert + private key was imported with the option to enable strong private key protection.  Here’s a screenshot …

Monitoring Progress of a Web Request

I like this article for the purpose of conceptually understanding the architecture for monitoring the progress of an HTTP web request in a Browser:  https://buildwithdjango.com/blog/post/celery-progress-bars/ Regardless of technology, programming language, etc., it boils down to this: The initial HTTP request kicks off the work/job. Some infrastructure on the server-side starts …

Online XML Digital Signature Validators

Chilkat’s Online XML Signature Validator: http://tools.chilkat.io/xmlDsigVerify.cshtml gob.es FacturaE online validator: http://sedeaplicaciones2.minetur.gob.es/FacturaE/ ETSI Signature Conformance Checker (requires credentials)  http://signatures-conformance-checker.etsi.org Validate UBL:  https://www.moj-eracun.hr/exchange/validateubl UBL 2.1 e-Invoice Validation: https://joinup.ec.europa.eu/solution/ubl-21-e-invoice-validation-service/about FatturaPA (fatturapa.gov.it)  http://sdi.fatturapa.gov.it/SdI2FatturaPAWeb/AccediAlServizioAction.do?pagina=controlla_fattura ADSS Signing Server: https://account.ascertia.com/demos/xmlsignatureverificationstep1 apis.gometa.org hacienda (Costa Rica) XML Validator: https://apis.gometa.org/validar/ XmlValidation.com:  https://www.xmlvalidation.com/ I don’t trust this validator. Change the signed XML document to deliberately introduce …

XAdES-BES for www.csioz.gov.pl

Chilkat has resolved problems relating to the creation of XAdES-BES XML signatures for documents sent to www.csioz.gov.pl.   These fixes will be available starting in Chilkat v9.5.0.76.   At the time of this post (31-Oct-2018) 9.5.0.76 is not yet released.  Contact support@chilkatsoft.com for a pre-release if desired. Chilkat has worked with …

Node.js Asynchronous Methods that Return Objects

This post shows the general technique to get the object returned by a method when it is called asynchronously.   For example, consider the Mailman.GetUidls() method.  A synchronous call to GetUidls returns a StringArray object, as shown here: [code language=”javascript”] // sa: StringArray var sa; sa = mailman.GetUidls(); var i; …