Class Signature

Class Signature

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

Représente le plugin Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

Héritage

objectSignature

Implémente

IPlugin

Membres hérités

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

Exemples

L’exemple démontre comment signer un document PDF.

// créer Signature
var plugin = new Signature();
// créer un objet SignOptions pour définir les instructions
var opt = new SignOptions(inputPfx, inputPfxPassword);
// ajouter le chemin du fichier d'entrée
opt.AddInput(new FileDataSource(inputPath));
// définir le chemin du fichier de sortie
opt.AddOutput(new FileDataSource(outputPath));
// effectuer le processus
plugin.Process(opt);

Constructeurs

Signature()

public Signature()

Méthodes

Process(IPluginOptions)

Démarre le traitement d’Aspose.Pdf.Plugins.Signature avec les paramètres spécifiés.

public ResultContainer Process(IPluginOptions options)

Paramètres

options IPluginOptions

Un objet d’options contenant des instructions pour l’Aspose.Pdf.Plugins.Signature.

Retours

ResultContainer

Un objet ResultContainer contenant le résultat de l’opération.

Exceptions

InvalidOperationException

 Français