CmsAttachedSignature.GenerateSignatureAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的簽署者資訊簽署指定的輸入資料,並建立附加的已簽署 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
用來計算簽章的簽署者資訊。
- certificates
要為簽署者憑證建置鏈結的憑證清單。
傳回
用來擷取附加簽署 CMS 訊息的非同步作業。
- 屬性