List Info

Thread: store rsa key




store rsa key
country flaguser name
Algeria
2007-05-08 06:09:15
Hello;
this question is about the code in pkcs15-lib file from the pkcs15-init framework.
I try to store an rsa private key in my smartcard, but i have problem with the entry function :
sc_pkcs15init_store_private_key because when i try to make der encode to the key, i found that only dsa is taken into account (
sc_pkcs15_encode_prkey_dsa function in the source code libopensc/pkcs15-prkey.c)
Thanks


Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail
Re: store rsa key
country flaguser name
Germany
2007-05-08 14:30:32
belguechi rima wrote:
> Hello;
> this question is about the code in pkcs15-lib file from
the pkcs15-init 
> framework.
> I try to store an rsa private key in my smartcard, but
i have problem 
> with the entry function :
> sc_pkcs15init_store_private_key because when i try to
make der encode to 
> the key, i found that only dsa is taken into account (
> sc_pkcs15_encode_prkey_dsa function in the source code

> libopensc/pkcs15-prkey.c)

this code is only used if the key is extractable and
extractable
keys aren't really supported at the moment (so far there has
been
no real need for this).

Nils
_______________________________________________
opensc-user mailing list
opensc-userlists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )