Re: [opensc-devel] Import X.509 certificate via Firefox?

2012-05-16 Thread Nguyễn Hồng Quân
Thank you all, I also realize that there lacks a pkcs15init binding for OpenPGP. The command pkcs11-tool --module=/usr/lib/opensc-pkcs11.so -w quannguyen-b.crt -y cert revealed it. On Wed 16 May 2012 10:24:01 PM ICT, helpcrypto helpcrypto wrote: >>> - When Firefox import certificate, which C_*

Re: [opensc-devel] Import X.509 certificate via Firefox?

2012-05-16 Thread helpcrypto helpcrypto
>> - When Firefox import certificate, which C_* functions in PKCS#11 module >> will be called? >> - What is the action flow from the C_* functions in PKCS#11 to the driver? I suggest you having a look at https://developer.mozilla.org/en/PKCS11_Implement But probably pkcs11-spy and "on the fly" d

Re: [opensc-devel] Import X.509 certificate via Firefox?

2012-05-16 Thread Ludovic Rousseau
2012/5/16 Nguyễn Hồng Quân : > Hello all, Hello, > I'm supplementing OpenPGP card support for OpenSC. > I did some changes in OpenPGP driver and PKCS15 interface to make > Firefox and Thunderbird read the X.509 certificate stored in the OpenPGP > card (succeed). Now I want to make Firefox to impo

[opensc-devel] Import X.509 certificate via Firefox?

2012-05-16 Thread Nguyễn Hồng Quân
Hello all, I'm supplementing OpenPGP card support for OpenSC. I did some changes in OpenPGP driver and PKCS15 interface to make Firefox and Thunderbird read the X.509 certificate stored in the OpenPGP card (succeed). Now I want to make Firefox to import certificate to OpenPGP card (I implemente