Re: NSS PKCS#11 Module

2003-09-26 Thread liupeng
Thanks for Nelson Bolyard answer,I will see it later! Nelson Bolyard [EMAIL PROTECTED] news:[EMAIL PROTECTED] liupeng, Your questions seem to boil down to What is PKCS1 v1.5 padding? You will find all the versions of PKCS1 on this page:

Re: NSS PKCS#11 Module

2003-09-26 Thread liupeng
Julien Pierre, Thanks for your answer. I try the way which you advise to me,and it works well.I use PK11_PubWrapSymKey to encrypt a dummy symmetric key which contain the data I want to encrypt.And use PK11_PubUnwrapSymKey to decrypt it.The wrapped key can be directly decrypt by use PKCS11

Re: NSS PKCS#11 Module

2003-09-25 Thread Nelson Bolyard
liupeng, Your questions seem to boil down to What is PKCS1 v1.5 padding? You will find all the versions of PKCS1 on this page: http://www.rsasecurity.com/rsalabs/pkcs/pkcs-1/index.html The v1.5 document is rather short, and easy reading. ___

Re: NSS PKCS#11 Module

2003-09-24 Thread liupeng
Thanks for Julien Pierre answer! I want to do a low-level RSA encrypt for my proprietary application and I use smart card (gd spk) as my hardware device(Both the public key and the private key stored in smartcard).Before I use nss for my proprietary application,I use pkcs11 hardware module

Re: NSS PKCS#11 Module

2003-09-24 Thread Julien Pierre
LiuPeng, liupeng wrote: Thanks for Julien Pierre answer! I want to do a low-level RSA encrypt for my proprietary application and I use smart card (gd spk) as my hardware device(Both the public key and the private key stored in smartcard). Firstable, to do an RSA encrypt using a public key, you