Click or drag to resize

PdfSignature Class

Represents a digital signature used for signing a PDF document.
Inheritance Hierarchy
System Object
Spire.Pdf.Security PdfSignature

Namespace: Spire.Pdf.Security
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfSignature

The PdfSignature type exposes the following members.

Constructors
Properties
Name Description
Public property Appearence
Gets the signature Appearance.
Public property Bounds
Gets or sets bounds of signature.
Public property Certificate
Gets signing certificate.
Public property Certificated
Gets or sets a value indicating certificate document or not. NOTE: Works only with Adobe Reader 7.0.8 or higher.
Public property Certificates
Get all certificates.
Public property ConfigGraphicType Obsolete.
Digital Signature Graphic Type
Public property ConfiguerGraphicPath Obsolete.
Digital Signature Configuer Graphic file Path
Public property ContactInfo
Gets or sets information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number.
Public property ContactInfoLabel
Digital Signature ContactInfo Label
Public property Date
Get Signature Datetime
Public property DateLabel
Digital Signature Date Label
Public property DigitalSigner Obsolete.
The name of the person or authority signing the document, usually called signer.
Public property DigitalSignerLable Obsolete.
Digital Signature Common name label
Public property DistinguishedName
Digital Signature Distinguished name. Notes: Assigning a stirng value to it directly is not recommended unless you know what is the Distinguish Name exactly. One way suggested of value Assignment is using pdfSignature.Certificate.IssuerName.Name,in which, pdfSignature is an instance of PDFSignature class.
Public property DistinguishedNameLabel
Signature Distinguished Name label
Public property DocumentPermissions
Gets or sets the permission for certificated document.
Public property GraphicsMode
The Grapphic render/display mode.
Public property IsConfiguerGraphicFilledBounds Obsolete.
Digital Signature Configuer Graphic is filled bounds.
Public property IsTag Obsolete.
Flag determine whether to display the labels
Public property Location
Gets or sets signature location on the page.
Public property LocationInfo
Gets or sets the physical location of the signing.
Public property LocationInfoLabel
Digital Signature LocationInfo Label
Public property Lock
A signature field lock dictionary that specifies a set of form fields to be locked when this signature field is signed. Table 8.82lists the entries in this dictionary.
Public property Name
The name of the person or authority signing the document.
Public property NameLabel
Name label
Public property Reason
Gets or sets reason of signing.
Public property ReasonLabel
Digital Signature ReasonLabel
Public property ShowConfiguerText Obsolete.
Show Digital Signature,Configuer Text
Public property SignDetailsFont
Set the SignDetails font. Note: if not set, the default font will be applied.
Public property SignFontColor
Set font color for the signature info if not set, the default is black
Public property SignImageLayout
Set or get the sign image layout.
Public property SignImageSource
Signature Image Source
Public property SignInfoFont Obsolete.
Set signature info font
Public property SignNameFont
Set the sign name font. Note: This font applys to sign name when the GraphicMode is SignNameOnly or SignNameAndSignDetail. if not set, the default font will be applied.
Public property SignTextAlignment
Sets the alignment of signature text
Public property Visible
Gets a value indicating whether signature visible or not.
Top
Methods
Name Description
Public method ConfigureCustomGraphics
Configure custom graphics.
Public method ConfigureCustomOCSP
Configure OCSP which must conform to RFC 2560.
Public method ConfigureHttpOCSP
Configure OCSP which must conform to RFC 2560.
Public method ConfigureTimestamp(String)
Configure timestamp which must conform to RFC 3161.
Public method ConfigureTimestamp(PdfSignature TimestampGenerateHandler)
Configure timestamp which must conform to RFC 3161.
Public method ConfigureTimestamp(String, String, String)
Configure timestamp which must conform to RFC 3161.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method SetSignNameWidth
Set the Sign Name Width
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method VerifyDocModified
Check if the document was altered after signed. True if modified; otherwise false.
Public method VerifySignature
check thie validity of the signature
Top
See Also