CmsDetachedSignature 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示已签名 CMS 消息的分离签名。
public ref class CmsDetachedSignature sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CmsDetachedSignature final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class CmsDetachedSignature final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CmsDetachedSignature
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CmsDetachedSignature
function CmsDetachedSignature(inputBlob)
Public NotInheritable Class CmsDetachedSignature
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
构造函数
CmsDetachedSignature(IBuffer) |
为指定的签名 CMS 消息创建 CmsDetachedSignature 类的新实例。 |
属性
Certificates |
获取用于签名者证书的链构建的证书列表。 |
Signers |
获取用于创建或验证签名的签名者列表。 |
方法
GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>) |
使用指定的签名者信息对指定的输入数据进行签名,并创建分离的签名 CMS 消息。 |
VerifySignatureAsync(IInputStream) |
根据原始流式处理输入验证已签名的 CMS 消息。 |