Am Mittwoch 03 Februar 2010 09:33:11 schrieb François Leblanc:
> There are a lot of stuff to do to improve this module (documentation, key
> Managing, writing card and so on) this why  I need some help but I can't be
> helped if nobody can't access the code so It's why I wish to put this base.
> Moreover It will be more easy for me to improve this once integrated on
>  trunk.

ok, fine!

> >* the key handling: IIRC opensc can tell you what keys
> >  a card supports, maybe that would be more accurate than
> >  claiming those fixed key sizes
> 
> ???

I saw this:
+       pKeySizes->dwMinimumBitlen = 512;
+       pKeySizes->dwDefaultBitlen = 1024;
+       pKeySizes->dwMaximumBitlen = 16384;
in CardQueryKeySizes
so I guess tells the caller which key sizes are
available? We have that info from the card driver,
so we could give detailed information.

on the other hand, the CNG interface has
min/max/step/default values, but smart cards support
usualy only a few special values (e.g. 512,768,1024,
2048), but no other values between those.
so we can't match that directly anyway.

no worries :)

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to