JNIEnv *env, jobject self, jstring nickStr)
JNIEnv *env, jobject self, jstring nick)
Java_org_mozilla_jss_ssl_SocketBase_setClientCertNicknameNative(    JNIEnv *env, jobject self, jstring nickStr){    JSSL_SocketData *sock = NULL;    const char *nick=NULL;    SECStatus status;    if( JSSL_getSockData(env, self, &sock) != PR_SUCCESS) goto finish;    /*     * Store the nickname in the SocketData.     */    nick = (*env)->GetStringUTFChars(env, nickStr, NULL);    if( nick == NULL )  goto finish;    if( sock->clientCertNickname != NULL ) {        PR_Free(sock->clientCertNickname);    }    sock->clientCertNickname = PL_strdup(nick);    /*     * Install the callback.     */    status = SSL_GetClientAuthDataHook(sock->fd, JSSL_GetClientAuthData,                    (void*)sock);    if(status != SECSuccess) {        JSS_throwMsgPrErr(env, SOCKET_EXCEPTION,            "Unable to set client auth data hook");        goto finish;    }finish:    if( nick != NULL ) {        (*env)->ReleaseStringUTFChars(env, nickStr, nick);    }    EXCEPTION_CHECK(env, sock)}