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:
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
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.
___
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
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