# PDF Digital Signature Cryptographic Verifier

> Inspects and cryptographically verifies X.509 digital PKI signatures and timestamps in PDF documents. Use when auditing signed legal contracts and government fi

- Skill: `bishnucd/pdf-digital-signature-cryptographic-verifier` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishnucd/pdf-digital-signature-cryptographic-verifier`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishnucd/pdf-digital-signature-cryptographic-verifier/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Bishnucd (https://skillmd.com/u/bishnucd)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/bishnucd/pdf-digital-signature-cryptographic-verifier

---

---
name: pdf-digital-signature-cryptographic-verifier
description: Inspects and cryptographically verifies X.509 digital PKI signatures and timestamps in PDF documents. Use when auditing signed legal contracts and government filing documents.
license: MIT
metadata:
  author: Community List Maintainers
  version: "1.0.0"
  source: "https://github.com/pyHanko/pyHanko"
---
# Pdf Digital Signature Cryptographic Verifier

## Overview
Verifying signed PDFs requires checking cryptographic digital signature blocks (ByteRange, /Contents), validating certificate chains against trust roots, and checking for post-signing tampering.

## Operational Workflow

1. **Parse PDF document dictionary and extract digital signature annotations (/Sig).**:
   - Parse PDF document dictionary and extract digital signature annotations (/Sig).

2. **Verify cryptographic digest against declared ByteRange to confirm document was not modified.**:
   - Verify cryptographic digest against declared ByteRange to confirm document was not modified.

3. **Validate signing certificate chain against trusted enterprise root CA certificates.**:
   - Validate signing certificate chain against trusted enterprise root CA certificates.

4. **Check certificate revocation lists (CRL) and OCSP stapled responses.**:
   - Check certificate revocation lists (CRL) and OCSP stapled responses.

## Recommended Tools & Environments
- pyHanko
- PKI / X.509
- Cryptography
- Python

## Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.

