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.

12 lines (9 loc) 337 B
var Hugml = require("hugml") var hugml = new Hugml({ "http://uri.etsi.org/02918/v1.2.1#": "asic", "http://www.w3.org/2000/09/xmldsig#": "ds", "http://uri.etsi.org/01903/v1.3.2#": "xades" }) exports.parse = hugml.parse.bind(hugml) exports.stringify = hugml.stringify.bind(hugml) exports.canonicalize = hugml.canonicalize.bind(hugml)