how to fix application that don't return error no. 401

8/4/2013 8:08:02 AM
Gravatar
Total Posts 3

how to fix application that don't return error no. 401

hello

when i run Cryptoki1.Initialize(), ncryptoki return error no. 401. how to fix it????

 

Best Regards

Ehsan Farahani

8/5/2013 11:15:04 AM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: how to fix application that don't return error no. 401

Hi,

error 401 means

CKR_CRYPTOKI_ALREADY_INITIALIZED

i.e. you already called Initialize in another part of your code.

Usually you can ignore this error.

 

BTW the list of PKCS#11 errors is here:

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