I was excited reading the new version (9.5.0.73) Release Notes:
XmlDSigGen Now capable of using non-exportable private keys on Windows, such as for A3 certificates where the private key is on a hardware token.
I am using Gemalto K30 USB hardware token, where some certificates are stored.
I've just tried new version ActiveX, but there is still the same problem as it was in previous version.
I can read public key with Cert.ExportPublicKey() method, but not the private key with Cert.ExportPrivateKey() method.
This is what I get from Cert.LastErrorText property:
ChilkatLog:
ExportPrivateKey:
DllDate: May 22 2018
ChilkatVersion: 9.5.0.73
UnlockPrefix: NONE
Architecture: Little Endian; 32-bit
Language: ActiveX
VerboseLogging: 0
exportPrivateKey:
Failed to export private key.
The private key is not exportable from the Windows protected store.
--exportPrivateKey
Failed.
--ExportPrivateKey
--ChilkatLog
Is there a possible solution for this?