Compartir a través de


CmsAttachedSignature Clase

Definición

Representa una firma adjunta a un mensaje CMS firmado.

public ref class CmsAttachedSignature sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Cryptography.Certificates.ICmsAttachedSignatureFactory, 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 CmsAttachedSignature 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.ICmsAttachedSignatureFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class CmsAttachedSignature final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Cryptography.Certificates.ICmsAttachedSignatureFactory), 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 CmsAttachedSignature
[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.ICmsAttachedSignatureFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CmsAttachedSignature
function CmsAttachedSignature(inputBlob)
Public NotInheritable Class CmsAttachedSignature
Herencia
Object Platform::Object IInspectable CmsAttachedSignature
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v1.0)

Constructores

CmsAttachedSignature(IBuffer)

Crea una nueva instancia de la clase CmsAttachedSignature para el mensaje CMS firmado especificado.

Propiedades

Certificates

Obtiene la lista de certificados que se usan para la creación de cadenas para el certificado de firmante.

Content

Obtiene el contenido del mensaje CMS firmado.

Signers

Obtiene la lista de firmantes que se usan para crear o comprobar la firma.

Métodos

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

Firma los datos de entrada especificados mediante la información del firmante especificada y crea un mensaje CMS firmado adjunto.

VerifySignature()

Comprueba la firma contenida en el mensaje CMS firmado.

Se aplica a