+2 votes

How do i encrypt and decrypt with beta .Net Core package. This seems to be missing or different.

THanks

by

1 Answer

0 votes

Please check out the latest package. Encryption is supported, however, with current state of .NET Core, signature validation can't be implemented.

by (297k points)
Thank you very much. That was the fastest support resolution I ever experienced and it is working great. However, can you explain the problem with signed emails? The SignedCms was merged to core .net in December of last year. https://github.com/dotnet/corefx/issues/14197. Is there some particulars still not implemented there? We rely on email ingestion a lot. So knowing when our cross os platform app, will achieve full parity with windows counterpart, is crucial. Some ball park date will be so appreciated.
System.Security.Cryptography.Pkcs was released 16 days ago.
We'll try to incorporate it next week.
Tried the beta it is still not working, when trying to load from bytes mime signed email, it actually cannot even load regular fields it was able to load before, like sender or subject. I am talking about CreateFromEml method. Also as a result (maybe) NeedExtraction property is false. While on not netstandard it works great and populate all properties as well as NeedExtraction. If you still force it to decode manually, it tells you malformed. BTW it is all done like in the sample by disabling AutoExtract and verifying need for extraction and encrytption. Let me know if you need sample eml
Please contact us directly, along with the email (zipped) and code you are using - you can find our support email in the page footer.
...