Skip to content
dweller long gone edited this page May 21, 2026 · 4 revisions

PkiStudioJS Wiki

PkiStudioJS is a browser-based ASN.1 DER/BER/PEM viewer and editor. It parses data locally in the browser, displays ASN.1 structures as a navigable tree, and provides tools for inspecting, copying, exporting, editing, deleting, and reopening selected nodes.

PkiStudioJS screenshot

The hosted application is available at:

https://pkistudio.github.io/pkistudiojs/

Current package version: 0.6.1

What to Read First

  • Getting Started: install, run, and load ASN.1 data.
  • Viewer Usage: use the browser viewer, script tags, npm imports, and embedded mode.
  • Core API: parse, serialize, encode, and inspect ASN.1 data from JavaScript.
  • Editing and Interaction: tree actions, editing support, send-to actions, and validation behavior.
  • OID Resolver: use bundled and custom OID names.
  • Testing: understand what npm test protects and where browser verification is still needed.
  • Development: local checks, static server, package entry points, and release notes.

Key Guarantees

  • File contents are not uploaded to a server.
  • The local Node.js server only serves static files.
  • The npm package is published as @pkistudio/pkistudiojs.
  • The package entry point and @pkistudio/pkistudiojs/core both resolve to the reusable Core API.
  • @pkistudio/pkistudiojs/viewer is import-safe in Node-like module evaluation contexts, but init() requires a browser DOM.
  • Direct browser script usage exposes window.PkiStudioCore, window.PkiStudio, and window.PkiStudioOidResolver.

Repository Links

Clone this wiki locally