y********o 发帖数: 2565 | 1 我的web app要客户的certificate, 如图所示:
用户可以选择一个certificate按OK继续。
用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
,我怎么在VBScript中获取这个信息?
给个暗示? |
c**t 发帖数: 2744 | 2 Check out: IP*Works, it's now nsoftware.com.
我的web app要客户的certificate, 如图所示:
用户可以选择一个certificate按OK继续。
用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton
,我怎么在VBScript中获取这个信息?
给个暗示?
【在 y********o 的大作中提到】 : 我的web app要客户的certificate, 如图所示: : 用户可以选择一个certificate按OK继续。 : 用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton : ,我怎么在VBScript中获取这个信息? : 给个暗示?
|
y********o 发帖数: 2565 | 3
Clinton
Thx, but that one looks like to be on the server side. The situation I
described requires client side scripting.
Plus, IP*Works isn't free. :-(
【在 c**t 的大作中提到】 : Check out: IP*Works, it's now nsoftware.com. : : 我的web app要客户的certificate, 如图所示: : 用户可以选择一个certificate按OK继续。 : 用VBScript的话,怎么跟这种对话框通信?也就是说,如果用户选择 Hillary Clinton : ,我怎么在VBScript中获取这个信息? : 给个暗示?
|
c**t 发帖数: 2744 | 4 CertMgr myCertmgr = new CertMgr();
myCertmgr.CertSubject = #specified subject#;
...
then your cert will be picked up.
【在 y********o 的大作中提到】 : : Clinton : Thx, but that one looks like to be on the server side. The situation I : described requires client side scripting. : Plus, IP*Works isn't free. :-(
|
c**t 发帖数: 2744 | 5 You may try curl, which is free. But I don't think it will support pfx/eps/
cer..
【在 y********o 的大作中提到】 : : Clinton : Thx, but that one looks like to be on the server side. The situation I : described requires client side scripting. : Plus, IP*Works isn't free. :-(
|
y********o 发帖数: 2565 | 6 Thanks. I've read a little at MSDN about CAPICOM. They have sample codes l
ike this.
The problem is that I do not know which cert the user has selected, and thus
cannot get the subject info of the cert.
Some people have told me that it is not possible to programmatically poll th
e type of IE popup dialog box with VBScript, and suggested that the programm
er select the certificate for the user, exactly what the code snippet below
does.
I am dumb at VBScript, not sure if I can handle this very s
【在 c**t 的大作中提到】 : CertMgr myCertmgr = new CertMgr(); : myCertmgr.CertSubject = #specified subject#; : ... : then your cert will be picked up.
|
c**t 发帖数: 2744 | 7 nothing is impossilbe. But there is no easy way to catch and monitor IE
popup.
But you can write your own browser with IE engine, if it's so critical to
you.
Don't worry you are a layman, take your time, you will be a master soon.
l
thus
th
programm
below
【在 y********o 的大作中提到】 : Thanks. I've read a little at MSDN about CAPICOM. They have sample codes l : ike this. : The problem is that I do not know which cert the user has selected, and thus : cannot get the subject info of the cert. : Some people have told me that it is not possible to programmatically poll th : e type of IE popup dialog box with VBScript, and suggested that the programm : er select the certificate for the user, exactly what the code snippet below : does. : I am dumb at VBScript, not sure if I can handle this very s
|
y********o 发帖数: 2565 | 8
lol.
【在 c**t 的大作中提到】 : nothing is impossilbe. But there is no easy way to catch and monitor IE : popup. : But you can write your own browser with IE engine, if it's so critical to : you. : Don't worry you are a layman, take your time, you will be a master soon. : : l : thus : th : programm
|