This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
TrustManagerFactory.xml
660 lines (660 loc) · 43.3 KB
/
TrustManagerFactory.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
<Type Name="TrustManagerFactory" FullName="Javax.Net.Ssl.TrustManagerFactory">
<TypeSignature Language="C#" Value="public class TrustManagerFactory : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TrustManagerFactory extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Javax.Net.Ssl.TrustManagerFactory" />
<TypeSignature Language="F#" Value="type TrustManagerFactory = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("javax/net/ssl/TrustManagerFactory", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("javax/net/ssl/TrustManagerFactory", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>This class acts as a factory for trust managers based on a
source of trust material.</summary>
<remarks>
<para>This class acts as a factory for trust managers based on a
source of trust material. Each trust manager manages a specific
type of trust material for use by secure sockets. The trust
material is based on a KeyStore and/or provider specific sources.</para>
<para>Android provides the following <c>TrustManagerFactory</c> algorithms:
<table>
<thead>
<tr>
<th>Algorithm</th>
<th>Supported API Levels</th>
</tr>
</thead>
<tbody>
<tr>
<td>PKIX</td>
<td>1+</td>
</tr>
</tbody>
</table></para>
<para>Added in 1.4.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory</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=".ctor">
<MemberSignature Language="C#" Value="protected TrustManagerFactory (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Javax.Net.Ssl.TrustManagerFactory : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.TrustManagerFactory" Usage="new Javax.Net.Ssl.TrustManagerFactory (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<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>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected TrustManagerFactory (Javax.Net.Ssl.TrustManagerFactorySpi? factorySpi, Java.Security.Provider? provider, string? algorithm);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Javax.Net.Ssl.TrustManagerFactorySpi factorySpi, class Java.Security.Provider provider, string algorithm) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.#ctor(Javax.Net.Ssl.TrustManagerFactorySpi,Java.Security.Provider,System.String)" />
<MemberSignature Language="F#" Value="new Javax.Net.Ssl.TrustManagerFactory : Javax.Net.Ssl.TrustManagerFactorySpi * Java.Security.Provider * string -> Javax.Net.Ssl.TrustManagerFactory" Usage="new Javax.Net.Ssl.TrustManagerFactory (factorySpi, provider, algorithm)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/TrustManagerFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/TrustManagerFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="factorySpi" Type="Javax.Net.Ssl.TrustManagerFactorySpi" />
<Parameter Name="provider" Type="Java.Security.Provider" />
<Parameter Name="algorithm" Type="System.String" />
</Parameters>
<Docs>
<param name="factorySpi">the delegate</param>
<param name="provider">the provider</param>
<param name="algorithm">the algorithm</param>
<summary>Creates a TrustManagerFactory object.</summary>
<remarks>
<para>Creates a TrustManagerFactory object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#TrustManagerFactory(javax.net.ssl.TrustManagerFactorySpi,%20java.security.Provider,%20java.lang.String)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.TrustManagerFactory(javax.net.ssl.TrustManagerFactorySpi, java.security.Provider, 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" />
</Docs>
</Member>
<Member MemberName="Algorithm">
<MemberSignature Language="C#" Value="public string? Algorithm { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Algorithm" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.Algorithm" />
<MemberSignature Language="F#" Value="member this.Algorithm : string" Usage="Javax.Net.Ssl.TrustManagerFactory.Algorithm" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAlgorithm", "()Ljava/lang/String;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAlgorithm", "()Ljava/lang/String;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the algorithm name of this <c>TrustManagerFactory</c>
object.</summary>
<value>the algorithm name of this <c>TrustManagerFactory</c>
object</value>
<remarks>
<para>Returns the algorithm name of this <c>TrustManagerFactory</c>
object.</para>
<para>This is the same name that was specified in one of the
<c>getInstance</c> calls that created this
<c>TrustManagerFactory</c> object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getAlgorithm()" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getAlgorithm()</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>
<Member MemberName="DefaultAlgorithm">
<MemberSignature Language="C#" Value="public static string? DefaultAlgorithm { get; }" />
<MemberSignature Language="ILAsm" Value=".property string DefaultAlgorithm" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.DefaultAlgorithm" />
<MemberSignature Language="F#" Value="static member DefaultAlgorithm : string" Usage="Javax.Net.Ssl.TrustManagerFactory.DefaultAlgorithm" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDefaultAlgorithm", "()Ljava/lang/String;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDefaultAlgorithm", "()Ljava/lang/String;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Obtains the default TrustManagerFactory algorithm name.</summary>
<value>the default algorithm name as specified by the
<c>ssl.TrustManagerFactory.algorithm</c> security property, or an
implementation-specific default if no such property exists.</value>
<remarks>
<para>Obtains the default TrustManagerFactory algorithm name.</para>
<para>The default TrustManager can be changed at runtime by setting
the value of the <c>ssl.TrustManagerFactory.algorithm</c>
security property to the desired algorithm name.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getDefaultAlgorithm()" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getDefaultAlgorithm()</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>
<Member MemberName="GetInstance">
<MemberSignature Language="C#" Value="public static Javax.Net.Ssl.TrustManagerFactory? GetInstance (string? algorithm);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Javax.Net.Ssl.TrustManagerFactory GetInstance(string algorithm) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.GetInstance(System.String)" />
<MemberSignature Language="F#" Value="static member GetInstance : string -> Javax.Net.Ssl.TrustManagerFactory" Usage="Javax.Net.Ssl.TrustManagerFactory.GetInstance algorithm" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Net.Ssl.TrustManagerFactory</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="algorithm" Type="System.String" />
</Parameters>
<Docs>
<param name="algorithm">the standard name of the requested trust management
algorithm. See the <see href="https://developer.android.com//../technotes/guides/security/jsse/JSSERefGuide.html">
Java Secure Socket Extension Reference Guide </see>
for information about standard algorithm names.</param>
<summary>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</summary>
<returns>the new <c>TrustManagerFactory</c> object.</returns>
<remarks>
<para>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</para>
<para>This method traverses the list of registered security Providers,
starting with the most preferred Provider.
A new TrustManagerFactory object encapsulating the
TrustManagerFactorySpi implementation from the first
Provider that supports the specified algorithm is returned.</para>
<para>Note that the list of registered providers may be retrieved via
the <c>Security#getProviders() Security.getProviders()</c> method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getInstance(java.lang.String)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getInstance(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.NoSuchAlgorithmException">if no installed provider can provide the requested algorithm.</exception>
<exception cref="T:Java.Lang.NullPointerException">if <c>algorithm</c> is <c>null</c> (instead of
NoSuchAlgorithmException as in 1.4 release)
</exception>
</Docs>
</Member>
<Member MemberName="GetInstance">
<MemberSignature Language="C#" Value="public static Javax.Net.Ssl.TrustManagerFactory? GetInstance (string? algorithm, Java.Security.Provider? provider);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Javax.Net.Ssl.TrustManagerFactory GetInstance(string algorithm, class Java.Security.Provider provider) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.GetInstance(System.String,Java.Security.Provider)" />
<MemberSignature Language="F#" Value="static member GetInstance : string * Java.Security.Provider -> Javax.Net.Ssl.TrustManagerFactory" Usage="Javax.Net.Ssl.TrustManagerFactory.GetInstance (algorithm, provider)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/security/Provider;)Ljavax/net/ssl/TrustManagerFactory;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/security/Provider;)Ljavax/net/ssl/TrustManagerFactory;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Net.Ssl.TrustManagerFactory</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="algorithm" Type="System.String" />
<Parameter Name="provider" Type="Java.Security.Provider" />
</Parameters>
<Docs>
<param name="algorithm">the standard name of the requested trust management
algorithm. See the <see href="https://developer.android.com//../technotes/guides/security/jsse/JSSERefGuide.html">
Java Secure Socket Extension Reference Guide </see>
for information about standard algorithm names.</param>
<param name="provider">an instance of the provider.</param>
<summary>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</summary>
<returns>the new <c>TrustManagerFactory</c> object.</returns>
<remarks>
<para>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</para>
<para>A new TrustManagerFactory object encapsulating the
TrustManagerFactorySpi implementation from the specified Provider
object is returned. Note that the specified Provider object
does not have to be registered in the provider list.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getInstance(java.lang.String,%20java.security.Provider)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getInstance(java.lang.String, java.security.Provider)</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.NoSuchAlgorithmException">if the specified provider cannot provide the requested
algorithm.</exception>
<exception cref="T:Java.Lang.NullPointerException">if <c>algorithm</c> is <c>null</c> (instead of
NoSuchAlgorithmException as in 1.4 release)
</exception>
</Docs>
</Member>
<Member MemberName="GetInstance">
<MemberSignature Language="C#" Value="public static Javax.Net.Ssl.TrustManagerFactory? GetInstance (string? algorithm, string? provider);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Javax.Net.Ssl.TrustManagerFactory GetInstance(string algorithm, string provider) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.GetInstance(System.String,System.String)" />
<MemberSignature Language="F#" Value="static member GetInstance : string * string -> Javax.Net.Ssl.TrustManagerFactory" Usage="Javax.Net.Ssl.TrustManagerFactory.GetInstance (algorithm, provider)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getInstance", "(Ljava/lang/String;Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Net.Ssl.TrustManagerFactory</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="algorithm" Type="System.String" />
<Parameter Name="provider" Type="System.String" />
</Parameters>
<Docs>
<param name="algorithm">the standard name of the requested trust management
algorithm. See the <see href="https://developer.android.com//../technotes/guides/security/jsse/JSSERefGuide.html">
Java Secure Socket Extension Reference Guide </see>
for information about standard algorithm names.</param>
<param name="provider">the name of the provider.</param>
<summary>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</summary>
<returns>the new <c>TrustManagerFactory</c> object</returns>
<remarks>
<para>Returns a <c>TrustManagerFactory</c> object that acts as a
factory for trust managers.</para>
<para>A new KeyManagerFactory object encapsulating the
KeyManagerFactorySpi implementation from the specified provider
is returned. The specified provider must be registered
in the security provider list.</para>
<para>Note that the list of registered providers may be retrieved via
the <c>Security#getProviders() Security.getProviders()</c> method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getInstance(java.lang.String,%20java.lang.String)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getInstance(java.lang.String, 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.NoSuchAlgorithmException">if the specified provider cannot provide the requested
algorithm.</exception>
<exception cref="T:Java.Security.NoSuchProviderException">if the specified provider does not exist.</exception>
<exception cref="T:Java.Lang.NullPointerException">if <c>algorithm</c> is <c>null</c> (instead of
NoSuchAlgorithmException as in 1.4 release)
</exception>
</Docs>
</Member>
<Member MemberName="GetTrustManagers">
<MemberSignature Language="C#" Value="public Javax.Net.Ssl.ITrustManager[]? GetTrustManagers ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Javax.Net.Ssl.ITrustManager[] GetTrustManagers() cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.GetTrustManagers" />
<MemberSignature Language="F#" Value="member this.GetTrustManagers : unit -> Javax.Net.Ssl.ITrustManager[]" Usage="trustManagerFactory.GetTrustManagers " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getTrustManagers", "()[Ljavax/net/ssl/TrustManager;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getTrustManagers", "()[Ljavax/net/ssl/TrustManager;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Net.Ssl.ITrustManager[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns one trust manager for each type of trust material.</summary>
<returns>the trust managers</returns>
<remarks>
<para>Returns one trust manager for each type of trust material.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getTrustManagers()" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getTrustManagers()</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>
<Member MemberName="Init">
<MemberSignature Language="C#" Value="public void Init (Java.Security.KeyStore? ks);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Init(class Java.Security.KeyStore ks) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.Init(Java.Security.KeyStore)" />
<MemberSignature Language="F#" Value="member this.Init : Java.Security.KeyStore -> unit" Usage="trustManagerFactory.Init ks" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("init", "(Ljava/security/KeyStore;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("init", "(Ljava/security/KeyStore;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ks" Type="Java.Security.KeyStore" />
</Parameters>
<Docs>
<param name="ks">the key store, or null</param>
<summary>Initializes this factory with a source of certificate
authorities and related trust material.</summary>
<remarks>
<para>Initializes this factory with a source of certificate
authorities and related trust material.</para>
<para>The provider typically uses a KeyStore as a basis for making
trust decisions.</para>
<para>For more flexible initialization, please see
<c>#init(ManagerFactoryParameters)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#init(java.security.KeyStore)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.init(java.security.KeyStore)</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.KeyStoreException">if the initialization fails.
</exception>
</Docs>
</Member>
<Member MemberName="Init">
<MemberSignature Language="C#" Value="public void Init (Javax.Net.Ssl.IManagerFactoryParameters? spec);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Init(class Javax.Net.Ssl.IManagerFactoryParameters spec) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Net.Ssl.TrustManagerFactory.Init(Javax.Net.Ssl.IManagerFactoryParameters)" />
<MemberSignature Language="F#" Value="member this.Init : Javax.Net.Ssl.IManagerFactoryParameters -> unit" Usage="trustManagerFactory.Init spec" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("init", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("init", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="spec" Type="Javax.Net.Ssl.IManagerFactoryParameters" />
</Parameters>
<Docs>
<param name="spec">an implementation of a provider-specific parameter
specification</param>
<summary>Initializes this factory with a source of provider-specific
trust material.</summary>
<remarks>
<para>Initializes this factory with a source of provider-specific
trust material.</para>
<para>In some cases, initialization parameters other than a keystore
may be needed by a provider. Users of that particular provider
are expected to pass an implementation of the appropriate
<c>ManagerFactoryParameters</c> as defined by the
provider. The provider can then call the specified methods in
the <c>ManagerFactoryParameters</c> implementation to obtain the
needed information.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#init(javax.net.ssl.ManagerFactoryParameters)" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.init(javax.net.ssl.ManagerFactoryParameters)</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.InvalidAlgorithmParameterException">if the initialization fails.
</exception>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Javax.Net.Ssl.TrustManagerFactory.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<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>
</Docs>
</Member>
<Member MemberName="Provider">
<MemberSignature Language="C#" Value="public Java.Security.Provider? Provider { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Security.Provider Provider" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.Provider" />
<MemberSignature Language="F#" Value="member this.Provider : Java.Security.Provider" Usage="Javax.Net.Ssl.TrustManagerFactory.Provider" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getProvider", "()Ljava/security/Provider;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getProvider", "()Ljava/security/Provider;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Security.Provider</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the provider of this <c>TrustManagerFactory</c> object.</summary>
<value>the provider of this <c>TrustManagerFactory</c> object</value>
<remarks>
<para>Returns the provider of this <c>TrustManagerFactory</c> object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/net/ssl/TrustManagerFactory#getProvider()" title="Reference documentation">Java documentation for <code>javax.net.ssl.TrustManagerFactory.getProvider()</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>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Javax.Net.Ssl.TrustManagerFactory.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<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>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Javax.Net.Ssl.TrustManagerFactory.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Javax.Net.Ssl.TrustManagerFactory.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<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>
</Docs>
</Member>
</Members>
</Type>