thanks again. i have compared my code woth your peace of code you posted and i have the same. But i still get the Error: CKR_DEVICE_ERROR
i loaded the dll's in your posted order. i copied the dll's to C:\users\myname\AppData\Local\Temp Folder. the Mozilla Profile folder is right, too. so don't know where the problem is. i read so many documents on the internet, but i found no one which handles CKR_DEVICE_ERROR in any good and deep way. Could it be a problem with the dll-Files? From where did you get the dll's and wich version have they? (maybe you could send them to me?) do you think it could be a try to use JSS? but you wrote that JSS sucks. i only have to access the keystore and to read out the certificates and to delete the certificates and maybe show the private/public keys from some certificates. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto