-
Notifications
You must be signed in to change notification settings - Fork 2
/
IX509TrustManager.xml
217 lines (217 loc) · 15.2 KB
/
IX509TrustManager.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<Type Name="IX509TrustManager" FullName="Javax.Net.Ssl.IX509TrustManager">
<TypeSignature Language="C#" Value="public interface IX509TrustManager : IDisposable, Java.Interop.IJavaPeerable, Javax.Net.Ssl.ITrustManager" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IX509TrustManager implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Javax.Net.Ssl.ITrustManager, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Javax.Net.Ssl.IX509TrustManager" />
<TypeSignature Language="F#" Value="type IX509TrustManager = interface
 interface ITrustManager
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Javax.Net.Ssl.ITrustManager</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("javax/net/ssl/X509TrustManager", "", "Javax.Net.Ssl.IX509TrustManagerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("javax/net/ssl/X509TrustManager", "", "Javax.Net.Ssl.IX509TrustManagerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Instance of this interface manage which X509 certificates
may be used to authenticate the remote side of a secure
socket.</summary>
<remarks>
<para>Instance of this interface manage which X509 certificates
may be used to authenticate the remote side of a secure
socket. Decisions may be based on trusted certificate
authorities, certificate revocation lists, online
status checking or other means.</para>
<para>Added in 1.4.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/X509TrustManager" title="Reference documentation">Java documentation for <code>javax.net.ssl.X509TrustManager</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="CheckClientTrusted">
<MemberSignature Language="C#" Value="public void CheckClientTrusted (Java.Security.Cert.X509Certificate[]? chain, string? authType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CheckClientTrusted(class Java.Security.Cert.X509Certificate[] chain, string authType) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.IX509TrustManager.CheckClientTrusted(Java.Security.Cert.X509Certificate[],System.String)" />
<MemberSignature Language="F#" Value="abstract member CheckClientTrusted : Java.Security.Cert.X509Certificate[] * string -> unit" Usage="iX509TrustManager.CheckClientTrusted (chain, authType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkClientTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", "GetCheckClientTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkClientTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", "GetCheckClientTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="chain" Type="Java.Security.Cert.X509Certificate[]" />
<Parameter Name="authType" Type="System.String" />
</Parameters>
<Docs>
<param name="chain">the peer certificate chain</param>
<param name="authType">the authentication type based on the client certificate</param>
<summary>Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for client SSL
authentication based on the authentication type.</summary>
<remarks>
<para>Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for client SSL
authentication based on the authentication type.</para>
<para>The authentication type is determined by the actual certificate
used. For instance, if RSAPublicKey is used, the authType
should be "RSA". Checking is case-sensitive.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/X509TrustManager#checkClientTrusted(java.security.cert.X509Certificate[],%20java.lang.String)" title="Reference documentation">Java documentation for <code>javax.net.ssl.X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Security.Cert.CertificateException">if the certificate chain can't be validated or isn't trusted.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">if the specified certificate chain is empty or <c>null</c>,
or if the specified authentication type is <c>null</c> or an
empty string.
</exception>
</Docs>
</Member>
<Member MemberName="CheckServerTrusted">
<MemberSignature Language="C#" Value="public void CheckServerTrusted (Java.Security.Cert.X509Certificate[]? chain, string? authType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CheckServerTrusted(class Java.Security.Cert.X509Certificate[] chain, string authType) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.IX509TrustManager.CheckServerTrusted(Java.Security.Cert.X509Certificate[],System.String)" />
<MemberSignature Language="F#" Value="abstract member CheckServerTrusted : Java.Security.Cert.X509Certificate[] * string -> unit" Usage="iX509TrustManager.CheckServerTrusted (chain, authType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkServerTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", "GetCheckServerTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkServerTrusted", "([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V", "GetCheckServerTrusted_arrayLjava_security_cert_X509Certificate_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="chain" Type="Java.Security.Cert.X509Certificate[]" />
<Parameter Name="authType" Type="System.String" />
</Parameters>
<Docs>
<param name="chain">the peer certificate chain</param>
<param name="authType">the key exchange algorithm used</param>
<summary>Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for server SSL
authentication based on the authentication type.</summary>
<remarks>
<para>Given the partial or complete certificate chain provided by the
peer, build a certificate path to a trusted root and return if
it can be validated and is trusted for server SSL
authentication based on the authentication type.</para>
<para>The authentication type is the key exchange algorithm portion
of the cipher suites represented as a String, such as "RSA",
"DHE_DSS". Note: for some exportable cipher suites, the key
exchange algorithm is determined at run time during the
handshake. For instance, for TLS_RSA_EXPORT_WITH_RC4_40_MD5,
the authType should be RSA_EXPORT when an ephemeral RSA key is
used for the key exchange, and RSA when the key from the server
certificate is used. Checking is case-sensitive.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/X509TrustManager#checkServerTrusted(java.security.cert.X509Certificate[],%20java.lang.String)" title="Reference documentation">Java documentation for <code>javax.net.ssl.X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Security.Cert.CertificateException">if the certificate chain can't be validated or isn't trusted.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">if the specified certificate chain is empty or <c>null</c>,
or if the specified authentication type is <c>null</c> or an
empty string.
</exception>
</Docs>
</Member>
<Member MemberName="GetAcceptedIssuers">
<MemberSignature Language="C#" Value="public Java.Security.Cert.X509Certificate[]? GetAcceptedIssuers ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Security.Cert.X509Certificate[] GetAcceptedIssuers() cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.IX509TrustManager.GetAcceptedIssuers" />
<MemberSignature Language="F#" Value="abstract member GetAcceptedIssuers : unit -> Java.Security.Cert.X509Certificate[]" Usage="iX509TrustManager.GetAcceptedIssuers " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getAcceptedIssuers", "()[Ljava/security/cert/X509Certificate;", "GetGetAcceptedIssuersHandler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getAcceptedIssuers", "()[Ljava/security/cert/X509Certificate;", "GetGetAcceptedIssuersHandler:Javax.Net.Ssl.IX509TrustManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Security.Cert.X509Certificate[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return an array of certificate authority certificates
which are trusted for authenticating peers.</summary>
<returns>a non-null (possibly empty) array of acceptable
CA issuer certificates.</returns>
<remarks>
<para>Return an array of certificate authority certificates
which are trusted for authenticating peers.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/X509TrustManager#getAcceptedIssuers()" title="Reference documentation">Java documentation for <code>javax.net.ssl.X509TrustManager.getAcceptedIssuers()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>