Table of Contents

Class SignatureFieldOptions

Namespace
SimpleSign.PAdES.Signing
Assembly
SimpleSign.PAdES.dll

Options for creating a PDF signature field.

public sealed class SignatureFieldOptions
Inheritance
SignatureFieldOptions
Inherited Members

Properties

Appearance

Optional visual appearance settings. When null, an invisible signature is created.

public SignatureAppearance? Appearance { get; init; }

Property Value

SignatureAppearance

CertificationLevel

When set, creates a certification (DocMDP) signature that restricts subsequent modifications. Only the first signature in a document can be a certification signature.

public CertificationLevel? CertificationLevel { get; init; }

Property Value

CertificationLevel?

ContactInfo

Contact information to embed in the signature dictionary /ContactInfo entry. Shown in Adobe's "Signature Properties".

public string? ContactInfo { get; init; }

Property Value

string

ContentsReservedBytes

Number of bytes reserved for the /Contents value. Defaults to 65536 (64 KB).

public int ContentsReservedBytes { get; init; }

Property Value

int

ExistingFieldName

When set, signs an existing empty signature field instead of creating a new one. The field must exist and have an empty /V value.

public string? ExistingFieldName { get; init; }

Property Value

string

FieldName

PDF field name for the signature. Defaults to "Signature1".

public string FieldName { get; init; }

Property Value

string

Location

Signing location to embed in the signature dictionary /Location entry.

public string? Location { get; init; }

Property Value

string

Reason

Signing reason to embed in the signature dictionary /Reason entry.

public string? Reason { get; init; }

Property Value

string

SignerName

Signer name to embed in the signature dictionary /Name entry.

public string? SignerName { get; init; }

Property Value

string

SubFilter

SubFilter value identifying the CMS format. Defaults to EtsiCadesDetached.

public PdfSignatureSubFilter SubFilter { get; init; }

Property Value

PdfSignatureSubFilter