After reading a bit more, I think I now understand most of the things.... in nsSDR at least. Seems really to be relatively "simple". A future work could be to choose also another algorithm than triple DES for encryption...

3 more questions ^^
-Should I look for the key using all PK11SlotInfos, or is there a better way to browse each of them? -Can I use PK11Authenticate in general, for all Slots? If I have to browse all the slots for the keys, I'll surely have to authenticate myself to them. -I now really think I can do the key-choosing-part, but where could I find anybody to help me do changes in the settings menue? And: it should also be possible to create a new key in the token I set in the preferencies. How does communication between the settings and the code work? Well, but if the whole code is pkcs11-compliant, I think there's already a function to do so somewhere.

The only thing I really need is, I guess:
A list of all the CKM_DES3_CBC-type avaible/loaded keys in all the modules and their slots of NSS. For the moment, I think I'll have to create/use a list of all the loaded slots, and browse the... well what? The "PK11Symkey freeSymKeysWithSessionHead", or "PK11Symkey freeSymkeysHead" - key "recursive-structs"? (looks like scheme/lisp for me :-D car-cuder... or so ^^) These objects are the Symkey-Arrays with the key-objects I need, aren't they? Whats the difference between both objects?

Marc





"Robert Relyea" <[email protected]> schrieb im Newsbeitrag news:[email protected]...
--
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to