Error n. 257

11/2/2014 12:56:19 PM
Gravatar
Total Posts 8

Error n. 257

Hi there,

I am getting "Error n. 257" while creating RSAPrivate key . please tell me why ?

11/5/2014 1:11:56 AM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: Error n. 257

The list of all PKCS#11 errors is here:

http://wiki.ncryptoki.com/How-NCryptoki-manages-PKCS-11-errors.ashx

 

in your case error 257 (0x101) means CKR_USER_NOT_LOGGED_IN.

To use/generate a private key you nee to login.