Verify Digital Signatures in WORD via Java

Java library to verify all popular digital signature types within a WORD file. Easily manipulate word properties and customize signing options within documents and images.


Download Free Trial

About GroupDocs.Signature for Java API

GroupDocs.Signature for Java is an advanced Java library to digitally sign documents using various signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. By adding just a few lines of code, empower your Java applications with features to view, add, edit, validate, delete and search digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats. The e-signature API also supports additional features to customize signature properties as per requirements.

How to Verify Digital Signatures in a WORD File

The code example below clearly demonstrates the steps about how to verify digital signatures in an already signed WORD file in Java using GroupDocs.Signature library by adding just a few lines of code.

System Requirements

GroupDocs.Signature for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Download the latest version of GroupDocs.Signature for Java from NuGet

Signature signature = new Signature("sample.pdf");
DigitalVerifyOptions options = new DigitalVerifyOptions(Constants.CertificatePfx);
options.setComments("Test comment");
options.setPassword("1234567890");

// verify document signatures
VerificationResult result = signature.verify(options);
if (result.isValid())
{
    System.out.print("\nDocument was verified successfully!");
}
else
{
    System.out.print("\nDocument failed verification process.");
}

Verify WORD Signature Live Demos

Add WORD file electronic signatures right now by visiting GroupDocs.Signature Live Demos website. The live demo has the following benefits

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

What is WORD File Format

A word processing file contains user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. The use of plain text files have reduced significantly with passage of time as there are more powerful computers and programs available to offer rich text files processing. Microsoft Word for Windows, Mac, iOS and Android is a powerful word processor that can open, read and edit such document file formats in addition to other text editors. Common plain text file extensions and associated file formats include TXT, CSV, while file extensions for rich text documents include DOCX, DOC and RTF. Learn more about WORD file format

Read More What is WORD File Format

Other Available Options

Multi-format digital signatures validation API for documents and images. Update signatures from some of the popular file formats as stated below.

Verify e-Signatures in PDF

(Adobe Portable Document Format)

Verify e-Signatures in DOC

(Microsoft Word Document)

Verify e-Signatures in DOCM

(Microsoft Word Macro-Enabled Document)

Verify e-Signatures in DOCX

(Microsoft Word Open XML Document)

Verify e-Signatures in DOT

(Microsoft Word Document Template)

Verify e-Signatures in DOTX

(Word Open XML Document Template)

Verify e-Signatures in DOTM

(Microsoft Word Macro-Enabled Template)

Verify e-Signatures in RTF

(Rich Text Document)

Verify e-Signatures in ODT

(Open Document Text)

Verify e-Signatures in OTT

(OpenDocument Text Template)

Verify e-Signatures in XLS

(Microsoft Excel Binary File Format)

Verify e-Signatures in XLSX

(Microsoft Excel Open XML Spreadsheet)

Verify e-Signatures in XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Verify e-Signatures in XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Verify e-Signatures in XLSB

(Microsoft Excel Binary Worksheet)

Verify e-Signatures in XLTX

(Microsoft Excel template)

Verify e-Signatures in XLTM

(Microsoft Excel macro-enabled template)

Verify e-Signatures in ODS

(Open Document Spreadsheet)

Verify e-Signatures in OTS

(OpenDocument Spreadsheet Template)

Verify e-Signatures in PPT

(PowerPoint Presentation)

Verify e-Signatures in PPTX

(PowerPoint Open XML Presentation)

Verify e-Signatures in PPS

(Microsoft PowerPoint 97-2003 Slide Show)

Verify e-Signatures in PPSX

(PowerPoint Open XML Slide Show)

Verify e-Signatures in POTM

(Microsoft PowerPoint Macro-Enabled Template)

Verify e-Signatures in POTX

(Microsoft PowerPoint Template)

Verify e-Signatures in PPTM

(Microsoft PowerPoint Presentation)

Verify e-Signatures in ODP

(OpenDocument Presentation)

Verify e-Signatures in OTP

(OpenDocument Presentation Template)

Verify e-Signatures in TIFF

(Tagged Image File Format)

Verify e-Signatures in GIF

(Graphics Interchange Format)

Verify e-Signatures in PNG

(Portable Network Graphic)

Verify e-Signatures in BMP

(Bitmap File Format)

Verify e-Signatures in CDR

(CorelDraw Vector Graphic Drawing)

Verify e-Signatures in SVG

(Scalable Vector Graphics)

Verify e-Signatures in PSD

(Adobe Photoshop Document)

Verify e-Signatures in WMF

(Windows Metafile)

Verify e-Signatures in EMF

(Enhanced Metafile Format)

Verify e-Signatures in CMX

(Corel Metafile eXchange Image)

Verify e-Signatures in PPSM

(Microsoft PowerPoint Macro-Enabled Slide Show)

Verify e-Signatures in DCM

(Digital Imaging and Communications in Medicine)

Back to top
 English