xades-bes-signer
v1.0.3
Published
XAdES-BES signer utilities for Node.js (TypeScript) — certificate handling and XAdES-BES signature helpers.
Downloads
330
Maintainers
Readme
xades-bas-signer
XAdES-BES signer for Node/TypeScript — utilities to load certificates and create XAdES-BES XML signatures.
A compact TypeScript library that helps you manage certificate files (P12) and produce the canonical building blocks needed for XAdES-BES signatures in Node.js applications.
Features
- Load and manage certificate files using a FileManager.
- Convert hex, bigint, and SHA-1 digests to Base64.
- Utilities for deterministic formatting of Base64 output.
- Test suite with example environment-driven cert path to validate file handling.
Quick Start
- Prerequisites: Node.js >= 16 (as declared in package.json), npm install.
- Set up:
- Create a .env file in Create a
.envin repository root with:
- Create a .env file in Create a
- Install:
npm install- Run tests:
npm test
Licence
MIT (see LICENSE).
