Hi, I try to use chilkat library to load encrypted private key using method:
But I got error:
ChilkatLog:
LoadPemFile:
DllDate: Jan 12 2018
ChilkatVersion: 9.5.0.71
UnlockPrefix: Anything for 30-day trial
Architecture: Little Endian; 32-bit
Language: .NET 4.6
VerboseLogging: 1
path: C:\Users\Lukasz\Desktop\TestKeystore\TestKeystore.key
loadPem:
itemType: ENCRYPTED PRIVATE KEY
addPemItem:
itemType: ENCRYPTED PRIVATE KEY
loadAnyDerPw:
pkcs8AsnToKey:
pbes1...
Unrecognized OID
oid: 1.2.840.113549.1.12.1.1
--pkcs8AsnToKey
--loadAnyDerPw
Failed to load private key...
--addPemItem
No more -----BEGIN's found.
--loadPem
Failed.
--LoadPemFile
--ChilkatLog
I know that this private key is ok, because I can load it using BouncyCastle, but I'm unable to do it using Chilkat library. What am I doing wrong? Generally I want to create key pair entry and save it to JKS file (now I'm using BouncyCastle to generate PFX).