Class SignOptions

Info

Represents Sign Options for Documentize.PdfSecurity plugin.

public sealed class SignOptions : PluginBaseOptions, IPluginOptions

Inheritance

objectPluginBaseOptionsSignOptions

Implements

Inherited Members

Constructors

SignOptions(Stream, string)

Initializes a new instance of the Documentize.SignOptions object with setting pfx stream and password.

public SignOptions(Stream pfx, string password)

Parameters

  • pfx Stream: The stream with the pfx file.
  • password string: The password to the pfx file.

SignOptions(string, string)

Initializes a new instance of the Documentize.SignOptions object with setting pfx file and password.

public SignOptions(string pfx, string password)

Parameters

  • pfx string: The path to the pfx file.
  • password string: The password to the pfx file.

SignOptions(TimestampOptions)

Initializes a new instance of the Documentize.SignOptions object with setting Timestamp. You can set the timestamp for a document as a separate signature.

public SignOptions(TimestampOptions timestampOptions)

Parameters

  • timestampOptions TimestampOptions: The timestamp are used to create the timestamp signature without the need to provide a certificate.

Properties

Contact

The contact of signature.

public string Contact { get; set; }

Property Value

string

Location

The location of signature.

public string Location { get; set; }

Property Value

string

Name

The name of existing signature field. Null to create a new field.

public string Name { get; set; }

Property Value

string

PageNumber

The page number on which signature is made.

public int PageNumber { get; set; }

Property Value

int

Reason

The reason of signature.

public string Reason { get; set; }

Property Value

string

Rectangle

The rect of signature.

public Rectangle Rectangle { get; set; }

Property Value

Rectangle

TimestampOptions

Timestamp Options. The timestamp are used to create the timestamp signature without the need to provide a certificate. If the property is set and a certificate is provided to the constructor of the Documentize.SignOptions class, the digital signature will be timestamped with an embedded timestamp. If the property is set but no certificate is provided to the constructor of the Documentize.SignOptions class, the timestamp will be added as a separate signature.

public TimestampOptions TimestampOptions { get; set; }

Property Value

TimestampOptions

Visible

The visiblity of signature.

public bool Visible { get; set; }

Property Value

bool

Namespace: Documentize Assembly: Documentize.dll

 English