PdfDocumentSignature Class |
Namespace: Atalasoft.PdfDoc.DigitalSignatures
The PdfDocumentSignature type exposes the following members.
Name | Description | |
---|---|---|
![]() | PdfDocumentSignature |
Initializes a new instance of the PdfDocumentSignature class.
|
Name | Description | |
---|---|---|
![]() | AutoGenerateSignatureAppearance |
Gets or sets a value indicating whether DotPdf should automatically
generate the signature's AppearanceSet.
|
![]() | CmsInformation |
Gets or sets the CMS information used to sign the document including the signatures.
(Inherited from BaseSignature.) |
![]() | IsVisible |
Gets or sets a value indicating whether the signature is visible.
(Inherited from BaseSignature.) |
![]() | SignatureWidget |
Gets the signature widget that will be used for signing.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MakeRepairContext |
Makes the repair context for repairing problems in this object. An object implementing IValidatable
should at least return an empty RepairContext object.
(Inherited from BaseSignature.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Validate |
Validates the object and accumulates any problems in the problems list.
(Inherited from BaseSignature.) |
public void SignDoc(PdfDocumentSigner signer, SignatureWidgetAnnotation annot, CmsInformation cmsInfo) { PdfDocumentSignature signature = new PdfDocumentSignature(cmsInfo, signature, true, true); signer.SignAndSave(new PdfDocumentSignature[] { signature } ); }