Add support for EC keys #3

Merged
lauri merged 6 commits from ec-key-support into master 2021-08-19 16:59:21 +00:00

6 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
863db37ccb Remove forge from Dockerfile 2021-08-12 23:22:52 +03:00
pehmo1
baa6acbf77 Remove forge completely, clean up code, fix bugs 2021-08-12 23:01:23 +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