UNPKG

undersign

Version:

Create eIDAS compatible XAdES digital signatures with certificate OCSP responses and timestamps. Works with the Estonian Id-card and Mobile-Id to create BDOCs, but isn't limited to Estonia.

17 lines (12 loc) 471 B
var Asn = require("asn1.js") var OcspAsn = require("asn1.js-rfc2560") exports = module.exports = Object.create(OcspAsn) exports.OCSP_RESPONSE_TYPE = [1, 3, 6, 1, 5, 5, 7, 48, 1, 4] var ResponseType = Asn.define("ResponseType", function() { this.objid({"1 3 6 1 5 5 7 48 1 1": "id-pkix-ocsp-basic"}) }) var ResponseTypes = Asn.define("ResponseTypes", function() { this.seqof(ResponseType) }) exports.ResponseType = ResponseType exports.ResponseTypes = ResponseTypes