/jni/MonoJavaBridge/android/generated/javax/net/ssl/SSLSocket.cs

http://github.com/koush/androidmono · C# · 312 lines · 311 code · 1 blank · 0 comment · 18 complexity · eb7403b8c4ad69e6f6446497ba2aa4aa MD5 · raw file

  1. namespace javax.net.ssl
  2. {
  3. [global::MonoJavaBridge.JavaClass(typeof(global::javax.net.ssl.SSLSocket_))]
  4. public abstract partial class SSLSocket : java.net.Socket
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static SSLSocket()
  8. {
  9. InitJNI();
  10. }
  11. protected SSLSocket(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _getSupportedCipherSuites15999;
  15. public abstract global::java.lang.String[] getSupportedCipherSuites();
  16. internal static global::MonoJavaBridge.MethodId _getSession16000;
  17. public abstract global::javax.net.ssl.SSLSession getSession();
  18. internal static global::MonoJavaBridge.MethodId _getEnabledCipherSuites16001;
  19. public abstract global::java.lang.String[] getEnabledCipherSuites();
  20. internal static global::MonoJavaBridge.MethodId _setEnabledCipherSuites16002;
  21. public abstract void setEnabledCipherSuites(java.lang.String[] arg0);
  22. internal static global::MonoJavaBridge.MethodId _getSupportedProtocols16003;
  23. public abstract global::java.lang.String[] getSupportedProtocols();
  24. internal static global::MonoJavaBridge.MethodId _getEnabledProtocols16004;
  25. public abstract global::java.lang.String[] getEnabledProtocols();
  26. internal static global::MonoJavaBridge.MethodId _setEnabledProtocols16005;
  27. public abstract void setEnabledProtocols(java.lang.String[] arg0);
  28. internal static global::MonoJavaBridge.MethodId _addHandshakeCompletedListener16006;
  29. public abstract void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener arg0);
  30. internal static global::MonoJavaBridge.MethodId _removeHandshakeCompletedListener16007;
  31. public abstract void removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener arg0);
  32. internal static global::MonoJavaBridge.MethodId _startHandshake16008;
  33. public abstract void startHandshake();
  34. internal static global::MonoJavaBridge.MethodId _setUseClientMode16009;
  35. public abstract void setUseClientMode(bool arg0);
  36. internal static global::MonoJavaBridge.MethodId _getUseClientMode16010;
  37. public abstract bool getUseClientMode();
  38. internal static global::MonoJavaBridge.MethodId _setNeedClientAuth16011;
  39. public abstract void setNeedClientAuth(bool arg0);
  40. internal static global::MonoJavaBridge.MethodId _getNeedClientAuth16012;
  41. public abstract bool getNeedClientAuth();
  42. internal static global::MonoJavaBridge.MethodId _setWantClientAuth16013;
  43. public abstract void setWantClientAuth(bool arg0);
  44. internal static global::MonoJavaBridge.MethodId _getWantClientAuth16014;
  45. public abstract bool getWantClientAuth();
  46. internal static global::MonoJavaBridge.MethodId _setEnableSessionCreation16015;
  47. public abstract void setEnableSessionCreation(bool arg0);
  48. internal static global::MonoJavaBridge.MethodId _getEnableSessionCreation16016;
  49. public abstract bool getEnableSessionCreation();
  50. internal static global::MonoJavaBridge.MethodId _SSLSocket16017;
  51. protected SSLSocket() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  52. {
  53. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  54. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocket.staticClass, global::javax.net.ssl.SSLSocket._SSLSocket16017);
  55. Init(@__env, handle);
  56. }
  57. internal static global::MonoJavaBridge.MethodId _SSLSocket16018;
  58. protected SSLSocket(java.lang.String arg0, int arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  59. {
  60. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  61. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocket.staticClass, global::javax.net.ssl.SSLSocket._SSLSocket16018, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  62. Init(@__env, handle);
  63. }
  64. internal static global::MonoJavaBridge.MethodId _SSLSocket16019;
  65. protected SSLSocket(java.net.InetAddress arg0, int arg1) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  66. {
  67. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  68. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocket.staticClass, global::javax.net.ssl.SSLSocket._SSLSocket16019, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  69. Init(@__env, handle);
  70. }
  71. internal static global::MonoJavaBridge.MethodId _SSLSocket16020;
  72. protected SSLSocket(java.lang.String arg0, int arg1, java.net.InetAddress arg2, int arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  73. {
  74. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  75. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocket.staticClass, global::javax.net.ssl.SSLSocket._SSLSocket16020, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  76. Init(@__env, handle);
  77. }
  78. internal static global::MonoJavaBridge.MethodId _SSLSocket16021;
  79. protected SSLSocket(java.net.InetAddress arg0, int arg1, java.net.InetAddress arg2, int arg3) : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  80. {
  81. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  82. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocket.staticClass, global::javax.net.ssl.SSLSocket._SSLSocket16021, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  83. Init(@__env, handle);
  84. }
  85. private static void InitJNI()
  86. {
  87. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  88. global::javax.net.ssl.SSLSocket.staticClass = @__env.NewGlobalRef(@__env.FindClass("javax/net/ssl/SSLSocket"));
  89. global::javax.net.ssl.SSLSocket._getSupportedCipherSuites15999 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getSupportedCipherSuites", "()[Ljava/lang/String;");
  90. global::javax.net.ssl.SSLSocket._getSession16000 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getSession", "()Ljavax/net/ssl/SSLSession;");
  91. global::javax.net.ssl.SSLSocket._getEnabledCipherSuites16001 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getEnabledCipherSuites", "()[Ljava/lang/String;");
  92. global::javax.net.ssl.SSLSocket._setEnabledCipherSuites16002 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setEnabledCipherSuites", "([Ljava/lang/String;)V");
  93. global::javax.net.ssl.SSLSocket._getSupportedProtocols16003 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getSupportedProtocols", "()[Ljava/lang/String;");
  94. global::javax.net.ssl.SSLSocket._getEnabledProtocols16004 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getEnabledProtocols", "()[Ljava/lang/String;");
  95. global::javax.net.ssl.SSLSocket._setEnabledProtocols16005 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setEnabledProtocols", "([Ljava/lang/String;)V");
  96. global::javax.net.ssl.SSLSocket._addHandshakeCompletedListener16006 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "addHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V");
  97. global::javax.net.ssl.SSLSocket._removeHandshakeCompletedListener16007 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "removeHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V");
  98. global::javax.net.ssl.SSLSocket._startHandshake16008 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "startHandshake", "()V");
  99. global::javax.net.ssl.SSLSocket._setUseClientMode16009 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setUseClientMode", "(Z)V");
  100. global::javax.net.ssl.SSLSocket._getUseClientMode16010 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getUseClientMode", "()Z");
  101. global::javax.net.ssl.SSLSocket._setNeedClientAuth16011 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setNeedClientAuth", "(Z)V");
  102. global::javax.net.ssl.SSLSocket._getNeedClientAuth16012 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getNeedClientAuth", "()Z");
  103. global::javax.net.ssl.SSLSocket._setWantClientAuth16013 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setWantClientAuth", "(Z)V");
  104. global::javax.net.ssl.SSLSocket._getWantClientAuth16014 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getWantClientAuth", "()Z");
  105. global::javax.net.ssl.SSLSocket._setEnableSessionCreation16015 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "setEnableSessionCreation", "(Z)V");
  106. global::javax.net.ssl.SSLSocket._getEnableSessionCreation16016 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "getEnableSessionCreation", "()Z");
  107. global::javax.net.ssl.SSLSocket._SSLSocket16017 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "<init>", "()V");
  108. global::javax.net.ssl.SSLSocket._SSLSocket16018 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "<init>", "(Ljava/lang/String;I)V");
  109. global::javax.net.ssl.SSLSocket._SSLSocket16019 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "<init>", "(Ljava/net/InetAddress;I)V");
  110. global::javax.net.ssl.SSLSocket._SSLSocket16020 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "<init>", "(Ljava/lang/String;ILjava/net/InetAddress;I)V");
  111. global::javax.net.ssl.SSLSocket._SSLSocket16021 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket.staticClass, "<init>", "(Ljava/net/InetAddress;ILjava/net/InetAddress;I)V");
  112. }
  113. }
  114. [global::MonoJavaBridge.JavaProxy(typeof(global::javax.net.ssl.SSLSocket))]
  115. public sealed partial class SSLSocket_ : javax.net.ssl.SSLSocket
  116. {
  117. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  118. static SSLSocket_()
  119. {
  120. InitJNI();
  121. }
  122. internal SSLSocket_(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  123. {
  124. }
  125. internal static global::MonoJavaBridge.MethodId _getSupportedCipherSuites16022;
  126. public override global::java.lang.String[] getSupportedCipherSuites()
  127. {
  128. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  129. if (!IsClrObject)
  130. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getSupportedCipherSuites16022)) as java.lang.String[];
  131. else
  132. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getSupportedCipherSuites16022)) as java.lang.String[];
  133. }
  134. internal static global::MonoJavaBridge.MethodId _getSession16023;
  135. public override global::javax.net.ssl.SSLSession getSession()
  136. {
  137. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  138. if (!IsClrObject)
  139. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::javax.net.ssl.SSLSession>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getSession16023)) as javax.net.ssl.SSLSession;
  140. else
  141. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::javax.net.ssl.SSLSession>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getSession16023)) as javax.net.ssl.SSLSession;
  142. }
  143. internal static global::MonoJavaBridge.MethodId _getEnabledCipherSuites16024;
  144. public override global::java.lang.String[] getEnabledCipherSuites()
  145. {
  146. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  147. if (!IsClrObject)
  148. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getEnabledCipherSuites16024)) as java.lang.String[];
  149. else
  150. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getEnabledCipherSuites16024)) as java.lang.String[];
  151. }
  152. internal static global::MonoJavaBridge.MethodId _setEnabledCipherSuites16025;
  153. public override void setEnabledCipherSuites(java.lang.String[] arg0)
  154. {
  155. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  156. if (!IsClrObject)
  157. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setEnabledCipherSuites16025, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  158. else
  159. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setEnabledCipherSuites16025, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  160. }
  161. internal static global::MonoJavaBridge.MethodId _getSupportedProtocols16026;
  162. public override global::java.lang.String[] getSupportedProtocols()
  163. {
  164. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  165. if (!IsClrObject)
  166. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getSupportedProtocols16026)) as java.lang.String[];
  167. else
  168. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getSupportedProtocols16026)) as java.lang.String[];
  169. }
  170. internal static global::MonoJavaBridge.MethodId _getEnabledProtocols16027;
  171. public override global::java.lang.String[] getEnabledProtocols()
  172. {
  173. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  174. if (!IsClrObject)
  175. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getEnabledProtocols16027)) as java.lang.String[];
  176. else
  177. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getEnabledProtocols16027)) as java.lang.String[];
  178. }
  179. internal static global::MonoJavaBridge.MethodId _setEnabledProtocols16028;
  180. public override void setEnabledProtocols(java.lang.String[] arg0)
  181. {
  182. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  183. if (!IsClrObject)
  184. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setEnabledProtocols16028, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  185. else
  186. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setEnabledProtocols16028, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  187. }
  188. internal static global::MonoJavaBridge.MethodId _addHandshakeCompletedListener16029;
  189. public override void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener arg0)
  190. {
  191. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  192. if (!IsClrObject)
  193. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._addHandshakeCompletedListener16029, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  194. else
  195. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._addHandshakeCompletedListener16029, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  196. }
  197. internal static global::MonoJavaBridge.MethodId _removeHandshakeCompletedListener16030;
  198. public override void removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener arg0)
  199. {
  200. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  201. if (!IsClrObject)
  202. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._removeHandshakeCompletedListener16030, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  203. else
  204. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._removeHandshakeCompletedListener16030, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  205. }
  206. internal static global::MonoJavaBridge.MethodId _startHandshake16031;
  207. public override void startHandshake()
  208. {
  209. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  210. if (!IsClrObject)
  211. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._startHandshake16031);
  212. else
  213. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._startHandshake16031);
  214. }
  215. internal static global::MonoJavaBridge.MethodId _setUseClientMode16032;
  216. public override void setUseClientMode(bool arg0)
  217. {
  218. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  219. if (!IsClrObject)
  220. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setUseClientMode16032, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  221. else
  222. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setUseClientMode16032, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  223. }
  224. internal static global::MonoJavaBridge.MethodId _getUseClientMode16033;
  225. public override bool getUseClientMode()
  226. {
  227. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  228. if (!IsClrObject)
  229. return @__env.CallBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getUseClientMode16033);
  230. else
  231. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getUseClientMode16033);
  232. }
  233. internal static global::MonoJavaBridge.MethodId _setNeedClientAuth16034;
  234. public override void setNeedClientAuth(bool arg0)
  235. {
  236. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  237. if (!IsClrObject)
  238. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setNeedClientAuth16034, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  239. else
  240. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setNeedClientAuth16034, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  241. }
  242. internal static global::MonoJavaBridge.MethodId _getNeedClientAuth16035;
  243. public override bool getNeedClientAuth()
  244. {
  245. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  246. if (!IsClrObject)
  247. return @__env.CallBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getNeedClientAuth16035);
  248. else
  249. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getNeedClientAuth16035);
  250. }
  251. internal static global::MonoJavaBridge.MethodId _setWantClientAuth16036;
  252. public override void setWantClientAuth(bool arg0)
  253. {
  254. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  255. if (!IsClrObject)
  256. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setWantClientAuth16036, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  257. else
  258. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setWantClientAuth16036, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  259. }
  260. internal static global::MonoJavaBridge.MethodId _getWantClientAuth16037;
  261. public override bool getWantClientAuth()
  262. {
  263. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  264. if (!IsClrObject)
  265. return @__env.CallBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getWantClientAuth16037);
  266. else
  267. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getWantClientAuth16037);
  268. }
  269. internal static global::MonoJavaBridge.MethodId _setEnableSessionCreation16038;
  270. public override void setEnableSessionCreation(bool arg0)
  271. {
  272. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  273. if (!IsClrObject)
  274. @__env.CallVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._setEnableSessionCreation16038, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  275. else
  276. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._setEnableSessionCreation16038, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  277. }
  278. internal static global::MonoJavaBridge.MethodId _getEnableSessionCreation16039;
  279. public override bool getEnableSessionCreation()
  280. {
  281. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  282. if (!IsClrObject)
  283. return @__env.CallBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_._getEnableSessionCreation16039);
  284. else
  285. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::javax.net.ssl.SSLSocket_.staticClass, global::javax.net.ssl.SSLSocket_._getEnableSessionCreation16039);
  286. }
  287. private static void InitJNI()
  288. {
  289. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  290. global::javax.net.ssl.SSLSocket_.staticClass = @__env.NewGlobalRef(@__env.FindClass("javax/net/ssl/SSLSocket"));
  291. global::javax.net.ssl.SSLSocket_._getSupportedCipherSuites16022 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getSupportedCipherSuites", "()[Ljava/lang/String;");
  292. global::javax.net.ssl.SSLSocket_._getSession16023 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getSession", "()Ljavax/net/ssl/SSLSession;");
  293. global::javax.net.ssl.SSLSocket_._getEnabledCipherSuites16024 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getEnabledCipherSuites", "()[Ljava/lang/String;");
  294. global::javax.net.ssl.SSLSocket_._setEnabledCipherSuites16025 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setEnabledCipherSuites", "([Ljava/lang/String;)V");
  295. global::javax.net.ssl.SSLSocket_._getSupportedProtocols16026 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getSupportedProtocols", "()[Ljava/lang/String;");
  296. global::javax.net.ssl.SSLSocket_._getEnabledProtocols16027 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getEnabledProtocols", "()[Ljava/lang/String;");
  297. global::javax.net.ssl.SSLSocket_._setEnabledProtocols16028 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setEnabledProtocols", "([Ljava/lang/String;)V");
  298. global::javax.net.ssl.SSLSocket_._addHandshakeCompletedListener16029 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "addHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V");
  299. global::javax.net.ssl.SSLSocket_._removeHandshakeCompletedListener16030 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "removeHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V");
  300. global::javax.net.ssl.SSLSocket_._startHandshake16031 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "startHandshake", "()V");
  301. global::javax.net.ssl.SSLSocket_._setUseClientMode16032 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setUseClientMode", "(Z)V");
  302. global::javax.net.ssl.SSLSocket_._getUseClientMode16033 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getUseClientMode", "()Z");
  303. global::javax.net.ssl.SSLSocket_._setNeedClientAuth16034 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setNeedClientAuth", "(Z)V");
  304. global::javax.net.ssl.SSLSocket_._getNeedClientAuth16035 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getNeedClientAuth", "()Z");
  305. global::javax.net.ssl.SSLSocket_._setWantClientAuth16036 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setWantClientAuth", "(Z)V");
  306. global::javax.net.ssl.SSLSocket_._getWantClientAuth16037 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getWantClientAuth", "()Z");
  307. global::javax.net.ssl.SSLSocket_._setEnableSessionCreation16038 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "setEnableSessionCreation", "(Z)V");
  308. global::javax.net.ssl.SSLSocket_._getEnableSessionCreation16039 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocket_.staticClass, "getEnableSessionCreation", "()Z");
  309. }
  310. }
  311. }