Hi,

I have a PKCS11 (v 2.1) library ,.. Using this library via Mozilla I am
trying to import a certificate on to the smart card. The process fails
because this library does not support generation of RSA public keys on
the token..

On looking at the failure point I see that much before the call to
slbXsiPkiGenerateKeyPair()
there is a check on the PublicKey Template to determine whether it is a
Token object or not.
If it is, then the check reports an error: "Can't generate RSA public
keys on the token!"

I am a rookie with PKCS stuff, can someone please explain to me how to
go about modifying the library to achieve the same functionality.

Will just generation of the Key-pair using slbXsiPkiGenerateKeyPair()
in the specified container be enough? (Via the CSP module I see the
same procedure taking place)


Thanks,
Vivek

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to