Class Signature

Class Signature

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Stellt das Aspose.Pdf.Plugins.Signature-Plugin dar.

public sealed class Signature : IPlugin

Vererbung

objectSignature

Implementiert

IPlugin

Vererbte Mitglieder

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Beispiele

Das Beispiel zeigt, wie man ein PDF-Dokument signiert.

// erstelle Signature
var plugin = new Signature();
// erstelle SignOptions-Objekt, um Anweisungen festzulegen
var opt = new SignOptions(inputPfx, inputPfxPassword);
// füge den Eingabepfad hinzu
opt.AddInput(new FileDataSource(inputPath));
// setze den Ausgabepfad
opt.AddOutput(new FileDataSource(outputPath));
// führe den Prozess aus
plugin.Process(opt);

Konstruktoren

Signature()

public Signature()

Methoden

Process(IPluginOptions)

Startet die Verarbeitung des Aspose.Pdf.Plugins.Signature mit den angegebenen Parametern.

public ResultContainer Process(IPluginOptions options)

Parameter

options IPluginOptions

Ein Optionsobjekt, das Anweisungen für das Aspose.Pdf.Plugins.Signature enthält.

Rückgabewert

ResultContainer

Ein ResultContainer-Objekt, das das Ergebnis der Operation enthält.

Ausnahmen

InvalidOperationException

 Deutsch