<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-signature</artifactId>
    <version>23.6</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-signature', version: '23.6')
copied!  
<dependency org="com.groupdocs" name="groupdocs-signature" rev="23.6">
    <artifact name="groupdocs-signature" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-signature" % "23.6"
copied!  

High Code Java API to Sign, Search, & Verify Digital Signatures

banner

[Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

GroupDocs.Signature for Java is a high code Java API to Sign, Search, & Verify Digital Signatures within Microsoft Word®, Excel®, PowerPoint®, OpenOffice®, images, PDF & other file formats. Apply various types of barcodes, digital stamps, & eSignatures within documents without requiring to intall any 3rd party software.

eSign Java On-premise API Features

  • eSign documents, spreadsheets, presentations, PDF, images, and other format files.
  • Supported signature types are as follows:
    • Barcode Signature: Supports 60+ barcode types that can be used to eSign documents
    • Digital Signature: Create digital signature based on existing PFX certificate
    • Form-field Signature: Create new form-fields or update existing ones with the document.
    • Image Signature: Create custom image, user company logo, sender’s initials, company stamp icon.
    • Metadata Signature: Store & retrieve metadata properties with custom serialization & encryption.
    • QR-code Signature: Electronically sign documents with qr-codes of various types; such as, Aztec code, DataMatrix code, GS1 DataMatrix, GS1 QR code, etc.
    • Stamp Signature: Signature that looks like a round seal, with configurable stamp lines, custom text, size and other settings.
    • Text Signature: Create, customize (font, size, color, shadow etc.), & apply text signature.
  • Work with several signatures in parallel or apply different types of signatures within the same document.
  • Search for signatures within the electronically signed documents.
  • Perform the verification of the eSignatures.
  • Ability to extract information (pages count, page height & width etc.) about the document that is helpful in generating document preview.
  • Generate document preview (PNG, JPG, BMP) to view the eSigned document pages.
  • Ability to hide all the signatures from the document in the document preview mode.
  • Generate signature preview to view the electronically generated signatures.
  • Apply password protection to the digitally signed documents.
  • Save electronically eSigned images to various output file formats, such as, BMP, GIF, JPEG, PNG, & TIFF.

Supported Document Signature File Formats

The barcode, image, QR-code, stamp, & text signature operation is supported for the following file formats:

Microsoft Word®: DOC/DOCM/DOCX/DOT/DOTM/DOTX
OpenOffice Writer®: ODT/OTT
Microsoft Excel®: XLSX/XLS/XLSB/XLSM/XLTX/XLT/XLTM
OpenOffice Calc®: ODS/OTS
Microsoft PowerPoint®: POTM/POTX/PPS/PPSM/PPSX/PPT/PPTM/PPTX
OpenOffice Impress®: ODP/OTP
Image: BMP/GIF/JPG/JPEG/PNG/DJVU/TIF/TIFF/WEBP
CorelDRAW®: CDR/CMX
Adobe Photoshop®: PSD
Vector: SVG
Metadata: EMF/WMF
Fixed Layout: PDF

The digital signature operation is supported for the following file formats:

Microsoft Word®: DOC/DOCM/DOCX/DOT/DOTM/DOTX
Microsoft Excel®: XLSX/XLS/XLSB/XLSM/XLTX/XLT/XLTM
OpenOffice Calc®: ODS/OTS
Fixed Layout: PDF

The formfield signature operation is supported for the following file formats:

Microsoft Word®: DOC/DOCM/DOCX/DOT/DOTM/DOTX
Microsoft Excel®: XLSX/XLS/XLSB/XLSM/XLTX/XLT/XLTM
OpenOffice Calc®: ODS/OTS
OpenOffice Impress®: ODP
Fixed Layout: PDF

The metadata signature operation is supported for the following file formats:

Microsoft Word®: DOC/DOCM/DOCX/DOT/DOTM/DOTX
OpenOffice Writer®: ODT/OTT
Microsoft Excel®: XLSX/XLS/XLSB/XLSM/XLTX/XLT/XLTM
OpenOffice Calc®: ODS/OTS
Microsoft PowerPoint®: POTM/POTX/PPS/PPSM/PPSX/PPT/PPTM/PPTX
OpenOffice Impress®: ODP/OTP
Image: JPG/JPEG/PNG/TIF/TIFF
Adobe Photoshop®: PSD
Vector: SVG
Fixed Layout: PDF

For details and limitations please visit, Supported Document Formats.

System Requirements

  • Microsoft Windows: Windows Desktop & Server (x86, x64), Microsoft Azure
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), J2SE 8.0 (1.8) or above (for example Java 10)

GroupDocs.Signature for Java does not require any external software or third party tool to be installed. Just follow one of the ways as described in Installation and Configuration.

Get Started

GroupDocs hosts all Java APIs at the GroupDocs Repository. You can easily use GroupDocs.Signature for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installation from GroupDocs Repository using Maven documentation page.

Sample Java code to Save Signed Image as PNG

Signature signature = new Signature("sample.jpg");
QrCodeSignOptions signOptions = new QrCodeSignOptions("JohnSmith");
signOptions.setEncodeType(QrCodeTypes.QR);
signOptions.setLeft(100);
signOptions.setTop(100);

// create png save options with advanced settings
PngSaveOptions pngSaveOptions = new PngSaveOptions();
pngSaveOptions.setBitDepth((byte) 8);
pngSaveOptions.setColorType(PngColorType.Grayscale);
pngSaveOptions.setCompressionLevel(9);
pngSaveOptions.setFilterType(PngFilterType.Adaptive);
pngSaveOptions.setProgressive(true);
pngSaveOptions.setAddMissingExtenstion(true);

signature.sign("signedSample", signOptions, pngSaveOptions );

[Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

VersionRelease Date
24.7July 11, 2024
24.3March 22, 2024
23.12December 25, 2023
23.6.1September 21, 2023
23.6June 22, 2023
23.4April 10, 2023
22.11November 15, 2022
22.8August 15, 2022
22.2.1May 25, 2022
22.2February 4, 2022
21.2January 25, 2022
19.7January 25, 2022
19.11January 25, 2022
18.8January 25, 2022
18.1January 25, 2022
17.6.0January 25, 2022
17.4.0January 25, 2022
21.11November 30, 2021
21.8August 26, 2021
21.5May 31, 2021
20.9September 5, 2020
20.5May 29, 2020
20.3March 20, 2020
19.5May 30, 2019
19.1.1March 7, 2019
19.1January 30, 2019
18.11December 4, 2018
18.6June 4, 2018
17.1.0April 19, 2018
17.11April 19, 2018
17.5.0April 19, 2018
17.7.0April 19, 2018
17.8April 19, 2018
18.4April 19, 2018