1
Digital Signatures / Re: Signing XML with smartcard(private key not exportable)
« on: June 02, 2018, 08:39:02 AM »
I was excited reading the new version (9.5.0.73) Release Notes:
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:
Is there a possible solution for this?
Quote
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:
Code: [Select]
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?