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

http://github.com/koush/androidmono · C# · 132 lines · 131 code · 1 blank · 0 comment · 7 complexity · 9279e0e3684d5760d9b2cee0ac7e71df MD5 · raw file

  1. namespace javax.net.ssl
  2. {
  3. [global::MonoJavaBridge.JavaClass(typeof(global::javax.net.ssl.SSLSocketFactory_))]
  4. public abstract partial class SSLSocketFactory : javax.net.SocketFactory
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static SSLSocketFactory()
  8. {
  9. InitJNI();
  10. }
  11. protected SSLSocketFactory(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _getDefault16040;
  15. public static new global::javax.net.SocketFactory getDefault()
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(javax.net.ssl.SSLSocketFactory.staticClass, global::javax.net.ssl.SSLSocketFactory._getDefault16040)) as javax.net.SocketFactory;
  19. }
  20. internal static global::MonoJavaBridge.MethodId _createSocket16041;
  21. public abstract global::java.net.Socket createSocket(java.net.Socket arg0, java.lang.String arg1, int arg2, bool arg3);
  22. internal static global::MonoJavaBridge.MethodId _getDefaultCipherSuites16042;
  23. public abstract global::java.lang.String[] getDefaultCipherSuites();
  24. internal static global::MonoJavaBridge.MethodId _getSupportedCipherSuites16043;
  25. public abstract global::java.lang.String[] getSupportedCipherSuites();
  26. internal static global::MonoJavaBridge.MethodId _SSLSocketFactory16044;
  27. public SSLSocketFactory() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  28. {
  29. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  30. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(javax.net.ssl.SSLSocketFactory.staticClass, global::javax.net.ssl.SSLSocketFactory._SSLSocketFactory16044);
  31. Init(@__env, handle);
  32. }
  33. private static void InitJNI()
  34. {
  35. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  36. global::javax.net.ssl.SSLSocketFactory.staticClass = @__env.NewGlobalRef(@__env.FindClass("javax/net/ssl/SSLSocketFactory"));
  37. global::javax.net.ssl.SSLSocketFactory._getDefault16040 = @__env.GetStaticMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory.staticClass, "getDefault", "()Ljavax/net/SocketFactory;");
  38. global::javax.net.ssl.SSLSocketFactory._createSocket16041 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory.staticClass, "createSocket", "(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;");
  39. global::javax.net.ssl.SSLSocketFactory._getDefaultCipherSuites16042 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory.staticClass, "getDefaultCipherSuites", "()[Ljava/lang/String;");
  40. global::javax.net.ssl.SSLSocketFactory._getSupportedCipherSuites16043 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory.staticClass, "getSupportedCipherSuites", "()[Ljava/lang/String;");
  41. global::javax.net.ssl.SSLSocketFactory._SSLSocketFactory16044 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory.staticClass, "<init>", "()V");
  42. }
  43. }
  44. [global::MonoJavaBridge.JavaProxy(typeof(global::javax.net.ssl.SSLSocketFactory))]
  45. public sealed partial class SSLSocketFactory_ : javax.net.ssl.SSLSocketFactory
  46. {
  47. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  48. static SSLSocketFactory_()
  49. {
  50. InitJNI();
  51. }
  52. internal SSLSocketFactory_(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  53. {
  54. }
  55. internal static global::MonoJavaBridge.MethodId _createSocket16045;
  56. public override global::java.net.Socket createSocket(java.net.Socket arg0, java.lang.String arg1, int arg2, bool arg3)
  57. {
  58. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  59. if (!IsClrObject)
  60. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._createSocket16045, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  61. else
  62. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._createSocket16045, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  63. }
  64. internal static global::MonoJavaBridge.MethodId _getDefaultCipherSuites16046;
  65. public override global::java.lang.String[] getDefaultCipherSuites()
  66. {
  67. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  68. if (!IsClrObject)
  69. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._getDefaultCipherSuites16046)) as java.lang.String[];
  70. else
  71. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._getDefaultCipherSuites16046)) as java.lang.String[];
  72. }
  73. internal static global::MonoJavaBridge.MethodId _getSupportedCipherSuites16047;
  74. public override global::java.lang.String[] getSupportedCipherSuites()
  75. {
  76. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  77. if (!IsClrObject)
  78. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._getSupportedCipherSuites16047)) as java.lang.String[];
  79. else
  80. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<java.lang.String>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._getSupportedCipherSuites16047)) as java.lang.String[];
  81. }
  82. internal static global::MonoJavaBridge.MethodId _createSocket16048;
  83. public override global::java.net.Socket createSocket(java.lang.String arg0, int arg1)
  84. {
  85. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  86. if (!IsClrObject)
  87. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._createSocket16048, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.Socket;
  88. else
  89. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._createSocket16048, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.Socket;
  90. }
  91. internal static global::MonoJavaBridge.MethodId _createSocket16049;
  92. public override global::java.net.Socket createSocket(java.lang.String arg0, int arg1, java.net.InetAddress arg2, int arg3)
  93. {
  94. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  95. if (!IsClrObject)
  96. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._createSocket16049, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  97. else
  98. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._createSocket16049, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  99. }
  100. internal static global::MonoJavaBridge.MethodId _createSocket16050;
  101. public override global::java.net.Socket createSocket(java.net.InetAddress arg0, int arg1)
  102. {
  103. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  104. if (!IsClrObject)
  105. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._createSocket16050, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.Socket;
  106. else
  107. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._createSocket16050, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.Socket;
  108. }
  109. internal static global::MonoJavaBridge.MethodId _createSocket16051;
  110. public override global::java.net.Socket createSocket(java.net.InetAddress arg0, int arg1, java.net.InetAddress arg2, int arg3)
  111. {
  112. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  113. if (!IsClrObject)
  114. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_._createSocket16051, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  115. else
  116. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::javax.net.ssl.SSLSocketFactory_.staticClass, global::javax.net.ssl.SSLSocketFactory_._createSocket16051, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3))) as java.net.Socket;
  117. }
  118. private static void InitJNI()
  119. {
  120. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  121. global::javax.net.ssl.SSLSocketFactory_.staticClass = @__env.NewGlobalRef(@__env.FindClass("javax/net/ssl/SSLSocketFactory"));
  122. global::javax.net.ssl.SSLSocketFactory_._createSocket16045 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "createSocket", "(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;");
  123. global::javax.net.ssl.SSLSocketFactory_._getDefaultCipherSuites16046 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "getDefaultCipherSuites", "()[Ljava/lang/String;");
  124. global::javax.net.ssl.SSLSocketFactory_._getSupportedCipherSuites16047 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "getSupportedCipherSuites", "()[Ljava/lang/String;");
  125. global::javax.net.ssl.SSLSocketFactory_._createSocket16048 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "createSocket", "(Ljava/lang/String;I)Ljava/net/Socket;");
  126. global::javax.net.ssl.SSLSocketFactory_._createSocket16049 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "createSocket", "(Ljava/lang/String;ILjava/net/InetAddress;I)Ljava/net/Socket;");
  127. global::javax.net.ssl.SSLSocketFactory_._createSocket16050 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "createSocket", "(Ljava/net/InetAddress;I)Ljava/net/Socket;");
  128. global::javax.net.ssl.SSLSocketFactory_._createSocket16051 = @__env.GetMethodIDNoThrow(global::javax.net.ssl.SSLSocketFactory_.staticClass, "createSocket", "(Ljava/net/InetAddress;ILjava/net/InetAddress;I)Ljava/net/Socket;");
  129. }
  130. }
  131. }