Skip to main content
CmsDetachedSignature class

Represents a detached signature for a signed CMS message.

Syntax


var cmsDetachedSignature = new Windows.Security.Cryptography.Certificates.CmsDetachedSignature();

public sealed class CmsDetachedSignature

Public NotInheritable Class CmsDetachedSignature

public ref class CmsDetachedSignature sealed 

Members

The CmsDetachedSignature class has these types of members:

Constructors

The CmsDetachedSignature class has these constructors.

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

 

Methods

The CmsDetachedSignature class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GenerateSignatureAsync Signs the specified input data using the specified signer information and creates a detached signed CMS message.
VerifySignatureAsync Verifies a signed CMS message against the original streaming input.

 

Properties

The CmsDetachedSignature class has these properties.

PropertyAccess typeDescription

Certificates

Read-only

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

Signers

Read-only

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Threading(Both)]
[ Version(0x06030000)]

See also

Object