signerbox2 | Example app to sign files with DSTU4145 in js
kandi X-RAY | signerbox2 Summary
kandi X-RAY | signerbox2 Summary
Example app to sign files with DSTU4145 in js.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of signerbox2
signerbox2 Key Features
signerbox2 Examples and Code Snippets
Community Discussions
Trending Discussions on signerbox2
QUESTION
Update Dec 30, 2017 – 4:
I've managed to unpack .jks
file and extract key and certs from it. To do this I wrote a small nodejs program inspired by signerbox2
an open-source project that uses .jks
to sign data. In particular, I use jksreader
npm package, which only exists for several days now!
The program I wrote looks like this:
...ANSWER
Answered 2017-Dec-31 at 01:06Good work finding that JS. (FYI Stack only does one @ per comment -- fortunately I saw this in recently-modified.)
From that we can now see your privatekey has attributes in the PKCS8 (a legal but very rarely used feature) which on rechecking I see standard JCE does not support (there's a comment in decode
but not in parseKey
). It appears BouncyCastle does -- but bcprov doesn't do JKS.
I suggest you proceed with OpenSSL here since that's what you want to end up with anyway. You can definitely convert certificate file from binary/DER to PEM with:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install signerbox2
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page