Lines Matching refs:env
78 (JNIEnv *env, jobject obj, jstring jPkcs11ModulePath, jstring jGetFunctionList)
90 const char *libraryNameStr = (*env)->GetStringUTFChars(env, jPkcs11ModulePath, 0);
109 throwIOException(env, exceptionMessage);
110 (*env)->ReleaseStringUTFChars(env, jPkcs11ModulePath, libraryNameStr);
121 getFunctionListStr = (*env)->GetStringUTFChars(env, jGetFunctionList, 0);
123 (*env)->ReleaseStringUTFChars(env, jGetFunctionList, getFunctionListStr);
126 throwIOException(env, "ERROR: C_GetFunctionList == NULL");
129 throwIOException(env, systemErrorMessage);
140 globalPKCS11ImplementationReference = (*env)->NewGlobalRef(env, obj);
141 putModuleEntry(env, globalPKCS11ImplementationReference, moduleData);
143 (*env)->ReleaseStringUTFChars(env, jPkcs11ModulePath, libraryNameStr);
146 if(ckAssertReturnValueOK(env, rv) != CK_ASSERT_OK) { return; }
155 (JNIEnv *env, jobject obj)
159 moduleData = removeModuleEntry(env, obj);