Hi, i've a big problem with decrypt a mime object with a pfx certificate. I'm using ChilkatDotNet4.dll in my c# project. I've builded the project and release it in windows 7, working well. When i execute my exe in another windows xp machine, i'm getting an error with the same pfx file. The same exe and pfx working in another win xp machine... There are no difference between machines installed frameworks. Help me to find a solution,please! This is the log after error:
ChilkatLog:
DecryptUsingPfxFile:DllDate: Jan 19 2012
UnlockPrefix: TELEWRSMIME
Username: WRMCDCTXCOM51:mborlik
Architecture: Little Endian; 32-bit
Language: .NET 4.0
pfxFilename: C:Documents and SettingsmborlikDesktopCryptXcomFaxCertificatesxcom.pfx
importPfxData:ParsePkcs12:verifyHmacIntegrity:Failed to decode DER -- number of bytes in DER is zero.saltNumBytes: 20nContentInfos: 2
saltBase64: c6YvQEIyKen3ZLWPgkLeM8PsWek=
numIterations: 2000
macHashOid: 1.3.14.3.2.26
macStoredDigest: 9ED5 5A06 0354 1647 8BD7 0AF2 6991 4B9C 1CBD C2A8
Password and HMAC verified.
ContentInfo:Pkcs7_loadXml:numCerts: 3PKCS7 DataPKCS7_DATA
dataSize: 1595
SafeContents:SafeBagOid: 1.2.840.113549.1.12.10.1.2ContentInfo:
Pkcs8ShroudedKeyBag
Pkcs8ShroudedKeyBag:PBE encryption.
Salt: PmEz+ZEDdbk=
Iterations: 2000
numEncryptedBytes: 1240
algorithm: des
keyLength: 192
outputSize: 1233Pkcs7_loadXml:Pkcs7_EncryptedData:PKCS7_ENCRYPTED_DATAPBE encryption.
Salt: YhN9YKfTNxY=
Iterations: 2000
numEncryptedBytes: 4512
algorithm: rc2
keyLength: 40
outputSize: 4506
SafeContents:SafeBagOid: 1.2.840.113549.1.12.10.1.3
CertBag
x509_cert_CN: xxxx
x509_cert_E: xxx@xxxx.lis
x509_cert_DN: C=IT, ST=Lombardia, L=Milano, O=xxxxx Telecomunicazionixxx., OU=xxxx, CN=xxxx, E=fax@xcom.lis
x509_serial: 173DB3310002000001AB
SubjectKeyIdentifier: Xl20DLqa4NmVCUWMm7boUwzUbmQ=
SafeBagOid: 1.2.840.113549.1.12.10.1.3
CertBag
x509_cert_CN: Intranetxxxx Root CA
x509_cert_DN: DC=it, DC=root, CN=Intranet xxxx Root CA
x509_serial: 5B1C60D3157C958C470D4F2A5D395DC1
SubjectKeyIdentifier: oWIct91eZG3EeHh1TpNvonmo9GE=
SafeBagOid: 1.2.840.113549.1.12.10.1.3
CertBag
x509_cert_CN: Intranetxxxxx Certificate Authority
x509_cert_DN: DC=it, DC=root, DC=xxxx, CN=Intranet xxxxxx Certificate Authority
x509_serial: 42D90D030000000000F2
SubjectKeyIdentifier: ofP54WKPBM9qryeFxSjrIa79YTg=
PFX imported successfully.
Failed to decode DER.
Not PKCS7 DER.
Failed.