コード例 #1
0
 static void n_SetEnabledCiphers_arrayLjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_enabledCiphers)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     string[] enabledCiphers = (string[])JNIEnv.GetArray(native_enabledCiphers, JniHandleOwnership.DoNotTransfer, typeof(string));
     __this.SetEnabledCiphers(enabledCiphers);
     if (enabledCiphers != null)
     {
         JNIEnv.CopyArray(enabledCiphers, native_enabledCiphers);
     }
 }
コード例 #2
0
 static void n_SetSSLHostnameVerifier_Ljavax_net_ssl_HostnameVerifier_(IntPtr jnienv, IntPtr native__this, IntPtr native_hostnameVerifier)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Javax.Net.Ssl.IHostnameVerifier hostnameVerifier = (global::Javax.Net.Ssl.IHostnameVerifier)global::Java.Lang.Object.GetObject <global::Javax.Net.Ssl.IHostnameVerifier> (native_hostnameVerifier, JniHandleOwnership.DoNotTransfer);
     __this.SSLHostnameVerifier = hostnameVerifier;
 }
コード例 #3
0
 static IntPtr n_GetSSLHostnameVerifier(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.SSLHostnameVerifier));
 }
コード例 #4
0
 static void n_SetSSLhandshakeTimeout_I(IntPtr jnienv, IntPtr native__this, int timeout)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetSSLhandshakeTimeout(timeout);
 }
コード例 #5
0
 static IntPtr n_GetEnabledCiphers(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule __this = global::Java.Lang.Object.GetObject <global::Org.Eclipse.Paho.Client.Mqttv3.Internal.SSLNetworkModule> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.GetEnabledCiphers()));
 }