共用方式為


CmsAttachedSignature.GenerateSignatureAsync 方法

定義

使用指定的簽署者資訊簽署指定的輸入資料,並建立附加的已簽署 CMS 訊息。

public:
 static IAsyncOperation<IBuffer ^> ^ GenerateSignatureAsync(IBuffer ^ data, IIterable<CmsSignerInfo ^> ^ signers, IIterable<Certificate ^> ^ certificates);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IBuffer> GenerateSignatureAsync(IBuffer const& data, IIterable<CmsSignerInfo> const& signers, IIterable<Certificate> const& certificates);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IBuffer> GenerateSignatureAsync(IBuffer data, IEnumerable<CmsSignerInfo> signers, IEnumerable<Certificate> certificates);
function generateSignatureAsync(data, signers, certificates)
Public Shared Function GenerateSignatureAsync (data As IBuffer, signers As IEnumerable(Of CmsSignerInfo), certificates As IEnumerable(Of Certificate)) As IAsyncOperation(Of IBuffer)

參數

data
IBuffer

要簽署的輸入資料。

signers

IIterable<CmsSignerInfo>

IEnumerable<CmsSignerInfo>

用來計算簽章的簽署者資訊。

certificates

IIterable<Certificate>

IEnumerable<Certificate>

要為簽署者憑證建置鏈結的憑證清單。

傳回

用來擷取附加簽署 CMS 訊息的非同步作業。

屬性

適用於