CmsDetachedSignature Klasse

Definition

Stellt eine getrennte Signatur für eine signierte CMS-Nachricht dar.

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

CmsDetachedSignature(IBuffer)

Erstellt eine neue instance der CmsDetachedSignature-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.

Signers

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

Methoden

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

Signiert die angegebenen Eingabedaten mithilfe der angegebenen Signaturinformationen und erstellt eine getrennt signierte CMS-Nachricht.

VerifySignatureAsync(IInputStream)

Überprüft eine signierte CMS-Nachricht mit der ursprünglichen Streamingeingabe.

Gilt für: