CmsDetachedSignature.GenerateSignatureAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Signs the specified input data using the specified signer information and creates a detached signed CMS message.
public:
static IAsyncOperation<IBuffer ^> ^ GenerateSignatureAsync(IInputStream ^ data, IIterable<CmsSignerInfo ^> ^ signers, IIterable<Certificate ^> ^ certificates);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IBuffer> GenerateSignatureAsync(IInputStream const& data, IIterable<CmsSignerInfo> const& signers, IIterable<Certificate> const& certificates);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IBuffer> GenerateSignatureAsync(IInputStream data, IEnumerable<CmsSignerInfo> signers, IEnumerable<Certificate> certificates);
function generateSignatureAsync(data, signers, certificates)
Public Shared Function GenerateSignatureAsync (data As IInputStream, signers As IEnumerable(Of CmsSignerInfo), certificates As IEnumerable(Of Certificate)) As IAsyncOperation(Of IBuffer)
Parameters
- data
- IInputStream
The input data to be signed.
- signers
The signer information used to compute the signature.
- certificates
The list of certificates to build the chain for the signer certificates.
Returns
An asynchronous operation to retrieve the detached signed CMS message.
- Attributes