GroupDocs.Signature for Node.js via Java

Protect PDF with digital certificates

Ensure the security of your business documents by embedding digital certificates using the advanced capabilities of GroupDocs.Signature for Node.js via Java. We offer flexible options to protect and authenticate your documents.

Guidelines for securing PDF with digital certificates in JavaScript

GroupDocs.Signature enables Node.js via Java developers to protect PDF documents from modifications by employing digital signatures. Enhance your business applications with comprehensive data security features.

  1. Pass the PDF document to the Signature class constructor.
  2. Apply a digital certificate and its corresponding password to secure the document.
  3. Optionally, add a visual representation of the digital signature on the document pages.
  4. Sign the document to prevent any future alterations.
const signatureLib = require('@groupdocs/groupdocs.signature')

// Utilize Signature to apply a digital signature to the document
const signature = new signatureLib.Signature('input.pdf');

// Provide the required digital certificate and password
const options = new signatureLib.DigitalSignOptions('certificate.pfx');
options.setPassword('1234567890');

// Configure visual signature settings if necessary
options.setPageNumber(1);
options.setLeft(100);
options.setTop(100);

// Encrypt the document using the digital certificate
const result = signature.sign('output.pdf', options);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

Optimize or secure document content with signatures

GroupDocs.Signature for Node.js via Java is built to sign all major file formats, offering you the ability to add, adjust, verify, or remove various types of signatures with ease.

Key features of GroupDocs.Signature

Add signatures to your documents

Easily place Text, Image, Barcode, QR-Code, or Stamp signatures on any page of supported documents. You can also insert or edit hidden metadata, such as EXIF in images. Protect your document content from unauthorized alterations with digital certificates.

Locate and verify signatures

Post-signing, your document can undergo multiple verifications. Confirm the integrity of the signed content, or conduct a detailed search to list all existing signatures.

Revise existing signatures

Most signature types allow for post-creation edits. You can easily modify text, reposition elements, adjust colors, resize, and make other necessary changes.

Eliminate unnecessary signatures

Our solution enables full CRUD operations for signatures. If required, you can remove various signature types, including digital certificates, from your document.

Protect documents with digital signatures

Learn how to lock a document against changes using digital signatures.

JavaScript

const signatureLib = require('@groupdocs/groupdocs.signature')

// Provide the document that requires signing
const signature = new signatureLib.Signature('input.pdf');

// Use an appropriate digital certificate and its password
const options = new signatureLib.DigitalSignOptions('certificate.pfx');
options.setPassword('1234567890');

// Include any additional text information
options.setReason('Security issue');
options.setContact('John Smith');
options.setLocation('Office D.W.');

// Add visual elements like images for the signature representation
options.setImageFilePath('image.png');
options.setAllPages(true);
options.setVerticalAlignment(signatureLib.VerticalAlignment.Bottom);
options.setHorizontalAlignment(signatureLib.HorizontalAlignment.Right);
options.setWidth(80);
options.setHeight(60);

const padding = new signatureLib.Padding();
padding.setBottom(10);
padding.setRight(10);
options.setMargin(padding);

// Save the digitally secured document to a specified location
const result = signature.sign('output.pdf', options);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

About GroupDocs.Signature for Node.js via Java

GroupDocs.Signature for Node.js via Java is a comprehensive signing solution designed to handle a variety of document processing needs. It allows you to incorporate text, images, digital certificates, and stamps into over 60 different file formats, including PDF, MS Office, images, and ZIP files. Additionally, signed documents can be easily searched, verified, edited, or deleted when necessary.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Signature for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Get to know our main functions

We proudly support a comprehensive suite of signature options and functionalities

Sign documents across multiple formats

The Node.js via Java API supports over 60 formats, enabling you to apply a range of signatures on any page, enforce content security with digital certificates, and manage signatures within the document effectively.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English