qmetrics.net

PKI.js

TypeScript PKI library using Web Crypto in browsers and Node

PKI.js screenshot

PKI.js implements common public-key infrastructure formats and workflows in JavaScript. Cryptography is delegated to the Web Crypto API with no browser plugins.

Overview

PKI.js is a TypeScript library for building applications that use X.509 certificates and related standards. It covers the data structures and protocols typically found in signing, encryption, enrollment, and validation flows.

You can create, parse, sign, and verify X.509 certificates and PKCS#10 certificate requests. Chain validation can check revocation using certificate revocation lists and OCSP. The library also handles Cryptographic Message Syntax for signing and encryption, including S/MIME-style use cases and signed PDF verification described in its examples.

Time-stamp protocol requests and responses let you prove data existed before a given time. PKCS#12 and PKCS#8 support covers password- or certificate-protected key containers. PKIX objects are built on asn1js, and the design intentionally avoids shipping its own cryptographic primitives.

The project targets native web applications and Node.js environments that already expose Web Crypto. Documentation and examples walk through certificates, CRLs, OCSP, CMS, timestamps, and PKCS#12 handling.

Key features

  • X.509 certificate create, parse, sign, and verify
  • PKCS#10 certificate request handling
  • Certificate chain validation with CRL and OCSP
  • CMS signing and encryption
  • RFC 3161 timestamp requests and responses
  • PKCS#12 and PKCS#8 key containers
  • Web Crypto API for all cryptography
  • TypeScript-oriented PKIX object model

Use cases

  • Browser-based certificate tooling without plugins
  • S/MIME message signing and verification
  • OCSP and CRL processing in custom apps
  • CMS encryption and signature workflows

Tags

Similar software

OpenSSL Library

General-purpose TLS, QUIC, and cryptography toolkit

Toolkit implementing TLS, DTLS, and QUIC plus a standalone cryptographic library. Includes a command-line tool for certificates, digests, encryption, and protocol tests.

★ 31.6k⟳ yesterdayApache-2.0
Application SecurityDesktop/CLI app

CryptoSwift

Pure Swift cryptographic primitives and utilities library

CryptoSwift implements standard cryptographic algorithms in Swift for hashing, ciphers, message authentication, and key derivation. It integrates via Swift Package Manager and targets Apple platforms, Linux, and Android.

★ 10.6k⟳ 3 months agoZlib
Application SecurityDesktop/CLI app

Device Activity Tracker

Research PoC for messenger delivery-receipt activity leaks

Device Activity Tracker measures message delivery round-trip times on WhatsApp and Signal to infer active, standby, or offline device states for security research.

★ 5.3k⟳ 11 months agoMIT · open core

Microsoft SEAL

C++ homomorphic encryption library for private cloud computation

Microsoft SEAL is an open-source homomorphic encryption library in modern C++. It lets programs add and multiply encrypted integers or approximate encrypted real numbers.

★ 4.1k⟳ 1 month agoMIT
Application SecurityDesktop/CLI app

jsrsasign

Pure JavaScript cryptography and PKI toolkit

jsrsasign implements signing, validation, certificates, CMS, timestamps, and JWS/JWT/JWK handling in JavaScript with no external crypto dependencies.

★ 3.4k⟳ 29 days agoMIT
Application SecurityDesktop/CLI app

liboqs

C library for quantum-safe KEM and signature algorithms

liboqs implements post-quantum key encapsulation and signature schemes behind one C API. It includes tests and benchmarks for research and prototyping, not production reliance.

★ 3.1k⟳ 3 days agoMIT · open core
Application SecurityDesktop/CLI app