问题
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