共用方式為


CmsDetachedSignature 類別

定義

表示已簽署 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
繼承
Object Platform::Object IInspectable 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 訊息。

適用於