GroupDocs.Signature for Java

e-Signature verification for PDF

Verify all supported e-signatures in PDF, Word, Excel, Presentations, Images, or ZIP files with GroupDocs.Signature for Java.

Steps for verifying signatures in PDF using Java

GroupDocs.Signature can verify the presence of specific signatures in a PDF document. Java developers can easily empower their applications by adding features provided by our solution.

  1. Load the PDF file into the Signature instance.
  2. Instantiate and configure VerifyOptions to achieve the desired result.
  3. Initiate the verification process.
  4. Review the verification results.
// Instantiate a Signature with the document
Signature signature = new Signature("input.pdf");

// Create TextVerifyOptions to validate signatures containing specific text
TextVerifyOptions options = new TextVerifyOptions();
options.setText("signature");
options.setMatchType(TextMatchType.Contains);

// Verify the signatures in the document
VerificationResult result = signature.verify(options);

// Process the verification results
if (result.isValid())
{
    System.out.print("\nDocument was verified successfully!");
}
Maven XML
click to copy
copied
More examples Documentation

Comprehensive document signing solution

GroupDocs.Signature enhances popular office document formats with 7 types of signatures and full CRUD operations, offering robust protection for your document content.

Signature verification

Sign corporate documents

Add professional digital signatures to any document. Our solution supports various types of signatures, including text, images, barcodes, metadata, stamps, and digital certificates.

Signature CRUD operations

In many cases, signed documents require further processing. Retrieve a list of all signatures in a document, verify them, modify their properties, or remove them when necessary.

Protect document content

Safeguard corporate documents with digital certificates to prevent unauthorized changes. Embed hidden metadata to further protect document content.

Native signatures

Utilize document-specific text signatures, such as PDF stamps or Word watermarks, to create tailored, professional documents for corporate use.

Verify barcode signatures

This example demonstrates how to verify barcode signatures in a document.

Java

// Provide the document that contains barcode signatures
final Signature signature = new Signature("input.pdf");

// Configure options to verify barcodes against specific text
BarcodeVerifyOptions options = new BarcodeVerifyOptions();
options.setText("12345");
options.setMatchType(TextMatchType.StartsWith);

// Verify the signatures that were applied to the document
VerificationResult result = signature.verify(options);

// Display the results of the verification
if (result.isValid())
{
    System.out.print("\nDocument was verified successfully!");
}
Maven XML
click to copy
copied
More examples Documentation

Applications of GroupDocs.Signature for Java

GroupDocs.Signature for Java supports full CRUD operations for document signing and more. Sign 60+ document formats, including PDFs, MS Office files, Images, and ZIP archives, with text, image, barcode, digital certificates, metadata, and stamps. Additional operations such as searching, verifying, modifying, or deleting signatures are also available.
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.

Supported operations and signature types

Explore the full range of features and signature operations supported by GroupDocs.Signature.

Signature verification across file formats

GroupDocs.Signature for Java simplifies the process of verifying all signatures in a document. Set custom verification parameters to ensure the integrity of signed documents.

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