Compartilhar via


CmsDetachedSignature Classe

Definição

Representa uma assinatura desanexada para uma mensagem cms assinada.

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
Herança
Object Platform::Object IInspectable CmsDetachedSignature
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Construtores

CmsDetachedSignature(IBuffer)

Cria uma nova instância da classe CmsDetachedSignature para a mensagem cms assinada especificada.

Propriedades

Certificates

Obtém a lista de certificados usados para a criação de cadeias para o certificado do signatário.

Signers

Obtém a lista de signatários que são usados para criar ou verificar a assinatura.

Métodos

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

Assina os dados de entrada especificados usando as informações do signatário especificadas e cria uma mensagem CMS assinada desanexada.

VerifySignatureAsync(IInputStream)

Verifica uma mensagem CMS assinada na entrada de streaming original.

Aplica-se a