Sign using a P12 certificate.
npm install @signpdf/signer-p12for 

Uses node-forge to create a detached signature of a given Buffer using a PKCS#12 certificate bundle.
See the typescript.ts example.
* Make sure to have a look at the docs of the @signpdf family of packages.
* Feel free to copy and paste any part of this code. See its defined Purpose.