TrexoLab
Back to products
SDK

VerifyKit

PDF signature verification SDK -- Rust/WASM engine, React viewer components, and a zero-config vanilla JS drop-in.

stablev0.5.12

VerifyKit is a professional SDK for verifying PDF digital signatures in JavaScript and TypeScript applications. It combines a Rust/WASM-powered verification engine with ready-to-use React components and a zero-config vanilla JS drop-in, all organized in a composable plugin architecture -- built for embedding PDF viewing with cryptographic signature validation into web applications, server-side pipelines, or both.

Features

  • 8-point verification model -- integrity, signature, certificate chain, expiry, timestamp, revocation, algorithm strength, and extended key usage (EKU)
  • Rust/WASM core engine, 3.7x faster than pure JavaScript verification, base64-embedded with zero bundler configuration
  • PAdES conformance detection -- B-B, B-T, B-LT, and B-LTA profile identification
  • Embedded AATL trust store with Indian PKI and international certificate authorities
  • Plugin architecture -- online revocation checking, custom trust stores, composable UI plugins
  • React viewer components -- toolbar, signature panel, sidebar, and 24 composable plugins
  • Zero-config vanilla JS drop-in -- single script tag deployment via CDN
  • TypeScript-first with full type definitions for every public API

Usage

usage.ts
import { verify } from "@trexolab/verifykit";

const result = await verify(pdfBytes);

console.log(result.status);              // "valid"
console.log(result.signatures[0].pades); // "B-LT"

Tags

reacttypescriptrustwasmpdfverification