Inizialize this cryptoki object and native cryptoki

Namespace:  Cryptware.NCryptoki
Assembly:  NCryptoki (in NCryptoki.dll)

Syntax

Visual Basic (Declaration)
Public Function Initialize As Integer
C#
public int Initialize()
Visual C++
public:
virtual int Initialize() sealed
JavaScript
function initialize();

Return Value

0 if no error occur or a PKCS#11 error otherwise CryptokiException

Implements

ICryptoki..::..Initialize()()()()

Remarks

Initialize initializes the Cryptoki library. Initialize should be the first Cryptoki call made by an application, except for calls to What this function actually does is implementation-dependent; typically, it might cause Cryptoki to initialize its internal memory buffers, or any other resources it requires. If several applications are using Cryptoki, each one should call C_Initialize. Every call to Initialize should (eventually) be succeeded by a single call to Finalize. See Section 6.6 of PKCS#11 v.2.20 specifications for more details.

See Also