Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Mono.Security.cs « net_4_x « profiles - github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52ba2d87904f7f580cf21a5d0c31382b51c5edfa (plain)
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
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
[assembly:System.CLSCompliantAttribute(true)]
[assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly:System.Reflection.AssemblyCompanyAttribute("MONO development team")]
[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) 2003-2004 Various Authors")]
[assembly:System.Reflection.AssemblyDescriptionAttribute("Mono.Security.dll")]
[assembly:System.Reflection.AssemblyProductAttribute("MONO CLI")]
[assembly:System.Reflection.AssemblyTitleAttribute("Mono.Security.dll")]
[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
[assembly:System.Runtime.CompilerServices.InternalsVisibleToAttribute("System, PublicKey=00000000000000000400000000000000")]
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)]
namespace Mono.Math
{
    public partial class BigInteger
    {
        public BigInteger() { }
        public BigInteger(Mono.Math.BigInteger bi) { }
        [System.CLSCompliantAttribute(false)]
        public BigInteger(Mono.Math.BigInteger bi, uint len) { }
        [System.CLSCompliantAttribute(false)]
        public BigInteger(Mono.Math.BigInteger.Sign sign, uint len) { }
        public BigInteger(byte[] inData) { }
        [System.CLSCompliantAttribute(false)]
        public BigInteger(uint ui) { }
        [System.CLSCompliantAttribute(false)]
        public BigInteger(uint[] inData) { }
        [System.CLSCompliantAttribute(false)]
        public BigInteger(ulong ul) { }
        public static Mono.Math.BigInteger Add(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public int BitCount() { throw null; }
        public void Clear() { }
        [System.CLSCompliantAttribute(false)]
        public void ClearBit(uint bitNum) { }
        public Mono.Math.BigInteger.Sign Compare(Mono.Math.BigInteger bi) { throw null; }
        public static Mono.Math.BigInteger Divid(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger Divid(Mono.Math.BigInteger bi, int i) { throw null; }
        public override bool Equals(object o) { throw null; }
        public Mono.Math.BigInteger GCD(Mono.Math.BigInteger bi) { throw null; }
        public static Mono.Math.BigInteger GeneratePseudoPrime(int bits) { throw null; }
        public static Mono.Math.BigInteger GenerateRandom(int bits) { throw null; }
        public static Mono.Math.BigInteger GenerateRandom(int bits, System.Security.Cryptography.RandomNumberGenerator rng) { throw null; }
        public byte[] GetBytes() { throw null; }
        public override int GetHashCode() { throw null; }
        public void Incr2() { }
        public bool IsProbablePrime() { throw null; }
        public int LowestSetBit() { throw null; }
        public Mono.Math.BigInteger ModInverse(Mono.Math.BigInteger modulus) { throw null; }
        public Mono.Math.BigInteger ModPow(Mono.Math.BigInteger exp, Mono.Math.BigInteger n) { throw null; }
        public static Mono.Math.BigInteger Modulus(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static int Modulus(Mono.Math.BigInteger bi, int i) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static uint Modulus(Mono.Math.BigInteger bi, uint ui) { throw null; }
        public static Mono.Math.BigInteger Multiply(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger Multiply(Mono.Math.BigInteger bi, int i) { throw null; }
        public static Mono.Math.BigInteger NextHighestPrime(Mono.Math.BigInteger bi) { throw null; }
        public static Mono.Math.BigInteger operator +(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger operator /(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger operator /(Mono.Math.BigInteger bi, int i) { throw null; }
        public static bool operator ==(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static bool operator ==(Mono.Math.BigInteger bi1, uint ui) { throw null; }
        public static bool operator >(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static bool operator >=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static implicit operator Mono.Math.BigInteger (int value) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static implicit operator Mono.Math.BigInteger (uint value) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static implicit operator Mono.Math.BigInteger (ulong value) { throw null; }
        public static bool operator !=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static bool operator !=(Mono.Math.BigInteger bi1, uint ui) { throw null; }
        public static Mono.Math.BigInteger operator <<(Mono.Math.BigInteger bi1, int shiftVal) { throw null; }
        public static bool operator <(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static bool operator <=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger operator %(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static int operator %(Mono.Math.BigInteger bi, int i) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public static uint operator %(Mono.Math.BigInteger bi, uint ui) { throw null; }
        public static Mono.Math.BigInteger operator *(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger operator *(Mono.Math.BigInteger bi, int i) { throw null; }
        public static Mono.Math.BigInteger operator >>(Mono.Math.BigInteger bi1, int shiftVal) { throw null; }
        public static Mono.Math.BigInteger operator -(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public static Mono.Math.BigInteger Parse(string number) { throw null; }
        public void Randomize() { }
        public void Randomize(System.Security.Cryptography.RandomNumberGenerator rng) { }
        [System.CLSCompliantAttribute(false)]
        public void SetBit(uint bitNum) { }
        [System.CLSCompliantAttribute(false)]
        public void SetBit(uint bitNum, bool value) { }
        public static Mono.Math.BigInteger Subtract(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; }
        public bool TestBit(int bitNum) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public bool TestBit(uint bitNum) { throw null; }
        public override string ToString() { throw null; }
        [System.CLSCompliantAttribute(false)]
        public string ToString(uint radix) { throw null; }
        [System.CLSCompliantAttribute(false)]
        public string ToString(uint radix, string characterSet) { throw null; }
        public sealed partial class ModulusRing
        {
            public ModulusRing(Mono.Math.BigInteger modulus) { }
            public void BarrettReduction(Mono.Math.BigInteger x) { }
            public Mono.Math.BigInteger Difference(Mono.Math.BigInteger a, Mono.Math.BigInteger b) { throw null; }
            public Mono.Math.BigInteger Multiply(Mono.Math.BigInteger a, Mono.Math.BigInteger b) { throw null; }
            public Mono.Math.BigInteger Pow(Mono.Math.BigInteger a, Mono.Math.BigInteger k) { throw null; }
            [System.CLSCompliantAttribute(false)]
            public Mono.Math.BigInteger Pow(uint b, Mono.Math.BigInteger exp) { throw null; }
        }
        public enum Sign
        {
            Negative = -1,
            Positive = 1,
            Zero = 0,
        }
    }
}
namespace Mono.Math.Prime
{
    public enum ConfidenceFactor
    {
        ExtraHigh = 4,
        ExtraLow = 0,
        High = 3,
        Low = 1,
        Medium = 2,
        Provable = 5,
    }
    public delegate bool PrimalityTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence);
    public sealed partial class PrimalityTests
    {
        internal PrimalityTests() { }
        public static bool RabinMillerTest(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; }
        public static bool SmallPrimeSppTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; }
        public static bool Test(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; }
    }
}
namespace Mono.Math.Prime.Generator
{
    public partial class NextPrimeFinder : Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
    {
        public NextPrimeFinder() { }
        protected override Mono.Math.BigInteger GenerateSearchBase(int bits, object Context) { throw null; }
    }
    public abstract partial class PrimeGeneratorBase
    {
        protected PrimeGeneratorBase() { }
        public virtual Mono.Math.Prime.ConfidenceFactor Confidence { get { throw null; } }
        public virtual Mono.Math.Prime.PrimalityTest PrimalityTest { get { throw null; } }
        public virtual int TrialDivisionBounds { get { throw null; } }
        public abstract Mono.Math.BigInteger GenerateNewPrime(int bits);
        protected bool PostTrialDivisionTests(Mono.Math.BigInteger bi) { throw null; }
    }
    public partial class SequentialSearchPrimeGeneratorBase : Mono.Math.Prime.Generator.PrimeGeneratorBase
    {
        public SequentialSearchPrimeGeneratorBase() { }
        public override Mono.Math.BigInteger GenerateNewPrime(int bits) { throw null; }
        public virtual Mono.Math.BigInteger GenerateNewPrime(int bits, object context) { throw null; }
        protected virtual Mono.Math.BigInteger GenerateSearchBase(int bits, object context) { throw null; }
        protected virtual bool IsPrimeAcceptable(Mono.Math.BigInteger bi, object context) { throw null; }
    }
}
namespace Mono.Security
{
    public partial class ASN1
    {
        public ASN1() { }
        public ASN1(byte tag) { }
        public ASN1(byte tag, byte[] data) { }
        public ASN1(byte[] data) { }
        public int Count { get { throw null; } }
        public Mono.Security.ASN1 this[int index] { get { throw null; } }
        public int Length { get { throw null; } }
        public byte Tag { get { throw null; } }
        public byte[] Value { get { throw null; } set { } }
        public Mono.Security.ASN1 Add(Mono.Security.ASN1 asn1) { throw null; }
        public bool CompareValue(byte[] value) { throw null; }
        protected void Decode(byte[] asn1, ref int anPos, int anLength) { }
        protected void DecodeTLV(byte[] asn1, ref int pos, out byte tag, out int length, out byte[] content) { throw null; }
        public Mono.Security.ASN1 Element(int index, byte anTag) { throw null; }
        public bool Equals(byte[] asn1) { throw null; }
        public virtual byte[] GetBytes() { throw null; }
        public void SaveToFile(string filename) { }
        public override string ToString() { throw null; }
    }
    public static partial class ASN1Convert
    {
        public static Mono.Security.ASN1 FromDateTime(System.DateTime dt) { throw null; }
        public static Mono.Security.ASN1 FromInt32(int value) { throw null; }
        public static Mono.Security.ASN1 FromOid(string oid) { throw null; }
        public static Mono.Security.ASN1 FromUnsignedBigInteger(byte[] big) { throw null; }
        public static System.DateTime ToDateTime(Mono.Security.ASN1 time) { throw null; }
        public static int ToInt32(Mono.Security.ASN1 asn1) { throw null; }
        public static string ToOid(Mono.Security.ASN1 asn1) { throw null; }
    }
    public sealed partial class PKCS7
    {
        internal PKCS7() { }
        public static Mono.Security.ASN1 AlgorithmIdentifier(string oid) { throw null; }
        public static Mono.Security.ASN1 AlgorithmIdentifier(string oid, Mono.Security.ASN1 parameters) { throw null; }
        public static Mono.Security.ASN1 Attribute(string oid, Mono.Security.ASN1 value) { throw null; }
        public static Mono.Security.ASN1 IssuerAndSerialNumber(Mono.Security.X509.X509Certificate x509) { throw null; }
        public partial class ContentInfo
        {
            public ContentInfo() { }
            public ContentInfo(Mono.Security.ASN1 asn1) { }
            public ContentInfo(byte[] data) { }
            public ContentInfo(string oid) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public Mono.Security.ASN1 Content { get { throw null; } set { } }
            public string ContentType { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
        }
        public partial class EncryptedData
        {
            public EncryptedData() { }
            public EncryptedData(Mono.Security.ASN1 asn1) { }
            public EncryptedData(byte[] data) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } }
            public byte[] EncryptedContent { get { throw null; } }
            public Mono.Security.PKCS7.ContentInfo EncryptionAlgorithm { get { throw null; } }
            public byte Version { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
        }
        public partial class EnvelopedData
        {
            public EnvelopedData() { }
            public EnvelopedData(Mono.Security.ASN1 asn1) { }
            public EnvelopedData(byte[] data) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } }
            public byte[] EncryptedContent { get { throw null; } }
            public Mono.Security.PKCS7.ContentInfo EncryptionAlgorithm { get { throw null; } }
            public System.Collections.ArrayList RecipientInfos { get { throw null; } }
            public byte Version { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
        }
        public partial class Oid
        {
            public const string contentType = "1.2.840.113549.1.9.3";
            public const string countersignature = "1.2.840.113549.1.9.6";
            public const string data = "1.2.840.113549.1.7.1";
            public const string digestedData = "1.2.840.113549.1.7.5";
            public const string encryptedData = "1.2.840.113549.1.7.6";
            public const string envelopedData = "1.2.840.113549.1.7.3";
            public const string messageDigest = "1.2.840.113549.1.9.4";
            public const string rsaEncryption = "1.2.840.113549.1.1.1";
            public const string signedAndEnvelopedData = "1.2.840.113549.1.7.4";
            public const string signedData = "1.2.840.113549.1.7.2";
            public const string signingTime = "1.2.840.113549.1.9.5";
            public Oid() { }
        }
        public partial class RecipientInfo
        {
            public RecipientInfo() { }
            public RecipientInfo(Mono.Security.ASN1 data) { }
            public string Issuer { get { throw null; } }
            public byte[] Key { get { throw null; } }
            public string Oid { get { throw null; } }
            public byte[] Serial { get { throw null; } }
            public byte[] SubjectKeyIdentifier { get { throw null; } }
            public int Version { get { throw null; } }
        }
        public partial class SignedData
        {
            public SignedData() { }
            public SignedData(Mono.Security.ASN1 asn1) { }
            public SignedData(byte[] data) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
            public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } }
            public System.Collections.ArrayList Crls { get { throw null; } }
            public string HashName { get { throw null; } set { } }
            public Mono.Security.PKCS7.SignerInfo SignerInfo { get { throw null; } }
            public bool UseAuthenticatedAttributes { get { throw null; } set { } }
            public byte Version { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
            public bool VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
        }
        public partial class SignerInfo
        {
            public SignerInfo() { }
            public SignerInfo(Mono.Security.ASN1 asn1) { }
            public SignerInfo(byte[] data) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public System.Collections.ArrayList AuthenticatedAttributes { get { throw null; } }
            public Mono.Security.X509.X509Certificate Certificate { get { throw null; } set { } }
            public string HashName { get { throw null; } set { } }
            public string IssuerName { get { throw null; } }
            public System.Security.Cryptography.AsymmetricAlgorithm Key { get { throw null; } set { } }
            public byte[] SerialNumber { get { throw null; } }
            public byte[] Signature { get { throw null; } set { } }
            public byte[] SubjectKeyIdentifier { get { throw null; } }
            public System.Collections.ArrayList UnauthenticatedAttributes { get { throw null; } }
            public byte Version { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
        }
    }
    public sealed partial class StrongName
    {
        public StrongName() { }
        public StrongName(byte[] data) { }
        public StrongName(int keySize) { }
        public StrongName(System.Security.Cryptography.RSA rsa) { }
        public bool CanSign { get { throw null; } }
        public byte[] PublicKey { get { throw null; } }
        public byte[] PublicKeyToken { get { throw null; } }
        public System.Security.Cryptography.RSA RSA { get { throw null; } set { } }
        public string TokenAlgorithm { get { throw null; } set { } }
        public byte[] GetBytes() { throw null; }
        public byte[] Hash(string fileName) { throw null; }
        public bool Sign(string fileName) { throw null; }
        public bool Verify(System.IO.Stream stream) { throw null; }
        public bool Verify(string fileName) { throw null; }
    }
}
namespace Mono.Security.Authenticode
{
    public partial class AuthenticodeBase
    {
        public const string spcIndirectDataContext = "1.3.6.1.4.1.311.2.1.4";
        public AuthenticodeBase() { }
        protected byte[] HashFile(string fileName, string hashName) { throw null; }
    }
    public partial class AuthenticodeDeformatter : Mono.Security.Authenticode.AuthenticodeBase
    {
        public AuthenticodeDeformatter() { }
        public AuthenticodeDeformatter(string fileName) { }
        public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
        public string FileName { get { throw null; } set { } }
        public byte[] Hash { get { throw null; } }
        public int Reason { get { throw null; } }
        public byte[] Signature { get { throw null; } }
        public Mono.Security.X509.X509Certificate SigningCertificate { get { throw null; } }
        public System.DateTime Timestamp { get { throw null; } }
        public bool IsTrusted() { throw null; }
    }
    public partial class AuthenticodeFormatter : Mono.Security.Authenticode.AuthenticodeBase
    {
        public AuthenticodeFormatter() { }
        public Mono.Security.Authenticode.Authority Authority { get { throw null; } set { } }
        public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
        public System.Collections.ArrayList Crl { get { throw null; } }
        public string Description { get { throw null; } set { } }
        public string Hash { get { throw null; } set { } }
        public System.Security.Cryptography.RSA RSA { get { throw null; } set { } }
        public System.Uri TimestampUrl { get { throw null; } set { } }
        public System.Uri Url { get { throw null; } set { } }
        public void ProcessTimestamp(byte[] response) { }
        public bool Sign(string fileName) { throw null; }
        public bool Timestamp(string fileName) { throw null; }
        public Mono.Security.ASN1 TimestampRequest(byte[] signature) { throw null; }
    }
    public enum Authority
    {
        Commercial = 1,
        Individual = 0,
        Maximum = 2,
    }
    public partial class PrivateKey
    {
        public PrivateKey() { }
        public PrivateKey(byte[] data, string password) { }
        public bool Encrypted { get { throw null; } }
        public int KeyType { get { throw null; } set { } }
        public System.Security.Cryptography.RSA RSA { get { throw null; } set { } }
        public bool Weak { get { throw null; } set { } }
        public static Mono.Security.Authenticode.PrivateKey CreateFromFile(string filename) { throw null; }
        public static Mono.Security.Authenticode.PrivateKey CreateFromFile(string filename, string password) { throw null; }
        public void Save(string filename) { }
        public void Save(string filename, string password) { }
    }
    public partial class SoftwarePublisherCertificate
    {
        public SoftwarePublisherCertificate() { }
        public SoftwarePublisherCertificate(byte[] data) { }
        public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
        public System.Collections.ArrayList Crls { get { throw null; } }
        public static Mono.Security.Authenticode.SoftwarePublisherCertificate CreateFromFile(string filename) { throw null; }
        public byte[] GetBytes() { throw null; }
    }
}
namespace Mono.Security.Cryptography
{
    public partial class ARC4Managed : Mono.Security.Cryptography.RC4, System.IDisposable, System.Security.Cryptography.ICryptoTransform
    {
        public ARC4Managed() { }
        public bool CanReuseTransform { get { throw null; } }
        public bool CanTransformMultipleBlocks { get { throw null; } }
        public int InputBlockSize { get { throw null; } }
        public override byte[] Key { get { throw null; } set { } }
        public int OutputBlockSize { get { throw null; } }
        public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgvIV) { throw null; }
        public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgvIV) { throw null; }
        protected override void Dispose(bool disposing) { }
        ~ARC4Managed() { }
        public override void GenerateIV() { }
        public override void GenerateKey() { }
        public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) { throw null; }
        public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount) { throw null; }
    }
    public partial class BlockProcessor
    {
        public BlockProcessor(System.Security.Cryptography.ICryptoTransform transform) { }
        public BlockProcessor(System.Security.Cryptography.ICryptoTransform transform, int blockSize) { }
        public void Core(byte[] rgb) { }
        public void Core(byte[] rgb, int ib, int cb) { }
        public byte[] Final() { throw null; }
        ~BlockProcessor() { }
        public void Initialize() { }
    }
    public sealed partial class CryptoConvert
    {
        internal CryptoConvert() { }
        public static System.Security.Cryptography.RSA FromCapiKeyBlob(byte[] blob) { throw null; }
        public static System.Security.Cryptography.RSA FromCapiKeyBlob(byte[] blob, int offset) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiKeyBlobDSA(byte[] blob) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiKeyBlobDSA(byte[] blob, int offset) { throw null; }
        public static System.Security.Cryptography.RSA FromCapiPrivateKeyBlob(byte[] blob) { throw null; }
        public static System.Security.Cryptography.RSA FromCapiPrivateKeyBlob(byte[] blob, int offset) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiPrivateKeyBlobDSA(byte[] blob) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiPrivateKeyBlobDSA(byte[] blob, int offset) { throw null; }
        public static System.Security.Cryptography.RSA FromCapiPublicKeyBlob(byte[] blob) { throw null; }
        public static System.Security.Cryptography.RSA FromCapiPublicKeyBlob(byte[] blob, int offset) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiPublicKeyBlobDSA(byte[] blob) { throw null; }
        public static System.Security.Cryptography.DSA FromCapiPublicKeyBlobDSA(byte[] blob, int offset) { throw null; }
        public static byte[] FromHex(string hex) { throw null; }
        public static byte[] ToCapiKeyBlob(System.Security.Cryptography.AsymmetricAlgorithm keypair, bool includePrivateKey) { throw null; }
        public static byte[] ToCapiKeyBlob(System.Security.Cryptography.DSA dsa, bool includePrivateKey) { throw null; }
        public static byte[] ToCapiKeyBlob(System.Security.Cryptography.RSA rsa, bool includePrivateKey) { throw null; }
        public static byte[] ToCapiPrivateKeyBlob(System.Security.Cryptography.DSA dsa) { throw null; }
        public static byte[] ToCapiPrivateKeyBlob(System.Security.Cryptography.RSA rsa) { throw null; }
        public static byte[] ToCapiPublicKeyBlob(System.Security.Cryptography.DSA dsa) { throw null; }
        public static byte[] ToCapiPublicKeyBlob(System.Security.Cryptography.RSA rsa) { throw null; }
        public static string ToHex(byte[] input) { throw null; }
    }
    public enum DHKeyGeneration
    {
        Random = 0,
        Static = 1,
    }
    [System.SerializableAttribute]
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct DHParameters
    {
        public byte[] G;
        public byte[] P;
        [System.NonSerializedAttribute]
        public byte[] X;
    }
    public abstract partial class DiffieHellman : System.Security.Cryptography.AsymmetricAlgorithm
    {
        protected DiffieHellman() { }
        public static new Mono.Security.Cryptography.DiffieHellman Create() { throw null; }
        public static new Mono.Security.Cryptography.DiffieHellman Create(string algName) { throw null; }
        public abstract byte[] CreateKeyExchange();
        public abstract byte[] DecryptKeyExchange(byte[] keyex);
        public abstract Mono.Security.Cryptography.DHParameters ExportParameters(bool includePrivate);
        public override void FromXmlString(string xmlString) { }
        public abstract void ImportParameters(Mono.Security.Cryptography.DHParameters parameters);
        public override string ToXmlString(bool includePrivateParameters) { throw null; }
    }
    public sealed partial class DiffieHellmanManaged : Mono.Security.Cryptography.DiffieHellman
    {
        public DiffieHellmanManaged() { }
        public DiffieHellmanManaged(byte[] p, byte[] g, byte[] x) { }
        public DiffieHellmanManaged(byte[] p, byte[] g, int l) { }
        public DiffieHellmanManaged(int bitLength, int l, Mono.Security.Cryptography.DHKeyGeneration method) { }
        public override string KeyExchangeAlgorithm { get { throw null; } }
        public override string SignatureAlgorithm { get { throw null; } }
        public override byte[] CreateKeyExchange() { throw null; }
        public override byte[] DecryptKeyExchange(byte[] keyEx) { throw null; }
        protected override void Dispose(bool disposing) { }
        public override Mono.Security.Cryptography.DHParameters ExportParameters(bool includePrivateParameters) { throw null; }
        ~DiffieHellmanManaged() { }
        public override void ImportParameters(Mono.Security.Cryptography.DHParameters parameters) { }
    }
    public sealed partial class KeyBuilder
    {
        internal KeyBuilder() { }
        public static byte[] IV(int size) { throw null; }
        public static byte[] Key(int size) { throw null; }
    }
    public partial class KeyPairPersistence
    {
        public KeyPairPersistence(System.Security.Cryptography.CspParameters parameters) { }
        public KeyPairPersistence(System.Security.Cryptography.CspParameters parameters, string keyPair) { }
        public string Filename { get { throw null; } }
        public string KeyValue { get { throw null; } set { } }
        public System.Security.Cryptography.CspParameters Parameters { get { throw null; } }
        public bool Load() { throw null; }
        public void Remove() { }
        public void Save() { }
    }
    public abstract partial class MD2 : System.Security.Cryptography.HashAlgorithm
    {
        protected MD2() { }
        public static new Mono.Security.Cryptography.MD2 Create() { throw null; }
        public static new Mono.Security.Cryptography.MD2 Create(string hashName) { throw null; }
    }
    public partial class MD2Managed : Mono.Security.Cryptography.MD2
    {
        public MD2Managed() { }
        protected override void HashCore(byte[] array, int ibStart, int cbSize) { }
        protected override byte[] HashFinal() { throw null; }
        public override void Initialize() { }
    }
    public abstract partial class MD4 : System.Security.Cryptography.HashAlgorithm
    {
        protected MD4() { }
        public static new Mono.Security.Cryptography.MD4 Create() { throw null; }
        public static new Mono.Security.Cryptography.MD4 Create(string hashName) { throw null; }
    }
    public partial class MD4Managed : Mono.Security.Cryptography.MD4
    {
        public MD4Managed() { }
        protected override void HashCore(byte[] array, int ibStart, int cbSize) { }
        protected override byte[] HashFinal() { throw null; }
        public override void Initialize() { }
    }
    public sealed partial class PKCS1
    {
        internal PKCS1() { }
        public static byte[] Decrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] C) { throw null; }
        public static byte[] Decrypt_v15(System.Security.Cryptography.RSA rsa, byte[] C) { throw null; }
        public static byte[] Encode_v15(System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, int emLength) { throw null; }
        public static byte[] Encrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M) { throw null; }
        public static byte[] Encrypt_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M) { throw null; }
        public static byte[] I2OSP(byte[] x, int size) { throw null; }
        public static byte[] I2OSP(int x, int size) { throw null; }
        public static byte[] MGF1(System.Security.Cryptography.HashAlgorithm hash, byte[] mgfSeed, int maskLen) { throw null; }
        public static byte[] OS2IP(byte[] x) { throw null; }
        public static byte[] RSADP(System.Security.Cryptography.RSA rsa, byte[] c) { throw null; }
        public static byte[] RSAEP(System.Security.Cryptography.RSA rsa, byte[] m) { throw null; }
        public static byte[] RSASP1(System.Security.Cryptography.RSA rsa, byte[] m) { throw null; }
        public static byte[] RSAVP1(System.Security.Cryptography.RSA rsa, byte[] s) { throw null; }
        public static byte[] Sign_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue) { throw null; }
        public static bool Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature) { throw null; }
        public static bool Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature, bool tryNonStandardEncoding) { throw null; }
    }
    public sealed partial class PKCS8
    {
        internal PKCS8() { }
        public static Mono.Security.Cryptography.PKCS8.KeyInfo GetType(byte[] data) { throw null; }
        public partial class EncryptedPrivateKeyInfo
        {
            public EncryptedPrivateKeyInfo() { }
            public EncryptedPrivateKeyInfo(byte[] data) { }
            public string Algorithm { get { throw null; } set { } }
            public byte[] EncryptedData { get { throw null; } set { } }
            public int IterationCount { get { throw null; } set { } }
            public byte[] Salt { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
        }
        public enum KeyInfo
        {
            EncryptedPrivateKey = 1,
            PrivateKey = 0,
            Unknown = 2,
        }
        public partial class PrivateKeyInfo
        {
            public PrivateKeyInfo() { }
            public PrivateKeyInfo(byte[] data) { }
            public string Algorithm { get { throw null; } set { } }
            public System.Collections.ArrayList Attributes { get { throw null; } }
            public byte[] PrivateKey { get { throw null; } set { } }
            public int Version { get { throw null; } set { } }
            public static System.Security.Cryptography.DSA DecodeDSA(byte[] privateKey, System.Security.Cryptography.DSAParameters dsaParameters) { throw null; }
            public static System.Security.Cryptography.RSA DecodeRSA(byte[] keypair) { throw null; }
            public static byte[] Encode(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
            public static byte[] Encode(System.Security.Cryptography.DSA dsa) { throw null; }
            public static byte[] Encode(System.Security.Cryptography.RSA rsa) { throw null; }
            public byte[] GetBytes() { throw null; }
        }
    }
    public abstract partial class RC4 : System.Security.Cryptography.SymmetricAlgorithm
    {
        public RC4() { }
        public override byte[] IV { get { throw null; } set { } }
        public static new Mono.Security.Cryptography.RC4 Create() { throw null; }
        public static new Mono.Security.Cryptography.RC4 Create(string algName) { throw null; }
    }
    public partial class RSAManaged : System.Security.Cryptography.RSA
    {
        public RSAManaged() { }
        public RSAManaged(int keySize) { }
        public bool IsCrtPossible { get { throw null; } }
        public override string KeyExchangeAlgorithm { get { throw null; } }
        public override int KeySize { get { throw null; } }
        public bool PublicOnly { get { throw null; } }
        public override string SignatureAlgorithm { get { throw null; } }
        public bool UseKeyBlinding { get { throw null; } set { } }
        public event Mono.Security.Cryptography.RSAManaged.KeyGeneratedEventHandler KeyGenerated { add { } remove { } }
        public override byte[] DecryptValue(byte[] rgb) { throw null; }
        protected override void Dispose(bool disposing) { }
        public override byte[] EncryptValue(byte[] rgb) { throw null; }
        public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) { throw null; }
        ~RSAManaged() { }
        public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) { }
        public override string ToXmlString(bool includePrivateParameters) { throw null; }
        public delegate void KeyGeneratedEventHandler(object sender, System.EventArgs e);
    }
    public abstract partial class SHA224 : System.Security.Cryptography.HashAlgorithm
    {
        public SHA224() { }
        public static new Mono.Security.Cryptography.SHA224 Create() { throw null; }
        public static new Mono.Security.Cryptography.SHA224 Create(string hashName) { throw null; }
    }
    public partial class SHA224Managed : Mono.Security.Cryptography.SHA224
    {
        public SHA224Managed() { }
        protected override void HashCore(byte[] rgb, int start, int size) { }
        protected override byte[] HashFinal() { throw null; }
        public override void Initialize() { }
    }
}
namespace Mono.Security.Interface
{
    public partial class Alert
    {
        public Alert(Mono.Security.Interface.AlertDescription description) { }
        public Alert(Mono.Security.Interface.AlertLevel level, Mono.Security.Interface.AlertDescription description) { }
        public Mono.Security.Interface.AlertDescription Description { get { throw null; } }
        public bool IsCloseNotify { get { throw null; } }
        public bool IsWarning { get { throw null; } }
        public Mono.Security.Interface.AlertLevel Level { get { throw null; } }
        public string Message { get { throw null; } }
        public static string GetAlertMessage(Mono.Security.Interface.AlertDescription description) { throw null; }
        public override string ToString() { throw null; }
    }
    public enum AlertDescription : byte
    {
        AccessDenied = (byte)49,
        BadCertificate = (byte)42,
        BadRecordMAC = (byte)20,
        CertificateExpired = (byte)45,
        CertificateRevoked = (byte)44,
        CertificateUnknown = (byte)46,
        CloseNotify = (byte)0,
        DecodeError = (byte)50,
        DecompressionFailure = (byte)30,
        DecryptError = (byte)51,
        DecryptionFailed_RESERVED = (byte)21,
        ExportRestriction = (byte)60,
        HandshakeFailure = (byte)40,
        IlegalParameter = (byte)47,
        InsuficientSecurity = (byte)71,
        InternalError = (byte)80,
        NoCertificate_RESERVED = (byte)41,
        NoRenegotiation = (byte)100,
        ProtocolVersion = (byte)70,
        RecordOverflow = (byte)22,
        UnexpectedMessage = (byte)10,
        UnknownCA = (byte)48,
        UnsupportedCertificate = (byte)43,
        UnsupportedExtension = (byte)110,
        UserCancelled = (byte)90,
    }
    public enum AlertLevel : byte
    {
        Fatal = (byte)2,
        Warning = (byte)1,
    }
    public static partial class CertificateValidationHelper
    {
        public static bool SupportsTrustAnchors { get { throw null; } }
        public static bool SupportsX509Chain { get { throw null; } }
        public static Mono.Security.Interface.ICertificateValidator GetValidator(Mono.Security.Interface.MonoTlsSettings settings) { throw null; }
    }
    public enum CipherAlgorithmType
    {
        Aes128 = 1,
        Aes256 = 2,
        AesGcm128 = 3,
        AesGcm256 = 4,
        None = 0,
    }
    [System.CLSCompliantAttribute(false)]
    public enum CipherSuiteCode : ushort
    {
        TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = (ushort)17,
        TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)19,
        TLS_DHE_DSS_WITH_AES_128_CBC_SHA = (ushort)50,
        TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = (ushort)64,
        TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = (ushort)162,
        TLS_DHE_DSS_WITH_AES_256_CBC_SHA = (ushort)56,
        TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = (ushort)106,
        TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = (ushort)163,
        TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA = (ushort)68,
        TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)189,
        TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49280,
        TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA = (ushort)135,
        TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)195,
        TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49281,
        TLS_DHE_DSS_WITH_DES_CBC_SHA = (ushort)18,
        TLS_DHE_DSS_WITH_SEED_CBC_SHA = (ushort)153,
        TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)143,
        TLS_DHE_PSK_WITH_AES_128_CBC_SHA = (ushort)144,
        TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 = (ushort)178,
        TLS_DHE_PSK_WITH_AES_128_CCM = (ushort)49318,
        TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = (ushort)170,
        TLS_DHE_PSK_WITH_AES_256_CBC_SHA = (ushort)145,
        TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 = (ushort)179,
        TLS_DHE_PSK_WITH_AES_256_CCM = (ushort)49319,
        TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = (ushort)171,
        TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49302,
        TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49296,
        TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49303,
        TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49297,
        TLS_DHE_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58396,
        TLS_DHE_PSK_WITH_NULL_SHA = (ushort)45,
        TLS_DHE_PSK_WITH_NULL_SHA256 = (ushort)180,
        TLS_DHE_PSK_WITH_NULL_SHA384 = (ushort)181,
        TLS_DHE_PSK_WITH_RC4_128_SHA = (ushort)142,
        TLS_DHE_PSK_WITH_SALSA20_SHA1 = (ushort)58397,
        TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)20,
        TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)22,
        TLS_DHE_RSA_WITH_AES_128_CBC_SHA = (ushort)51,
        TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = (ushort)103,
        TLS_DHE_RSA_WITH_AES_128_CCM = (ushort)49310,
        TLS_DHE_RSA_WITH_AES_128_CCM_8 = (ushort)49314,
        TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = (ushort)158,
        TLS_DHE_RSA_WITH_AES_256_CBC_SHA = (ushort)57,
        TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = (ushort)107,
        TLS_DHE_RSA_WITH_AES_256_CCM = (ushort)49311,
        TLS_DHE_RSA_WITH_AES_256_CCM_8 = (ushort)49315,
        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = (ushort)159,
        TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)69,
        TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)190,
        TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49276,
        TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)136,
        TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)196,
        TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49277,
        TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52245,
        TLS_DHE_RSA_WITH_DES_CBC_SHA = (ushort)21,
        TLS_DHE_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58398,
        TLS_DHE_RSA_WITH_SALSA20_SHA1 = (ushort)58399,
        TLS_DHE_RSA_WITH_SEED_CBC_SHA = (ushort)154,
        TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA = (ushort)25,
        TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = (ushort)23,
        TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = (ushort)27,
        TLS_DH_anon_WITH_AES_128_CBC_SHA = (ushort)52,
        TLS_DH_anon_WITH_AES_128_CBC_SHA256 = (ushort)108,
        TLS_DH_anon_WITH_AES_128_GCM_SHA256 = (ushort)166,
        TLS_DH_anon_WITH_AES_256_CBC_SHA = (ushort)58,
        TLS_DH_anon_WITH_AES_256_CBC_SHA256 = (ushort)109,
        TLS_DH_anon_WITH_AES_256_GCM_SHA384 = (ushort)167,
        TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA = (ushort)70,
        TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)191,
        TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49284,
        TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA = (ushort)137,
        TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)197,
        TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49285,
        TLS_DH_anon_WITH_DES_CBC_SHA = (ushort)26,
        TLS_DH_anon_WITH_RC4_128_MD5 = (ushort)24,
        TLS_DH_anon_WITH_SEED_CBC_SHA = (ushort)155,
        TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = (ushort)11,
        TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)13,
        TLS_DH_DSS_WITH_AES_128_CBC_SHA = (ushort)48,
        TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = (ushort)62,
        TLS_DH_DSS_WITH_AES_128_GCM_SHA256 = (ushort)164,
        TLS_DH_DSS_WITH_AES_256_CBC_SHA = (ushort)54,
        TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = (ushort)104,
        TLS_DH_DSS_WITH_AES_256_GCM_SHA384 = (ushort)165,
        TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA = (ushort)66,
        TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)187,
        TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49282,
        TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA = (ushort)133,
        TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)193,
        TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49283,
        TLS_DH_DSS_WITH_DES_CBC_SHA = (ushort)12,
        TLS_DH_DSS_WITH_SEED_CBC_SHA = (ushort)151,
        TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)14,
        TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)16,
        TLS_DH_RSA_WITH_AES_128_CBC_SHA = (ushort)49,
        TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = (ushort)63,
        TLS_DH_RSA_WITH_AES_128_GCM_SHA256 = (ushort)160,
        TLS_DH_RSA_WITH_AES_256_CBC_SHA = (ushort)55,
        TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = (ushort)105,
        TLS_DH_RSA_WITH_AES_256_GCM_SHA384 = (ushort)161,
        TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)67,
        TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)188,
        TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49278,
        TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)134,
        TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)194,
        TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49279,
        TLS_DH_RSA_WITH_DES_CBC_SHA = (ushort)15,
        TLS_DH_RSA_WITH_SEED_CBC_SHA = (ushort)152,
        TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = (ushort)49160,
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = (ushort)49161,
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = (ushort)49187,
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = (ushort)49195,
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = (ushort)49162,
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = (ushort)49188,
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = (ushort)49196,
        TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49266,
        TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49286,
        TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49267,
        TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49287,
        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52244,
        TLS_ECDHE_ECDSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58388,
        TLS_ECDHE_ECDSA_WITH_NULL_SHA = (ushort)49158,
        TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = (ushort)49159,
        TLS_ECDHE_ECDSA_WITH_SALSA20_SHA1 = (ushort)58389,
        TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)49204,
        TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA = (ushort)49205,
        TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 = (ushort)49207,
        TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA = (ushort)49206,
        TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384 = (ushort)49208,
        TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49306,
        TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49307,
        TLS_ECDHE_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58392,
        TLS_ECDHE_PSK_WITH_NULL_SHA = (ushort)49209,
        TLS_ECDHE_PSK_WITH_NULL_SHA256 = (ushort)49210,
        TLS_ECDHE_PSK_WITH_NULL_SHA384 = (ushort)49211,
        TLS_ECDHE_PSK_WITH_RC4_128_SHA = (ushort)49203,
        TLS_ECDHE_PSK_WITH_SALSA20_SHA1 = (ushort)58393,
        TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49170,
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = (ushort)49171,
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = (ushort)49191,
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = (ushort)49199,
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = (ushort)49172,
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = (ushort)49192,
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = (ushort)49200,
        TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49270,
        TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49290,
        TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49271,
        TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49291,
        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52243,
        TLS_ECDHE_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58386,
        TLS_ECDHE_RSA_WITH_NULL_SHA = (ushort)49168,
        TLS_ECDHE_RSA_WITH_RC4_128_SHA = (ushort)49169,
        TLS_ECDHE_RSA_WITH_SALSA20_SHA1 = (ushort)58387,
        TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA = (ushort)49175,
        TLS_ECDH_anon_WITH_AES_128_CBC_SHA = (ushort)49176,
        TLS_ECDH_anon_WITH_AES_256_CBC_SHA = (ushort)49177,
        TLS_ECDH_anon_WITH_NULL_SHA = (ushort)49173,
        TLS_ECDH_anon_WITH_RC4_128_SHA = (ushort)49174,
        TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA = (ushort)49155,
        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA = (ushort)49156,
        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 = (ushort)49189,
        TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 = (ushort)49197,
        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA = (ushort)49157,
        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 = (ushort)49190,
        TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 = (ushort)49198,
        TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49268,
        TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49288,
        TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49269,
        TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49289,
        TLS_ECDH_ECDSA_WITH_NULL_SHA = (ushort)49153,
        TLS_ECDH_ECDSA_WITH_RC4_128_SHA = (ushort)49154,
        TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49165,
        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA = (ushort)49166,
        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 = (ushort)49193,
        TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 = (ushort)49201,
        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA = (ushort)49167,
        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 = (ushort)49194,
        TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 = (ushort)49202,
        TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49272,
        TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49292,
        TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49273,
        TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49293,
        TLS_ECDH_RSA_WITH_NULL_SHA = (ushort)49163,
        TLS_ECDH_RSA_WITH_RC4_128_SHA = (ushort)49164,
        TLS_EMPTY_RENEGOTIATION_INFO_SCSV = (ushort)255,
        TLS_FALLBACK_SCSV = (ushort)22016,
        TLS_NULL_WITH_NULL_NULL = (ushort)0,
        TLS_PSK_DHE_WITH_AES_128_CCM_8 = (ushort)49322,
        TLS_PSK_DHE_WITH_AES_256_CCM_8 = (ushort)49323,
        TLS_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)139,
        TLS_PSK_WITH_AES_128_CBC_SHA = (ushort)140,
        TLS_PSK_WITH_AES_128_CBC_SHA256 = (ushort)174,
        TLS_PSK_WITH_AES_128_CCM = (ushort)49316,
        TLS_PSK_WITH_AES_128_CCM_8 = (ushort)49320,
        TLS_PSK_WITH_AES_128_GCM_SHA256 = (ushort)168,
        TLS_PSK_WITH_AES_256_CBC_SHA = (ushort)141,
        TLS_PSK_WITH_AES_256_CBC_SHA384 = (ushort)175,
        TLS_PSK_WITH_AES_256_CCM = (ushort)49317,
        TLS_PSK_WITH_AES_256_CCM_8 = (ushort)49321,
        TLS_PSK_WITH_AES_256_GCM_SHA384 = (ushort)169,
        TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49300,
        TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49294,
        TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49301,
        TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49295,
        TLS_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58390,
        TLS_PSK_WITH_NULL_SHA = (ushort)44,
        TLS_PSK_WITH_NULL_SHA256 = (ushort)176,
        TLS_PSK_WITH_NULL_SHA384 = (ushort)177,
        TLS_PSK_WITH_RC4_128_SHA = (ushort)138,
        TLS_PSK_WITH_SALSA20_SHA1 = (ushort)58391,
        TLS_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)8,
        TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = (ushort)6,
        TLS_RSA_EXPORT_WITH_RC4_40_MD5 = (ushort)3,
        TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)147,
        TLS_RSA_PSK_WITH_AES_128_CBC_SHA = (ushort)148,
        TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 = (ushort)182,
        TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 = (ushort)172,
        TLS_RSA_PSK_WITH_AES_256_CBC_SHA = (ushort)149,
        TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 = (ushort)183,
        TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 = (ushort)173,
        TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49304,
        TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49298,
        TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49305,
        TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49299,
        TLS_RSA_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58394,
        TLS_RSA_PSK_WITH_NULL_SHA = (ushort)46,
        TLS_RSA_PSK_WITH_NULL_SHA256 = (ushort)184,
        TLS_RSA_PSK_WITH_NULL_SHA384 = (ushort)185,
        TLS_RSA_PSK_WITH_RC4_128_SHA = (ushort)146,
        TLS_RSA_PSK_WITH_SALSA20_SHA1 = (ushort)58395,
        TLS_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)10,
        TLS_RSA_WITH_AES_128_CBC_SHA = (ushort)47,
        TLS_RSA_WITH_AES_128_CBC_SHA256 = (ushort)60,
        TLS_RSA_WITH_AES_128_CCM = (ushort)49308,
        TLS_RSA_WITH_AES_128_CCM_8 = (ushort)49312,
        TLS_RSA_WITH_AES_128_GCM_SHA256 = (ushort)156,
        TLS_RSA_WITH_AES_256_CBC_SHA = (ushort)53,
        TLS_RSA_WITH_AES_256_CBC_SHA256 = (ushort)61,
        TLS_RSA_WITH_AES_256_CCM = (ushort)49309,
        TLS_RSA_WITH_AES_256_CCM_8 = (ushort)49313,
        TLS_RSA_WITH_AES_256_GCM_SHA384 = (ushort)157,
        TLS_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)65,
        TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)186,
        TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49274,
        TLS_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)132,
        TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)192,
        TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49275,
        TLS_RSA_WITH_DES_CBC_SHA = (ushort)9,
        TLS_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58384,
        TLS_RSA_WITH_IDEA_CBC_SHA = (ushort)7,
        TLS_RSA_WITH_NULL_MD5 = (ushort)1,
        TLS_RSA_WITH_NULL_SHA = (ushort)2,
        TLS_RSA_WITH_NULL_SHA256 = (ushort)59,
        TLS_RSA_WITH_RC4_128_MD5 = (ushort)4,
        TLS_RSA_WITH_RC4_128_SHA = (ushort)5,
        TLS_RSA_WITH_SALSA20_SHA1 = (ushort)58385,
        TLS_RSA_WITH_SEED_CBC_SHA = (ushort)150,
        TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)49180,
        TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA = (ushort)49183,
        TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA = (ushort)49186,
        TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49179,
        TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA = (ushort)49182,
        TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA = (ushort)49185,
        TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA = (ushort)49178,
        TLS_SRP_SHA_WITH_AES_128_CBC_SHA = (ushort)49181,
        TLS_SRP_SHA_WITH_AES_256_CBC_SHA = (ushort)49184,
    }
    public enum ExchangeAlgorithmType
    {
        Dhe = 1,
        EcDhe = 3,
        None = 0,
        Rsa = 2,
    }
    public enum HashAlgorithmType
    {
        Md5 = 1,
        Md5Sha1 = 254,
        None = 0,
        Sha1 = 2,
        Sha224 = 3,
        Sha256 = 4,
        Sha384 = 5,
        Sha512 = 6,
        Unknown = 255,
    }
    public partial interface ICertificateValidator
    {
        Mono.Security.Interface.MonoTlsSettings Settings { get; }
        bool SelectClientCertificate(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers, out System.Security.Cryptography.X509Certificates.X509Certificate clientCertificate);
        Mono.Security.Interface.ValidationResult ValidateCertificate(string targetHost, bool serverMode, System.Security.Cryptography.X509Certificates.X509CertificateCollection certificates);
    }
    public partial interface IMonoSslStream : System.IDisposable
    {
        System.Net.Security.AuthenticatedStream AuthenticatedStream { get; }
        bool CanRead { get; }
        bool CanRenegotiate { get; }
        bool CanTimeout { get; }
        bool CanWrite { get; }
        bool CheckCertRevocationStatus { get; }
        System.Security.Authentication.CipherAlgorithmType CipherAlgorithm { get; }
        int CipherStrength { get; }
        System.Security.Authentication.HashAlgorithmType HashAlgorithm { get; }
        int HashStrength { get; }
        System.Security.Cryptography.X509Certificates.X509Certificate InternalLocalCertificate { get; }
        bool IsAuthenticated { get; }
        bool IsEncrypted { get; }
        bool IsMutuallyAuthenticated { get; }
        bool IsServer { get; }
        bool IsSigned { get; }
        System.Security.Authentication.ExchangeAlgorithmType KeyExchangeAlgorithm { get; }
        int KeyExchangeStrength { get; }
        long Length { get; }
        System.Security.Cryptography.X509Certificates.X509Certificate LocalCertificate { get; }
        long Position { get; }
        Mono.Security.Interface.MonoTlsProvider Provider { get; }
        int ReadTimeout { get; set; }
        System.Security.Cryptography.X509Certificates.X509Certificate RemoteCertificate { get; }
        System.Security.Authentication.SslProtocols SslProtocol { get; }
        System.Net.Security.SslStream SslStream { get; }
        System.Net.TransportContext TransportContext { get; }
        int WriteTimeout { get; set; }
        void AuthenticateAsClient(string targetHost);
        void AuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, bool checkCertificateRevocation);
        void AuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
        System.Threading.Tasks.Task AuthenticateAsClientAsync(string targetHost);
        System.Threading.Tasks.Task AuthenticateAsClientAsync(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, bool checkCertificateRevocation);
        System.Threading.Tasks.Task AuthenticateAsClientAsync(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
        void AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate);
        void AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation);
        void AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
        System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate);
        System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation);
        System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
        System.IAsyncResult BeginAuthenticateAsClient(string targetHost, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginAuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginAuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState);
        System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState);
        void EndAuthenticateAsClient(System.IAsyncResult asyncResult);
        void EndAuthenticateAsServer(System.IAsyncResult asyncResult);
        int EndRead(System.IAsyncResult asyncResult);
        void EndWrite(System.IAsyncResult asyncResult);
        Mono.Security.Interface.MonoTlsConnectionInfo GetConnectionInfo();
        int Read(byte[] buffer, int offset, int count);
        System.Threading.Tasks.Task RenegotiateAsync(System.Threading.CancellationToken cancellationToken);
        void SetLength(long value);
        System.Threading.Tasks.Task ShutdownAsync();
        void Write(byte[] buffer);
        void Write(byte[] buffer, int offset, int count);
        System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken);
    }
    public enum MonoEncryptionPolicy
    {
        AllowNoEncryption = 1,
        NoEncryption = 2,
        RequireEncryption = 0,
    }
    public delegate System.Security.Cryptography.X509Certificates.X509Certificate MonoLocalCertificateSelectionCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers);
    public delegate bool MonoRemoteCertificateValidationCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, Mono.Security.Interface.MonoSslPolicyErrors sslPolicyErrors);
    [System.FlagsAttribute]
    public enum MonoSslPolicyErrors
    {
        None = 0,
        RemoteCertificateChainErrors = 4,
        RemoteCertificateNameMismatch = 2,
        RemoteCertificateNotAvailable = 1,
    }
    public partial class MonoTlsConnectionInfo
    {
        public MonoTlsConnectionInfo() { }
        public Mono.Security.Interface.CipherAlgorithmType CipherAlgorithmType { get { throw null; } set { } }
        [System.CLSCompliantAttribute(false)]
        public Mono.Security.Interface.CipherSuiteCode CipherSuiteCode { get { throw null; } set { } }
        public Mono.Security.Interface.ExchangeAlgorithmType ExchangeAlgorithmType { get { throw null; } set { } }
        public Mono.Security.Interface.HashAlgorithmType HashAlgorithmType { get { throw null; } set { } }
        public string PeerDomainName { get { throw null; } set { } }
        public Mono.Security.Interface.TlsProtocols ProtocolVersion { get { throw null; } set { } }
        public override string ToString() { throw null; }
    }
    public abstract partial class MonoTlsProvider
    {
        internal MonoTlsProvider() { }
        public abstract System.Guid ID { get; }
        public abstract string Name { get; }
        public abstract System.Security.Authentication.SslProtocols SupportedProtocols { get; }
        public abstract bool SupportsConnectionInfo { get; }
        public abstract bool SupportsMonoExtensions { get; }
        public abstract bool SupportsSslStream { get; }
        public abstract Mono.Security.Interface.IMonoSslStream CreateSslStream(System.IO.Stream innerStream, bool leaveInnerStreamOpen, Mono.Security.Interface.MonoTlsSettings settings = null);
    }
    public static partial class MonoTlsProviderFactory
    {
        public static bool IsInitialized { get { throw null; } }
        public static System.Net.HttpListener CreateHttpListener(System.Security.Cryptography.X509Certificates.X509Certificate certificate, Mono.Security.Interface.MonoTlsProvider provider = null, Mono.Security.Interface.MonoTlsSettings settings = null) { throw null; }
        public static System.Net.HttpWebRequest CreateHttpsRequest(System.Uri requestUri, Mono.Security.Interface.MonoTlsProvider provider, Mono.Security.Interface.MonoTlsSettings settings = null) { throw null; }
        public static Mono.Security.Interface.IMonoSslStream GetMonoSslStream(System.Net.HttpListenerContext context) { throw null; }
        public static Mono.Security.Interface.IMonoSslStream GetMonoSslStream(System.Net.Security.SslStream stream) { throw null; }
        public static Mono.Security.Interface.MonoTlsProvider GetProvider() { throw null; }
        public static Mono.Security.Interface.MonoTlsProvider GetProvider(string provider) { throw null; }
        public static void Initialize() { }
        public static void Initialize(string provider) { }
        public static bool IsProviderSupported(string provider) { throw null; }
    }
    public sealed partial class MonoTlsSettings
    {
        public MonoTlsSettings() { }
        public bool CallbackNeedsCertificateChain { get { throw null; } set { } }
        public System.Nullable<System.DateTime> CertificateValidationTime { get { throw null; } set { } }
        [System.ObsoleteAttribute("Do not use outside System.dll!")]
        public Mono.Security.Interface.ICertificateValidator CertificateValidator { get { throw null; } }
        public bool CheckCertificateName { get { throw null; } set { } }
        public bool CheckCertificateRevocationStatus { get { throw null; } set { } }
        public string[] ClientCertificateIssuers { get { throw null; } set { } }
        public Mono.Security.Interface.MonoLocalCertificateSelectionCallback ClientCertificateSelectionCallback { get { throw null; } set { } }
        public static Mono.Security.Interface.MonoTlsSettings DefaultSettings { get { throw null; } set { } }
        public bool DisallowUnauthenticatedCertificateRequest { get { throw null; } set { } }
        [System.CLSCompliantAttribute(false)]
        public Mono.Security.Interface.CipherSuiteCode[] EnabledCiphers { get { throw null; } set { } }
        public System.Nullable<Mono.Security.Interface.TlsProtocols> EnabledProtocols { get { throw null; } set { } }
        public Mono.Security.Interface.MonoRemoteCertificateValidationCallback RemoteCertificateValidationCallback { get { throw null; } set { } }
        public bool SkipSystemValidators { get { throw null; } set { } }
        public System.Security.Cryptography.X509Certificates.X509CertificateCollection TrustAnchors { get { throw null; } set { } }
        public object UserSettings { get { throw null; } set { } }
        public System.Nullable<bool> UseServicePointManagerCallback { get { throw null; } set { } }
        public Mono.Security.Interface.MonoTlsSettings Clone() { throw null; }
        [System.ObsoleteAttribute("Do not use outside System.dll!")]
        public Mono.Security.Interface.MonoTlsSettings CloneWithValidator(Mono.Security.Interface.ICertificateValidator validator) { throw null; }
        public static Mono.Security.Interface.MonoTlsSettings CopyDefaultSettings() { throw null; }
    }
    public sealed partial class TlsException : System.Exception
    {
        public TlsException(Mono.Security.Interface.Alert alert) { }
        public TlsException(Mono.Security.Interface.Alert alert, string message) { }
        public TlsException(Mono.Security.Interface.AlertDescription description) { }
        public TlsException(Mono.Security.Interface.AlertDescription description, string message) { }
        public TlsException(Mono.Security.Interface.AlertDescription description, string format, params object[] args) { }
        public TlsException(Mono.Security.Interface.AlertLevel level, Mono.Security.Interface.AlertDescription description) { }
        public Mono.Security.Interface.Alert Alert { get { throw null; } }
    }
    public enum TlsProtocolCode : short
    {
        Tls10 = (short)769,
        Tls11 = (short)770,
        Tls12 = (short)771,
    }
    [System.FlagsAttribute]
    public enum TlsProtocols
    {
        ClientMask = 2688,
        ServerMask = 1344,
        Tls10 = 192,
        Tls10Client = 128,
        Tls10Server = 64,
        Tls11 = 768,
        Tls11Client = 512,
        Tls11Server = 256,
        Tls12 = 3072,
        Tls12Client = 2048,
        Tls12Server = 1024,
        Zero = 0,
    }
    public partial class ValidationResult
    {
        public ValidationResult(bool trusted, bool user_denied, int error_code, System.Nullable<Mono.Security.Interface.MonoSslPolicyErrors> policy_errors) { }
        public int ErrorCode { get { throw null; } }
        public System.Nullable<Mono.Security.Interface.MonoSslPolicyErrors> PolicyErrors { get { throw null; } }
        public bool Trusted { get { throw null; } }
        public bool UserDenied { get { throw null; } }
    }
}
namespace Mono.Security.Protocol.Ntlm
{
    [System.ObsoleteAttribute("Use of this API is highly discouraged, it selects legacy-mode LM/NTLM authentication, which sends your password in very weak encryption over the wire even if the server supports the more secure NTLMv2 / NTLMv2 Session. You need to use the new `Type3Message (Type2Message)' constructor to use the more secure NTLMv2 / NTLMv2 Session authentication modes. These require the Type 2 message from the server to compute the response.")]
    public partial class ChallengeResponse : System.IDisposable
    {
        public ChallengeResponse() { }
        public ChallengeResponse(string password, byte[] challenge) { }
        public byte[] Challenge { get { throw null; } set { } }
        public byte[] LM { get { throw null; } }
        public byte[] NT { get { throw null; } }
        public string Password { get { throw null; } set { } }
        public void Dispose() { }
        ~ChallengeResponse() { }
    }
    public static partial class ChallengeResponse2
    {
        public static void Compute(Mono.Security.Protocol.Ntlm.Type2Message type2, Mono.Security.Protocol.Ntlm.NtlmAuthLevel level, string username, string password, string domain, out byte[] lm, out byte[] ntlm) { throw null; }
    }
    public abstract partial class MessageBase
    {
        protected MessageBase(int messageType) { }
        public Mono.Security.Protocol.Ntlm.NtlmFlags Flags { get { throw null; } set { } }
        public int Type { get { throw null; } }
        protected bool CheckHeader(byte[] message) { throw null; }
        protected virtual void Decode(byte[] message) { }
        public abstract byte[] GetBytes();
        protected byte[] PrepareMessage(int messageSize) { throw null; }
    }
    public enum NtlmAuthLevel
    {
        LM_and_NTLM = 0,
        LM_and_NTLM_and_try_NTLMv2_Session = 1,
        NTLMv2_only = 3,
        NTLM_only = 2,
    }
    [System.FlagsAttribute]
    public enum NtlmFlags
    {
        Negotiate128 = 536870912,
        Negotiate56 = -2147483648,
        NegotiateAlwaysSign = 32768,
        NegotiateDomainSupplied = 4096,
        NegotiateNtlm = 512,
        NegotiateNtlm2Key = 524288,
        NegotiateOem = 2,
        NegotiateUnicode = 1,
        NegotiateWorkstationSupplied = 8192,
        RequestTarget = 4,
    }
    public static partial class NtlmSettings
    {
        public static Mono.Security.Protocol.Ntlm.NtlmAuthLevel DefaultAuthLevel { get { throw null; } set { } }
    }
    public partial class Type1Message : Mono.Security.Protocol.Ntlm.MessageBase
    {
        public Type1Message() : base (default(int)) { }
        public Type1Message(byte[] message) : base (default(int)) { }
        public string Domain { get { throw null; } set { } }
        public string Host { get { throw null; } set { } }
        protected override void Decode(byte[] message) { }
        public override byte[] GetBytes() { throw null; }
    }
    public partial class Type2Message : Mono.Security.Protocol.Ntlm.MessageBase
    {
        public Type2Message() : base (default(int)) { }
        public Type2Message(byte[] message) : base (default(int)) { }
        public byte[] Nonce { get { throw null; } set { } }
        public byte[] TargetInfo { get { throw null; } }
        public string TargetName { get { throw null; } }
        protected override void Decode(byte[] message) { }
        ~Type2Message() { }
        public override byte[] GetBytes() { throw null; }
    }
    public partial class Type3Message : Mono.Security.Protocol.Ntlm.MessageBase
    {
        [System.ObsoleteAttribute("Use of this API is highly discouraged, it selects legacy-mode LM/NTLM authentication, which sends your password in very weak encryption over the wire even if the server supports the more secure NTLMv2 / NTLMv2 Session. You need to use the new `Type3Message (Type2Message)' constructor to use the more secure NTLMv2 / NTLMv2 Session authentication modes. These require the Type 2 message from the server to compute the response.")]
        public Type3Message() : base (default(int)) { }
        public Type3Message(Mono.Security.Protocol.Ntlm.Type2Message type2) : base (default(int)) { }
        public Type3Message(byte[] message) : base (default(int)) { }
        [System.ObsoleteAttribute("Use of this API is highly discouraged, it selects legacy-mode LM/NTLM authentication, which sends your password in very weak encryption over the wire even if the server supports the more secure NTLMv2 / NTLMv2 Session. You need to use the new `Type3Message (Type2Message)' constructor to use the more secure NTLMv2 / NTLMv2 Session authentication modes. These require the Type 2 message from the server to compute the response.")]
        public byte[] Challenge { get { throw null; } set { } }
        [System.ObsoleteAttribute("Use NtlmSettings.DefaultAuthLevel")]
        public static Mono.Security.Protocol.Ntlm.NtlmAuthLevel DefaultAuthLevel { get { throw null; } set { } }
        public string Domain { get { throw null; } set { } }
        public string Host { get { throw null; } set { } }
        public Mono.Security.Protocol.Ntlm.NtlmAuthLevel Level { get { throw null; } set { } }
        public byte[] LM { get { throw null; } }
        public byte[] NT { get { throw null; } set { } }
        public string Password { get { throw null; } set { } }
        public string Username { get { throw null; } set { } }
        protected override void Decode(byte[] message) { }
        ~Type3Message() { }
        public override byte[] GetBytes() { throw null; }
    }
}
namespace Mono.Security.Protocol.Tls
{
    public delegate System.Security.Cryptography.X509Certificates.X509Certificate CertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection serverRequestedCertificates);
    public delegate bool CertificateValidationCallback(System.Security.Cryptography.X509Certificates.X509Certificate certificate, int[] certificateErrors);
    public delegate Mono.Security.Interface.ValidationResult CertificateValidationCallback2(Mono.Security.X509.X509CertificateCollection collection);
    [System.SerializableAttribute]
    public enum CipherAlgorithmType
    {
        Des = 0,
        None = 1,
        Rc2 = 2,
        Rc4 = 3,
        Rijndael = 4,
        SkipJack = 5,
        TripleDes = 6,
    }
    [System.SerializableAttribute]
    public enum ExchangeAlgorithmType
    {
        DiffieHellman = 0,
        Fortezza = 1,
        None = 2,
        RsaKeyX = 3,
        RsaSign = 4,
    }
    [System.SerializableAttribute]
    public enum HashAlgorithmType
    {
        Md5 = 0,
        None = 1,
        Sha1 = 2,
    }
    public delegate System.Security.Cryptography.AsymmetricAlgorithm PrivateKeySelectionCallback(System.Security.Cryptography.X509Certificates.X509Certificate certificate, string targetHost);
    public enum SecurityCompressionType
    {
        None = 0,
        Zlib = 1,
    }
    [System.FlagsAttribute]
    [System.SerializableAttribute]
    public enum SecurityProtocolType
    {
        Default = -1073741824,
        Ssl2 = 12,
        Ssl3 = 48,
        Tls = 192,
        Tls11 = 768,
        Tls12 = 3072,
    }
    public partial class SslClientStream : Mono.Security.Protocol.Tls.SslStreamBase
    {
        public SslClientStream(System.IO.Stream stream, string targetHost, bool ownsStream) : base (default(System.IO.Stream), default(bool)) { }
        public SslClientStream(System.IO.Stream stream, string targetHost, bool ownsStream, Mono.Security.Protocol.Tls.SecurityProtocolType securityProtocolType) : base (default(System.IO.Stream), default(bool)) { }
        public SslClientStream(System.IO.Stream stream, string targetHost, bool ownsStream, Mono.Security.Protocol.Tls.SecurityProtocolType securityProtocolType, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates) : base (default(System.IO.Stream), default(bool)) { }
        public SslClientStream(System.IO.Stream stream, string targetHost, System.Security.Cryptography.X509Certificates.X509Certificate clientCertificate) : base (default(System.IO.Stream), default(bool)) { }
        public SslClientStream(System.IO.Stream stream, string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates) : base (default(System.IO.Stream), default(bool)) { }
        public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get { throw null; } }
        public Mono.Security.Protocol.Tls.CertificateSelectionCallback ClientCertSelectionDelegate { get { throw null; } set { } }
        public Mono.Security.Protocol.Tls.PrivateKeySelectionCallback PrivateKeyCertSelectionDelegate { get { throw null; } set { } }
        public System.Security.Cryptography.X509Certificates.X509Certificate SelectedClientCertificate { get { throw null; } }
        public Mono.Security.Protocol.Tls.CertificateValidationCallback ServerCertValidationDelegate { get { throw null; } set { } }
        public event Mono.Security.Protocol.Tls.CertificateValidationCallback2 ServerCertValidation2 { add { } remove { } }
        protected override void Dispose(bool disposing) { }
        ~SslClientStream() { }
    }
    public partial class SslServerStream : Mono.Security.Protocol.Tls.SslStreamBase
    {
        public SslServerStream(System.IO.Stream stream, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate) : base (default(System.IO.Stream), default(bool)) { }
        public SslServerStream(System.IO.Stream stream, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream) : base (default(System.IO.Stream), default(bool)) { }
        public SslServerStream(System.IO.Stream stream, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool ownsStream, Mono.Security.Protocol.Tls.SecurityProtocolType securityProtocolType) : base (default(System.IO.Stream), default(bool)) { }
        public SslServerStream(System.IO.Stream stream, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream) : base (default(System.IO.Stream), default(bool)) { }
        public SslServerStream(System.IO.Stream stream, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, bool requestClientCertificate, bool ownsStream, Mono.Security.Protocol.Tls.SecurityProtocolType securityProtocolType) : base (default(System.IO.Stream), default(bool)) { }
        public System.Security.Cryptography.X509Certificates.X509Certificate ClientCertificate { get { throw null; } }
        public Mono.Security.Protocol.Tls.CertificateValidationCallback ClientCertValidationDelegate { get { throw null; } set { } }
        public Mono.Security.Protocol.Tls.PrivateKeySelectionCallback PrivateKeyCertSelectionDelegate { get { throw null; } set { } }
        public event Mono.Security.Protocol.Tls.CertificateValidationCallback2 ClientCertValidation2 { add { } remove { } }
        protected override void Dispose(bool disposing) { }
        ~SslServerStream() { }
    }
    public abstract partial class SslStreamBase : System.IO.Stream, System.IDisposable
    {
        protected SslStreamBase(System.IO.Stream stream, bool ownsStream) { }
        public override bool CanRead { get { throw null; } }
        public override bool CanSeek { get { throw null; } }
        public override bool CanWrite { get { throw null; } }
        public bool CheckCertRevocationStatus { get { throw null; } set { } }
        public Mono.Security.Protocol.Tls.CipherAlgorithmType CipherAlgorithm { get { throw null; } }
        public int CipherStrength { get { throw null; } }
        public Mono.Security.Protocol.Tls.HashAlgorithmType HashAlgorithm { get { throw null; } }
        public int HashStrength { get { throw null; } }
        public Mono.Security.Protocol.Tls.ExchangeAlgorithmType KeyExchangeAlgorithm { get { throw null; } }
        public int KeyExchangeStrength { get { throw null; } }
        public override long Length { get { throw null; } }
        public override long Position { get { throw null; } set { } }
        public Mono.Security.Protocol.Tls.SecurityProtocolType SecurityProtocol { get { throw null; } }
        public System.Security.Cryptography.X509Certificates.X509Certificate ServerCertificate { get { throw null; } }
        public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; }
        public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; }
        public override void Close() { }
        protected override void Dispose(bool disposing) { }
        public override int EndRead(System.IAsyncResult asyncResult) { throw null; }
        public override void EndWrite(System.IAsyncResult asyncResult) { }
        ~SslStreamBase() { }
        public override void Flush() { }
        public int Read(byte[] buffer) { throw null; }
        public override int Read(byte[] buffer, int offset, int count) { throw null; }
        public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; }
        public override void SetLength(long value) { }
        public void Write(byte[] buffer) { }
        public override void Write(byte[] buffer, int offset, int count) { }
    }
}
namespace Mono.Security.X509
{
    public partial class PKCS12 : System.ICloneable
    {
        public const string certBag = "1.2.840.113549.1.12.10.1.3";
        public const string crlBag = "1.2.840.113549.1.12.10.1.4";
        public const int CryptoApiPasswordLimit = 32;
        public const string keyBag = "1.2.840.113549.1.12.10.1.1";
        public const string pbeWithSHAAnd128BitRC2CBC = "1.2.840.113549.1.12.1.5";
        public const string pbeWithSHAAnd128BitRC4 = "1.2.840.113549.1.12.1.1";
        public const string pbeWithSHAAnd2KeyTripleDESCBC = "1.2.840.113549.1.12.1.4";
        public const string pbeWithSHAAnd3KeyTripleDESCBC = "1.2.840.113549.1.12.1.3";
        public const string pbeWithSHAAnd40BitRC2CBC = "1.2.840.113549.1.12.1.6";
        public const string pbeWithSHAAnd40BitRC4 = "1.2.840.113549.1.12.1.2";
        public const string pkcs8ShroudedKeyBag = "1.2.840.113549.1.12.10.1.2";
        public const string safeContentsBag = "1.2.840.113549.1.12.10.1.6";
        public const string sdsiCertificate = "1.2.840.113549.1.9.22.2";
        public const string secretBag = "1.2.840.113549.1.12.10.1.5";
        public const string x509Certificate = "1.2.840.113549.1.9.22.1";
        public const string x509Crl = "1.2.840.113549.1.9.23.1";
        public PKCS12() { }
        public PKCS12(byte[] data) { }
        public PKCS12(byte[] data, byte[] password) { }
        public PKCS12(byte[] data, string password) { }
        public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
        public int IterationCount { get { throw null; } set { } }
        public System.Collections.ArrayList Keys { get { throw null; } }
        public static int MaximumPasswordLength { get { throw null; } set { } }
        public string Password { set { } }
        public System.Collections.ArrayList Secrets { get { throw null; } }
        public void AddCertificate(Mono.Security.X509.X509Certificate cert) { }
        public void AddCertificate(Mono.Security.X509.X509Certificate cert, System.Collections.IDictionary attributes) { }
        public void AddKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa) { }
        public void AddKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa, System.Collections.IDictionary attributes) { }
        public void AddPkcs8ShroudedKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa) { }
        public void AddPkcs8ShroudedKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa, System.Collections.IDictionary attributes) { }
        public void AddSecretBag(byte[] secret) { }
        public void AddSecretBag(byte[] secret, System.Collections.IDictionary attributes) { }
        public object Clone() { throw null; }
        public byte[] Decrypt(Mono.Security.PKCS7.EncryptedData ed) { throw null; }
        public byte[] Decrypt(string algorithmOid, byte[] salt, int iterationCount, byte[] encryptedData) { throw null; }
        public byte[] Encrypt(string algorithmOid, byte[] salt, int iterationCount, byte[] data) { throw null; }
        ~PKCS12() { }
        public System.Security.Cryptography.AsymmetricAlgorithm GetAsymmetricAlgorithm(System.Collections.IDictionary attrs) { throw null; }
        public System.Collections.IDictionary GetAttributes(Mono.Security.X509.X509Certificate cert) { throw null; }
        public System.Collections.IDictionary GetAttributes(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
        public byte[] GetBytes() { throw null; }
        public Mono.Security.X509.X509Certificate GetCertificate(System.Collections.IDictionary attrs) { throw null; }
        public byte[] GetSecret(System.Collections.IDictionary attrs) { throw null; }
        public static Mono.Security.X509.PKCS12 LoadFromFile(string filename) { throw null; }
        public static Mono.Security.X509.PKCS12 LoadFromFile(string filename, string password) { throw null; }
        public void RemoveCertificate(Mono.Security.X509.X509Certificate cert) { }
        public void RemoveCertificate(Mono.Security.X509.X509Certificate cert, System.Collections.IDictionary attrs) { }
        public void RemoveKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa) { }
        public void RemovePkcs8ShroudedKeyBag(System.Security.Cryptography.AsymmetricAlgorithm aa) { }
        public void RemoveSecretBag(byte[] secret) { }
        public void SaveToFile(string filename) { }
        public partial class DeriveBytes
        {
            public DeriveBytes() { }
            public string HashName { get { throw null; } set { } }
            public int IterationCount { get { throw null; } set { } }
            public byte[] Password { get { throw null; } set { } }
            public byte[] Salt { get { throw null; } set { } }
            public byte[] DeriveIV(int size) { throw null; }
            public byte[] DeriveKey(int size) { throw null; }
            public byte[] DeriveMAC(int size) { throw null; }
            public enum Purpose
            {
                IV = 1,
                Key = 0,
                MAC = 2,
            }
        }
    }
    public partial class PKCS5
    {
        public const string pbeWithMD2AndDESCBC = "1.2.840.113549.1.5.1";
        public const string pbeWithMD2AndRC2CBC = "1.2.840.113549.1.5.4";
        public const string pbeWithMD5AndDESCBC = "1.2.840.113549.1.5.3";
        public const string pbeWithMD5AndRC2CBC = "1.2.840.113549.1.5.6";
        public const string pbeWithSHA1AndDESCBC = "1.2.840.113549.1.5.10";
        public const string pbeWithSHA1AndRC2CBC = "1.2.840.113549.1.5.11";
        public PKCS5() { }
    }
    public partial class PKCS9
    {
        public const string friendlyName = "1.2.840.113549.1.9.20";
        public const string localKeyId = "1.2.840.113549.1.9.21";
        public PKCS9() { }
    }
    public sealed partial class X501
    {
        internal X501() { }
        public static Mono.Security.ASN1 FromString(string rdn) { throw null; }
        public static string ToString(Mono.Security.ASN1 seq) { throw null; }
        public static string ToString(Mono.Security.ASN1 seq, bool reversed, string separator, bool quotes) { throw null; }
    }
    public abstract partial class X509Builder
    {
        protected X509Builder() { }
        public string Hash { get { throw null; } set { } }
        protected string GetOid(string hashName) { throw null; }
        public virtual byte[] Sign(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
        public virtual byte[] Sign(System.Security.Cryptography.DSA key) { throw null; }
        public virtual byte[] Sign(System.Security.Cryptography.RSA key) { throw null; }
        protected abstract Mono.Security.ASN1 ToBeSigned(string hashName);
    }
    public partial class X509Certificate : System.Runtime.Serialization.ISerializable
    {
        public X509Certificate(byte[] data) { }
        protected X509Certificate(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public System.Security.Cryptography.DSA DSA { get { throw null; } set { } }
        public Mono.Security.X509.X509ExtensionCollection Extensions { get { throw null; } }
        public byte[] Hash { get { throw null; } }
        public bool IsCurrent { get { throw null; } }
        public bool IsSelfSigned { get { throw null; } }
        public virtual string IssuerName { get { throw null; } }
        public byte[] IssuerUniqueIdentifier { get { throw null; } }
        public virtual string KeyAlgorithm { get { throw null; } }
        public virtual byte[] KeyAlgorithmParameters { get { throw null; } set { } }
        public virtual byte[] PublicKey { get { throw null; } }
        public virtual byte[] RawData { get { throw null; } }
        public virtual System.Security.Cryptography.RSA RSA { get { throw null; } set { } }
        public virtual byte[] SerialNumber { get { throw null; } }
        public virtual byte[] Signature { get { throw null; } }
        public virtual string SignatureAlgorithm { get { throw null; } }
        public virtual byte[] SignatureAlgorithmParameters { get { throw null; } }
        public virtual string SubjectName { get { throw null; } }
        public byte[] SubjectUniqueIdentifier { get { throw null; } }
        public virtual System.DateTime ValidFrom { get { throw null; } }
        public virtual System.DateTime ValidUntil { get { throw null; } }
        public int Version { get { throw null; } }
        public bool CheckSignature(byte[] hash, string hashAlgorithm, byte[] signature) { throw null; }
        public Mono.Security.ASN1 GetIssuerName() { throw null; }
        [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, SerializationFormatter=true)]
        public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
        public Mono.Security.ASN1 GetSubjectName() { throw null; }
        public bool VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
        public bool WasCurrent(System.DateTime instant) { throw null; }
    }
    public partial class X509CertificateBuilder : Mono.Security.X509.X509Builder
    {
        public X509CertificateBuilder() { }
        public X509CertificateBuilder(byte version) { }
        public Mono.Security.X509.X509ExtensionCollection Extensions { get { throw null; } }
        public string IssuerName { get { throw null; } set { } }
        public byte[] IssuerUniqueId { get { throw null; } set { } }
        public System.DateTime NotAfter { get { throw null; } set { } }
        public System.DateTime NotBefore { get { throw null; } set { } }
        public byte[] SerialNumber { get { throw null; } set { } }
        public string SubjectName { get { throw null; } set { } }
        public System.Security.Cryptography.AsymmetricAlgorithm SubjectPublicKey { get { throw null; } set { } }
        public byte[] SubjectUniqueId { get { throw null; } set { } }
        public byte Version { get { throw null; } set { } }
        protected override Mono.Security.ASN1 ToBeSigned(string oid) { throw null; }
    }
    [System.SerializableAttribute]
    public partial class X509CertificateCollection : System.Collections.CollectionBase, System.Collections.IEnumerable
    {
        public X509CertificateCollection() { }
        public X509CertificateCollection(Mono.Security.X509.X509CertificateCollection value) { }
        public X509CertificateCollection(Mono.Security.X509.X509Certificate[] value) { }
        public Mono.Security.X509.X509Certificate this[int index] { get { throw null; } set { } }
        public int Add(Mono.Security.X509.X509Certificate value) { throw null; }
        public void AddRange(Mono.Security.X509.X509CertificateCollection value) { }
        public void AddRange(Mono.Security.X509.X509Certificate[] value) { }
        public bool Contains(Mono.Security.X509.X509Certificate value) { throw null; }
        public void CopyTo(Mono.Security.X509.X509Certificate[] array, int index) { }
        public new Mono.Security.X509.X509CertificateCollection.X509CertificateEnumerator GetEnumerator() { throw null; }
        public override int GetHashCode() { throw null; }
        public int IndexOf(Mono.Security.X509.X509Certificate value) { throw null; }
        public void Insert(int index, Mono.Security.X509.X509Certificate value) { }
        public void Remove(Mono.Security.X509.X509Certificate value) { }
        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
        public partial class X509CertificateEnumerator : System.Collections.IEnumerator
        {
            public X509CertificateEnumerator(Mono.Security.X509.X509CertificateCollection mappings) { }
            public Mono.Security.X509.X509Certificate Current { get { throw null; } }
            object System.Collections.IEnumerator.Current { get { throw null; } }
            public bool MoveNext() { throw null; }
            public void Reset() { }
            bool System.Collections.IEnumerator.MoveNext() { throw null; }
            void System.Collections.IEnumerator.Reset() { }
        }
    }
    public partial class X509Chain
    {
        public X509Chain() { }
        public X509Chain(Mono.Security.X509.X509CertificateCollection chain) { }
        public Mono.Security.X509.X509CertificateCollection Chain { get { throw null; } }
        public Mono.Security.X509.X509Certificate Root { get { throw null; } }
        public Mono.Security.X509.X509ChainStatusFlags Status { get { throw null; } }
        public Mono.Security.X509.X509CertificateCollection TrustAnchors { get { throw null; } [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.ControlPolicy)]set { } }
        public bool Build(Mono.Security.X509.X509Certificate leaf) { throw null; }
        public Mono.Security.X509.X509Certificate FindByIssuerName(string issuerName) { throw null; }
        public void LoadCertificate(Mono.Security.X509.X509Certificate x509) { }
        public void LoadCertificates(Mono.Security.X509.X509CertificateCollection collection) { }
        public void Reset() { }
    }
    [System.FlagsAttribute]
    [System.SerializableAttribute]
    public enum X509ChainStatusFlags
    {
        InvalidBasicConstraints = 1024,
        NoError = 0,
        NotSignatureValid = 8,
        NotTimeNested = 2,
        NotTimeValid = 1,
        PartialChain = 65536,
        UntrustedRoot = 32,
    }
    public partial class X509Crl
    {
        public X509Crl(byte[] crl) { }
        public System.Collections.ArrayList Entries { get { throw null; } }
        public Mono.Security.X509.X509ExtensionCollection Extensions { get { throw null; } }
        public byte[] Hash { get { throw null; } }
        public bool IsCurrent { get { throw null; } }
        public string IssuerName { get { throw null; } }
        public Mono.Security.X509.X509Crl.X509CrlEntry this[byte[] serialNumber] { get { throw null; } }
        public Mono.Security.X509.X509Crl.X509CrlEntry this[int index] { get { throw null; } }
        public System.DateTime NextUpdate { get { throw null; } }
        public byte[] RawData { get { throw null; } }
        public byte[] Signature { get { throw null; } }
        public string SignatureAlgorithm { get { throw null; } }
        public System.DateTime ThisUpdate { get { throw null; } }
        public byte Version { get { throw null; } }
        public static Mono.Security.X509.X509Crl CreateFromFile(string filename) { throw null; }
        public byte[] GetBytes() { throw null; }
        public Mono.Security.X509.X509Crl.X509CrlEntry GetCrlEntry(Mono.Security.X509.X509Certificate x509) { throw null; }
        public Mono.Security.X509.X509Crl.X509CrlEntry GetCrlEntry(byte[] serialNumber) { throw null; }
        public bool VerifySignature(Mono.Security.X509.X509Certificate x509) { throw null; }
        public bool VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; }
        public bool WasCurrent(System.DateTime instant) { throw null; }
        public partial class X509CrlEntry
        {
            internal X509CrlEntry() { }
            public Mono.Security.X509.X509ExtensionCollection Extensions { get { throw null; } }
            public System.DateTime RevocationDate { get { throw null; } }
            public byte[] SerialNumber { get { throw null; } }
            public byte[] GetBytes() { throw null; }
        }
    }
    public partial class X509Extension
    {
        protected bool extnCritical;
        protected string extnOid;
        protected Mono.Security.ASN1 extnValue;
        protected X509Extension() { }
        public X509Extension(Mono.Security.ASN1 asn1) { }
        public X509Extension(Mono.Security.X509.X509Extension extension) { }
        public Mono.Security.ASN1 ASN1 { get { throw null; } }
        public bool Critical { get { throw null; } set { } }
        public virtual string Name { get { throw null; } }
        public string Oid { get { throw null; } }
        public Mono.Security.ASN1 Value { get { throw null; } }
        protected virtual void Decode() { }
        protected virtual void Encode() { }
        public override bool Equals(object obj) { throw null; }
        public byte[] GetBytes() { throw null; }
        public override int GetHashCode() { throw null; }
        public override string ToString() { throw null; }
    }
    public sealed partial class X509ExtensionCollection : System.Collections.CollectionBase, System.Collections.IEnumerable
    {
        public X509ExtensionCollection() { }
        public X509ExtensionCollection(Mono.Security.ASN1 asn1) { }
        public Mono.Security.X509.X509Extension this[int index] { get { throw null; } }
        public Mono.Security.X509.X509Extension this[string oid] { get { throw null; } }
        public int Add(Mono.Security.X509.X509Extension extension) { throw null; }
        public void AddRange(Mono.Security.X509.X509ExtensionCollection collection) { }
        public void AddRange(Mono.Security.X509.X509Extension[] extension) { }
        public bool Contains(Mono.Security.X509.X509Extension extension) { throw null; }
        public bool Contains(string oid) { throw null; }
        public void CopyTo(Mono.Security.X509.X509Extension[] extensions, int index) { }
        public byte[] GetBytes() { throw null; }
        public int IndexOf(Mono.Security.X509.X509Extension extension) { throw null; }
        public int IndexOf(string oid) { throw null; }
        public void Insert(int index, Mono.Security.X509.X509Extension extension) { }
        public void Remove(Mono.Security.X509.X509Extension extension) { }
        public void Remove(string oid) { }
        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
    }
    public partial class X509Store
    {
        internal X509Store() { }
        public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } }
        public System.Collections.ArrayList Crls { get { throw null; } }
        public string Name { get { throw null; } }
        public void Clear() { }
        public void Import(Mono.Security.X509.X509Certificate certificate) { }
        public void Import(Mono.Security.X509.X509Crl crl) { }
        public void Remove(Mono.Security.X509.X509Certificate certificate) { }
        public void Remove(Mono.Security.X509.X509Crl crl) { }
    }
    public sealed partial class X509StoreManager
    {
        internal X509StoreManager() { }
        public static Mono.Security.X509.X509Stores CurrentUser { get { throw null; } }
        public static Mono.Security.X509.X509CertificateCollection IntermediateCACertificates { get { throw null; } }
        public static System.Collections.ArrayList IntermediateCACrls { get { throw null; } }
        public static Mono.Security.X509.X509Stores LocalMachine { get { throw null; } }
        public static Mono.Security.X509.X509Stores NewCurrentUser { get { throw null; } }
        public static Mono.Security.X509.X509Stores NewLocalMachine { get { throw null; } }
        public static System.Collections.ArrayList TrustedRootCACrls { get { throw null; } }
        public static Mono.Security.X509.X509CertificateCollection TrustedRootCertificates { get { throw null; } }
        public static Mono.Security.X509.X509CertificateCollection UntrustedCertificates { get { throw null; } }
    }
    public partial class X509Stores
    {
        internal X509Stores() { }
        public Mono.Security.X509.X509Store IntermediateCA { get { throw null; } }
        public Mono.Security.X509.X509Store OtherPeople { get { throw null; } }
        public Mono.Security.X509.X509Store Personal { get { throw null; } }
        public Mono.Security.X509.X509Store TrustedRoot { get { throw null; } }
        public Mono.Security.X509.X509Store Untrusted { get { throw null; } }
        public void Clear() { }
        public Mono.Security.X509.X509Store Open(string storeName, bool create) { throw null; }
        public partial class Names
        {
            public const string IntermediateCA = "CA";
            public const string OtherPeople = "AddressBook";
            public const string Personal = "My";
            public const string TrustedRoot = "Trust";
            public const string Untrusted = "Disallowed";
            public Names() { }
        }
    }
    public partial class X520
    {
        public X520() { }
        public abstract partial class AttributeTypeAndValue
        {
            protected AttributeTypeAndValue(string oid, int upperBound) { }
            protected AttributeTypeAndValue(string oid, int upperBound, byte encoding) { }
            public Mono.Security.ASN1 ASN1 { get { throw null; } }
            public string Value { get { throw null; } set { } }
            public byte[] GetBytes() { throw null; }
            public byte[] GetBytes(byte encoding) { throw null; }
        }
        public partial class CommonName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public CommonName() : base (default(string), default(int)) { }
        }
        public partial class CountryName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public CountryName() : base (default(string), default(int)) { }
        }
        public partial class DnQualifier : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public DnQualifier() : base (default(string), default(int)) { }
        }
        public partial class DomainComponent : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public DomainComponent() : base (default(string), default(int)) { }
        }
        public partial class EmailAddress : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public EmailAddress() : base (default(string), default(int)) { }
        }
        public partial class GivenName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public GivenName() : base (default(string), default(int)) { }
        }
        public partial class Initial : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public Initial() : base (default(string), default(int)) { }
        }
        public partial class LocalityName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public LocalityName() : base (default(string), default(int)) { }
        }
        public partial class Name : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public Name() : base (default(string), default(int)) { }
        }
        public partial class Oid : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public Oid(string oid) : base (default(string), default(int)) { }
        }
        public partial class OrganizationalUnitName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public OrganizationalUnitName() : base (default(string), default(int)) { }
        }
        public partial class OrganizationName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public OrganizationName() : base (default(string), default(int)) { }
        }
        public partial class SerialNumber : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public SerialNumber() : base (default(string), default(int)) { }
        }
        public partial class StateOrProvinceName : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public StateOrProvinceName() : base (default(string), default(int)) { }
        }
        public partial class Surname : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public Surname() : base (default(string), default(int)) { }
        }
        public partial class Title : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public Title() : base (default(string), default(int)) { }
        }
        public partial class UserId : Mono.Security.X509.X520.AttributeTypeAndValue
        {
            public UserId() : base (default(string), default(int)) { }
        }
    }
}
namespace Mono.Security.X509.Extensions
{
    public partial class AuthorityKeyIdentifierExtension : Mono.Security.X509.X509Extension
    {
        public AuthorityKeyIdentifierExtension() { }
        public AuthorityKeyIdentifierExtension(Mono.Security.ASN1 asn1) { }
        public AuthorityKeyIdentifierExtension(Mono.Security.X509.X509Extension extension) { }
        public byte[] Identifier { get { throw null; } set { } }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        protected override void Encode() { }
        public override string ToString() { throw null; }
    }
    public partial class BasicConstraintsExtension : Mono.Security.X509.X509Extension
    {
        public const int NoPathLengthConstraint = -1;
        public BasicConstraintsExtension() { }
        public BasicConstraintsExtension(Mono.Security.ASN1 asn1) { }
        public BasicConstraintsExtension(Mono.Security.X509.X509Extension extension) { }
        public bool CertificateAuthority { get { throw null; } set { } }
        public override string Name { get { throw null; } }
        public int PathLenConstraint { get { throw null; } set { } }
        protected override void Decode() { }
        protected override void Encode() { }
        public override string ToString() { throw null; }
    }
    public partial class CertificatePoliciesExtension : Mono.Security.X509.X509Extension
    {
        public CertificatePoliciesExtension() { }
        public CertificatePoliciesExtension(Mono.Security.ASN1 asn1) { }
        public CertificatePoliciesExtension(Mono.Security.X509.X509Extension extension) { }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        public override string ToString() { throw null; }
    }
    public partial class CRLDistributionPointsExtension : Mono.Security.X509.X509Extension
    {
        public CRLDistributionPointsExtension() { }
        public CRLDistributionPointsExtension(Mono.Security.ASN1 asn1) { }
        public CRLDistributionPointsExtension(Mono.Security.X509.X509Extension extension) { }
        public System.Collections.Generic.IEnumerable<Mono.Security.X509.Extensions.CRLDistributionPointsExtension.DistributionPoint> DistributionPoints { get { throw null; } }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        public override string ToString() { throw null; }
        public partial class DistributionPoint
        {
            public DistributionPoint(Mono.Security.ASN1 dp) { }
            public DistributionPoint(string dp, Mono.Security.X509.Extensions.CRLDistributionPointsExtension.ReasonFlags reasons, string issuer) { }
            public string CRLIssuer { get { throw null; } }
            public string Name { get { throw null; } }
            public Mono.Security.X509.Extensions.CRLDistributionPointsExtension.ReasonFlags Reasons { get { throw null; } }
        }
        [System.FlagsAttribute]
        public enum ReasonFlags
        {
            AACompromise = 8,
            AffiliationChanged = 3,
            CACompromise = 2,
            CertificateHold = 6,
            CessationOfOperation = 5,
            KeyCompromise = 1,
            PrivilegeWithdrawn = 7,
            Superseded = 4,
            Unused = 0,
        }
    }
    public partial class ExtendedKeyUsageExtension : Mono.Security.X509.X509Extension
    {
        public ExtendedKeyUsageExtension() { }
        public ExtendedKeyUsageExtension(Mono.Security.ASN1 asn1) { }
        public ExtendedKeyUsageExtension(Mono.Security.X509.X509Extension extension) { }
        public System.Collections.ArrayList KeyPurpose { get { throw null; } }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        protected override void Encode() { }
        public override string ToString() { throw null; }
    }
    public partial class KeyAttributesExtension : Mono.Security.X509.X509Extension
    {
        public KeyAttributesExtension() { }
        public KeyAttributesExtension(Mono.Security.ASN1 asn1) { }
        public KeyAttributesExtension(Mono.Security.X509.X509Extension extension) { }
        public byte[] KeyIdentifier { get { throw null; } }
        public override string Name { get { throw null; } }
        public System.DateTime NotAfter { get { throw null; } }
        public System.DateTime NotBefore { get { throw null; } }
        protected override void Decode() { }
        public bool Support(Mono.Security.X509.Extensions.KeyUsages usage) { throw null; }
        public override string ToString() { throw null; }
    }
    public partial class KeyUsageExtension : Mono.Security.X509.X509Extension
    {
        public KeyUsageExtension() { }
        public KeyUsageExtension(Mono.Security.ASN1 asn1) { }
        public KeyUsageExtension(Mono.Security.X509.X509Extension extension) { }
        public Mono.Security.X509.Extensions.KeyUsages KeyUsage { get { throw null; } set { } }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        protected override void Encode() { }
        public bool Support(Mono.Security.X509.Extensions.KeyUsages usage) { throw null; }
        public override string ToString() { throw null; }
    }
    [System.FlagsAttribute]
    public enum KeyUsages
    {
        cRLSign = 2,
        dataEncipherment = 16,
        decipherOnly = 2048,
        digitalSignature = 128,
        encipherOnly = 1,
        keyAgreement = 8,
        keyCertSign = 4,
        keyEncipherment = 32,
        none = 0,
        nonRepudiation = 64,
    }
    public partial class NetscapeCertTypeExtension : Mono.Security.X509.X509Extension
    {
        public NetscapeCertTypeExtension() { }
        public NetscapeCertTypeExtension(Mono.Security.ASN1 asn1) { }
        public NetscapeCertTypeExtension(Mono.Security.X509.X509Extension extension) { }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        public bool Support(Mono.Security.X509.Extensions.NetscapeCertTypeExtension.CertTypes usage) { throw null; }
        public override string ToString() { throw null; }
        [System.FlagsAttribute]
        public enum CertTypes
        {
            ObjectSigning = 16,
            ObjectSigningCA = 1,
            Smime = 32,
            SmimeCA = 2,
            SslCA = 4,
            SslClient = 128,
            SslServer = 64,
        }
    }
    public partial class PrivateKeyUsagePeriodExtension : Mono.Security.X509.X509Extension
    {
        public PrivateKeyUsagePeriodExtension() { }
        public PrivateKeyUsagePeriodExtension(Mono.Security.ASN1 asn1) { }
        public PrivateKeyUsagePeriodExtension(Mono.Security.X509.X509Extension extension) { }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        public override string ToString() { throw null; }
    }
    public partial class SubjectAltNameExtension : Mono.Security.X509.X509Extension
    {
        public SubjectAltNameExtension() { }
        public SubjectAltNameExtension(Mono.Security.ASN1 asn1) { }
        public SubjectAltNameExtension(Mono.Security.X509.X509Extension extension) { }
        public SubjectAltNameExtension(string[] rfc822, string[] dnsNames, string[] ipAddresses, string[] uris) { }
        public string[] DNSNames { get { throw null; } }
        public string[] IPAddresses { get { throw null; } }
        public override string Name { get { throw null; } }
        public string[] RFC822 { get { throw null; } }
        public string[] UniformResourceIdentifiers { get { throw null; } }
        protected override void Decode() { }
        public override string ToString() { throw null; }
    }
    public partial class SubjectKeyIdentifierExtension : Mono.Security.X509.X509Extension
    {
        public SubjectKeyIdentifierExtension() { }
        public SubjectKeyIdentifierExtension(Mono.Security.ASN1 asn1) { }
        public SubjectKeyIdentifierExtension(Mono.Security.X509.X509Extension extension) { }
        public byte[] Identifier { get { throw null; } set { } }
        public override string Name { get { throw null; } }
        protected override void Decode() { }
        protected override void Encode() { }
        public override string ToString() { throw null; }
    }
}
namespace Mono.Xml
{
    [System.CLSCompliantAttribute(false)]
    public partial class MiniParser
    {
        protected int col;
        protected static string[] errors;
        protected int line;
        protected bool splitCData;
        protected int[] twoCharBuff;
        public MiniParser() { }
        protected void FatalErr(string descr) { }
        public void Parse(Mono.Xml.MiniParser.IReader reader, Mono.Xml.MiniParser.IHandler handler) { }
        public void Reset() { }
        protected static bool StrEquals(string str, System.Text.StringBuilder sb, int sbStart, int len) { throw null; }
        protected static int Xlat(int charCode, int state) { throw null; }
        public partial class AttrListImpl : Mono.Xml.MiniParser.IAttrList, Mono.Xml.MiniParser.IMutableAttrList
        {
            protected System.Collections.ArrayList names;
            protected System.Collections.ArrayList values;
            public AttrListImpl() { }
            public AttrListImpl(Mono.Xml.MiniParser.IAttrList attrs) { }
            public AttrListImpl(int initialCapacity) { }
            public bool IsEmpty { get { throw null; } }
            public int Length { get { throw null; } }
            public string[] Names { get { throw null; } }
            public string[] Values { get { throw null; } }
            public void Add(string name, string value) { }
            public void ChangeValue(string name, string newValue) { }
            public void Clear() { }
            public void CopyFrom(Mono.Xml.MiniParser.IAttrList attrs) { }
            public string GetName(int i) { throw null; }
            public string GetValue(int i) { throw null; }
            public string GetValue(string name) { throw null; }
            public void Remove(int i) { }
            public void Remove(string name) { }
        }
        public partial class HandlerAdapter : Mono.Xml.MiniParser.IHandler
        {
            public HandlerAdapter() { }
            public void OnChars(string ch) { }
            public void OnEndElement(string name) { }
            public void OnEndParsing(Mono.Xml.MiniParser parser) { }
            public void OnStartElement(string name, Mono.Xml.MiniParser.IAttrList attrs) { }
            public void OnStartParsing(Mono.Xml.MiniParser parser) { }
        }
        public partial interface IAttrList
        {
            bool IsEmpty { get; }
            int Length { get; }
            string[] Names { get; }
            string[] Values { get; }
            void ChangeValue(string name, string newValue);
            string GetName(int i);
            string GetValue(int i);
            string GetValue(string name);
        }
        public partial interface IHandler
        {
            void OnChars(string ch);
            void OnEndElement(string name);
            void OnEndParsing(Mono.Xml.MiniParser parser);
            void OnStartElement(string name, Mono.Xml.MiniParser.IAttrList attrs);
            void OnStartParsing(Mono.Xml.MiniParser parser);
        }
        public partial interface IMutableAttrList : Mono.Xml.MiniParser.IAttrList
        {
            void Add(string name, string value);
            void Clear();
            void CopyFrom(Mono.Xml.MiniParser.IAttrList attrs);
            void Remove(int i);
            void Remove(string name);
        }
        public partial interface IReader
        {
            int Read();
        }
        public partial class XMLError : System.Exception
        {
            protected int column;
            protected string descr;
            protected int line;
            public XMLError() { }
            public XMLError(string descr) { }
            public XMLError(string descr, int line, int column) { }
            public int Column { get { throw null; } }
            public int Line { get { throw null; } }
            public override string ToString() { throw null; }
        }
    }
    [System.CLSCompliantAttribute(false)]
    public partial class SecurityParser : Mono.Xml.MiniParser, Mono.Xml.MiniParser.IHandler, Mono.Xml.MiniParser.IReader
    {
        public SecurityParser() { }
        public void LoadXml(string xml) { }
        public void OnChars(string ch) { }
        public void OnEndElement(string name) { }
        public void OnEndParsing(Mono.Xml.MiniParser parser) { }
        public void OnStartElement(string name, Mono.Xml.MiniParser.IAttrList attrs) { }
        public void OnStartParsing(Mono.Xml.MiniParser parser) { }
        public int Read() { throw null; }
        public System.Security.SecurityElement ToXml() { throw null; }
    }
}