/jni/MonoJavaBridge/android/generated/android/net/SSLCertificateSocketFactory.cs

http://github.com/koush/androidmono · C# · 136 lines · 136 code · 0 blank · 0 comment · 8 complexity · 532a4225f849a08b0f91f730e7b17aa6 MD5 · raw file

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