Finalize this cryptoki object and native cryptoki
Namespace:
Cryptware.NCryptokiAssembly: NCryptoki (in NCryptoki.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function Finalize As Integer |
C# |
---|
public int Finalize() |
Visual C++ |
---|
public: int Finalize() |
JavaScript |
---|
function finalize(); |
Return Value
0 if no error occur or a PKCS#11 error otherwise CryptokiException
Remarks
Finalize is called to indicate that an application is finished with the Cryptoki library.
It should be the last Cryptoki call made by an application.
If several applications are using Cryptoki, each one should call Finalize. Each application’s call to Finalize should be preceded by a single call to Initialize; in
between the two calls, an application can make calls to other Cryptoki functions. See Section 6.6 of PKCS#11 v.20 specifications for more details.