Commit Graph

4 Commits

Author SHA1 Message Date
pehmo1
613da4d0b5 Get all crypto values from authority 2021-08-19 14:48:17 +03:00
pehmo1
4ee487073d Make pkijsToPem return generic private key PEM 2021-08-17 22:36:12 +03:00
pehmo1
e2077a89cf Make util.js functions generic
Also moved crypto to window.cryptoEngine for easy access in util.js
2021-08-16 19:20:29 +03:00
pehmo1
54033346f9 Add pkcs12chain.js and util.js
pkcs12chain returns a PFX with private key and cert chain.
Comes from: https://github.com/PeculiarVentures/PKI.js/issues/104

util.js contains various conversion functions, the asn1js examples
all use inline conversions so no pre-made functions available.

formatPEM.js came from pkijs examples (examples_common.js).
2021-08-12 22:27:58 +03:00