Click here to Skip to main content
16,015,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I try to open a AES encrypted Email. I tried it using EAGetMail and Chilkat but it doesnt work.
Do I Need a certificate or private/public key?


Mail oMail = oClient.GetMail(info);
Certificate oCert = new Certificate();
oCert.Load("E:\\Programme\\Email_Verarbeitung\\tt.cer");
try
{
oMail = oMail.Decrypt(oCert);
}
catch (Exception ert) { Log.writeLog(ert.Source + "_" + ert.Message); }

I get the Error-Message:
EAGetMail20_Cannot find the certificate and private key to use for decryption

Has anyone an idea?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900