CmsAttachedSignature Classe

Definizione

Rappresenta una firma associata a un messaggio CMS firmato.

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
Ereditarietà
Object Platform::Object IInspectable CmsAttachedSignature
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

CmsAttachedSignature(IBuffer)

Crea una nuova istanza della classe CmsAttachedSignature per il messaggio CMS firmato specificato.

Proprietà

Certificates

Ottiene l'elenco dei certificati utilizzati per la compilazione della catena per il certificato del firmatario.

Content

Ottiene il contenuto del messaggio CMS firmato.

Signers

Ottiene l'elenco dei firmatari utilizzati per la creazione o la verifica della firma.

Metodi

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

Firma i dati di input specificati usando le informazioni sul firmatario specificato e crea un messaggio CMS firmato collegato.

VerifySignature()

Verifica la firma contenuta nel messaggio CMS firmato.

Si applica a