Windows 8 Metro加密-使用signnedcms Pkcs7

本文关键字:使用 signnedcms Pkcs7 加密 Metro Windows | 更新日期: 2023-09-27 17:52:38

SignedCms在Windows 8 Metro中不支持。在WinRT中是否有等效/替代它?

下面是我需要转换为Metro的代码示例:

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

Windows 8 Metro加密-使用signnedcms Pkcs7

找到我要找的东西了:

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