Class Signature

Class Signature

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

Represents Aspose.Pdf.Plugins.Signature plugin.

public sealed class Signature : IPlugin

Inheritance

objectSignature

Implements

IPlugin

Inherited Members

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

Examples

The example demonstrates how to sign PDF document.

// create Signature
var plugin = new Signature();
// create SignOptions object to set instructions
var opt = new SignOptions(inputPfx, inputPfxPassword);
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
plugin.Process(opt);

Constructors

Signature()

public Signature()

Methods

Process(IPluginOptions)

Starts the Aspose.Pdf.Plugins.Signature processing with the specified parameters.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

An options object containg instructions for the Aspose.Pdf.Plugins.Signature.

Returns

ResultContainer

An ResultContainer object containg the result of the operation.

Exceptions

InvalidOperationException

 English