CmsDetachedSignature Class

Definition

Represents a detached signature for a signed CMS message.

public ref class CmsDetachedSignature sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CmsDetachedSignature final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class CmsDetachedSignature final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CmsDetachedSignature
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Cryptography.Certificates.ICmsDetachedSignatureFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CmsDetachedSignature
function CmsDetachedSignature(inputBlob)
Public NotInheritable Class CmsDetachedSignature
Inheritance
Object Platform::Object IInspectable CmsDetachedSignature
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

CmsDetachedSignature(IBuffer)

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

Properties

Certificates

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

Signers

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

Methods

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)

Verifies a signed CMS message against the original streaming input.

Applies to