Click or drag to resize

DigitalSignatureElement Class

Represents a digital signature in the PDF document. An instance of this class can be created by a call to Document.Security.CreateSignature()
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PdfDocumentPageElement
    ExpertPdf.Anywhere.PdfDocumentDigitalSignatureElement

Namespace: ExpertPdf.Anywhere.PdfDocument
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class DigitalSignatureElement : PageElement

The DigitalSignatureElement type exposes the following members.

Constructors
 NameDescription
Public methodDigitalSignatureElement(RectangleF, DigitalCertificate) Constructs a digital signature object that can be added to a PDF page.
Public methodDigitalSignatureElement(RectangleF, IExternalSigner) Constructs a digital signature signed by an external signer - a key held in a hardware security module, a smart card, a USB token or a key service.
Top
Properties
 NameDescription
Public propertyActualText Gets or sets the exact text this element stands for in a tagged document, when its content does not spell it (text drawn as an image or with an unusual font, for example). The default value is null.
(Inherited from PageElement)
Public propertyAlternateText Gets or sets the alternate description of this element in a tagged document, read by assistive technology instead of the content - the description of a figure, for example. PDF/UA requires it for figures. The default value is null.
(Inherited from PageElement)
Public propertyArtifact Gets or sets whether this element is decorative in a tagged document: it is marked as an artifact (a background, a rule, a running header) and left out of the logical structure. The default value is false.
(Inherited from PageElement)
Public propertyCertificate Gets the certificate used to create the signature, or null when the signature is made by an external signer.
Public propertyContactInfo Information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number.
Public propertyDigestAlgorithm Gets the hash algorithm the signature is computed with. The default is SHA256.
Public propertyEnableLtv Gets or sets whether the signature is made LTV-enabled (long-term validation) when the document is saved: the revocation data of the signing certificate and its issuers is obtained and embedded, so the signature can be validated later without going online.
Public propertyLocation Gets or sets the CPU host name or physical location of the signing.
Public propertyReason Gets or sets the reason The reason for the signing, such as ( I agree … ).
Public propertySignatureBackgroundImage Gets or sets an image drawn behind the text of the signature's appearance - a company logo, a seal, a scanned handwritten signature - as strongly as SignatureBackgroundOpacity says.
Public propertySignatureBackgroundOpacity Gets or sets how strongly SignatureBackgroundImage is drawn, from 0 (not at all) to 1 (the image's own colours). The default value is 0.25.
Public propertyTagType Gets or sets the structure type of this element in a tagged document (a heading, a paragraph, a figure and so on). Every element added to a tagged document must have a tag type or be an Artifact. Ignored in a document that is not tagged. The default value is null.
(Inherited from PageElement)
Top
Methods
 NameDescription
Public methodSetDate Specify the date when the document was signed. By default, the current date is set.
Top
See Also