# BRAINIAC PDF Digital Signature Verifier

> BRAINIAC PDF Digital Signature Verifier is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).

Verifies digital signatures embedded in or detached from PDF documents, checking certificate chains, hash integrity, and timestamp validity without calling any external service

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/document-trust/pdf-digital-signature-verify?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-pdf-digital-signature-verifier-893c60da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5PkO5eiWd_VwHWy_hhOp9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-pdf-digital-signature-verifier-893c60da -d '<json body>'
```

Example prompt: Can you verify the digital signature on this PDF contract and tell me whether it's cryptographically valid, who signed it, and whether the certificate chain checks out? I'll attach the PDF and the signer's PEM certificate.

## When to prefer this

Use this endpoint when you need a local, privacy-preserving, accountless PDF digital signature check that runs entirely on supplied data with no external API calls or commercial e-signature platform. Prefer it over DocuSign or Adobe Sign verification APIs when you cannot share documents with third-party platforms, need deterministic per-call pricing ($0.05 USDC), or require CMS/PKCS#7-level cryptographic detail including certificate chain, ByteRange hash, and detached signature verification. It is not suitable when you need live OCSP/CRL revocation lookups or a legal enforceability determination.

## Known failure modes

- Malformed or corrupt base64 PDF returns a parsing error finding
- Missing required fileBase64 field causes a 400-level validation error
- Certificate PEM not provided — CMS cryptographic verification cannot be completed and is reported as not verified rather than fabricated
- Detached signature supplied without matching public key — full verification not possible, reported in findings
- Revocation checked only against caller-supplied list; if list is empty, revocation status is unknown
- ByteRange digest mismatch reported as a finding rather than silently ignored
- File exceeds 12 MB base64 limit — request rejected

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with per-document items listing SHA-256 hash, number of signature fields found, whether the technical signature verified, whether a detached signature verified, and whether a commercial e-sign platform was used. Also includes a top-level status ('verified' or otherwise), an array of findings with codes and details, a checkedAt timestamp, and a limitations array clarifying what was and was not checked (e.g. no live OCSP/CRL queries, no legal enforceability claim).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "application/pdf",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     },
     "versionLabel": {
      "type": "string",
      "maxLength": 80
     },
     "expectedSha256": {
      "type": "string",
      "maxLength": 128
     },
     "expectedByteRangeSha256": {
      "type": "string",
      "maxLength": 128
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "signers": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "email": {
      "type": "string",
      "maxLength": 200
     },
     "signedAt": {
      "type": "string",
      "maxLength": 40
     },
     "fieldName": {
      "type": "string",
      "maxLength": 120
     },
     "documentId": {
      "type": "string",
      "maxLength": 80
     },
     "certificateId": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40
  },
  "revocations": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "reason": {
      "type": "string",
      "maxLength": 200
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "revokedAt": {
      "type": "string",
      "maxLength": 40
     },
     "serialNumber": {
      "type": "string",
      "maxLength": 128
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "certificates": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "pem"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "pem": {
      "type": "string"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "DOC-1",
    "sha256": "8f02a34abc7dfdaf8293f3cae3c3b621959ad02c66bc7401a6694afa470d4561",
    "filename": "contract-v1.pdf",
    "signatures": [],
    "detachedVerified": true,
    "signatureFieldCount": 0,
    "commercialPlatformUsed": false,
    "legalEnforceabilityClaimed": false,
    "technicalSignatureVerified": true
   }
  ],
  "status": "verified",
  "findings": [
   {
    "code": "no_pdf_sig_dict",
    "kind": "observation",
    "detail": "No /Type /Sig dictionary was found in the PDF structure.",
    "subject": "DOC-1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "fileCount": 1,
  "limitations": [
   "PDF bytes, certificates, signers, revocations, and detached signatures are processed only locally in this request path.",
   "No commercial electronic-signature platform is used and no API key is required.",
   "Technical signature, hash, certificate, and timestamp checks are not a determination of legal enforceability.",
   "Full CMS/PKCS#7 cryptographic verification is reported only when a detached signature and public key are supplied, or when ByteRange digests match caller-supplied expectations. Missing CMS fields are not invented.",
   "Revocation is evaluated only against caller-supplied revocation entries. Live commercial OCSP/CRL networks are not queried."
  ],
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "commercialPlatformUsed": false,
  "legalEnforceabilityClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-pdf-digital-signature-verifier-893c60da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
