PeculiarVentures / PKI.js

PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
http://pkijs.org
Other
1.25k stars 204 forks source link

ec key and ec signed certificate #377

Open ankitpandey010 opened 1 year ago

ankitpandey010 commented 1 year ago

it's not working with ec private key and ec signed certificate in base64 also i tried

microshine commented 1 year ago

Please share your example code. PKIjs includes tests for EC algorithms and it works.

ankitpandey010 commented 1 year ago

yes this is my code i used from your github as a my reference but it's not working i am using sha 512 and ecdsa and using ec key and ec signed certificate please help !

thank you

On Thu, Apr 13, 2023 at 4:09 PM Miroshin Stepan @.***> wrote:

Please share your example code. PKIjs includes tests for EC algorithms and it works.

— Reply to this email directly, view it on GitHub https://github.com/PeculiarVentures/PKI.js/issues/377#issuecomment-1506740252, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOLSCEOUJXAS5PQ2LLR7JTXA7JVTANCNFSM6AAAAAAW44NEII . You are receiving this because you authored the thread.Message ID: @.***>

ankitpandey010 commented 1 year ago

Please share your example code. PKIjs includes tests for EC algorithms and it works.

Please share your example code. PKIjs includes tests for EC algorithms and it works.

yes you can find my file name as app.component.ts in my repo in the cv project and I am trying to create a pkcs12 or pfx file using a EC private key and EC certificate and using sha-512 algorithm and putting in your code please resolve this issue thank you!