jsrsasign Add On2
From release 10.7.0 (2023-Mar-12), New "Add-on" architecture have been introduced. You can define and add:
- custom X.509 extension parsers
- OID and name definitions
In the future, custom X.509 extension generator class will also be supported.
Official "Add-on"s
| NPM | Src | Description |
|---|---|---|
| jsrsasign-addon-qc | src | Extension and OIDs EU eIDAS Qualified Certificate qcStatements |
| jsrsasign-addon-leioor | src | Extension and OIDs for ISO 17442-2 Legal Entity Identifier(LEI) and Role |
| jsrsasign-addon-jpcorpreg | src | Extensions and OIDs for Japanese Corporate Registration Certificate |
| jsrsasign-addon-ct | src | Extensions and OIDs for RFC 9161 Certificate Transparency (NEW!) |
Please let me know if you publish any your custom addon. I'll add it here.
Loading Add-on Module for Node.JS
Here is a sample for QC.
let jsrsasign = require("jsrsasign"); require("jsrsasign-addon-qc").register(jsrsasign);
Loading Add-on Module for HTML and JavaScript Page
<script type="module"> import jsrsasign from 'https://cdn.jsdelivr.net/npm/jsrsasign@10.7.0/+esm'; import qcAddon from 'https://cdn.jsdelivr.net/npm/jsrsasign-addon-qc@0.9.4/+esm'; qcAddon.register(jsrsasign); // Then you can use jsrsasign with supports qualified certificate parser and OIDs </script>