arm64.swiftinterface
154 KB
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
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name hhVDoctorSDK
import AVFoundation
import AVKit
import AdSupport
import CoreGraphics
import CoreLocation
import CoreTelephony
import Darwin
import Dispatch
import Foundation
import ImSDK
import LocalAuthentication
import MobileCoreServices
import ObjectiveC
import Photos
import Security
import SecurityKit
import Swift
import SystemConfiguration
import TXLiteAVSDK_TRTC
import UIKit
import WebKit
import _Concurrency
@_exported import hhVDoctorSDK
public protocol AEAD {
static var kLen: Swift.Int { get }
static var ivRange: Swift.Range<Swift.Int> { get }
}
@_hasMissingDesignatedInitializers final public class AEADChaCha20Poly1305 : hhVDoctorSDK.AEAD {
public static let kLen: Swift.Int
public static var ivRange: Swift.Range<Swift.Int>
public static func encrypt(_ plainText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>) throws -> (cipherText: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>)
public static func decrypt(_ cipherText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>) throws -> (plainText: Swift.Array<Swift.UInt8>, success: Swift.Bool)
@objc deinit
}
final public class AES {
public enum Error : Swift.Error {
case invalidKeySize
case dataPaddingRequired
case invalidData
public static func == (a: hhVDoctorSDK.AES.Error, b: hhVDoctorSDK.AES.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum Variant : Swift.Int {
case aes128, aes192, aes256
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@usableFromInline
final internal let variantNr: Swift.Int
@usableFromInline
final internal let variantNb: Swift.Int
@usableFromInline
final internal let variantNk: Swift.Int
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
final public let variant: hhVDoctorSDK.AES.Variant
@usableFromInline
final internal let blockMode: hhVDoctorSDK.BlockMode
@usableFromInline
final internal let padding: hhVDoctorSDK.Padding
@usableFromInline
final internal var expandedKey: Swift.Array<Swift.Array<Swift.UInt32>> {
get
set
}
@usableFromInline
final internal var expandedKeyInv: Swift.Array<Swift.Array<Swift.UInt32>> {
get
set
}
@usableFromInline
internal static let T0: [Swift.UInt32]
@usableFromInline
internal static let T0_INV: [Swift.UInt32]
@usableFromInline
internal static let T1: [Swift.UInt32]
@usableFromInline
internal static let T1_INV: [Swift.UInt32]
@usableFromInline
internal static let T2: [Swift.UInt32]
@usableFromInline
internal static let T2_INV: [Swift.UInt32]
@usableFromInline
internal static let T3: [Swift.UInt32]
@usableFromInline
internal static let T3_INV: [Swift.UInt32]
@usableFromInline
internal static let U1: [Swift.UInt32]
@usableFromInline
internal static let U2: [Swift.UInt32]
@usableFromInline
internal static let U3: [Swift.UInt32]
@usableFromInline
internal static let U4: [Swift.UInt32]
public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode, padding: hhVDoctorSDK.Padding = .pkcs7) throws
@inlinable final internal func encrypt(block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>? {
if self.blockMode.options.contains(.paddingRequired) && block.count != AES.blockSize {
return Array(block)
}
let rounds = self.variantNr
let rk = self.expandedKey
let b00 = UInt32(block[block.startIndex.advanced(by: 0)])
let b01 = UInt32(block[block.startIndex.advanced(by: 1)]) << 8
let b02 = UInt32(block[block.startIndex.advanced(by: 2)]) << 16
let b03 = UInt32(block[block.startIndex.advanced(by: 3)]) << 24
var b0 = b00 | b01 | b02 | b03
let b10 = UInt32(block[block.startIndex.advanced(by: 4)])
let b11 = UInt32(block[block.startIndex.advanced(by: 5)]) << 8
let b12 = UInt32(block[block.startIndex.advanced(by: 6)]) << 16
let b13 = UInt32(block[block.startIndex.advanced(by: 7)]) << 24
var b1 = b10 | b11 | b12 | b13
let b20 = UInt32(block[block.startIndex.advanced(by: 8)])
let b21 = UInt32(block[block.startIndex.advanced(by: 9)]) << 8
let b22 = UInt32(block[block.startIndex.advanced(by: 10)]) << 16
let b23 = UInt32(block[block.startIndex.advanced(by: 11)]) << 24
var b2 = b20 | b21 | b22 | b23
let b30 = UInt32(block[block.startIndex.advanced(by: 12)])
let b31 = UInt32(block[block.startIndex.advanced(by: 13)]) << 8
let b32 = UInt32(block[block.startIndex.advanced(by: 14)]) << 16
let b33 = UInt32(block[block.startIndex.advanced(by: 15)]) << 24
var b3 = b30 | b31 | b32 | b33
let tLength = 4
let t = UnsafeMutablePointer<UInt32>.allocate(capacity: tLength)
t.initialize(repeating: 0, count: tLength)
defer {
t.deinitialize(count: tLength)
t.deallocate()
}
for r in 0..<rounds - 1 {
t[0] = b0 ^ rk[r][0]
t[1] = b1 ^ rk[r][1]
t[2] = b2 ^ rk[r][2]
t[3] = b3 ^ rk[r][3]
let lb00 = AES.T0[Int(t[0] & 0xff)]
let lb01 = AES.T1[Int((t[1] >> 8) & 0xff)]
let lb02 = AES.T2[Int((t[2] >> 16) & 0xff)]
let lb03 = AES.T3[Int(t[3] >> 24)]
b0 = lb00 ^ lb01 ^ lb02 ^ lb03
let lb10 = AES.T0[Int(t[1] & 0xff)]
let lb11 = AES.T1[Int((t[2] >> 8) & 0xff)]
let lb12 = AES.T2[Int((t[3] >> 16) & 0xff)]
let lb13 = AES.T3[Int(t[0] >> 24)]
b1 = lb10 ^ lb11 ^ lb12 ^ lb13
let lb20 = AES.T0[Int(t[2] & 0xff)]
let lb21 = AES.T1[Int((t[3] >> 8) & 0xff)]
let lb22 = AES.T2[Int((t[0] >> 16) & 0xff)]
let lb23 = AES.T3[Int(t[1] >> 24)]
b2 = lb20 ^ lb21 ^ lb22 ^ lb23
let lb30 = AES.T0[Int(t[3] & 0xff)]
let lb31 = AES.T1[Int((t[0] >> 8) & 0xff)]
let lb32 = AES.T2[Int((t[1] >> 16) & 0xff)]
let lb33 = AES.T3[Int(t[2] >> 24)]
b3 = lb30 ^ lb31 ^ lb32 ^ lb33
}
// last round
let r = rounds - 1
t[0] = b0 ^ rk[r][0]
t[1] = b1 ^ rk[r][1]
t[2] = b2 ^ rk[r][2]
t[3] = b3 ^ rk[r][3]
// rounds
b0 = F1(t[0], t[1], t[2], t[3]) ^ rk[rounds][0]
b1 = F1(t[1], t[2], t[3], t[0]) ^ rk[rounds][1]
b2 = F1(t[2], t[3], t[0], t[1]) ^ rk[rounds][2]
b3 = F1(t[3], t[0], t[1], t[2]) ^ rk[rounds][3]
let encrypted: Array<UInt8> = [
UInt8(b0 & 0xff), UInt8((b0 >> 8) & 0xff), UInt8((b0 >> 16) & 0xff), UInt8((b0 >> 24) & 0xff),
UInt8(b1 & 0xff), UInt8((b1 >> 8) & 0xff), UInt8((b1 >> 16) & 0xff), UInt8((b1 >> 24) & 0xff),
UInt8(b2 & 0xff), UInt8((b2 >> 8) & 0xff), UInt8((b2 >> 16) & 0xff), UInt8((b2 >> 24) & 0xff),
UInt8(b3 & 0xff), UInt8((b3 >> 8) & 0xff), UInt8((b3 >> 16) & 0xff), UInt8((b3 >> 24) & 0xff)
]
return encrypted
}
@usableFromInline
final internal func decrypt(block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>?
@objc deinit
}
extension hhVDoctorSDK.AES {
@usableFromInline
@inline(__always) final internal func F1(_ x0: Swift.UInt32, _ x1: Swift.UInt32, _ x2: Swift.UInt32, _ x3: Swift.UInt32) -> Swift.UInt32
}
extension hhVDoctorSDK.AES : hhVDoctorSDK.Cipher {
@inlinable final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
let blockSize = self.blockMode.customBlockSize ?? AES.blockSize
let chunks = bytes.batched(by: blockSize)
var oneTimeCryptor = try makeEncryptor()
var out = Array<UInt8>(reserveCapacity: bytes.count)
for chunk in chunks {
out += try oneTimeCryptor.update(withBytes: chunk, isLast: false)
}
// Padding may be added at the very end
out += try oneTimeCryptor.finish()
if self.blockMode.options.contains(.paddingRequired) && (out.count % AES.blockSize != 0) {
throw Error.dataPaddingRequired
}
return out
}
@inlinable final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
if self.blockMode.options.contains(.paddingRequired) && (bytes.count % AES.blockSize != 0) {
throw Error.dataPaddingRequired
}
var oneTimeCryptor = try makeDecryptor()
let chunks = bytes.batched(by: AES.blockSize)
if chunks.isEmpty {
throw Error.invalidData
}
var out = Array<UInt8>(reserveCapacity: bytes.count)
var lastIdx = chunks.startIndex
chunks.indices.formIndex(&lastIdx, offsetBy: chunks.count - 1)
// To properly remove padding, `isLast` has to be known when called with the last chunk of ciphertext
// Last chunk of ciphertext may contains padded data so next call to update(..) won't be able to remove it
for idx in chunks.indices {
out += try oneTimeCryptor.update(withBytes: chunks[idx], isLast: idx == lastIdx)
}
return out
}
}
extension hhVDoctorSDK.AES {
convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws
}
extension hhVDoctorSDK.AES : hhVDoctorSDK.Cryptors {
@inlinable final public func makeEncryptor() throws -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable {
let blockSize = blockMode.customBlockSize ?? AES.blockSize
let worker = try blockMode.worker(blockSize: blockSize, cipherOperation: encrypt, encryptionOperation: encrypt)
if worker is StreamModeWorker {
return try StreamEncryptor(blockSize: blockSize, padding: padding, worker)
}
return try BlockEncryptor(blockSize: blockSize, padding: padding, worker)
}
@inlinable final public func makeDecryptor() throws -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable {
let blockSize = blockMode.customBlockSize ?? AES.blockSize
let cipherOperation: CipherOperationOnBlock = blockMode.options.contains(.useEncryptToDecrypt) == true ? encrypt : decrypt
let worker = try blockMode.worker(blockSize: blockSize, cipherOperation: cipherOperation, encryptionOperation: encrypt)
if worker is StreamModeWorker {
return try StreamDecryptor(blockSize: blockSize, padding: padding, worker)
}
return try BlockDecryptor(blockSize: blockSize, padding: padding, worker)
}
}
extension Swift.Array {
@inlinable internal init(reserveCapacity: Swift.Int) {
self = Array<Element>()
self.reserveCapacity(reserveCapacity)
}
@inlinable internal var slice: Swift.ArraySlice<Element> {
get {
self[self.startIndex ..< self.endIndex]
}
}
}
extension Swift.Array where Element == Swift.UInt8 {
public init(hex: Swift.String)
public func toHexString() -> Swift.String
}
extension Swift.Array where Element == Swift.UInt8 {
@available(*, deprecated)
public func chunks(size chunksize: Swift.Int) -> Swift.Array<Swift.Array<Element>>
public func md5() -> [Element]
public func sha1() -> [Element]
public func sha224() -> [Element]
public func sha256() -> [Element]
public func sha384() -> [Element]
public func sha512() -> [Element]
public func sha2(_ variant: hhVDoctorSDK.SHA2.Variant) -> [Element]
public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> [Element]
public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
public func crc16(seed: Swift.UInt16? = nil) -> Swift.UInt16
public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element]
public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element]
public func authenticate<A>(with authenticator: A) throws -> [Element] where A : hhVDoctorSDK.Authenticator
}
extension Swift.Array where Element == Swift.UInt8 {
public func toBase64() -> Swift.String?
public init(base64: Swift.String)
}
public protocol Authenticator {
func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
@usableFromInline
internal struct BatchedCollectionIndex<Base> where Base : Swift.Collection {
}
extension hhVDoctorSDK.BatchedCollectionIndex : Swift.Comparable {
@usableFromInline
internal static func == <Base>(lhs: hhVDoctorSDK.BatchedCollectionIndex<Base>, rhs: hhVDoctorSDK.BatchedCollectionIndex<Base>) -> Swift.Bool where Base : Swift.Collection
@usableFromInline
internal static func < <Base>(lhs: hhVDoctorSDK.BatchedCollectionIndex<Base>, rhs: hhVDoctorSDK.BatchedCollectionIndex<Base>) -> Swift.Bool where Base : Swift.Collection
}
@usableFromInline
internal struct BatchedCollection<Base> : Swift.Collection where Base : Swift.Collection {
@usableFromInline
internal init(base: Base, size: Swift.Int)
@usableFromInline
internal typealias Index = hhVDoctorSDK.BatchedCollectionIndex<Base>
@usableFromInline
internal var startIndex: hhVDoctorSDK.BatchedCollection<Base>.Index {
get
}
@usableFromInline
internal var endIndex: hhVDoctorSDK.BatchedCollection<Base>.Index {
get
}
@usableFromInline
internal func index(after idx: hhVDoctorSDK.BatchedCollection<Base>.Index) -> hhVDoctorSDK.BatchedCollection<Base>.Index
@usableFromInline
internal subscript(idx: hhVDoctorSDK.BatchedCollection<Base>.Index) -> Base.SubSequence {
get
}
@usableFromInline
internal typealias Element = Base.SubSequence
@usableFromInline
internal typealias Indices = Swift.DefaultIndices<hhVDoctorSDK.BatchedCollection<Base>>
@usableFromInline
internal typealias Iterator = Swift.IndexingIterator<hhVDoctorSDK.BatchedCollection<Base>>
@usableFromInline
internal typealias SubSequence = Swift.Slice<hhVDoctorSDK.BatchedCollection<Base>>
}
extension Swift.Collection {
@inlinable internal func batched(by size: Swift.Int) -> hhVDoctorSDK.BatchedCollection<Self> {
BatchedCollection(base: self, size: size)
}
}
public enum Bit : Swift.Int {
case zero
case one
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension hhVDoctorSDK.Bit {
@inlinable internal func inverted() -> hhVDoctorSDK.Bit {
self == .zero ? .one : .zero
}
}
public class BlockDecryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
@usableFromInline
final internal let blockSize: Swift.Int
@usableFromInline
final internal let padding: hhVDoctorSDK.Padding
@usableFromInline
internal var worker: hhVDoctorSDK.CipherModeWorker
@usableFromInline
internal var accumulated: [Swift.UInt8]
@usableFromInline
internal init(blockSize: Swift.Int, padding: hhVDoctorSDK.Padding, _ worker: hhVDoctorSDK.CipherModeWorker) throws
@inlinable public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
self.accumulated += bytes
// If a worker (eg GCM) can combine ciphertext + tag
// we need to remove tag from the ciphertext.
if !isLast && self.accumulated.count < self.blockSize + self.worker.additionalBufferSize {
return []
}
let accumulatedWithoutSuffix: Array<UInt8>
if self.worker.additionalBufferSize > 0 {
// FIXME: how slow is that?
accumulatedWithoutSuffix = Array(self.accumulated.prefix(self.accumulated.count - self.worker.additionalBufferSize))
} else {
accumulatedWithoutSuffix = self.accumulated
}
var processedBytesCount = 0
var plaintext = Array<UInt8>(reserveCapacity: accumulatedWithoutSuffix.count)
// Processing in a block-size manner. It's good for block modes, but bad for stream modes.
for var chunk in accumulatedWithoutSuffix.batched(by: self.blockSize) {
if isLast || (accumulatedWithoutSuffix.count - processedBytesCount) >= blockSize {
let isLastChunk = processedBytesCount + chunk.count == accumulatedWithoutSuffix.count
if isLast, isLastChunk, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
chunk = try finalizingWorker.willDecryptLast(bytes: chunk + accumulated.suffix(worker.additionalBufferSize)) // tag size
}
if !chunk.isEmpty {
plaintext += worker.decrypt(block: chunk)
}
if isLast, isLastChunk, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
}
processedBytesCount += chunk.count
}
}
accumulated.removeFirst(processedBytesCount) // super-slow
if isLast {
if accumulatedWithoutSuffix.isEmpty, var finalizingWorker = worker as? FinalizingDecryptModeWorker {
try finalizingWorker.willDecryptLast(bytes: self.accumulated.suffix(self.worker.additionalBufferSize))
plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
}
plaintext = self.padding.remove(from: plaintext, blockSize: self.blockSize)
}
return plaintext
}
public func seek(to position: Swift.Int) throws
@objc deinit
}
@usableFromInline
final internal class BlockEncryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
@usableFromInline
internal init(blockSize: Swift.Int, padding: hhVDoctorSDK.Padding, _ worker: hhVDoctorSDK.CipherModeWorker) throws
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
@usableFromInline
final internal func seek(to: Swift.Int) throws
@objc @usableFromInline
deinit
}
public typealias CipherOperationOnBlock = (_ block: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>?
public protocol BlockMode {
var options: hhVDoctorSDK.BlockModeOption { get }
@inlinable func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
var customBlockSize: Swift.Int? { get }
}
public struct BlockModeOption : Swift.OptionSet {
public let rawValue: Swift.Int
public init(rawValue: Swift.Int)
@usableFromInline
internal static let none: hhVDoctorSDK.BlockModeOption
@usableFromInline
internal static let initializationVectorRequired: hhVDoctorSDK.BlockModeOption
@usableFromInline
internal static let paddingRequired: hhVDoctorSDK.BlockModeOption
@usableFromInline
internal static let useEncryptToDecrypt: hhVDoctorSDK.BlockModeOption
public typealias ArrayLiteralElement = hhVDoctorSDK.BlockModeOption
public typealias Element = hhVDoctorSDK.BlockModeOption
public typealias RawValue = Swift.Int
}
final public class Blowfish {
public enum Error : Swift.Error {
case dataPaddingRequired
case invalidKeyOrInitializationVector
case invalidInitializationVector
case invalidBlockMode
public static func == (a: hhVDoctorSDK.Blowfish.Error, b: hhVDoctorSDK.Blowfish.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode = CBC(iv: Array<UInt8>(repeating: 0, count: Blowfish.blockSize)), padding: hhVDoctorSDK.Padding) throws
@objc deinit
}
extension hhVDoctorSDK.Blowfish : hhVDoctorSDK.Cipher {
final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
}
extension hhVDoctorSDK.Blowfish {
convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws
}
@_hasMissingDesignatedInitializers public class BusyPics {
public static let `default`: hhVDoctorSDK.BusyPics
public func cacheImgs()
public func getImgs() -> [Foundation.URL?]
@objc deinit
}
public struct CallDoctorModel : hhVDoctorSDK.Mappable {
public var realPatientUuid: Swift.Int?
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
public struct CBC : hhVDoctorSDK.BlockMode {
public enum Error : Swift.Error {
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.CBC.Error, b: hhVDoctorSDK.CBC.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init(iv: Swift.Array<Swift.UInt8>)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
@_inheritsConvenienceInitializers final public class CBCMAC : hhVDoctorSDK.CMAC {
override final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
override public init(key: Swift.Array<Swift.UInt8>) throws
@objc deinit
}
public struct CCM {
public enum Error : Swift.Error {
case invalidInitializationVector
case invalidParameter
case fail
public static func == (a: hhVDoctorSDK.CCM.Error, b: hhVDoctorSDK.CCM.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public var authenticationTag: Swift.Array<Swift.UInt8>?
public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
public struct CFB : hhVDoctorSDK.BlockMode {
public enum Error : Swift.Error {
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.CFB.Error, b: hhVDoctorSDK.CFB.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum SegmentSize : Swift.Int {
case cfb8
case cfb128
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init(iv: Swift.Array<Swift.UInt8>, segmentSize: hhVDoctorSDK.CFB.SegmentSize = .cfb128)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
final public class ChaCha20 {
public enum Error : Swift.Error {
case invalidKeyOrInitializationVector
case notSupported
public static func == (a: hhVDoctorSDK.ChaCha20.Error, b: hhVDoctorSDK.ChaCha20.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>, iv nonce: Swift.Array<Swift.UInt8>) throws
@objc deinit
}
extension hhVDoctorSDK.ChaCha20 : hhVDoctorSDK.Cipher {
final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension hhVDoctorSDK.ChaCha20 {
public struct ChaChaEncryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
public func seek(to: Swift.Int) throws
}
}
extension hhVDoctorSDK.ChaCha20 {
public struct ChaChaDecryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = true) throws -> Swift.Array<Swift.UInt8>
public func seek(to: Swift.Int) throws
}
}
extension hhVDoctorSDK.ChaCha20 : hhVDoctorSDK.Cryptors {
final public func makeEncryptor() -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable
final public func makeDecryptor() -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable
}
extension hhVDoctorSDK.ChaCha20 {
convenience public init(key: Swift.String, iv: Swift.String) throws
}
final public class Checksum {
@usableFromInline
internal static let table32: [Swift.UInt32]
@usableFromInline
internal static let table32c: [Swift.UInt32]
@usableFromInline
internal static let table16: [Swift.UInt16]
@usableFromInline
internal init()
@inlinable final internal func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
var crc: UInt32 = seed != nil ? seed! : 0xFFFF_FFFF
for chunk in message.batched(by: 256) {
for b in chunk {
let idx = Int((crc ^ UInt32(reflect ? b : reversed(b))) & 0xFF)
crc = (crc >> 8) ^ Checksum.table32[idx]
}
}
return (reflect ? crc : reversed(crc)) ^ 0xFFFF_FFFF
}
@inlinable final internal func crc32c(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
var crc: UInt32 = seed != nil ? seed! : 0xFFFF_FFFF
for chunk in message.batched(by: 256) {
for b in chunk {
let idx = Int((crc ^ UInt32(reflect ? b : reversed(b))) & 0xFF)
crc = (crc >> 8) ^ Checksum.table32c[idx]
}
}
return (reflect ? crc : reversed(crc)) ^ 0xFFFF_FFFF
}
@inlinable final internal func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16 {
var crc: UInt16 = seed != nil ? seed! : 0x0000
for chunk in message.batched(by: 256) {
for b in chunk {
crc = (crc >> 8) ^ Checksum.table16[Int((crc ^ UInt16(b)) & 0xFF)]
}
}
return crc
}
@objc deinit
}
extension hhVDoctorSDK.Checksum {
@inlinable public static func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
Checksum().crc32(message, seed: seed, reflect: reflect)
}
@inlinable public static func crc32c(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 {
Checksum().crc32c(message, seed: seed, reflect: reflect)
}
@inlinable public static func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16 {
Checksum().crc16(message, seed: seed)
}
}
public enum CipherError : Swift.Error {
case encrypt
case decrypt
public static func == (a: hhVDoctorSDK.CipherError, b: hhVDoctorSDK.CipherError) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public protocol Cipher : AnyObject {
var keySize: Swift.Int { get }
func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension hhVDoctorSDK.Cipher {
public func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
public func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
public protocol CipherModeWorker {
var cipherOperation: hhVDoctorSDK.CipherOperationOnBlock { get }
var additionalBufferSize: Swift.Int { get }
@inlinable mutating func encrypt(block plaintext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@inlinable mutating func decrypt(block ciphertext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
}
public protocol BlockModeWorker : hhVDoctorSDK.CipherModeWorker {
var blockSize: Swift.Int { get }
}
public protocol CounterModeWorker : hhVDoctorSDK.CipherModeWorker {
associatedtype Counter
var counter: Self.Counter { get set }
}
public protocol SeekableModeWorker : hhVDoctorSDK.CipherModeWorker {
mutating func seek(to position: Swift.Int) throws
}
public protocol StreamModeWorker : hhVDoctorSDK.CipherModeWorker {
}
public protocol FinalizingEncryptModeWorker : hhVDoctorSDK.CipherModeWorker {
mutating func finalize(encrypt ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
}
public protocol FinalizingDecryptModeWorker : hhVDoctorSDK.CipherModeWorker {
@discardableResult
mutating func willDecryptLast(bytes ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
mutating func didDecryptLast(bytes plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
mutating func finalize(decrypt plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
}
public class CMAC : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case wrongKeyLength
public static func == (a: hhVDoctorSDK.CMAC.Error, b: hhVDoctorSDK.CMAC.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public init(key: Swift.Array<Swift.UInt8>) throws
public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
public func authenticate(_ bytes: Swift.Array<Swift.UInt8>, cipher: hhVDoctorSDK.Cipher) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension Swift.Collection where Self.Element == Swift.UInt8, Self.Index == Swift.Int {
@inlinable internal func toUInt32Array() -> Swift.Array<Swift.UInt32> {
guard !isEmpty else {
return []
}
let c = strideCount(from: startIndex, to: endIndex, by: 4)
return Array<UInt32>(unsafeUninitializedCapacity: c) { buf, count in
var counter = 0
for idx in stride(from: startIndex, to: endIndex, by: 4) {
let val = UInt32(bytes: self, fromIndex: idx).bigEndian
buf[counter] = val
counter += 1
}
count = counter
assert(counter == c)
}
}
@inlinable internal func toUInt64Array() -> Swift.Array<Swift.UInt64> {
guard !isEmpty else {
return []
}
let c = strideCount(from: startIndex, to: endIndex, by: 8)
return Array<UInt64>(unsafeUninitializedCapacity: c) { buf, count in
var counter = 0
for idx in stride(from: startIndex, to: endIndex, by: 8) {
let val = UInt64(bytes: self, fromIndex: idx).bigEndian
buf[counter] = val
counter += 1
}
count = counter
assert(counter == c)
}
}
}
@usableFromInline
internal func strideCount(from: Swift.Int, to: Swift.Int, by: Swift.Int) -> Swift.Int
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class CommentBaseVC : UIKit.UIViewController {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class CommentVC : hhVDoctorSDK.CommentBaseVC {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) public static func show(_ orderId: Swift.String, docId: Swift.String, uuid: Swift.Int?, type: hhVDoctorSDK.HHCallType?, _ model: hhVDoctorSDK.HHGetQuesetionModel?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Swift.String {
public func subTo(_ index: Swift.Int) -> Swift.String
}
extension UIKit.UIImageView {
@_Concurrency.MainActor(unsafe) public func hh_image(url: Foundation.URL?)
@_Concurrency.MainActor(unsafe) public func hh_image(url: Foundation.URL?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?)
@_Concurrency.MainActor(unsafe) public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?, progresses: ((CoreGraphics.CGFloat) -> Swift.Void)?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?)
}
public func hh_downloadImg(_ url: Foundation.URL?, finish: @escaping ((UIKit.UIImage?, Foundation.Data?, Swift.Error?) -> Swift.Void))
public protocol Cryptor {
mutating func seek(to: Swift.Int) throws
}
public protocol Cryptors : AnyObject {
func makeEncryptor() throws -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable
func makeDecryptor() throws -> hhVDoctorSDK.Cryptor & hhVDoctorSDK.Updatable
static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
}
extension hhVDoctorSDK.Cryptors {
public static func randomIV(_ count: Swift.Int) -> Swift.Array<Swift.UInt8>
}
public struct CTR {
public enum Error : Swift.Error {
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.CTR.Error, b: hhVDoctorSDK.CTR.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init(iv: Swift.Array<Swift.UInt8>, counter: Swift.Int = 0)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
extension Foundation.Data {
public func checksum() -> Swift.UInt16
public func md5() -> Foundation.Data
public func sha1() -> Foundation.Data
public func sha224() -> Foundation.Data
public func sha256() -> Foundation.Data
public func sha384() -> Foundation.Data
public func sha512() -> Foundation.Data
public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Foundation.Data
public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
public func crc16(seed: Swift.UInt16? = nil) -> Foundation.Data
public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data
public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data
public func authenticate(with authenticator: hhVDoctorSDK.Authenticator) throws -> Foundation.Data
}
extension Foundation.Data {
public init(hex: Swift.String)
public var bytes: Swift.Array<Swift.UInt8> {
get
}
public func toHexString() -> Swift.String
}
public struct DGElasticPullToRefreshConstants {
public static var WaveMaxHeight: CoreGraphics.CGFloat
public static var MinOffsetToPull: CoreGraphics.CGFloat
public static var LoadingContentInset: CoreGraphics.CGFloat
public static var LoadingViewSize: CoreGraphics.CGFloat
}
extension ObjectiveC.NSObject {
public func dg_addObserver(_ observer: ObjectiveC.NSObject, forKeyPath keyPath: Swift.String)
public func dg_removeObserver(_ observer: ObjectiveC.NSObject, forKeyPath keyPath: Swift.String)
}
extension UIKit.UIScrollView {
@_Concurrency.MainActor(unsafe) public func dg_addPullToRefreshWithActionHandler(_ actionHandler: @escaping () -> Swift.Void, loadingView: hhVDoctorSDK.DGElasticPullToRefreshLoadingView?)
@_Concurrency.MainActor(unsafe) public func dg_removePullToRefresh()
@_Concurrency.MainActor(unsafe) public func dg_setPullToRefreshBackgroundColor(_ color: UIKit.UIColor)
@_Concurrency.MainActor(unsafe) public func dg_setPullToRefreshFillColor(_ color: UIKit.UIColor)
@_Concurrency.MainActor(unsafe) public func dg_stopLoading()
@_Concurrency.MainActor(unsafe) public func dg_startLoading()
}
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func dg_center(_ usePresentationLayerIfPossible: Swift.Bool) -> CoreGraphics.CGPoint
}
extension UIKit.UIPanGestureRecognizer {
@_Concurrency.MainActor(unsafe) public func dg_resign()
}
extension UIKit.UIGestureRecognizer.State {
public func dg_isAnyOf(_ values: [UIKit.UIGestureRecognizer.State]) -> Swift.Bool
}
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class DGElasticPullToRefreshLoadingView : UIKit.UIView {
@objc dynamic public init()
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@_Concurrency.MainActor(unsafe) open func setPullProgress(_ progress: CoreGraphics.CGFloat)
@_Concurrency.MainActor(unsafe) open func startAnimating()
@_Concurrency.MainActor(unsafe) open func stopLoading()
@objc deinit
}
extension CoreGraphics.CGFloat {
public func toRadians() -> CoreGraphics.CGFloat
public func toDegrees() -> CoreGraphics.CGFloat
}
@objc @_Concurrency.MainActor(unsafe) open class DGElasticPullToRefreshLoadingViewCircle : hhVDoctorSDK.DGElasticPullToRefreshLoadingView {
@objc override dynamic public init()
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@_Concurrency.MainActor(unsafe) override open func setPullProgress(_ progress: CoreGraphics.CGFloat)
@_Concurrency.MainActor(unsafe) override open func startAnimating()
@_Concurrency.MainActor(unsafe) override open func stopLoading()
@_Concurrency.MainActor(unsafe) @objc override dynamic open func tintColorDidChange()
@_Concurrency.MainActor(unsafe) @objc override dynamic open func layoutSubviews()
@objc deinit
}
public enum DGElasticPullToRefreshState : Swift.Int {
case stopped
case dragging
case animatingBounce
case loading
case animatingToStopped
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) open class DGElasticPullToRefreshView : UIKit.UIView {
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@objc deinit
@objc override dynamic open func observeValue(forKeyPath keyPath: Swift.String?, of object: Any?, change: [Foundation.NSKeyValueChangeKey : Any]?, context: Swift.UnsafeMutableRawPointer?)
@_Concurrency.MainActor(unsafe) @objc override dynamic open func layoutSubviews()
}
@available(*, renamed: "Digest")
public typealias Hash = hhVDoctorSDK.Digest
public struct Digest {
public static func md5(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha1(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha224(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha256(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha384(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha512(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha2(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA2.Variant) -> Swift.Array<Swift.UInt8>
public static func sha3(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA3.Variant) -> Swift.Array<Swift.UInt8>
}
public struct ECB : hhVDoctorSDK.BlockMode {
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init()
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
@objc public protocol FloatRatingViewDelegate {
@objc func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, didUpdate rating: Swift.Float)
@objc optional func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, isUpdating rating: Swift.Float)
}
@objc @_inheritsConvenienceInitializers @IBDesignable @_Concurrency.MainActor(unsafe) open class FloatRatingView : UIKit.UIView {
@_Concurrency.MainActor(unsafe) weak open var delegate: hhVDoctorSDK.FloatRatingViewDelegate?
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var emptyImage: UIKit.UIImage? {
@objc get
@objc set
}
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var fullImage: UIKit.UIImage? {
@objc get
@objc set
}
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var minRating: Swift.Int {
@objc get
@objc set
}
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var maxRating: Swift.Int {
@objc get
@objc set
}
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var minImageSize: CoreGraphics.CGSize
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var rating: Swift.Float {
@objc get
@objc set
}
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var editable: Swift.Bool
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var halfRatings: Swift.Bool
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var floatRatings: Swift.Bool
@_Concurrency.MainActor(unsafe) @objc required override dynamic public init(frame: CoreGraphics.CGRect)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@_Concurrency.MainActor(unsafe) @objc override dynamic open func layoutSubviews()
@_Concurrency.MainActor(unsafe) @objc override dynamic open func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@_Concurrency.MainActor(unsafe) @objc override dynamic open func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@_Concurrency.MainActor(unsafe) @objc override dynamic open func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@objc deinit
}
final public class GCM : hhVDoctorSDK.BlockMode {
public enum Mode {
case combined
case detached
public static func == (a: hhVDoctorSDK.GCM.Mode, b: hhVDoctorSDK.GCM.Mode) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
final public let options: hhVDoctorSDK.BlockModeOption
public enum Error : Swift.Error {
case invalidInitializationVector
case fail
public static func == (a: hhVDoctorSDK.GCM.Error, b: hhVDoctorSDK.GCM.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
final public let customBlockSize: Swift.Int?
final public var authenticationTag: Swift.Array<Swift.UInt8>?
public init(iv: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: hhVDoctorSDK.GCM.Mode = .detached)
convenience public init(iv: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: hhVDoctorSDK.GCM.Mode = .detached)
final public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
@objc deinit
}
@_specialize(exported: false, kind: full, where T == Swift.Int)
@_specialize(exported: false, kind: full, where T == Swift.UInt)
@_specialize(exported: false, kind: full, where T == Swift.UInt8)
@_specialize(exported: false, kind: full, where T == Swift.UInt16)
@_specialize(exported: false, kind: full, where T == Swift.UInt32)
@_specialize(exported: false, kind: full, where T == Swift.UInt64)
@inlinable internal func arrayOfBytes<T>(value: T, length totalBytes: Swift.Int = MemoryLayout<T>.size) -> Swift.Array<Swift.UInt8> where T : Swift.FixedWidthInteger {
let valuePointer = UnsafeMutablePointer<T>.allocate(capacity: 1)
valuePointer.pointee = value
let bytesPointer = UnsafeMutablePointer<UInt8>(OpaquePointer(valuePointer))
var bytes = Array<UInt8>(repeating: 0, count: totalBytes)
for j in 0..<min(MemoryLayout<T>.size, totalBytes) {
bytes[totalBytes - 1 - j] = (bytesPointer + j).pointee
}
valuePointer.deinitialize(count: 1)
valuePointer.deallocate()
return bytes
}
@objc @_inheritsConvenienceInitializers public class HHAccountManager : ObjectiveC.NSObject {
public static func getUUID() -> Swift.String?
@objc override dynamic public init()
@objc deinit
}
public class HHCameraConfig {
weak public var sender: UIKit.UIViewController!
public var mediaType: hhVDoctorSDK.HHMediaType
public var isGrayCam: Swift.Bool
public var canReduce: Swift.Bool
public var autoUpload: Swift.Bool
public var maxCount: Swift.Int?
public var crop: hhVDoctorSDK.onCropFinish?
public var canceled: hhVDoctorSDK.onCanceled?
public init()
public func build(_ block: (inout hhVDoctorSDK.HHCameraConfig) -> Swift.Void) -> hhVDoctorSDK.HHCameraConfig
@objc deinit
}
public typealias HHFetchBlock = (_ image: UIKit.UIImage?, _ info: [Swift.AnyHashable : Any]?) -> Swift.Void
public typealias onCanceled = (() -> Swift.Void)
public typealias onCapFinished = (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)
public typealias onCropFinish = (_ image: UIKit.UIImage, _ path: Swift.String?) -> Swift.Void
public enum HHMediaType : Swift.Int {
case cusCamera
case sysCamera
case cusVideo
case sysVideo
case photoImage
case photoVideo
case cusPhoto
case sysCrop
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public enum DateFormat : Swift.String {
case Full
case SingleDate
case Single
case WithoutSecond
case WithoutYearAndSecond
case HourMinute
case CN_Month_Day
case CN_Hour_Minute
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
@objc @_inheritsConvenienceInitializers public class HHDateUtils : ObjectiveC.NSObject {
public class func getDateForChinaStr() -> Swift.String
public static func stringWithDurationFromSeconds(_ seconds: Foundation.TimeInterval) -> Swift.String
public static func component(_ date: Foundation.Date) -> Foundation.DateComponents
@objc override dynamic public init()
@objc deinit
}
extension hhVDoctorSDK.HHDateUtils {
public class func date2String(_ date: Foundation.Date, format: Swift.String) -> Swift.String
public class func date2String(_ date: Foundation.Date, format: hhVDoctorSDK.DateFormat) -> Swift.String
}
extension hhVDoctorSDK.HHDateUtils {
public class func string2Date(_ str: Swift.String, format: hhVDoctorSDK.DateFormat) -> Foundation.Date?
public class func string2Date(_ str: Swift.String, format: Swift.String) -> Foundation.Date?
}
extension hhVDoctorSDK.HHDateUtils {
public static func dateStringFromNow(_ date: Swift.Int) -> Swift.String
public static func dateStringFromInt(_ date: Swift.Int) -> Swift.String
public static func dateYearStringFromInt(_ date: Swift.Int) -> Swift.String
}
@objc @_inheritsConvenienceInitializers open class HHDeviceManager : ObjectiveC.NSObject {
public static func jailBrokend() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class HHCallerInfo : ObjectiveC.NSObject, hhVDoctorSDK.Mappable {
public var name: Swift.String?
public var photourl: Swift.String?
public var uuid: Swift.Int?
public var userToken: Swift.String?
@objc override dynamic public init()
required public init?(map: hhVDoctorSDK.Map)
public func mapping(map: hhVDoctorSDK.Map)
@objc deinit
}
public struct HHEmptyModel : hhVDoctorSDK.Mappable {
public init()
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
@_hasMissingDesignatedInitializers public class HHEncryptUtils {
public static func encrypto(key: Swift.String, content: Swift.String) -> Swift.String?
public static func decrypto(key: Swift.String, content: Swift.String) -> Swift.String?
public static func encrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
public static func decrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
@objc deinit
}
public struct HHGetQuesetionModel : hhVDoctorSDK.Mappable {
public var question: hhVDoctorSDK.HHQuesetionModel?
public var rate: [hhVDoctorSDK.rateModel]?
public init?(map: hhVDoctorSDK.Map)
public init()
public mutating func mapping(map: hhVDoctorSDK.Map)
public func isHaveQ() -> Swift.Bool
}
public struct HHQuesetionModel : hhVDoctorSDK.Mappable {
public var answerOne: Swift.String?
public var answerTwo: Swift.String?
public var content: Swift.String?
public var id: Swift.Int?
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
public struct rateModel : hhVDoctorSDK.Mappable {
public var createTime: Swift.Int?
public var content: Swift.String?
public var state: Swift.Int?
public var id: Swift.Int?
public var answerOne: Swift.String?
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
@objc @_inheritsConvenienceInitializers public class HHFileCacheManager : ObjectiveC.NSObject {
public enum HHAssetPathType {
case image
case video
case sound
case dicom
case fb
case other
case dataBase
public static func == (a: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType, b: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
@objc override dynamic public init()
@objc deinit
}
extension hhVDoctorSDK.HHFileCacheManager {
public class func getFileFormat(_ name: Swift.String) -> hhVDoctorSDK.HHFileCacheManager.HHAssetPathType
public class func getFilePath(_ name: Swift.String) -> Swift.String?
}
extension hhVDoctorSDK.HHFileCacheManager {
public static func saveString2File(_ string: Swift.String?, fileName: Swift.String)
public static func stringFromFile(_ fileName: Swift.String) -> Swift.String?
}
public var uploadManager: hhVDoctorSDK.UploadQueue {
get
}
@_hasMissingDesignatedInitializers public class UploadQueue {
@discardableResult
public func upload(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig) -> hhVDoctorSDK.HHFileUploadManager
public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
@objc deinit
}
public class HHFileUploadManager {
public var mFileQueue: [Swift.String]
public var config: hhVDoctorSDK.HHUploadConfig!
public var mTransFile: Swift.String?
public var isUploading: Swift.Bool
public init(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig)
public func uploadFile(_ file: [Swift.String])
public func cancalFiles(_ files: [Swift.String], cancelFinish: ((Swift.String) -> Swift.Void)? = nil)
public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
@objc deinit
}
public protocol HHHUDable {
var autoDismissDuration: Foundation.TimeInterval { get }
func showHUD()
func dismissHUD()
func showSuccess(_ message: Swift.String?)
func showError(_ messgae: Swift.String?)
func setDismissDuration(_ duraion: Foundation.TimeInterval)
}
public struct HHInviteDocModel : hhVDoctorSDK.Mappable {
public var orderId: Swift.String?
public var channelId: Swift.UInt64?
public var doctorId: Swift.String?
public var imageUrl: Swift.String?
public var signalingType: Swift.String?
public var width: CoreGraphics.CGFloat
public var height: CoreGraphics.CGFloat
public init?(map: hhVDoctorSDK.Map)
public init(_ info: hhVDoctorSDK.HHNetCallChatInfo, meetId: Swift.UInt64?)
public func isWhiteBoard() -> Swift.Bool
public func isMultyCall() -> Swift.Bool
public mutating func mapping(map: hhVDoctorSDK.Map)
}
@_inheritsConvenienceInitializers @objc public class HHLocation : ObjectiveC.NSObject {
@objc public static let `default`: hhVDoctorSDK.HHLocation
@objc public func startLocation(lng: Swift.String, lat: Swift.String)
@objc public func closeLocation()
@objc override dynamic public init()
@objc deinit
}
public enum HHLogMode : Swift.Int {
case error
case warn
case info
case debug
case verbose
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public func logging(type: hhVDoctorSDK.HHLogMode = .info, _ tip: Swift.String)
@objc @_inheritsConvenienceInitializers open class HHMediaStatusCheckUtils : ObjectiveC.NSObject {
open class func checkCameraAccess() -> Swift.Bool
open class func checkCameraVideoPermission() -> Swift.Bool
open class func checkAlbumAccess() -> Swift.Bool
open class func checkAudioAccess() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@_hasMissingDesignatedInitializers public class HHModelCache {
public static let instance: hhVDoctorSDK.HHModelCache
public func cacheModel(_ name: Swift.String, content: Swift.String?)
public func cacheModel(_ name: Swift.String, content: Foundation.Data?)
public func getCahceInfo(_ docId: Swift.String?, name: Swift.String, key: Swift.String) -> Swift.String?
public func getCacheAsync(_ docId: Swift.String?, name: Swift.String, key: Swift.String, callback: @escaping ((Swift.String?) -> Swift.Void))
@objc deinit
}
public typealias HHLoginHandler = ((Swift.String?) -> Swift.Void)
@_inheritsConvenienceInitializers @objc public class HHMSDK : ObjectiveC.NSObject {
@objc public static let `default`: hhVDoctorSDK.HHMSDK
@objc public func start(option: hhVDoctorSDK.HHSDKOptions)
@objc public func login(userToken: Swift.String, completion: @escaping hhVDoctorSDK.HHLoginHandler)
@available(*, deprecated, message: "Use login(userToken: String, completion: @escaping HHLoginHandler) instead.")
@objc public func login(uuid: Swift.Int, completion: @escaping hhVDoctorSDK.HHLoginHandler)
@objc public func logout(complete: ((Swift.String?) -> Swift.Void)? = nil)
@objc public func switchEnv(_ development: Swift.Bool)
@objc public func skipChatHome(skipType: hhVDoctorSDK.SkipType = .push, vc: UIKit.UIViewController? = nil)
@objc public func skipChatHome(_ nav: UIKit.UINavigationController)
@objc public func chatHomeVC() -> UIKit.UIViewController?
@objc public func startCall(_ type: hhVDoctorSDK.HHCallType)
@objc public func updateAPNS(token: Foundation.Data)
@objc public var SDKVersion: Swift.String {
@objc get
}
@objc public var isLogined: Swift.Bool {
@objc get
}
@objc public var userToken: Swift.String? {
@objc get
}
@objc public func add(delegate: hhVDoctorSDK.HHMVideoDelegate)
@objc public func remove(delegate: hhVDoctorSDK.HHMVideoDelegate)
@objc public var aliPayHook: ((Swift.String, Swift.String, @escaping (([Swift.String : Any]) -> Swift.Void)) -> Swift.Bool)?
@objc override dynamic public init()
@objc deinit
}
extension hhVDoctorSDK.HHMSDK {
@objc dynamic public func startMemberCall(needSelectMember: Swift.Bool = true)
}
extension hhVDoctorSDK.HHMSDK {
@available(*, deprecated, message: "Use call(userToken : String) instead.")
@objc dynamic public func startNewCall(_ uuid: Swift.Int)
}
extension hhVDoctorSDK.HHMSDK {
@objc dynamic public func call(userToken: Swift.String)
}
extension hhVDoctorSDK.HHMSDK {
@objc dynamic public func startTeamCall(_ type: hhVDoctorSDK.HHCallType, callee: hhVDoctorSDK.HHCallerInfo)
}
extension hhVDoctorSDK.HHMSDK {
@objc dynamic public func getMedicDetail(userToken: Swift.String, medicId: Swift.String) -> Swift.String
@objc dynamic public func getMedicList(userToken: Swift.String) -> Swift.String
@objc dynamic public func getAllMedics(userToken: Swift.String) -> Swift.String
}
@objc public enum HHMLoginCode : Swift.Int {
case OK = 0
case netError = -1
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum SkipType : Swift.Int {
case push
case present
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum HHCallType : Swift.Int {
case child = 600000
case adult = 600002
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum HHMCallingState : Swift.Int {
case onStart = 0
case waitingDoctor
case callFreeDoctor
case callConnect
case didRing
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public protocol HHMVideoDelegate : ObjectiveC.NSObjectProtocol {
@objc optional func callStateChange(_ state: hhVDoctorSDK.HHMCallingState)
@objc optional func onStart(orderId: Swift.String?)
@objc optional func callDidEstablish()
@objc optional func getChatParentView(_ view: UIKit.UIView)
@objc optional func onFail(_ errorCode: Swift.Int, errrorStr: Swift.String?)
@objc optional func onCancel()
@objc optional func callDidFinish()
@objc optional func onExtensionDoctor()
@objc optional func onReceive(_ callID: Swift.String)
@objc optional func onResponse(_ accept: Swift.Bool)
@objc optional func onForceOffline()
}
public struct HHNetCallChatInfo {
public init()
public init(_ model: hhVDoctorSDK.CallDoctorModel?)
}
public typealias HHNetError = ((Swift.String) -> (Swift.Void))
public typealias HHNetSuccessNoData = () -> Swift.Void
public typealias NetResult = (Swift.Bool, Swift.String) -> (Swift.Void)
public enum HHRequestMethod {
case get
case post
public static func == (a: hhVDoctorSDK.HHRequestMethod, b: hhVDoctorSDK.HHRequestMethod) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum HHServerType {
case pay
case pacs
case weixin
case uploadLog
public static func == (a: hhVDoctorSDK.HHServerType, b: hhVDoctorSDK.HHServerType) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct HHRequestData {
public init(body: [Swift.String : Any] = ["default_sw":"default"], param: [Swift.String : Any] = ["default_sw":"default"])
public var mHttpBody: [Swift.String : Any]
public var mParameters: [Swift.String : Any]
}
extension UIKit.UIControl.State : Swift.Hashable {
public var hashValue: Swift.Int {
get
}
}
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @IBDesignable @_Concurrency.MainActor(unsafe) public class HHPagerView : UIKit.UIView, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate {
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
@_Concurrency.MainActor(unsafe) @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
@objc override dynamic public func prepareForInterfaceBuilder()
@objc deinit
@_Concurrency.MainActor(unsafe) @objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldHighlightItemAt indexPath: Foundation.IndexPath) -> Swift.Bool
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didHighlightItemAt indexPath: Foundation.IndexPath)
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldSelectItemAt indexPath: Foundation.IndexPath) -> Swift.Bool
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath)
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
@_Concurrency.MainActor(unsafe) @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didEndDisplaying cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
@_Concurrency.MainActor(unsafe) @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
@_Concurrency.MainActor(unsafe) @objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView)
@_Concurrency.MainActor(unsafe) @objc public func scrollViewWillEndDragging(_ scrollView: UIKit.UIScrollView, withVelocity velocity: CoreGraphics.CGPoint, targetContentOffset: Swift.UnsafeMutablePointer<CoreGraphics.CGPoint>)
@_Concurrency.MainActor(unsafe) @objc public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView)
@_Concurrency.MainActor(unsafe) @objc public func scrollViewDidEndScrollingAnimation(_ scrollView: UIKit.UIScrollView)
}
@objc public enum HHPagerViewTransformerType : Swift.Int {
case crossFading
case zoomOut
case depth
case overlap
case linear
case coverFlow
case ferrisWheel
case invertedFerrisWheel
case cubic
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class HHPhotoPickerController : UIKit.UINavigationController {
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) convenience public init(localPath: Swift.String? = nil, deleteMode: Swift.Bool = false, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)? = nil)
@_Concurrency.MainActor(unsafe) public static func selectLocalImags(path: Swift.String? = nil, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)?) -> hhVDoctorSDK.HHPhotoPickerController
@objc deinit
@available(iOS 5.0, *)
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(navigationBarClass: Swift.AnyClass?, toolbarClass: Swift.AnyClass?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(rootViewController: UIKit.UIViewController)
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
}
public class HHRequest<T> where T : hhVDoctorSDK.Mappable {
public typealias HHNetSuccess = (T) -> Swift.Void
public typealias HHNetSuccessForArray = ([T]) -> Swift.Void
public var mRequestData: hhVDoctorSDK.HHRequestData?
public var mRequestFail: hhVDoctorSDK.HHNetError?
public var mRequestSuccess: hhVDoctorSDK.HHRequest<T>.HHNetSuccess?
public var mRequestSuccessNoData: hhVDoctorSDK.HHNetSuccessNoData?
public var mRequestSuccessForArray: hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray?
public var mConfig: hhVDoctorSDK.HHRequestConfig?
required public init(aRequestConfig: hhVDoctorSDK.HHRequestConfig, requestData: hhVDoctorSDK.HHRequestData? = nil)
public func start()
public func cancel()
@objc deinit
}
public protocol HHRequestConfig {
func serviceURLSuffix() -> Swift.String
func isNeedUserInfo() -> Swift.Bool
func requestMethod() -> hhVDoctorSDK.HHRequestMethod
func requestType() -> hhVDoctorSDK.HHServerType
func extensionUrlHost() -> Swift.String?
func needSaveCache() -> Swift.Bool
func cacheKey() -> Swift.String?
func loadAppVersion() -> Swift.Bool
func needDNS() -> Swift.Bool
func needEncrypt() -> Swift.Bool
}
extension hhVDoctorSDK.HHRequestConfig {
public func needSaveCache() -> Swift.Bool
public func cacheKey() -> Swift.String?
public func isNeedUserInfo() -> Swift.Bool
public func requestMethod() -> hhVDoctorSDK.HHRequestMethod
public func requestType() -> hhVDoctorSDK.HHServerType
public func extensionUrlHost() -> Swift.String?
public func isHaveExtensionUrl() -> Swift.Bool
public func loadAppVersion() -> Swift.Bool
public func needDNS() -> Swift.Bool
public func needEncrypt() -> Swift.Bool
}
extension hhVDoctorSDK.HHRequest {
public func startForArray(_ successCallBack: @escaping hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray, failCallBack: @escaping hhVDoctorSDK.HHNetError)
}
public var HMDefaultOpt: hhVDoctorSDK.HHSDKOptions {
get
}
public var HMHudManager: hhVDoctorSDK.HHHUDable {
get
}
@objc public class HHSDKOptions : ObjectiveC.NSObject {
@objc public static let `default`: hhVDoctorSDK.HHSDKOptions
@objc public var hudDisTime: Swift.Double {
@objc get
@objc set
}
@objc public var isDebug: Swift.Bool
@objc public var isDevelopment: Swift.Bool
public var hudManager: hhVDoctorSDK.HHHUDable
@objc public var productId: Swift.String
@objc public var cerName: Swift.String?
public var mExtension: Swift.String
@objc public var changeDoctorTime: Swift.Int
public var logCallback: ((Swift.String) -> Swift.Void)?
@objc public var mVideoOptions: hhVDoctorSDK.VideoOptions
@objc public var mMessageOptions: hhVDoctorSDK.MessageOptions
@objc public var mUserCenterOptions: hhVDoctorSDK.UsercenterOptions
final public let sdkVersion: Swift.String
final public let appVersion: Swift.String
@objc public init(productId: Swift.String, isDebug: Swift.Bool = true, isDevelop: Swift.Bool = true)
@objc public func setUserExtension(userExtension: Swift.String)
@objc public func setCallExtension(callExtension: Swift.String)
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class VideoOptions : ObjectiveC.NSObject {
public var filterCallerInfo: Swift.Bool
@objc public var allowBeauty: Swift.Bool
@objc public var allowEvaluate: Swift.Bool
@objc public var allowAddMember: Swift.Bool
@objc public var allowMulti: Swift.Bool
public var mCallExtension: Swift.String
@objc public var isShowDocInfo: Swift.Bool
@objc public var enableCloseCamera: Swift.Bool
@objc public var isCloseCameraCall: Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MessageOptions : ObjectiveC.NSObject {
@objc public var isByPresent: Swift.Bool
@objc public var isFilterSummary: Swift.Bool
@objc public var isFilterMedicinal: Swift.Bool
@objc public var defaultDocHeader: Swift.String
@objc public var defaultDocName: Swift.String
@objc public var messageTitle: Swift.String
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class UsercenterOptions : ObjectiveC.NSObject {
@objc public var enableVipInfo: Swift.Bool
@objc public var hideUserCenter: Swift.Bool
@objc public var enableActivate: Swift.Bool
@objc public var enableMedical: Swift.Bool
@objc public var enableAddMemberInDoc: Swift.Bool
@objc public var enableBuyService: Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@_hasMissingDesignatedInitializers public class HHStatics {
public static let `default`: hhVDoctorSDK.HHStatics
public func send(params: [Swift.String : Any])
@objc deinit
}
public struct HHStaticsConfig : hhVDoctorSDK.SDKRequest {
public func serviceURLSuffix() -> Swift.String
public func requestMethod() -> hhVDoctorSDK.HHRequestMethod
public func needDNS() -> Swift.Bool
public func needEncrypt() -> Swift.Bool
public func extensionUrlHost() -> Swift.String?
public func loadAppVersion() -> Swift.Bool
}
@_hasMissingDesignatedInitializers public class HHUrl {
public static func makeUrl(_ url: Swift.String) -> Swift.String
@objc deinit
}
@_hasMissingDesignatedInitializers public class UrlParams {
public static func addCommon(_ param: [Swift.String : Any]?) -> [Swift.String : Any]
@objc deinit
}
@_hasMissingDesignatedInitializers public class HHUserDefaults {
public class func setString(_ str: Swift.String, key: Swift.String)
public class func stringValue(_ key: Swift.String) -> Swift.String?
public class func setArray(_ array: [Swift.AnyObject], key: Swift.String)
public class func arrayForKey(_ key: Swift.String) -> [Swift.AnyObject]?
public class func setImage(_ image: UIKit.UIImage, key: Swift.String)
public class func imageForKey(_ key: Swift.String) -> UIKit.UIImage?
@objc deinit
}
extension hhVDoctorSDK.HHUserDefaults {
public class func setBool(_ flag: Swift.Bool, key: Swift.String)
public class func boolForKey(_ key: Swift.String) -> Swift.Bool
public class func setObject(_ obj: Swift.AnyObject, key: Swift.String)
public class func objectForKey(_ key: Swift.String) -> Swift.AnyObject?
public class func removeObject(_ key: Swift.String)
}
extension hhVDoctorSDK.HHUserDefaults {
public class func setData(_ data: Foundation.Data?, key: Swift.String)
public class func dataForKey(_ key: Swift.String) -> Foundation.Data?
public class func userDefaults() -> Foundation.UserDefaults
public class func synchronize()
public class func encryptkey(_ key: Swift.String) -> Swift.String
}
@_hasMissingDesignatedInitializers public class HHUserModel : hhVDoctorSDK.Mappable {
public var product: hhVDoctorSDK.HHMemberInfoModel?
public var uuid: Swift.Int?
public var isMember: Swift.Bool?
required public init?(map: hhVDoctorSDK.Map)
public func mapping(map: hhVDoctorSDK.Map)
@objc deinit
}
public struct HHMemberInfoModel : hhVDoctorSDK.Mappable {
public var productServiceId: Swift.Int?
public var productStatusDescn: Swift.String?
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
open class HHValueObservable<T> {
public typealias Observer = (T) -> Swift.Void
open var observer: hhVDoctorSDK.HHValueObservable<T>.Observer?
open func observe(_ observer: hhVDoctorSDK.HHValueObservable<T>.Observer?)
open var value: T {
get
set
}
public init(_ v: T)
@objc deinit
}
public struct HKDF {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.HKDF.Error, b: hhVDoctorSDK.HKDF.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>? = nil, info: Swift.Array<Swift.UInt8>? = nil, keyLength: Swift.Int? = nil, variant: hhVDoctorSDK.HMAC.Variant = .sha256) throws
public func calculate() throws -> Swift.Array<Swift.UInt8>
}
final public class HMAC : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case authenticateError
case invalidInput
public static func == (a: hhVDoctorSDK.HMAC.Error, b: hhVDoctorSDK.HMAC.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum Variant {
case sha1, sha256, sha384, sha512, md5
public static func == (a: hhVDoctorSDK.HMAC.Variant, b: hhVDoctorSDK.HMAC.Variant) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public init(key: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.HMAC.Variant = .md5)
final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension hhVDoctorSDK.HMAC {
convenience public init(key: Swift.String, variant: hhVDoctorSDK.HMAC.Variant = .md5) throws
}
extension Swift.FixedWidthInteger {
@inlinable internal func bytes(totalBytes: Swift.Int = MemoryLayout<Self>.size) -> Swift.Array<Swift.UInt8> {
arrayOfBytes(value: self.littleEndian, length: totalBytes)
// TODO: adjust bytes order
// var value = self.littleEndian
// return withUnsafeBytes(of: &value, Array.init).reversed()
}
}
public let KeychainAccessErrorDomain: Swift.String
public enum ItemClass {
case genericPassword
case internetPassword
}
public enum ProtocolType {
case ftp
case ftpAccount
case http
case irc
case nntp
case pop3
case smtp
case socks
case imap
case ldap
case appleTalk
case afp
case telnet
case ssh
case ftps
case https
case httpProxy
case httpsProxy
case ftpProxy
case smb
case rtsp
case rtspProxy
case daap
case eppc
case ipp
case nntps
case ldaps
case telnetS
case imaps
case ircs
case pop3S
}
public enum AuthenticationType {
case ntlm
case msn
case dpa
case rpa
case httpBasic
case httpDigest
case htmlForm
case `default`
}
public enum Accessibility {
case whenUnlocked
case afterFirstUnlock
case always
@available(iOS 8.0, macOS 10.10, *)
case whenPasscodeSetThisDeviceOnly
case whenUnlockedThisDeviceOnly
case afterFirstUnlockThisDeviceOnly
case alwaysThisDeviceOnly
}
public struct AuthenticationPolicy : Swift.OptionSet {
@available(iOS 8.0, macOS 10.10, *)
@available(watchOS, unavailable)
public static let userPresence: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let touchIDAny: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let touchIDCurrentSet: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, macOS 10.11, *)
@available(watchOS, unavailable)
public static let devicePasscode: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let or: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let and: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let privateKeyUsage: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(macOS, unavailable)
@available(watchOS, unavailable)
public static let applicationPassword: hhVDoctorSDK.AuthenticationPolicy
public let rawValue: Swift.UInt
public init(rawValue: Swift.UInt)
public typealias ArrayLiteralElement = hhVDoctorSDK.AuthenticationPolicy
public typealias Element = hhVDoctorSDK.AuthenticationPolicy
public typealias RawValue = Swift.UInt
}
public struct Attributes {
public var `class`: Swift.String? {
get
}
public var data: Foundation.Data? {
get
}
public var ref: Foundation.Data? {
get
}
public var persistentRef: Foundation.Data? {
get
}
public var accessible: Swift.String? {
get
}
public var accessControl: Security.SecAccessControl? {
get
}
public var accessGroup: Swift.String? {
get
}
public var synchronizable: Swift.Bool? {
get
}
public var creationDate: Foundation.Date? {
get
}
public var modificationDate: Foundation.Date? {
get
}
public var attributeDescription: Swift.String? {
get
}
public var comment: Swift.String? {
get
}
public var creator: Swift.String? {
get
}
public var type: Swift.String? {
get
}
public var label: Swift.String? {
get
}
public var isInvisible: Swift.Bool? {
get
}
public var isNegative: Swift.Bool? {
get
}
public var account: Swift.String? {
get
}
public var service: Swift.String? {
get
}
public var generic: Foundation.Data? {
get
}
public var securityDomain: Swift.String? {
get
}
public var server: Swift.String? {
get
}
public var `protocol`: Swift.String? {
get
}
public var authenticationType: Swift.String? {
get
}
public var port: Swift.Int? {
get
}
public var path: Swift.String? {
get
}
public subscript(key: Swift.String) -> Any? {
get
}
}
@_hasMissingDesignatedInitializers final public class Keychain {
final public var itemClass: hhVDoctorSDK.ItemClass {
get
}
final public var service: Swift.String {
get
}
final public var accessGroup: Swift.String? {
get
}
final public var server: Foundation.URL {
get
}
final public var protocolType: hhVDoctorSDK.ProtocolType {
get
}
final public var authenticationType: hhVDoctorSDK.AuthenticationType {
get
}
final public var accessibility: hhVDoctorSDK.Accessibility {
get
}
@available(iOS 8.0, macOS 10.10, *)
@available(watchOS, unavailable)
final public var authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy? {
get
}
final public var synchronizable: Swift.Bool {
get
}
final public var label: Swift.String? {
get
}
final public var comment: Swift.String? {
get
}
@available(iOS 8.0, macOS 10.10, *)
@available(watchOS, unavailable)
final public var authenticationPrompt: Swift.String? {
get
}
@available(iOS 9.0, macOS 10.11, *)
final public var authenticationContext: LocalAuthentication.LAContext? {
get
}
convenience public init()
convenience public init(service: Swift.String)
convenience public init(accessGroup: Swift.String)
convenience public init(service: Swift.String, accessGroup: Swift.String)
convenience public init(server: Swift.String, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default)
convenience public init(server: Foundation.URL, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default)
final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility) -> hhVDoctorSDK.Keychain
@available(iOS 8.0, macOS 10.10, *)
@available(watchOS, unavailable)
final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility, authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy) -> hhVDoctorSDK.Keychain
final public func synchronizable(_ synchronizable: Swift.Bool) -> hhVDoctorSDK.Keychain
final public func label(_ label: Swift.String) -> hhVDoctorSDK.Keychain
final public func comment(_ comment: Swift.String) -> hhVDoctorSDK.Keychain
final public func attributes(_ attributes: [Swift.String : Any]) -> hhVDoctorSDK.Keychain
@available(iOS 8.0, macOS 10.10, *)
@available(watchOS, unavailable)
final public func authenticationPrompt(_ authenticationPrompt: Swift.String) -> hhVDoctorSDK.Keychain
@available(iOS 9.0, macOS 10.11, *)
final public func authenticationContext(_ authenticationContext: LocalAuthentication.LAContext) -> hhVDoctorSDK.Keychain
final public func get(_ key: Swift.String) throws -> Swift.String?
final public func getString(_ key: Swift.String) throws -> Swift.String?
final public func getData(_ key: Swift.String) throws -> Foundation.Data?
final public func get<T>(_ key: Swift.String, handler: (hhVDoctorSDK.Attributes?) -> T) throws -> T
final public func set(_ value: Swift.String, key: Swift.String) throws
final public func set(_ value: Foundation.Data, key: Swift.String) throws
final public subscript(key: Swift.String) -> Swift.String? {
get
set
}
final public subscript(string key: Swift.String) -> Swift.String? {
get
set
}
final public subscript(data key: Swift.String) -> Foundation.Data? {
get
set
}
final public subscript(attributes key: Swift.String) -> hhVDoctorSDK.Attributes? {
get
}
final public func remove(_ key: Swift.String) throws
final public func removeAll() throws
final public func contains(_ key: Swift.String) throws -> Swift.Bool
final public class func allKeys(_ itemClass: hhVDoctorSDK.ItemClass) -> [(Swift.String, Swift.String)]
final public func allKeys() -> [Swift.String]
final public class func allItems(_ itemClass: hhVDoctorSDK.ItemClass) -> [[Swift.String : Any]]
final public func allItems() -> [[Swift.String : Any]]
@available(iOS 8.0, *)
final public func getSharedPassword(_ completion: @escaping (_ account: Swift.String?, _ password: Swift.String?, _ error: Swift.Error?) -> () = { account, password, error -> () in })
@available(iOS 8.0, *)
final public func getSharedPassword(_ account: Swift.String, completion: @escaping (_ password: Swift.String?, _ error: Swift.Error?) -> () = { password, error -> () in })
@available(iOS 8.0, *)
final public func setSharedPassword(_ password: Swift.String, account: Swift.String, completion: @escaping (_ error: Swift.Error?) -> () = { e -> () in })
@available(iOS 8.0, *)
final public func removeSharedPassword(_ account: Swift.String, completion: @escaping (_ error: Swift.Error?) -> () = { e -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(_ completion: @escaping (_ credentials: [[Swift.String : Swift.String]], _ error: Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(domain: Swift.String, completion: @escaping (_ credentials: [[Swift.String : Swift.String]], _ error: Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(domain: Swift.String, account: Swift.String, completion: @escaping (_ credentials: [[Swift.String : Swift.String]], _ error: Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func generatePassword() -> Swift.String
@objc deinit
}
extension hhVDoctorSDK.Keychain : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
final public var description: Swift.String {
get
}
final public var debugDescription: Swift.String {
get
}
}
extension hhVDoctorSDK.Attributes : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
public var description: Swift.String {
get
}
public var debugDescription: Swift.String {
get
}
}
extension hhVDoctorSDK.ItemClass : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension hhVDoctorSDK.ProtocolType : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension hhVDoctorSDK.AuthenticationType : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension hhVDoctorSDK.Accessibility : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
public enum Status : Darwin.OSStatus, Swift.Error {
case success
case unimplemented
case diskFull
case io
case opWr
case param
case wrPerm
case allocate
case userCanceled
case badReq
case internalComponent
case notAvailable
case readOnly
case authFailed
case noSuchKeychain
case invalidKeychain
case duplicateKeychain
case duplicateCallback
case invalidCallback
case duplicateItem
case itemNotFound
case bufferTooSmall
case dataTooLarge
case noSuchAttr
case invalidItemRef
case invalidSearchRef
case noSuchClass
case noDefaultKeychain
case interactionNotAllowed
case readOnlyAttr
case wrongSecVersion
case keySizeNotAllowed
case noStorageModule
case noCertificateModule
case noPolicyModule
case interactionRequired
case dataNotAvailable
case dataNotModifiable
case createChainFailed
case invalidPrefsDomain
case inDarkWake
case aclNotSimple
case policyNotFound
case invalidTrustSetting
case noAccessForItem
case invalidOwnerEdit
case trustNotAvailable
case unsupportedFormat
case unknownFormat
case keyIsSensitive
case multiplePrivKeys
case passphraseRequired
case invalidPasswordRef
case invalidTrustSettings
case noTrustSettings
case pkcs12VerifyFailure
case invalidCertificate
case notSigner
case policyDenied
case invalidKey
case decode
case `internal`
case unsupportedAlgorithm
case unsupportedOperation
case unsupportedPadding
case itemInvalidKey
case itemInvalidKeyType
case itemInvalidValue
case itemClassMissing
case itemMatchUnsupported
case useItemListUnsupported
case useKeychainUnsupported
case useKeychainListUnsupported
case returnDataUnsupported
case returnAttributesUnsupported
case returnRefUnsupported
case returnPersitentRefUnsupported
case valueRefUnsupported
case valuePersistentRefUnsupported
case returnMissingPointer
case matchLimitUnsupported
case itemIllegalQuery
case waitForCallback
case missingEntitlement
case upgradePending
case mpSignatureInvalid
case otrTooOld
case otrIDTooNew
case serviceNotAvailable
case insufficientClientID
case deviceReset
case deviceFailed
case appleAddAppACLSubject
case applePublicKeyIncomplete
case appleSignatureMismatch
case appleInvalidKeyStartDate
case appleInvalidKeyEndDate
case conversionError
case appleSSLv2Rollback
case quotaExceeded
case fileTooBig
case invalidDatabaseBlob
case invalidKeyBlob
case incompatibleDatabaseBlob
case incompatibleKeyBlob
case hostNameMismatch
case unknownCriticalExtensionFlag
case noBasicConstraints
case noBasicConstraintsCA
case invalidAuthorityKeyID
case invalidSubjectKeyID
case invalidKeyUsageForPolicy
case invalidExtendedKeyUsage
case invalidIDLinkage
case pathLengthConstraintExceeded
case invalidRoot
case crlExpired
case crlNotValidYet
case crlNotFound
case crlServerDown
case crlBadURI
case unknownCertExtension
case unknownCRLExtension
case crlNotTrusted
case crlPolicyFailed
case idpFailure
case smimeEmailAddressesNotFound
case smimeBadExtendedKeyUsage
case smimeBadKeyUsage
case smimeKeyUsageNotCritical
case smimeNoEmailAddress
case smimeSubjAltNameNotCritical
case sslBadExtendedKeyUsage
case ocspBadResponse
case ocspBadRequest
case ocspUnavailable
case ocspStatusUnrecognized
case endOfData
case incompleteCertRevocationCheck
case networkFailure
case ocspNotTrustedToAnchor
case recordModified
case ocspSignatureError
case ocspNoSigner
case ocspResponderMalformedReq
case ocspResponderInternalError
case ocspResponderTryLater
case ocspResponderSignatureRequired
case ocspResponderUnauthorized
case ocspResponseNonceMismatch
case codeSigningBadCertChainLength
case codeSigningNoBasicConstraints
case codeSigningBadPathLengthConstraint
case codeSigningNoExtendedKeyUsage
case codeSigningDevelopment
case resourceSignBadCertChainLength
case resourceSignBadExtKeyUsage
case trustSettingDeny
case invalidSubjectName
case unknownQualifiedCertStatement
case mobileMeRequestQueued
case mobileMeRequestRedirected
case mobileMeServerError
case mobileMeServerNotAvailable
case mobileMeServerAlreadyExists
case mobileMeServerServiceErr
case mobileMeRequestAlreadyPending
case mobileMeNoRequestPending
case mobileMeCSRVerifyFailure
case mobileMeFailedConsistencyCheck
case notInitialized
case invalidHandleUsage
case pvcReferentNotFound
case functionIntegrityFail
case internalError
case memoryError
case invalidData
case mdsError
case invalidPointer
case selfCheckFailed
case functionFailed
case moduleManifestVerifyFailed
case invalidGUID
case invalidHandle
case invalidDBList
case invalidPassthroughID
case invalidNetworkAddress
case crlAlreadySigned
case invalidNumberOfFields
case verificationFailure
case unknownTag
case invalidSignature
case invalidName
case invalidCertificateRef
case invalidCertificateGroup
case tagNotFound
case invalidQuery
case invalidValue
case callbackFailed
case aclDeleteFailed
case aclReplaceFailed
case aclAddFailed
case aclChangeFailed
case invalidAccessCredentials
case invalidRecord
case invalidACL
case invalidSampleValue
case incompatibleVersion
case privilegeNotGranted
case invalidScope
case pvcAlreadyConfigured
case invalidPVC
case emmLoadFailed
case emmUnloadFailed
case addinLoadFailed
case invalidKeyRef
case invalidKeyHierarchy
case addinUnloadFailed
case libraryReferenceNotFound
case invalidAddinFunctionTable
case invalidServiceMask
case moduleNotLoaded
case invalidSubServiceID
case attributeNotInContext
case moduleManagerInitializeFailed
case moduleManagerNotFound
case eventNotificationCallbackNotFound
case inputLengthError
case outputLengthError
case privilegeNotSupported
case deviceError
case attachHandleBusy
case notLoggedIn
case algorithmMismatch
case keyUsageIncorrect
case keyBlobTypeIncorrect
case keyHeaderInconsistent
case unsupportedKeyFormat
case unsupportedKeySize
case invalidKeyUsageMask
case unsupportedKeyUsageMask
case invalidKeyAttributeMask
case unsupportedKeyAttributeMask
case invalidKeyLabel
case unsupportedKeyLabel
case invalidKeyFormat
case unsupportedVectorOfBuffers
case invalidInputVector
case invalidOutputVector
case invalidContext
case invalidAlgorithm
case invalidAttributeKey
case missingAttributeKey
case invalidAttributeInitVector
case missingAttributeInitVector
case invalidAttributeSalt
case missingAttributeSalt
case invalidAttributePadding
case missingAttributePadding
case invalidAttributeRandom
case missingAttributeRandom
case invalidAttributeSeed
case missingAttributeSeed
case invalidAttributePassphrase
case missingAttributePassphrase
case invalidAttributeKeyLength
case missingAttributeKeyLength
case invalidAttributeBlockSize
case missingAttributeBlockSize
case invalidAttributeOutputSize
case missingAttributeOutputSize
case invalidAttributeRounds
case missingAttributeRounds
case invalidAlgorithmParms
case missingAlgorithmParms
case invalidAttributeLabel
case missingAttributeLabel
case invalidAttributeKeyType
case missingAttributeKeyType
case invalidAttributeMode
case missingAttributeMode
case invalidAttributeEffectiveBits
case missingAttributeEffectiveBits
case invalidAttributeStartDate
case missingAttributeStartDate
case invalidAttributeEndDate
case missingAttributeEndDate
case invalidAttributeVersion
case missingAttributeVersion
case invalidAttributePrime
case missingAttributePrime
case invalidAttributeBase
case missingAttributeBase
case invalidAttributeSubprime
case missingAttributeSubprime
case invalidAttributeIterationCount
case missingAttributeIterationCount
case invalidAttributeDLDBHandle
case missingAttributeDLDBHandle
case invalidAttributeAccessCredentials
case missingAttributeAccessCredentials
case invalidAttributePublicKeyFormat
case missingAttributePublicKeyFormat
case invalidAttributePrivateKeyFormat
case missingAttributePrivateKeyFormat
case invalidAttributeSymmetricKeyFormat
case missingAttributeSymmetricKeyFormat
case invalidAttributeWrappedKeyFormat
case missingAttributeWrappedKeyFormat
case stagedOperationInProgress
case stagedOperationNotStarted
case verifyFailed
case querySizeUnknown
case blockSizeMismatch
case publicKeyInconsistent
case deviceVerifyFailed
case invalidLoginName
case alreadyLoggedIn
case invalidDigestAlgorithm
case invalidCRLGroup
case certificateCannotOperate
case certificateExpired
case certificateNotValidYet
case certificateRevoked
case certificateSuspended
case insufficientCredentials
case invalidAction
case invalidAuthority
case verifyActionFailed
case invalidCertAuthority
case invaldCRLAuthority
case invalidCRLEncoding
case invalidCRLType
case invalidCRL
case invalidFormType
case invalidID
case invalidIdentifier
case invalidIndex
case invalidPolicyIdentifiers
case invalidTimeString
case invalidReason
case invalidRequestInputs
case invalidResponseVector
case invalidStopOnPolicy
case invalidTuple
case multipleValuesUnsupported
case notTrusted
case noDefaultAuthority
case rejectedForm
case requestLost
case requestRejected
case unsupportedAddressType
case unsupportedService
case invalidTupleGroup
case invalidBaseACLs
case invalidTupleCredendtials
case invalidEncoding
case invalidValidityPeriod
case invalidRequestor
case requestDescriptor
case invalidBundleInfo
case invalidCRLIndex
case noFieldValues
case unsupportedFieldFormat
case unsupportedIndexInfo
case unsupportedLocality
case unsupportedNumAttributes
case unsupportedNumIndexes
case unsupportedNumRecordTypes
case fieldSpecifiedMultiple
case incompatibleFieldFormat
case invalidParsingModule
case databaseLocked
case datastoreIsOpen
case missingValue
case unsupportedQueryLimits
case unsupportedNumSelectionPreds
case unsupportedOperator
case invalidDBLocation
case invalidAccessRequest
case invalidIndexInfo
case invalidNewOwner
case invalidModifyMode
case missingRequiredExtension
case extendedKeyUsageNotCritical
case timestampMissing
case timestampInvalid
case timestampNotTrusted
case timestampServiceNotAvailable
case timestampBadAlg
case timestampBadRequest
case timestampBadDataFormat
case timestampTimeNotAvailable
case timestampUnacceptedPolicy
case timestampUnacceptedExtension
case timestampAddInfoNotAvailable
case timestampSystemFailure
case signingTimeMissing
case timestampRejection
case timestampWaiting
case timestampRevocationWarning
case timestampRevocationNotification
case unexpectedError
}
extension hhVDoctorSDK.Status : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init(status: Darwin.OSStatus)
public var description: Swift.String {
get
}
public init?(rawValue: Darwin.OSStatus)
public typealias RawValue = Darwin.OSStatus
public var rawValue: Darwin.OSStatus {
get
}
}
extension hhVDoctorSDK.Status : Foundation.CustomNSError {
public static let errorDomain: Swift.String
public var errorCode: Swift.Int {
get
}
public var errorUserInfo: [Swift.String : Any] {
get
}
}
@_hasMissingDesignatedInitializers public class LoginManager {
public static let `default`: hhVDoctorSDK.LoginManager
public var mUUID: Swift.Int?
public func userName() -> Swift.String
public func convert2Model() -> Swift.String?
public func getUserInfo() -> hhVDoctorSDK.HHUserModel?
public func hasLoginData() -> Swift.Bool
public func getUserInfo(token: Swift.String, success: ((_ model: Swift.String?) -> Swift.Void)? = nil, fail: ((_ message: Swift.String) -> Swift.Void)? = nil)
public func getUserInfoRequest(success: ((_ model: Swift.String?) -> Swift.Void)? = nil, fail: ((_ message: Swift.String) -> Swift.Void)? = nil)
@objc deinit
}
public protocol MapContext {
}
@_hasMissingDesignatedInitializers final public class Map {
final public subscript(key: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool?, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
@objc deinit
}
public protocol BaseMappable {
mutating func mapping(map: hhVDoctorSDK.Map)
}
public protocol Mappable : hhVDoctorSDK.BaseMappable {
init?(map: hhVDoctorSDK.Map)
}
final public class Mapper<N> where N : hhVDoctorSDK.BaseMappable {
final public var context: hhVDoctorSDK.MapContext?
final public var shouldIncludeNilValues: Swift.Bool
public init(context: hhVDoctorSDK.MapContext? = nil, shouldIncludeNilValues: Swift.Bool = false)
final public func map(JSONObject: Any?, toObject object: N) -> N
final public func map(JSONString: Swift.String, toObject object: N) -> N
final public func map(JSON: [Swift.String : Any], toObject object: N) -> N
final public func map(JSONString: Swift.String) -> N?
final public func map(JSONObject: Any?) -> N?
final public func map(JSON: [Swift.String : Any]) -> N?
final public func mapArray(JSONString: Swift.String) -> [N]?
final public func mapArray(JSONObject: Any?) -> [N]?
final public func mapArray(JSONArray: [[Swift.String : Any]]) -> [N]
final public func mapDictionary(JSONString: Swift.String) -> [Swift.String : N]?
final public func mapDictionary(JSONObject: Any?) -> [Swift.String : N]?
final public func mapDictionary(JSON: [Swift.String : [Swift.String : Any]]) -> [Swift.String : N]?
final public func mapDictionary(JSONObject: Any?, toDictionary dictionary: [Swift.String : N]) -> [Swift.String : N]
final public func mapDictionary(JSON: [Swift.String : [Swift.String : Any]], toDictionary dictionary: [Swift.String : N]) -> [Swift.String : N]
final public func mapDictionaryOfArrays(JSONObject: Any?) -> [Swift.String : [N]]?
final public func mapDictionaryOfArrays(JSON: [Swift.String : [[Swift.String : Any]]]) -> [Swift.String : [N]]?
final public func mapArrayOfArrays(JSONObject: Any?) -> [[N]]?
public static func parseJSONStringIntoDictionary(JSONString: Swift.String) -> [Swift.String : Any]?
public static func parseJSONString(JSONString: Swift.String) -> Any?
@objc deinit
}
final public class MD5 {
public init()
final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension hhVDoctorSDK.MD5 : hhVDoctorSDK.Updatable {
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
public protocol SDKRequest : hhVDoctorSDK.HHRequestConfig {
}
final public class OCB : hhVDoctorSDK.BlockMode {
public enum Mode {
case combined
case detached
public static func == (a: hhVDoctorSDK.OCB.Mode, b: hhVDoctorSDK.OCB.Mode) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
final public let options: hhVDoctorSDK.BlockModeOption
public enum Error : Swift.Error {
case invalidNonce
case fail
public static func == (a: hhVDoctorSDK.OCB.Error, b: hhVDoctorSDK.OCB.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
final public let customBlockSize: Swift.Int?
final public var authenticationTag: Swift.Array<Swift.UInt8>?
public init(nonce N: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: hhVDoctorSDK.OCB.Mode = .detached)
@inlinable convenience public init(nonce N: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: hhVDoctorSDK.OCB.Mode = .detached) {
self.init(nonce: N, additionalAuthenticatedData: additionalAuthenticatedData, tagLength: authenticationTag.count, mode: mode)
self.authenticationTag = authenticationTag
}
final public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
@objc deinit
}
public struct OFB : hhVDoctorSDK.BlockMode {
public enum Error : Swift.Error {
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.OFB.Error, b: hhVDoctorSDK.OFB.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init(iv: Swift.Array<Swift.UInt8>)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
infix operator <- : DefaultPrecedence
infix operator >>> : DefaultPrecedence
public func <- <T>(left: inout T, right: hhVDoctorSDK.Map)
public func >>> <T>(left: T, right: hhVDoctorSDK.Map)
public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map)
public func >>> <T>(left: T?, right: hhVDoctorSDK.Map)
public func <- <T>(left: inout T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public protocol PaddingProtocol {
func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
}
public enum Padding : hhVDoctorSDK.PaddingProtocol {
case noPadding, zeroPadding, pkcs7, pkcs5, iso78164
public func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
public func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
public static func == (a: hhVDoctorSDK.Padding, b: hhVDoctorSDK.Padding) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension hhVDoctorSDK.PKCS5 {
public struct PBKDF1 {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Error, b: hhVDoctorSDK.PKCS5.PBKDF1.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public enum Variant {
case md5, sha1
@usableFromInline
internal var size: Swift.Int {
get
}
@usableFromInline
internal func calculateHash(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Variant, b: hhVDoctorSDK.PKCS5.PBKDF1.Variant) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
@usableFromInline
internal let iterations: Swift.Int
@usableFromInline
internal let variant: hhVDoctorSDK.PKCS5.PBKDF1.Variant
@usableFromInline
internal let keyLength: Swift.Int
@usableFromInline
internal let t1: Swift.Array<Swift.UInt8>
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.PKCS5.PBKDF1.Variant = .sha1, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil) throws
@inlinable public func calculate() -> Swift.Array<Swift.UInt8> {
var t = self.t1
for _ in 2...self.iterations {
t = self.variant.calculateHash(t)
}
return Array(t[0..<self.keyLength])
}
}
}
extension hhVDoctorSDK.PKCS5 {
public struct PBKDF2 {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF2.Error, b: hhVDoctorSDK.PKCS5.PBKDF2.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil, variant: hhVDoctorSDK.HMAC.Variant = .sha256) throws
public func calculate() throws -> Swift.Array<Swift.UInt8>
}
}
public struct PCBC : hhVDoctorSDK.BlockMode {
public enum Error : Swift.Error {
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.PCBC.Error, b: hhVDoctorSDK.PCBC.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public let options: hhVDoctorSDK.BlockModeOption
public let customBlockSize: Swift.Int?
public init(iv: Swift.Array<Swift.UInt8>)
public func worker(blockSize: Swift.Int, cipherOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock, encryptionOperation: @escaping hhVDoctorSDK.CipherOperationOnBlock) throws -> hhVDoctorSDK.CipherModeWorker
}
@objc public enum PermissionType : Swift.Int {
case locationAlways
case locationWhenInUse
case microphone
case camera
case photos
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension hhVDoctorSDK.PermissionType : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
@_hasMissingDesignatedInitializers public class PhotoPicker {
public static func openCamera(config: hhVDoctorSDK.HHCameraConfig, capFinished: hhVDoctorSDK.onCapFinished? = nil)
public static func reduceImages(paths: [Swift.String], finished: @escaping (([Swift.String]) -> Swift.Void))
public class func changeAvatar(vc: UIKit.UIViewController, reference: UIKit.UIView? = nil, uuid: Swift.Int, imgClosure: @escaping (_ img: UIKit.UIImage) -> Swift.Void, keyClosure: @escaping (_ key: Swift.String) -> Swift.Void)
@objc deinit
}
extension hhVDoctorSDK.PhotoPicker {
public static func checkPermisstion(_ type: hhVDoctorSDK.PermissionType, authorized: (() -> Swift.Void)?, others: ((hhVDoctorSDK.PermissionType) -> Swift.Void)?)
public static func converSize(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize
}
@_hasMissingDesignatedInitializers public class PhotoPickerConfig {
public static let `default`: hhVDoctorSDK.PhotoPickerConfig
public var miniPicTip: Swift.Bool
public var mMaxSelectCount: Swift.Int
public var mDetailColumnCount: Swift.Int
@objc deinit
}
public enum PKCS5 {
}
public enum PKCS7 {
}
final public class Poly1305 : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case authenticateError
public static func == (a: hhVDoctorSDK.Poly1305.Error, b: hhVDoctorSDK.Poly1305.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public static let blockSize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>)
final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
final public class Rabbit {
public enum Error : Swift.Error {
case invalidKeyOrInitializationVector
public static func == (a: hhVDoctorSDK.Rabbit.Error, b: hhVDoctorSDK.Rabbit.Error) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public static let ivSize: Swift.Int
public static let keySize: Swift.Int
public static let blockSize: Swift.Int
final public var keySize: Swift.Int {
get
}
convenience public init(key: Swift.Array<Swift.UInt8>) throws
public init(key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>?) throws
@objc deinit
}
extension hhVDoctorSDK.Rabbit : hhVDoctorSDK.Cipher {
final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension hhVDoctorSDK.Rabbit {
convenience public init(key: Swift.String) throws
convenience public init(key: Swift.String, iv: Swift.String) throws
}
public enum ReachabilityError : Swift.Error {
case FailedToCreateWithAddress(Darwin.sockaddr_in)
case FailedToCreateWithHostname(Swift.String)
case UnableToSetCallback
case UnableToSetDispatchQueue
}
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
public class Reachability {
public typealias NetworkReachable = (hhVDoctorSDK.Reachability) -> ()
public typealias NetworkUnreachable = (hhVDoctorSDK.Reachability) -> ()
public enum NetworkStatus : Swift.CustomStringConvertible {
case notReachable, reachableViaWiFi, reachableViaWWAN
public var description: Swift.String {
get
}
public static func == (a: hhVDoctorSDK.Reachability.NetworkStatus, b: hhVDoctorSDK.Reachability.NetworkStatus) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public var whenReachable: hhVDoctorSDK.Reachability.NetworkReachable?
public var whenUnreachable: hhVDoctorSDK.Reachability.NetworkUnreachable?
public var reachableOnWWAN: Swift.Bool
public var currentReachabilityString: Swift.String {
get
}
public var currentReachabilityStatus: hhVDoctorSDK.Reachability.NetworkStatus {
get
}
required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability)
convenience public init?(hostname: Swift.String)
convenience public init?()
@objc deinit
}
extension hhVDoctorSDK.Reachability {
public func startNotifier() throws
public func stopNotifier()
public var isReachable: Swift.Bool {
get
}
public var isReachableViaWWAN: Swift.Bool {
get
}
public var isReachableViaWiFi: Swift.Bool {
get
}
public var description: Swift.String {
get
}
}
public struct RemoteData : hhVDoctorSDK.Mappable {
public var changeDoctorTime: Swift.Int
public init?(map: hhVDoctorSDK.Map)
public mutating func mapping(map: hhVDoctorSDK.Map)
}
final public class Scrypt {
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, dkLen: Swift.Int, N: Swift.Int, r: Swift.Int, p: Swift.Int) throws
final public func calculate() throws -> [Swift.UInt8]
@objc deinit
}
final public class SHA1 {
@usableFromInline
internal static let digestLength: Swift.Int
@usableFromInline
internal static let blockSize: Swift.Int
@usableFromInline
internal static let hashInitialValue: Swift.ContiguousArray<Swift.UInt32>
@usableFromInline
final internal var accumulated: [Swift.UInt8]
@usableFromInline
final internal var processedBytesTotalCount: Swift.Int
@usableFromInline
final internal var accumulatedHash: Swift.ContiguousArray<Swift.UInt32>
public init()
@inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
do {
return try update(withBytes: bytes.slice, isLast: true)
} catch {
return []
}
}
@usableFromInline
final internal func process(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.ContiguousArray<Swift.UInt32>)
@objc deinit
}
extension hhVDoctorSDK.SHA1 : hhVDoctorSDK.Updatable {
@discardableResult
@inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
self.accumulated += bytes
if isLast {
let lengthInBits = (processedBytesTotalCount + self.accumulated.count) * 8
let lengthBytes = lengthInBits.bytes(totalBytes: 64 / 8) // A 64-bit representation of b
// Step 1. Append padding
bitPadding(to: &self.accumulated, blockSize: SHA1.blockSize, allowance: 64 / 8)
// Step 2. Append Length a 64-bit representation of lengthInBits
self.accumulated += lengthBytes
}
var processedBytes = 0
for chunk in self.accumulated.batched(by: SHA1.blockSize) {
if isLast || (self.accumulated.count - processedBytes) >= SHA1.blockSize {
self.process(block: chunk, currentHash: &self.accumulatedHash)
processedBytes += chunk.count
}
}
self.accumulated.removeFirst(processedBytes)
self.processedBytesTotalCount += processedBytes
// output current hash
var result = Array<UInt8>(repeating: 0, count: SHA1.digestLength)
var pos = 0
for idx in 0..<self.accumulatedHash.count {
let h = self.accumulatedHash[idx]
result[pos + 0] = UInt8((h >> 24) & 0xff)
result[pos + 1] = UInt8((h >> 16) & 0xff)
result[pos + 2] = UInt8((h >> 8) & 0xff)
result[pos + 3] = UInt8(h & 0xff)
pos += 4
}
// reset hash value for instance
if isLast {
self.accumulatedHash = SHA1.hashInitialValue
}
return result
}
}
final public class SHA2 {
@usableFromInline
final internal let variant: hhVDoctorSDK.SHA2.Variant
@usableFromInline
final internal let size: Swift.Int
@usableFromInline
final internal let blockSize: Swift.Int
@usableFromInline
final internal let digestLength: Swift.Int
@usableFromInline
final internal var accumulated: [Swift.UInt8]
@usableFromInline
final internal var processedBytesTotalCount: Swift.Int
@usableFromInline
final internal var accumulatedHash32: [Swift.UInt32]
@usableFromInline
final internal var accumulatedHash64: [Swift.UInt64]
public enum Variant : Swift.RawRepresentable {
case sha224, sha256, sha384, sha512
public var digestLength: Swift.Int {
get
}
public var blockSize: Swift.Int {
get
}
public typealias RawValue = Swift.Int
public var rawValue: hhVDoctorSDK.SHA2.Variant.RawValue {
get
}
public init?(rawValue: hhVDoctorSDK.SHA2.Variant.RawValue)
@usableFromInline
internal var h: Swift.Array<Swift.UInt64> {
get
}
@usableFromInline
internal var finalLength: Swift.Int {
get
}
}
public init(variant: hhVDoctorSDK.SHA2.Variant)
@inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
do {
return try update(withBytes: bytes.slice, isLast: true)
} catch {
return []
}
}
@usableFromInline
final internal func process64(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.Array<Swift.UInt64>)
@usableFromInline
final internal func process32(block chunk: Swift.ArraySlice<Swift.UInt8>, currentHash hh: inout Swift.Array<Swift.UInt32>)
@objc deinit
}
extension hhVDoctorSDK.SHA2 : hhVDoctorSDK.Updatable {
@inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
self.accumulated += bytes
if isLast {
let lengthInBits = (processedBytesTotalCount + self.accumulated.count) * 8
let lengthBytes = lengthInBits.bytes(totalBytes: self.blockSize / 8) // A 64-bit/128-bit representation of b. blockSize fit by accident.
// Step 1. Append padding
bitPadding(to: &self.accumulated, blockSize: self.blockSize, allowance: self.blockSize / 8)
// Step 2. Append Length a 64-bit representation of lengthInBits
self.accumulated += lengthBytes
}
var processedBytes = 0
for chunk in self.accumulated.batched(by: self.blockSize) {
if isLast || (self.accumulated.count - processedBytes) >= self.blockSize {
switch self.variant {
case .sha224, .sha256:
self.process32(block: chunk, currentHash: &self.accumulatedHash32)
case .sha384, .sha512:
self.process64(block: chunk, currentHash: &self.accumulatedHash64)
@unknown default:
preconditionFailure()
}
processedBytes += chunk.count
}
}
self.accumulated.removeFirst(processedBytes)
self.processedBytesTotalCount += processedBytes
// output current hash
var result = Array<UInt8>(repeating: 0, count: variant.digestLength)
switch self.variant {
case .sha224, .sha256:
var pos = 0
for idx in 0..<self.accumulatedHash32.count where idx < self.variant.finalLength {
let h = accumulatedHash32[idx]
result[pos + 0] = UInt8((h >> 24) & 0xff)
result[pos + 1] = UInt8((h >> 16) & 0xff)
result[pos + 2] = UInt8((h >> 8) & 0xff)
result[pos + 3] = UInt8(h & 0xff)
pos += 4
}
case .sha384, .sha512:
var pos = 0
for idx in 0..<self.accumulatedHash64.count where idx < self.variant.finalLength {
let h = accumulatedHash64[idx]
result[pos + 0] = UInt8((h >> 56) & 0xff)
result[pos + 1] = UInt8((h >> 48) & 0xff)
result[pos + 2] = UInt8((h >> 40) & 0xff)
result[pos + 3] = UInt8((h >> 32) & 0xff)
result[pos + 4] = UInt8((h >> 24) & 0xff)
result[pos + 5] = UInt8((h >> 16) & 0xff)
result[pos + 6] = UInt8((h >> 8) & 0xff)
result[pos + 7] = UInt8(h & 0xff)
pos += 8
}
@unknown default:
preconditionFailure()
}
// reset hash value for instance
if isLast {
switch self.variant {
case .sha224, .sha256:
self.accumulatedHash32 = self.variant.h.lazy.map { UInt32($0) } // FIXME: UInt64 for process64
case .sha384, .sha512:
self.accumulatedHash64 = self.variant.h
@unknown default:
preconditionFailure()
}
}
return result
}
}
final public class SHA3 {
final public let blockSize: Swift.Int
final public let digestLength: Swift.Int
final public let markByte: Swift.UInt8
@usableFromInline
final internal var accumulated: [Swift.UInt8]
@usableFromInline
final internal var accumulatedHash: Swift.Array<Swift.UInt64>
public enum Variant {
case sha224, sha256, sha384, sha512, keccak224, keccak256, keccak384, keccak512
public var outputLength: Swift.Int {
get
}
public static func == (a: hhVDoctorSDK.SHA3.Variant, b: hhVDoctorSDK.SHA3.Variant) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public init(variant: hhVDoctorSDK.SHA3.Variant)
@inlinable final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> {
do {
return try update(withBytes: bytes.slice, isLast: true)
} catch {
return []
}
}
@usableFromInline
final internal func process(block chunk: Swift.ArraySlice<Swift.UInt64>, currentHash hh: inout Swift.Array<Swift.UInt64>)
@objc deinit
}
extension hhVDoctorSDK.SHA3 : hhVDoctorSDK.Updatable {
@inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
self.accumulated += bytes
if isLast {
// Add padding
let markByteIndex = self.accumulated.count
// We need to always pad the input. Even if the input is a multiple of blockSize.
let r = self.blockSize * 8
let q = (r / 8) - (accumulated.count % (r / 8))
self.accumulated += Array<UInt8>(repeating: 0, count: q)
self.accumulated[markByteIndex] |= self.markByte
self.accumulated[self.accumulated.count - 1] |= 0x80
}
var processedBytes = 0
for chunk in self.accumulated.batched(by: self.blockSize) {
if isLast || (self.accumulated.count - processedBytes) >= self.blockSize {
self.process(block: chunk.toUInt64Array().slice, currentHash: &self.accumulatedHash)
processedBytes += chunk.count
}
}
self.accumulated.removeFirst(processedBytes)
// TODO: verify performance, reduce vs for..in
let result = self.accumulatedHash.reduce(into: Array<UInt8>()) { (result, value) in
result += value.bigEndian.bytes()
}
// reset hash value for instance
if isLast {
self.accumulatedHash = Array<UInt64>(repeating: 0, count: self.digestLength)
}
return Array(result[0..<self.digestLength])
}
}
@usableFromInline
final internal class StreamDecryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
@usableFromInline
final internal let blockSize: Swift.Int
@usableFromInline
final internal var worker: hhVDoctorSDK.CipherModeWorker
@usableFromInline
final internal let padding: hhVDoctorSDK.Padding
@usableFromInline
final internal var accumulated: [Swift.UInt8]
@usableFromInline
final internal var lastBlockRemainder: Swift.Int
@usableFromInline
internal init(blockSize: Swift.Int, padding: hhVDoctorSDK.Padding, _ worker: hhVDoctorSDK.CipherModeWorker) throws
@inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8> {
self.accumulated += bytes
let toProcess = self.accumulated.prefix(max(self.accumulated.count - self.worker.additionalBufferSize, 0))
if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
// will truncate suffix if needed
try finalizingWorker.willDecryptLast(bytes: self.accumulated.slice)
}
var processedBytesCount = 0
var plaintext = Array<UInt8>(reserveCapacity: bytes.count + self.worker.additionalBufferSize)
for chunk in toProcess.batched(by: self.blockSize) {
plaintext += self.worker.decrypt(block: chunk)
processedBytesCount += chunk.count
}
if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
plaintext = Array(try finalizingWorker.didDecryptLast(bytes: plaintext.slice))
}
// omit unecessary calculation if not needed
if self.padding != .noPadding {
self.lastBlockRemainder = plaintext.count.quotientAndRemainder(dividingBy: self.blockSize).remainder
}
if isLast {
// CTR doesn't need padding. Really. Add padding to the last block if really want. but... don't.
plaintext = self.padding.remove(from: plaintext, blockSize: self.blockSize - self.lastBlockRemainder)
}
self.accumulated.removeFirst(processedBytesCount) // super-slow
if var finalizingWorker = worker as? FinalizingDecryptModeWorker, isLast == true {
plaintext = Array(try finalizingWorker.finalize(decrypt: plaintext.slice))
}
return plaintext
}
@inlinable final public func seek(to position: Swift.Int) throws {
guard var worker = self.worker as? SeekableModeWorker else {
fatalError("Not supported")
}
try worker.seek(to: position)
self.worker = worker
}
@objc @usableFromInline
deinit
}
@usableFromInline
final internal class StreamEncryptor : hhVDoctorSDK.Cryptor, hhVDoctorSDK.Updatable {
@usableFromInline
final internal let blockSize: Swift.Int
@usableFromInline
final internal var worker: hhVDoctorSDK.CipherModeWorker
@usableFromInline
final internal let padding: hhVDoctorSDK.Padding
@usableFromInline
final internal var lastBlockRemainder: Swift.Int
@usableFromInline
internal init(blockSize: Swift.Int, padding: hhVDoctorSDK.Padding, _ worker: hhVDoctorSDK.CipherModeWorker) throws
@inlinable final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8> {
var accumulated = Array(bytes)
if isLast {
// CTR doesn't need padding. Really. Add padding to the last block if really want. but... don't.
accumulated = self.padding.add(to: accumulated, blockSize: self.blockSize - self.lastBlockRemainder)
}
var encrypted = Array<UInt8>(reserveCapacity: bytes.count)
for chunk in accumulated.batched(by: self.blockSize) {
encrypted += self.worker.encrypt(block: chunk)
}
// omit unecessary calculation if not needed
if self.padding != .noPadding {
self.lastBlockRemainder = encrypted.count.quotientAndRemainder(dividingBy: self.blockSize).remainder
}
if var finalizingWorker = worker as? FinalizingEncryptModeWorker, isLast == true {
encrypted = Array(try finalizingWorker.finalize(encrypt: encrypted.slice))
}
return encrypted
}
@usableFromInline
final internal func seek(to: Swift.Int) throws
@objc @usableFromInline
deinit
}
extension Swift.String {
@inlinable public var bytes: Swift.Array<Swift.UInt8> {
get {
data(using: String.Encoding.utf8, allowLossyConversion: true)?.bytes ?? Array(utf8)
}
}
@inlinable public func md5() -> Swift.String {
self.bytes.md5().toHexString()
}
@inlinable public func sha1() -> Swift.String {
self.bytes.sha1().toHexString()
}
@inlinable public func sha224() -> Swift.String {
self.bytes.sha224().toHexString()
}
@inlinable public func sha256() -> Swift.String {
self.bytes.sha256().toHexString()
}
@inlinable public func sha384() -> Swift.String {
self.bytes.sha384().toHexString()
}
@inlinable public func sha512() -> Swift.String {
self.bytes.sha512().toHexString()
}
@inlinable public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Swift.String {
self.bytes.sha3(variant).toHexString()
}
@inlinable public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String {
self.bytes.crc32(seed: seed, reflect: reflect).bytes().toHexString()
}
@inlinable public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String {
self.bytes.crc32c(seed: seed, reflect: reflect).bytes().toHexString()
}
@inlinable public func crc16(seed: Swift.UInt16? = nil) -> Swift.String {
self.bytes.crc16(seed: seed).bytes().toHexString()
}
@inlinable public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String {
try self.bytes.encrypt(cipher: cipher).toHexString()
}
@inlinable public func encryptToBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String? {
try self.bytes.encrypt(cipher: cipher).toBase64()
}
@inlinable public func authenticate<A>(with authenticator: A) throws -> Swift.String where A : hhVDoctorSDK.Authenticator {
try self.bytes.authenticate(with: authenticator).toHexString()
}
}
extension Swift.String {
public func decryptBase64ToString(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String
public func decryptBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.Array<Swift.UInt8>
}
public enum hhToastPosition {
case top
case center
case bottom
public static func == (a: hhVDoctorSDK.hhToastPosition, b: hhVDoctorSDK.hhToastPosition) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
extension UIKit.UIView {
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, style: hhVDoctorSDK.hhToastStyle?)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, style: hhVDoctorSDK.hhToastStyle?)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String?, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle?, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func hhmakeToast(_ message: Swift.String?, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle?, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func hhshowToast(_ toast: UIKit.UIView)
@_Concurrency.MainActor(unsafe) public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, completion: ((_ didTap: Swift.Bool) -> Swift.Void)?)
@_Concurrency.MainActor(unsafe) public func hhmakeToastActivity(_ position: hhVDoctorSDK.hhToastPosition)
@_Concurrency.MainActor(unsafe) public func hhmakeToastActivity(_ position: CoreGraphics.CGPoint)
@_Concurrency.MainActor(unsafe) public func hhhideToastActivity()
@objc @_Concurrency.MainActor(unsafe) dynamic public func hhhandleToastTapped(_ recognizer: UIKit.UITapGestureRecognizer)
@objc @_Concurrency.MainActor(unsafe) dynamic public func hhtoastTimerDidFinish(_ timer: Foundation.Timer)
@_Concurrency.MainActor(unsafe) public func hhtoastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle) throws -> UIKit.UIView
}
public struct hhToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreGraphics.CGFloat {
get
set
}
public var maxHeightPercentage: CoreGraphics.CGFloat {
get
set
}
public var horizontalPadding: CoreGraphics.CGFloat
public var verticalPadding: CoreGraphics.CGFloat
public var cornerRadius: CoreGraphics.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreGraphics.CGFloat
public var shadowOffset: CoreGraphics.CGSize
public var imageSize: CoreGraphics.CGSize
public var activitySize: CoreGraphics.CGSize
public var fadeDuration: Swift.Double
}
public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Swift.Set<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Set<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Set<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Set<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public protocol TransformType {
associatedtype Object
associatedtype JSON
func transformFromJSON(_ value: Any?) -> Self.Object?
func transformToJSON(_ value: Self.Object?) -> Self.JSON?
}
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class TRTCManager : ObjectiveC.NSObject {
public static let `default`: hhVDoctorSDK.TRTCManager
@objc deinit
}
extension hhVDoctorSDK.TRTCManager {
public func isLogined() -> Swift.Bool
public func login(complete: @escaping hhVDoctorSDK.HHLoginHandler)
}
extension hhVDoctorSDK.TRTCManager : ImSDK.TIMMessageListener {
@objc dynamic public func onNewMessage(_ msgs: [Any]!)
}
extension hhVDoctorSDK.TRTCManager : ImSDK.TIMConnListener {
@objc dynamic public func onConnSucc()
@objc dynamic public func onConnFailed(_ code: Swift.Int32, err: Swift.String!)
@objc dynamic public func onDisconnect(_ code: Swift.Int32, err: Swift.String!)
}
extension hhVDoctorSDK.TRTCManager : TXLiteAVSDK_TRTC.TRTCCloudDelegate {
@objc dynamic public func onEnterRoom(_ result: Swift.Int)
@objc dynamic public func onError(_ errCode: TXLiteAVSDK_TRTC.TXLiteAVError, errMsg: Swift.String?, extInfo: [Swift.AnyHashable : Any]?)
}
extension hhVDoctorSDK.TRTCManager : TXLiteAVSDK_TRTC.TRTCLogDelegate {
@objc dynamic public func onLog(_ log: Swift.String?, logLevel level: TXLiteAVSDK_TRTC.TRTCLogLevel, whichModule module: Swift.String?)
}
extension hhVDoctorSDK.TRTCManager : ImSDK.TIMUserStatusListener {
@objc dynamic public func onForceOffline()
@objc dynamic public func onReConnFailed(_ code: Swift.Int32, err: Swift.String!)
@objc dynamic public func onUserSigExpired()
}
extension Swift.String {
public func subFrom(_ index: Swift.Int) -> Swift.String
}
extension Swift.UInt32 {
@_specialize(exported: false, kind: full, where T == Swift.ArraySlice<Swift.UInt8>)
@inlinable internal init<T>(bytes: T, fromIndex index: T.Index) where T : Swift.Collection, T.Element == Swift.UInt8, T.Index == Swift.Int {
if bytes.isEmpty {
self = 0
return
}
let count = bytes.count
let val0 = count > 0 ? UInt32(bytes[index.advanced(by: 0)]) << 24 : 0
let val1 = count > 1 ? UInt32(bytes[index.advanced(by: 1)]) << 16 : 0
let val2 = count > 2 ? UInt32(bytes[index.advanced(by: 2)]) << 8 : 0
let val3 = count > 3 ? UInt32(bytes[index.advanced(by: 3)]) : 0
self = val0 | val1 | val2 | val3
}
}
extension Swift.UInt64 {
@_specialize(exported: false, kind: full, where T == Swift.ArraySlice<Swift.UInt8>)
@inlinable internal init<T>(bytes: T, fromIndex index: T.Index) where T : Swift.Collection, T.Element == Swift.UInt8, T.Index == Swift.Int {
if bytes.isEmpty {
self = 0
return
}
let count = bytes.count
let val0 = count > 0 ? UInt64(bytes[index.advanced(by: 0)]) << 56 : 0
let val1 = count > 1 ? UInt64(bytes[index.advanced(by: 1)]) << 48 : 0
let val2 = count > 2 ? UInt64(bytes[index.advanced(by: 2)]) << 40 : 0
let val3 = count > 3 ? UInt64(bytes[index.advanced(by: 3)]) << 32 : 0
let val4 = count > 4 ? UInt64(bytes[index.advanced(by: 4)]) << 24 : 0
let val5 = count > 5 ? UInt64(bytes[index.advanced(by: 5)]) << 16 : 0
let val6 = count > 6 ? UInt64(bytes[index.advanced(by: 6)]) << 8 : 0
let val7 = count > 7 ? UInt64(bytes[index.advanced(by: 7)]) : 0
self = val0 | val1 | val2 | val3 | val4 | val5 | val6 | val7
}
}
public protocol _UInt8Type {
}
extension Swift.UInt8 : hhVDoctorSDK._UInt8Type {
}
extension Swift.UInt8 {
public func bits() -> [hhVDoctorSDK.Bit]
public func bits() -> Swift.String
}
public protocol Updatable {
mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws
}
extension hhVDoctorSDK.Updatable {
@inlinable public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
let processed = try update(withBytes: bytes, isLast: isLast)
if !processed.isEmpty {
output(processed)
}
}
@inlinable public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
try self.update(withBytes: bytes, isLast: isLast)
}
@inlinable public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> {
try self.update(withBytes: bytes.slice, isLast: isLast)
}
@inlinable public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
try self.update(withBytes: bytes.slice, isLast: isLast, output: output)
}
@inlinable public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
try self.update(withBytes: bytes, isLast: true)
}
@inlinable public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> {
try self.finish(withBytes: bytes.slice)
}
@inlinable public mutating func finish() throws -> Swift.Array<Swift.UInt8> {
try self.update(withBytes: [], isLast: true)
}
@inlinable public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
let processed = try update(withBytes: bytes, isLast: true)
if !processed.isEmpty {
output(processed)
}
}
@inlinable public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>, output: (_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
try self.finish(withBytes: bytes.slice, output: output)
}
@inlinable public mutating func finish(output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws {
try self.finish(withBytes: [], output: output)
}
}
public typealias onProgress = ((_ duration: CoreGraphics.CGFloat, _ file: Swift.String) -> Swift.Void)
public typealias onUploadOnce = ((_ isSuccess: Swift.Bool, _ asset: hhVDoctorSDK.HHUploadModel) -> Swift.Void)
public typealias onFinished = (() -> Swift.Void)
public class HHUploadConfig {
public var progress: hhVDoctorSDK.onProgress?
public var uploadOnce: hhVDoctorSDK.onUploadOnce?
public var finished: hhVDoctorSDK.onFinished?
public var orderId: Swift.String?
public init()
@objc deinit
}
public class HHUploadModel {
public var clouldKey: Swift.String?
public var filePath: Swift.String? {
get
set
}
public var smallImage: Swift.String
public var state: hhVDoctorSDK.UploadState?
public init()
public init(full: Swift.String?, scale: Swift.String)
public init(clouldKey: Swift.String?, filePath: Swift.String?, uploadTime: Foundation.TimeInterval?, name: Swift.String?, smallImage: Swift.String)
@objc deinit
}
@_hasMissingDesignatedInitializers public class UploadState {
public var file: Swift.String?
public var isSelect: Swift.Bool
public var changed: (() -> Swift.Void)?
public var progress: Swift.Float {
get
set
}
public func isSuccess() -> Swift.Bool
public func isFail() -> Swift.Bool
@objc deinit
}
@inlinable internal func rotateLeft(_ value: Swift.UInt8, by: Swift.UInt8) -> Swift.UInt8 {
((value << by) & 0xff) | (value >> (8 - by))
}
@inlinable internal func rotateLeft(_ value: Swift.UInt16, by: Swift.UInt16) -> Swift.UInt16 {
((value << by) & 0xffff) | (value >> (16 - by))
}
@inlinable internal func rotateLeft(_ value: Swift.UInt32, by: Swift.UInt32) -> Swift.UInt32 {
((value << by) & 0xffffffff) | (value >> (32 - by))
}
@inlinable internal func rotateLeft(_ value: Swift.UInt64, by: Swift.UInt64) -> Swift.UInt64 {
(value << by) | (value >> (64 - by))
}
@inlinable internal func rotateRight(_ value: Swift.UInt16, by: Swift.UInt16) -> Swift.UInt16 {
(value >> by) | (value << (16 - by))
}
@inlinable internal func rotateRight(_ value: Swift.UInt32, by: Swift.UInt32) -> Swift.UInt32 {
(value >> by) | (value << (32 - by))
}
@inlinable internal func rotateRight(_ value: Swift.UInt64, by: Swift.UInt64) -> Swift.UInt64 {
((value >> by) | (value << (64 - by)))
}
@inlinable internal func reversed(_ uint8: Swift.UInt8) -> Swift.UInt8 {
var v = uint8
v = (v & 0xf0) >> 4 | (v & 0x0f) << 4
v = (v & 0xcc) >> 2 | (v & 0x33) << 2
v = (v & 0xaa) >> 1 | (v & 0x55) << 1
return v
}
@inlinable internal func reversed(_ uint32: Swift.UInt32) -> Swift.UInt32 {
var v = uint32
v = ((v >> 1) & 0x55555555) | ((v & 0x55555555) << 1)
v = ((v >> 2) & 0x33333333) | ((v & 0x33333333) << 2)
v = ((v >> 4) & 0x0f0f0f0f) | ((v & 0x0f0f0f0f) << 4)
v = ((v >> 8) & 0x00ff00ff) | ((v & 0x00ff00ff) << 8)
v = ((v >> 16) & 0xffff) | ((v & 0xffff) << 16)
return v
}
@inlinable internal func xor<T, V>(_ left: T, _ right: V) -> Swift.ArraySlice<Swift.UInt8> where T : Swift.RandomAccessCollection, V : Swift.RandomAccessCollection, T.Element == Swift.UInt8, T.Index == Swift.Int, V.Element == Swift.UInt8, V.Index == Swift.Int {
return xor(left, right).slice
}
@inlinable internal func xor<T, V>(_ left: T, _ right: V) -> Swift.Array<Swift.UInt8> where T : Swift.RandomAccessCollection, V : Swift.RandomAccessCollection, T.Element == Swift.UInt8, T.Index == Swift.Int, V.Element == Swift.UInt8, V.Index == Swift.Int {
let length = Swift.min(left.count, right.count)
let buf = UnsafeMutablePointer<UInt8>.allocate(capacity: length)
buf.initialize(repeating: 0, count: length)
defer {
buf.deinitialize(count: length)
buf.deallocate()
}
// xor
for i in 0..<length {
buf[i] = left[left.startIndex.advanced(by: i)] ^ right[right.startIndex.advanced(by: i)]
}
return Array(UnsafeBufferPointer(start: buf, count: length))
}
@inline(__always) @inlinable internal func bitPadding(to data: inout Swift.Array<Swift.UInt8>, blockSize: Swift.Int, allowance: Swift.Int = 0) {
let msgLength = data.count
// Step 1. Append Padding Bits
// append one bit (UInt8 with one bit) to message
data.append(0x80)
// Step 2. append "0" bit until message length in bits ≡ 448 (mod 512)
let max = blockSize - allowance // 448, 986
if msgLength % blockSize < max { // 448
data += Array<UInt8>(repeating: 0, count: max - 1 - (msgLength % blockSize))
} else {
data += Array<UInt8>(repeating: 0, count: blockSize + max - 1 - (msgLength % blockSize))
}
}
@_hasMissingDesignatedInitializers public class WeakArray<T> {
public func add(_ delegate: T)
public func remove(_ delegate: T)
public func excute(_ block: @escaping ((T?) -> Swift.Void))
@objc deinit
}
extension hhVDoctorSDK.AES.Error : Swift.Equatable {}
extension hhVDoctorSDK.AES.Error : Swift.Hashable {}
extension hhVDoctorSDK.AES.Variant : Swift.Equatable {}
extension hhVDoctorSDK.AES.Variant : Swift.Hashable {}
extension hhVDoctorSDK.AES.Variant : Swift.RawRepresentable {}
extension hhVDoctorSDK.Bit : Swift.Equatable {}
extension hhVDoctorSDK.Bit : Swift.Hashable {}
extension hhVDoctorSDK.Bit : Swift.RawRepresentable {}
extension hhVDoctorSDK.Blowfish.Error : Swift.Equatable {}
extension hhVDoctorSDK.Blowfish.Error : Swift.Hashable {}
extension hhVDoctorSDK.CBC.Error : Swift.Equatable {}
extension hhVDoctorSDK.CBC.Error : Swift.Hashable {}
extension hhVDoctorSDK.CCM : hhVDoctorSDK.BlockMode {}
extension hhVDoctorSDK.CCM.Error : Swift.Equatable {}
extension hhVDoctorSDK.CCM.Error : Swift.Hashable {}
extension hhVDoctorSDK.CFB.Error : Swift.Equatable {}
extension hhVDoctorSDK.CFB.Error : Swift.Hashable {}
extension hhVDoctorSDK.CFB.SegmentSize : Swift.Equatable {}
extension hhVDoctorSDK.CFB.SegmentSize : Swift.Hashable {}
extension hhVDoctorSDK.CFB.SegmentSize : Swift.RawRepresentable {}
extension hhVDoctorSDK.ChaCha20.Error : Swift.Equatable {}
extension hhVDoctorSDK.ChaCha20.Error : Swift.Hashable {}
extension hhVDoctorSDK.CipherError : Swift.Equatable {}
extension hhVDoctorSDK.CipherError : Swift.Hashable {}
extension hhVDoctorSDK.CMAC.Error : Swift.Equatable {}
extension hhVDoctorSDK.CMAC.Error : Swift.Hashable {}
extension hhVDoctorSDK.CTR : hhVDoctorSDK.BlockMode {}
extension hhVDoctorSDK.CTR.Error : Swift.Equatable {}
extension hhVDoctorSDK.CTR.Error : Swift.Hashable {}
extension hhVDoctorSDK.DGElasticPullToRefreshState : Swift.Equatable {}
extension hhVDoctorSDK.DGElasticPullToRefreshState : Swift.Hashable {}
extension hhVDoctorSDK.DGElasticPullToRefreshState : Swift.RawRepresentable {}
extension hhVDoctorSDK.GCM.Mode : Swift.Equatable {}
extension hhVDoctorSDK.GCM.Mode : Swift.Hashable {}
extension hhVDoctorSDK.GCM.Error : Swift.Equatable {}
extension hhVDoctorSDK.GCM.Error : Swift.Hashable {}
extension hhVDoctorSDK.HHMediaType : Swift.Equatable {}
extension hhVDoctorSDK.HHMediaType : Swift.Hashable {}
extension hhVDoctorSDK.HHMediaType : Swift.RawRepresentable {}
extension hhVDoctorSDK.DateFormat : Swift.Equatable {}
extension hhVDoctorSDK.DateFormat : Swift.Hashable {}
extension hhVDoctorSDK.DateFormat : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Equatable {}
extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Hashable {}
extension hhVDoctorSDK.HHLogMode : Swift.Equatable {}
extension hhVDoctorSDK.HHLogMode : Swift.Hashable {}
extension hhVDoctorSDK.HHLogMode : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.Equatable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.Hashable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.RawRepresentable {}
extension hhVDoctorSDK.SkipType : Swift.Equatable {}
extension hhVDoctorSDK.SkipType : Swift.Hashable {}
extension hhVDoctorSDK.SkipType : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHCallType : Swift.Equatable {}
extension hhVDoctorSDK.HHCallType : Swift.Hashable {}
extension hhVDoctorSDK.HHCallType : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHMCallingState : Swift.Equatable {}
extension hhVDoctorSDK.HHMCallingState : Swift.Hashable {}
extension hhVDoctorSDK.HHMCallingState : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHRequestMethod : Swift.Equatable {}
extension hhVDoctorSDK.HHRequestMethod : Swift.Hashable {}
extension hhVDoctorSDK.HHServerType : Swift.Equatable {}
extension hhVDoctorSDK.HHServerType : Swift.Hashable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Equatable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Hashable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.RawRepresentable {}
extension hhVDoctorSDK.HKDF.Error : Swift.Equatable {}
extension hhVDoctorSDK.HKDF.Error : Swift.Hashable {}
extension hhVDoctorSDK.HMAC.Error : Swift.Equatable {}
extension hhVDoctorSDK.HMAC.Error : Swift.Hashable {}
extension hhVDoctorSDK.HMAC.Variant : Swift.Equatable {}
extension hhVDoctorSDK.HMAC.Variant : Swift.Hashable {}
extension hhVDoctorSDK.ItemClass : Swift.Equatable {}
extension hhVDoctorSDK.ItemClass : Swift.Hashable {}
extension hhVDoctorSDK.ProtocolType : Swift.Equatable {}
extension hhVDoctorSDK.ProtocolType : Swift.Hashable {}
extension hhVDoctorSDK.AuthenticationType : Swift.Equatable {}
extension hhVDoctorSDK.AuthenticationType : Swift.Hashable {}
extension hhVDoctorSDK.Accessibility : Swift.Equatable {}
extension hhVDoctorSDK.Accessibility : Swift.Hashable {}
extension hhVDoctorSDK.Status : Swift.Equatable {}
extension hhVDoctorSDK.Status : Swift.Hashable {}
extension hhVDoctorSDK.OCB.Mode : Swift.Equatable {}
extension hhVDoctorSDK.OCB.Mode : Swift.Hashable {}
extension hhVDoctorSDK.OCB.Error : Swift.Equatable {}
extension hhVDoctorSDK.OCB.Error : Swift.Hashable {}
extension hhVDoctorSDK.OFB.Error : Swift.Equatable {}
extension hhVDoctorSDK.OFB.Error : Swift.Hashable {}
extension hhVDoctorSDK.Padding : Swift.Equatable {}
extension hhVDoctorSDK.Padding : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Hashable {}
extension hhVDoctorSDK.PCBC.Error : Swift.Equatable {}
extension hhVDoctorSDK.PCBC.Error : Swift.Hashable {}
extension hhVDoctorSDK.PermissionType : Swift.Equatable {}
extension hhVDoctorSDK.PermissionType : Swift.Hashable {}
extension hhVDoctorSDK.PermissionType : Swift.RawRepresentable {}
extension hhVDoctorSDK.Poly1305.Error : Swift.Equatable {}
extension hhVDoctorSDK.Poly1305.Error : Swift.Hashable {}
extension hhVDoctorSDK.Rabbit.Error : Swift.Equatable {}
extension hhVDoctorSDK.Rabbit.Error : Swift.Hashable {}
extension hhVDoctorSDK.Reachability.NetworkStatus : Swift.Equatable {}
extension hhVDoctorSDK.Reachability.NetworkStatus : Swift.Hashable {}
extension hhVDoctorSDK.SHA2.Variant : Swift.Equatable {}
extension hhVDoctorSDK.SHA2.Variant : Swift.Hashable {}
extension hhVDoctorSDK.SHA3.Variant : Swift.Equatable {}
extension hhVDoctorSDK.SHA3.Variant : Swift.Hashable {}
extension hhVDoctorSDK.hhToastPosition : Swift.Equatable {}
extension hhVDoctorSDK.hhToastPosition : Swift.Hashable {}