![]() // //// Although the steps above describes extending the SignatureHandler class, this sample demonstrates the use of //// StdSignatureHandler (a built-in SignatureHandler in PDFNet) to sign a PDF file. This can be used to //// add additional information to the signature dictionary (e.g. For example, UseSignatureHandler() returns an instance //// of SDF dictionary which represents the signature dictionary (or the /V entry of the form field). // //// Additional processing can be done before document is signed. // IMPORTANT: If there are already signed/certified digital signature(s) in the document, you must save incrementally //// so as to not invalidate the other signature(s). ![]() This will also create the digital signature dictionary and write a cryptographic signature to it. // NOTE: It is only possible to sign/certify one signature per call to the Save function. ![]() ![]() // iii) Call SignOnNextSaveWithCustomHandler/CertifyOnNextSaveWithCustomHandler with the SignatureHandlerId. // ii) Create an instance of the implemented SignatureHandler and register it with PDFDoc with //// pdfdoc.AddSignatureHandler(). The SignatureHandler will be used to add or //// validate/check a digital signature. This overload is to be used //// in the following fashion: //// i) Extend and implement a new SignatureHandler. Taking a unique identifier of a signature handler registered with the PDFDoc. Taking a buffer containing a PKCS //12 private keyfile and its password //// c. Taking a PKCS //12 keyfile path and its password //// b. There are three overloads for each one (six total): //// a. Call either CertifyOnNextSave or SignOnNextSave. // If you want it to be visible, provide a Rect argument with a non-zero width or height, and don't set the //// NoView and Hidden flags. Create a signature widget annotation, and pass the DigitalSignatureField that you just created or found. // -OR- //// (b) If you didn't just create the digital signature field that you want to sign/certify, find the existing one within the //// document by using PDFDoc.DigitalSignatureFieldIterator or by using PDFDoc.GetField to get it by its fully qualified name. EITHER: //// (a) Call doc.CreateDigitalSignatureField, optionally providing a name. Start with a PDF with or without form fields in it that one would like to lock (or, one can add a field, see (1)). // //// The following steps reflect typical intended usage of the digital signatures API: //// //// 0. - ////- //// This sample demonstrates the basic usage of the high-level digital signatures API in PDFNet. Consult LICENSE.txt regarding license information. You can edit, delete, or export created certificates.//- // Copyright (c) 2001-2021 by PDFTron Systems Inc. You can import other certificates stored locally on your computer. Any modification to the document content will invalidate the certificate signature.ĭouble-clicking the signature allows you to view signature details, showing the signed certificate information, signing time, and the signer's identity.Ĭlick the " Protect" tab > " Manage Certificate Signings." Once a certificate signature is applied, you cannot move its position or edit the document. How Can I Ensure the Validity of My Certificate Signing? Specifying the page range for batch signing multiple pages. The certificate signature can only be inserted into the document after successful authentication.Īfter setup, you can configure the certificate signing by:Ĭhanging the signature style or replacing it with an image or drawing.Īdding additional elements, timestamps, and reason. Set a password for the certificate signature (remember this password, as you'll need it for identity verification). Let's demonstrate the steps for creating a certificate signature using a formal purchase contract:Ĭlick " Certificate Sign" > " Add Signature."Įnter the required information in the pop-up window, including your name, encryption Key Algorithm, usage, country, company, and department. Legal Validity: PDF certificate signatures carry the same legal weight as traditional paper signatures, making signed contracts and legal documents legally valid.Īuthentication: Digital signatures allow for the verification of the signer's identity, ensuring that the signature belongs to a contract participant or legal professional. Once a document is signed, any changes will render the signature invalid. ![]() Document Integrity: Certificate signing ensures that the document has not been tampered with, safeguarding the document's integrity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |