Digital-certificate loading and XML signing for Brazilian fiscal documents.
fiscal-crypto provides two capabilities:
- Certificate management — load a PKCS#12
.pfxfile and extract the signing key plus X.509 certificate chain ([certificate] module). - XML signing — produce
<Signature>elements conforming to the NF-e / NFC-e XML-DSIG specification, using the loaded certificate.