Link to home
Start Free TrialLog in
Avatar of Bharpinder Singh
Bharpinder Singh

asked on

javascript or web crypto to list certificates

I have USB token and when it plugged in , it installed personal certificate into browser (chrome).
which i confirmed by go to setting -> menage certificates ->personal.

I just want to know is there any method i can show list  (or read public key) of that certificates on my web page?
I read web crypto api but i found it doesn't have any function.
Avatar of Bharpinder Singh
Bharpinder Singh

ASKER

Avatar of CEHJ
I just want to know is there any method i can show list  (or read public key) of that certificates on my web page?

What is your GOAL?
to encrypt message with usb token and send to server and server decrypt it with public key
OK, you have (or someone else has) bought a hardware-based security tool. Surely the vendor of that tool has provided some documentation on its use?
emudhra is the hardware provider, ( http://www.e-mudhra.com/ )
I think you are not understanding what i am looking for.
My question general, not specific for any hardware provider.
Certificate is already listed under browser.
My question general, not specific for any hardware provider.
I don't know what you've got specifically, but encryption works in the opposite way to this:

to encrypt message with usb token and send to server and server decrypt it with public key

The general answer is that you encrypt with the recipient's public key and they decrypt with their private key
Sorry CEHj, I already know what you are mentioning (PKI) ,
I got some information by searching hours..
i exactly need java applet which can list signature and sign text with private key and that applet's function i can call from html (browser IE)
Applets of course are deprecated now so a Web Start app launched from the browser would maybe be better. It will need signing unless you can get to the machines where it's used to change security settings
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.