ModuleInterfaces: Difference between revisions

no edit summary
No edit summary
Line 22: Line 22:
== Inhibition of Data Output ==
== Inhibition of Data Output ==


All data output via the data output interface is inhibited when the NSS cryptographic module is in the fatal error state or performing self-tests.
All data output via the data output interface is inhibited when the NSS cryptographic module is in the Error state or performing self-tests.


=== In Error State ===
=== In Error State ===


When the NSS cryptographic module is in the fatal error state, most PKCS #11 functions, including all the functions that output data via the data output interface, do nothing and return the CKR_DEVICE_ERROR error code immediately. Only the functions that shut down and restart the module, reinitialize the module, or output status information can be invoked in the fatal error state: FC_GetFunctionList, FC_Initialize, FC_Finalize, FC_GetInfo, FC_GetSlotList, FC_GetSlotInfo, FC_GetTokenInfo, FC_InitToken, FC_CloseSession, FC_CloseAllSessions, and FC_WaitForSlotEvent.
When the NSS cryptographic module is in the Error state, most PKCS #11 functions, including all the functions that output data via the data output interface, do nothing and return the CKR_DEVICE_ERROR error code immediately. Only the functions that shut down and restart the module, reinitialize the module, or output status information can be invoked in the Error state: FC_GetFunctionList, FC_Initialize, FC_Finalize, FC_GetInfo, FC_GetSlotList, FC_GetSlotInfo, FC_GetTokenInfo, FC_InitToken, FC_CloseSession, FC_CloseAllSessions, and FC_WaitForSlotEvent.


=== During Self-Tests ===
=== During Self-Tests ===
canmove, Confirmed users
937

edits