CmsAttachedSignature Klasse

Definition

Stellt eine Signatur dar, die einer signierten CMS-Nachricht angefügt ist.

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
Vererbung
Object Platform::Object IInspectable CmsAttachedSignature
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

CmsAttachedSignature(IBuffer)

Erstellt eine neue instance der CmsAttachedSignature-Klasse für die angegebene signierte CMS-Nachricht.

Eigenschaften

Certificates

Ruft die Liste der Zertifikate ab, die für die Kettenerstellung für das Signaturzertifikat verwendet werden.

Content

Ruft den Inhalt der signierten CMS-Nachricht ab.

Signers

Ruft die Liste der Signierer ab, die zum Erstellen oder Überprüfen der Signatur verwendet werden.

Methoden

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

Signiert die angegebenen Eingabedaten mit den angegebenen Signaturgeberinformationen und erstellt eine angefügte signierte CMS-Nachricht.

VerifySignature()

Überprüft die in der signierten CMS-Nachricht enthaltene Signatur.

Gilt für: