GroupDocs.Signature for Java

Search for digital signatures in PDF

Retrieve a complete list of e-signatures embedded in PDF, Word, Excel, Presentations, or Image files using GroupDocs.Signature for Java.

Steps for searching PDF signatures using Java

GroupDocs.Signature provides a powerful engine to search for any digital signatures within PDF files. Java developers can easily enhance their applications with our solution.

  1. Provide the PDF file path for signature search.
  2. Use SearchOptions to refine the search results.
  3. Execute the Search method to obtain the results.
  4. Analyze the list of found signatures.

// Create an instance of Signature with the document path
final Signature signature = new Signature("input.pdf");

// Instantiate TextSearchOptions to cover all pages
TextSearchOptions options = new TextSearchOptions();
options.setAllPages(true);

// Search for text signatures within the document
List<TextSignature> signatures = signature.search(TextSignature.class, options);
System.out.print("\nSource document contains following text signature(s).");

// List the found signatures for further analysis
for (TextSignature textSignature : signatures) {
    System.out.print("Found Text signature at page " + textSignature.getPageNumber() 
        + " with type [" + textSignature.getSignatureImplementation() + "] and 
        text '" + textSignature.getText() + "'.");
}
Maven XML
click to copy
copied
More examples Documentation

Comprehensive document signing solution

We are proud to introduce our document signing solution, compatible with all major document formats. Add a wide range of signatures to enhance your documents or secure their content.

Signature search

Sign business documents

Insert digital signatures at any position on any page of a document. Use a variety of signature types, such as text, images, barcodes, metadata, stamps, or digital certificates.

Manage signatures

After signing, documents may require further processing. Search for all available signatures, and update or delete them whenever necessary.

Protect document content

Manage hidden metadata embedded in the document. Add new metadata or remove existing entries. Use corporate digital certificates to safeguard the document’s content from unauthorized alterations.

Search for image signatures

This example demonstrates how to find an image signature in a specific document.

Java

// Pass the source document as a constructor parameter
final Signature signature = new Signature("input.pdf");

// Search for any signatures with a text type
List<ImageSignature> signatures = signature.search(ImageSignature.class, SignatureType.Image);
System.out.print("\nSource document contains following image signature(s).");

// Display the results with the properties of the found signatures
for (ImageSignature imageSignature : signatures)
{
    System.out.print("Image signature found at page "+imageSignature.getPageNumber()+
          " with size "+imageSignature.getSize()+". Created "+imageSignature.getCreatedOn()+
          ", modified "+imageSignature.getModifiedOn());
}
Maven XML
click to copy
copied
More examples Documentation

About GroupDocs.Signature for Java

GroupDocs.Signature for Java offers powerful features for signing documents. It supports adding text, images, barcodes, digital certificates, and stamps to files in 60+ formats, including PDFs, MS Office documents, Images, ZIP files, and other common business formats. In addition, you can search, verify, modify, or delete signatures at any time.
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

Our product offers a flexible API for signing documents and managing signatures after signing.

Search signatures in various file formats

GroupDocs.Signature for Java API enables you to retrieve the list of signatures from any signed file. Extract signatures from popular file formats for further processing.

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