Default behavior that accommodates most use cases.
C_Initialize()
is called on creation, and "already-initialized"
errors are ignored. C_Finalize()
is never called, just in case
another part of your application is still using the PKCS#11 library.
Skip calling C_Initialize()
and C_Finalize()
.
Use this if your application has already initialized the PKCS#11 library,
and you do not want C_Initialize()
called again.
C_Initialize()
is called on creation and C_Finalize()
is called on cleanup.
If C_Initialize()
reports that's it's already initialized, this is
treated as an error. Use this if you need perfect cleanup (ex: running
valgrind with --leak-check).
Generated using TypeDoc
Controls
C_Initialize()
andC_Finalize()
are called on the PKCS#11 library.