Initialize Error Return 48

11/4/2014 4:16:27 PM
Gravatar
Total Posts 3

Initialize Error Return 48

Hi there,

During the Initialize operation, the method returns 48. What does that mean? Also the cyrpto instance's slots and activeSlots are 0.

string hsmPath = @"C:\Program Files\LunaSA\cryptoki.dll";

Cryptoki cryptokiInstance = new Cryptoki(hsmPath);

int result = cryptokiInstance.Initialize(); // returns 48, slots are empty