Windows 8 Metro cryptography - using SignedCms Pkcs7

…衆ロ難τιáo~ 提交于 2019-12-24 14:12:45

问题


SignedCms is not supported in Windows 8 Metro. Is there an equivalent/replacement for it in WinRT?

Sample of the code i need to convert to Metro below:

message.Data = new SignedCms(new ContentInfo(Encoding.ASCII.GetBytes(toDigest)), true);
message.Data.Decode(part.BinaryContent);

回答1:


Found what i was looking for here:

http://dotnetspeak.com/index.php/2011/11/encrypting-and-decrypting-data-in-winrt-2/



来源:https://stackoverflow.com/questions/14272579/windows-8-metro-cryptography-using-signedcms-pkcs7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!