public virtual unsafe void ValidatePinning(global::Javax.Net.Ssl.HttpsURLConnection conn)
        {
            const string __id = "validatePinning.(Ljavax/net/ssl/HttpsURLConnection;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((conn == null) ? IntPtr.Zero : ((global::Java.Lang.Object)conn).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
Пример #2
0
            public unsafe void Process(int p0, global::Javax.Net.Ssl.HttpsURLConnection p1)
            {
                if (id_process_ILjavax_net_ssl_HttpsURLConnection_ == IntPtr.Zero)
                {
                    id_process_ILjavax_net_ssl_HttpsURLConnection_ = JNIEnv.GetMethodID(class_ref, "process", "(ILjavax/net/ssl/HttpsURLConnection;)V");
                }
                JValue *__args = stackalloc JValue [2];

                __args [0] = new JValue(p0);
                __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_process_ILjavax_net_ssl_HttpsURLConnection_, __args);
            }
Пример #3
0
 static void n_Process_ILjavax_net_ssl_HttpsURLConnection_(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1)
 {
     global::Com.Webtrekk.Webtrekksdk.Request.RequestProcessor.IProcessOutputCallback __this = global::Java.Lang.Object.GetObject <global::Com.Webtrekk.Webtrekksdk.Request.RequestProcessor.IProcessOutputCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Javax.Net.Ssl.HttpsURLConnection p1 = global::Java.Lang.Object.GetObject <global::Javax.Net.Ssl.HttpsURLConnection> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Process(p0, p1);
 }
 static void n_ValidatePinning_Ljavax_net_ssl_HttpsURLConnection_(IntPtr jnienv, IntPtr native__this, IntPtr native_conn)
 {
     global::Com.Webtrekk.Webtrekksdk.Utils.PinConnectionValidator __this = global::Java.Lang.Object.GetObject <global::Com.Webtrekk.Webtrekksdk.Utils.PinConnectionValidator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Javax.Net.Ssl.HttpsURLConnection conn = global::Java.Lang.Object.GetObject <global::Javax.Net.Ssl.HttpsURLConnection> (native_conn, JniHandleOwnership.DoNotTransfer);
     __this.ValidatePinning(conn);
 }