Forum >
NCryptoki Forum
> Error -2147483389: ERACOM_PTK_CHECK_VALUE
Error -2147483389: ERACOM_PTK_CHECK_VALUE
Error -2147483389: ERACOM_PTK_CHECK_VALUE
Hi, I have a strange error.
I have a Safenet HSM and the native tools to navigate throguh the keys work perfetcly.
My code, already used with other HSMs, is not working and it gives me the error -2147483389 (ERACOM_PTK_CHECK_VALUE).
I can't find anything about this... can you explain me what it is and give me some hints?
|
Re: Error -2147483389: ERACOM_PTK_CHECK_VALUE
Which function gives you such an error?
|
Re: Error -2147483389: ERACOM_PTK_CHECK_VALUE
In my log I have this stackTrace:
15/03/2017 07.56.17: Errore Cryptware.NCryptoki.CryptokiException: Error n. -2147483389
in Cryptware.NCryptoki.Cryptoki.get_Info()
in .../stuff/file.cs:riga 1374
And, in the row 1374 I have this:
CryptokiInfo info = cryptoki.Info;
If I remove this row, the program runs until it reaches this:
SlotList slots = cryptoki.Slots;
if (slots.Count == 0)
{
Utility.Logger("No slot available");
return null;
}
and it can't find any slots.
Do you know what is wrong here?
|
Re: Error -2147483389: ERACOM_PTK_CHECK_VALUE
Re: Error -2147483389: ERACOM_PTK_CHECK_VALUE
This error: ERACOM_PTK_CHECK_VALUE is specific to the HSM that you are using. It's not a standard error code.
We don't know what exactly mean and why it happens. Please refer to the HSM documentation and let's know
|