CmsDetachedSignature CmsDetachedSignature CmsDetachedSignature CmsDetachedSignature CmsDetachedSignature Class

Definition

Represents a detached signature for a signed CMS message.

public : sealed class CmsDetachedSignature
struct winrt::Windows::Security::Cryptography::Certificates::CmsDetachedSignature
public sealed class CmsDetachedSignature
Public NotInheritable Class CmsDetachedSignature
var cmsDetachedSignature = new cmsDetachedSignature(inputBlob);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CmsDetachedSignature(IBuffer) CmsDetachedSignature(IBuffer) CmsDetachedSignature(IBuffer) CmsDetachedSignature(IBuffer) CmsDetachedSignature(IBuffer)

Creates a new instance of the CmsDetachedSignature class for the specified signed CMS message.

Properties

Certificates Certificates Certificates Certificates Certificates

Gets the list of certificates that are used for chain building for the signer certificate.

Signers Signers Signers Signers Signers

Gets the list of signers that are used for creating or verifying the signature.

Methods

GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>) GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>) GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>) GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>) GenerateSignatureAsync(IInputStream, IIterable<CmsSignerInfo>, IIterable<Certificate>)

Signs the specified input data using the specified signer information and creates a detached signed CMS message.

VerifySignatureAsync(IInputStream) VerifySignatureAsync(IInputStream) VerifySignatureAsync(IInputStream) VerifySignatureAsync(IInputStream) VerifySignatureAsync(IInputStream)

Verifies a signed CMS message against the original streaming input.