In this article, we will be learning to programmatically verify the digitally signed documents using Java. The example uses PDF document for the verification, however, you may also perform verification of digitally signed word processing documents like MS Word DOC/DOCX, Excel spreadsheets XLS/XLSX, and presentations PPT/PPTX.