Searched refs:pkcs11Handle (Results 1 – 5 of 5) sorted by relevance
/dports/security/beid/eid-mw-5.0.8/doc/sdk/examples/C/src/ |
H A D | get_signmechanisms.c | 34 void *pkcs11Handle; //pkcs11Handle to the pkcs11 library in beidsdk_getsignmechanisms() local 39 pkcs11Handle = dlopen(PKCS11_LIB, RTLD_LAZY); // RTLD_NOW is slower in beidsdk_getsignmechanisms() 40 if (pkcs11Handle != NULL) in beidsdk_getsignmechanisms() 43 pC_GetFunctionList = (CK_C_GetFunctionList) dlsym(pkcs11Handle, "C_GetFunctionList"); in beidsdk_getsignmechanisms() 127 dlclose(pkcs11Handle); in beidsdk_getsignmechanisms()
|
H A D | wait_card.c | 35 void *pkcs11Handle; //pkcs11Handle to the pkcs11 library in beidsdk_waitcard() local 41 pkcs11Handle = dlopen(PKCS11_LIB, RTLD_LAZY); // RTLD_NOW is slower in beidsdk_waitcard() 42 if (pkcs11Handle != NULL) in beidsdk_waitcard() 45 pC_GetFunctionList = (CK_C_GetFunctionList) dlsym(pkcs11Handle, "C_GetFunctionList"); in beidsdk_waitcard() 131 dlclose(pkcs11Handle); in beidsdk_waitcard()
|
H A D | sign.c | 50 void *pkcs11Handle; //pkcs11Handle to the pkcs11 library in beidsdk_sign() local 55 pkcs11Handle = dlopen(PKCS11_LIB, RTLD_LAZY); // RTLD_NOW is slower in beidsdk_sign() 56 if (pkcs11Handle != NULL) in beidsdk_sign() 59 pC_GetFunctionList = (CK_C_GetFunctionList) dlsym(pkcs11Handle, "C_GetFunctionList"); in beidsdk_sign() 165 dlclose(pkcs11Handle); in beidsdk_sign()
|
H A D | data.c | 46 void *pkcs11Handle; //handle to the pkcs11 library in beidsdk_GetData() local 52 pkcs11Handle = dlopen(PKCS11_LIB, RTLD_LAZY); // RTLD_NOW is slower in beidsdk_GetData() 53 if (pkcs11Handle == NULL) { in beidsdk_GetData() 67 pC_GetFunctionList = (CK_C_GetFunctionList)dlsym(pkcs11Handle, "C_GetFunctionList"); in beidsdk_GetData() 167 dlclose(pkcs11Handle); in beidsdk_GetData()
|
H A D | cert_carddata.c | 42 HMODULE pkcs11Handle; //handle to the pkcs11 library in beidsdk_Main() local 48 pkcs11Handle = dlopen(PKCS11_LIB, RTLD_LAZY); // RTLD_NOW is slower in beidsdk_Main() 49 if (pkcs11Handle == NULL) { retVal = CKR_GENERAL_ERROR; return retVal; } in beidsdk_Main() 52 pC_GetFunctionList = (CK_C_GetFunctionList)dlsym(pkcs11Handle, "C_GetFunctionList"); in beidsdk_Main() 115 dlclose(pkcs11Handle); in beidsdk_Main()
|