Lines Matching refs:session_handle
453 CK_OBJECT_HANDLE Pkcs11KeyStore::FindObject(CK_SESSION_HANDLE session_handle,
479 if ((C_FindObjectsInit(session_handle,
482 (C_FindObjects(session_handle, &key_handle, 1, &count) != CKR_OK) ||
483 (C_FindObjectsFinal(session_handle) != CKR_OK)) {
533 CK_SESSION_HANDLE session_handle,
554 if ((C_FindObjectsInit(session_handle,
557 (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK)) {
564 if (!GetKeyName(session_handle, handles[i], &key_name)) {
571 if (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK) {
576 if (C_FindObjectsFinal(session_handle) != CKR_OK) {
582 bool Pkcs11KeyStore::GetKeyName(CK_SESSION_HANDLE session_handle,
586 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
593 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
601 bool Pkcs11KeyStore::DeleteIfMatchesPrefix(CK_SESSION_HANDLE session_handle,
606 if (C_DestroyObject(session_handle, object_handle) != CKR_OK) {
657 CK_SESSION_HANDLE session_handle,
675 if ((C_FindObjectsInit(session_handle,
678 (C_FindObjects(session_handle, &object_handle, 1, &count) != CKR_OK) ||
679 (C_FindObjectsFinal(session_handle) != CKR_OK)) {