Assembly-CSharp45.cpp 2.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. #include <stdint.h>
  9. struct VirtualActionInvoker0
  10. {
  11. typedef void (*Action)(void*, const RuntimeMethod*);
  12. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  13. {
  14. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  15. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  16. }
  17. };
  18. template <typename T1>
  19. struct VirtualActionInvoker1
  20. {
  21. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  22. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  23. {
  24. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  25. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  26. }
  27. };
  28. template <typename T1, typename T2>
  29. struct VirtualActionInvoker2
  30. {
  31. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  32. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
  33. {
  34. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  35. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  36. }
  37. };
  38. template <typename T1, typename T2, typename T3>
  39. struct VirtualActionInvoker3
  40. {
  41. typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
  42. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
  43. {
  44. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  45. ((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
  46. }
  47. };
  48. template <typename T1, typename T2, typename T3, typename T4>
  49. struct VirtualActionInvoker4
  50. {
  51. typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
  52. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
  53. {
  54. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  55. ((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
  56. }
  57. };
  58. template <typename R>
  59. struct VirtualFuncInvoker0
  60. {
  61. typedef R (*Func)(void*, const RuntimeMethod*);
  62. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  63. {
  64. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  65. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  66. }
  67. };
  68. template <typename R, typename T1>
  69. struct VirtualFuncInvoker1
  70. {
  71. typedef R (*Func)(void*, T1, const RuntimeMethod*);
  72. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  73. {
  74. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  75. return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
  76. }
  77. };
  78. template <typename R, typename T1, typename T2>
  79. struct VirtualFuncInvoker2
  80. {
  81. typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
  82. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
  83. {
  84. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  85. return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  86. }
  87. };
  88. template <typename R, typename T1, typename T2, typename T3>
  89. struct VirtualFuncInvoker3
  90. {
  91. typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
  92. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
  93. {
  94. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  95. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
  96. }
  97. };
  98. template <typename R, typename T1, typename T2, typename T3, typename T4>
  99. struct VirtualFuncInvoker4
  100. {
  101. typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
  102. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
  103. {
  104. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  105. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
  106. }
  107. };
  108. template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
  109. struct VirtualFuncInvoker5
  110. {
  111. typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
  112. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
  113. {
  114. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  115. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
  116. }
  117. };
  118. template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
  119. struct VirtualFuncInvoker7
  120. {
  121. typedef R (*Func)(void*, T1, T2, T3, T4, T5, T6, T7, const RuntimeMethod*);
  122. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7)
  123. {
  124. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  125. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, p6, p7, invokeData.method);
  126. }
  127. };
  128. struct InterfaceActionInvoker0
  129. {
  130. typedef void (*Action)(void*, const RuntimeMethod*);
  131. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  132. {
  133. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  134. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  135. }
  136. };
  137. template <typename T1>
  138. struct InterfaceActionInvoker1
  139. {
  140. typedef void (*Action)(void*, T1, const RuntimeMethod*);
  141. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
  142. {
  143. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  144. ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
  145. }
  146. };
  147. template <typename T1, typename T2>
  148. struct InterfaceActionInvoker2
  149. {
  150. typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
  151. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
  152. {
  153. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  154. ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  155. }
  156. };
  157. template <typename T1, typename T2, typename T3>
  158. struct InterfaceActionInvoker3
  159. {
  160. typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
  161. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
  162. {
  163. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  164. ((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
  165. }
  166. };
  167. template <typename T1, typename T2, typename T3, typename T4>
  168. struct InterfaceActionInvoker4
  169. {
  170. typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
  171. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
  172. {
  173. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  174. ((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
  175. }
  176. };
  177. template <typename R>
  178. struct InterfaceFuncInvoker0
  179. {
  180. typedef R (*Func)(void*, const RuntimeMethod*);
  181. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  182. {
  183. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  184. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  185. }
  186. };
  187. template <typename R, typename T1>
  188. struct InterfaceFuncInvoker1
  189. {
  190. typedef R (*Func)(void*, T1, const RuntimeMethod*);
  191. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
  192. {
  193. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  194. return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
  195. }
  196. };
  197. template <typename R, typename T1, typename T2>
  198. struct InterfaceFuncInvoker2
  199. {
  200. typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
  201. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
  202. {
  203. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  204. return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
  205. }
  206. };
  207. template <typename R, typename T1, typename T2, typename T3, typename T4>
  208. struct InterfaceFuncInvoker4
  209. {
  210. typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
  211. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
  212. {
  213. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  214. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
  215. }
  216. };
  217. template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
  218. struct InterfaceFuncInvoker5
  219. {
  220. typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
  221. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
  222. {
  223. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  224. return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
  225. }
  226. };
  227. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>>
  228. struct Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929;
  229. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>>
  230. struct Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD;
  231. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.AnimationData>
  232. struct Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6;
  233. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ArmatureData>
  234. struct Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290;
  235. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BoneData>
  236. struct Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569;
  237. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BonePose>
  238. struct Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155;
  239. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ConstraintData>
  240. struct Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8;
  241. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SkinData>
  242. struct Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3;
  243. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SlotData>
  244. struct Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE;
  245. // System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<DragonBones.BaseObject>>
  246. struct Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC;
  247. // System.Collections.Generic.Dictionary`2<System.Type,System.UInt32>
  248. struct Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188;
  249. // System.Collections.Generic.List`1<DragonBones.ActionData>
  250. struct List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4;
  251. // System.Collections.Generic.List`1<DragonBones.Bone>
  252. struct List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A;
  253. // System.Collections.Generic.List`1<DragonBones.BoneData>
  254. struct List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA;
  255. // System.Collections.Generic.List`1<DragonBones.BoneTimelineState>
  256. struct List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52;
  257. // System.Collections.Generic.List`1<System.Boolean>
  258. struct List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3;
  259. // System.Collections.Generic.List`1<DragonBones.Constraint>
  260. struct List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6;
  261. // System.Collections.Generic.List`1<DragonBones.ConstraintTimelineState>
  262. struct List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E;
  263. // System.Collections.Generic.List`1<DragonBones.EventObject>
  264. struct List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA;
  265. // System.Collections.Generic.List`1<System.Single>
  266. struct List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA;
  267. // System.Collections.Generic.List`1<DragonBones.Slot>
  268. struct List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2;
  269. // System.Collections.Generic.List`1<DragonBones.SlotData>
  270. struct List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE;
  271. // System.Collections.Generic.List`1<DragonBones.SlotTimelineState>
  272. struct List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443;
  273. // System.Collections.Generic.List`1<System.String>
  274. struct List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3;
  275. // System.Collections.Generic.List`1<DragonBones.TimelineState>
  276. struct List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17;
  277. // System.Collections.Generic.List`1<System.UInt32>
  278. struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731;
  279. // System.Threading.Tasks.Task`1<System.Int32>
  280. struct Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725;
  281. // System.Byte[][]
  282. struct ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D;
  283. // System.Int32[][]
  284. struct Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF;
  285. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[]
  286. struct BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED;
  287. // System.Boolean[]
  288. struct BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C;
  289. // System.Byte[]
  290. struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
  291. // System.Char[]
  292. struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
  293. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier[]
  294. struct DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F;
  295. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[]
  296. struct ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E;
  297. // System.Int16[]
  298. struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
  299. // System.Int32[]
  300. struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
  301. // System.Int64[]
  302. struct Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6;
  303. // System.IntPtr[]
  304. struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
  305. // System.Single[]
  306. struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
  307. // System.Diagnostics.StackTrace[]
  308. struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
  309. // System.String[]
  310. struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
  311. // System.UInt16[]
  312. struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67;
  313. // System.UInt32[]
  314. struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF;
  315. // System.UInt64[]
  316. struct UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2;
  317. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure[]
  318. struct X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58;
  319. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext
  320. struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836;
  321. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange
  322. struct AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA;
  323. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner
  324. struct AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1;
  325. // DragonBones.ActionTimelineState
  326. struct ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B;
  327. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Adler32
  328. struct Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2;
  329. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters
  330. struct AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64;
  331. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
  332. struct AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9;
  333. // DragonBones.AnimationDB
  334. struct AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A;
  335. // DragonBones.AnimationData
  336. struct AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9;
  337. // DragonBones.AnimationState
  338. struct AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E;
  339. // System.ArgumentException
  340. struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00;
  341. // System.ArgumentNullException
  342. struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB;
  343. // DragonBones.Armature
  344. struct Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD;
  345. // DragonBones.ArmatureData
  346. struct ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2;
  347. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
  348. struct AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929;
  349. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter
  350. struct AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A;
  351. // DragonBones.BaseObject
  352. struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424;
  353. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream
  354. struct BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D;
  355. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger
  356. struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9;
  357. // DragonBones.BlendState
  358. struct BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE;
  359. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue
  360. struct ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471;
  361. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream
  362. struct ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8;
  363. // DragonBones.CanvasData
  364. struct CanvasData_t378879F059E749546F485846D8FC31F4A489A774;
  365. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate
  366. struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E;
  367. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest
  368. struct CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620;
  369. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus
  370. struct CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3;
  371. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest
  372. struct CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30;
  373. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash
  374. struct CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82;
  375. // UnityEngine.Component
  376. struct Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684;
  377. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement
  378. struct DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99;
  379. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator
  380. struct DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519;
  381. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters
  382. struct DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553;
  383. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters
  384. struct DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626;
  385. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters
  386. struct DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C;
  387. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters
  388. struct DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F;
  389. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters
  390. struct DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862;
  391. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHValidationParameters
  392. struct DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B;
  393. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier
  394. struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1;
  395. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Deflate
  396. struct Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169;
  397. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString
  398. struct DerBitString_t305465793A47445626D3541AB8CEDE347D874524;
  399. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier
  400. struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8;
  401. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer
  402. struct DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A;
  403. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned
  404. struct DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288;
  405. // DragonBones.DragonBones
  406. struct DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D;
  407. // DragonBones.DragonBonesData
  408. struct DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6;
  409. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner
  410. struct DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55;
  411. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters
  412. struct DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81;
  413. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters
  414. struct DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245;
  415. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner
  416. struct DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22;
  417. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve
  418. struct ECCurve_t850A42EEB1867F313B111B5A75430D443165B926;
  419. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement
  420. struct ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914;
  421. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters
  422. struct ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC;
  423. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner
  424. struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760;
  425. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Endo.ECEndomorphism
  426. struct ECEndomorphism_tC94CEDEA023268D74990A2B2C08487E5D3DE2F7E;
  427. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement
  428. struct ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117;
  429. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters
  430. struct ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565;
  431. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator
  432. struct ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D;
  433. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters
  434. struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141;
  435. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier
  436. struct ECMultiplier_t157DBBD8C0030BD905D93F22A7EDD2DD8AF2C0AC;
  437. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint
  438. struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA;
  439. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters
  440. struct ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029;
  441. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters
  442. struct ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB;
  443. // System.IO.EndOfStreamException
  444. struct EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059;
  445. // System.Exception
  446. struct Exception_t;
  447. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve
  448. struct F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15;
  449. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mPoint
  450. struct F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F;
  451. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve
  452. struct FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8;
  453. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpPoint
  454. struct FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278;
  455. // UnityEngine.GameObject
  456. struct GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319;
  457. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner
  458. struct GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E;
  459. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac
  460. struct HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B;
  461. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator
  462. struct HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E;
  463. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension
  464. struct HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7;
  465. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher
  466. struct IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E;
  467. // DragonBones.IArmatureProxy
  468. struct IArmatureProxy_t264634E14E2F74A501F20AF6A1F3C30F58ADE2D6;
  469. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher
  470. struct IAsymmetricBlockCipher_tD85974B803F5DD17452DA8A4405647D1B2942F23;
  471. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher
  472. struct IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA;
  473. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters
  474. struct ICipherParameters_t34CE1534DC151ED2EAE336C7381B86567D158F03;
  475. // System.Collections.IDictionary
  476. struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
  477. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest
  478. struct IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6;
  479. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa
  480. struct IDsa_tC562A77682146D4D0C2A08CDC84191FF987D1270;
  481. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaEncoding
  482. struct IDsaEncoding_t23B673213D9BC239133EE9D68497EA04B1080A25;
  483. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator
  484. struct IDsaKCalculator_tF50AA36AFBA3B4D88C26A1C64ECF2E23FF6A11E2;
  485. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField
  486. struct IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C;
  487. // System.Collections.IList
  488. struct IList_tB15A9D6625D09661D6E47976BB626C703EC81910;
  489. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac
  490. struct IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C;
  491. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable
  492. struct IMemoable_tCAA06406EC7801BBF87BFBDB788638640A87D5BC;
  493. // System.IO.IOException
  494. struct IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA;
  495. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator
  496. struct IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A;
  497. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IRsa
  498. struct IRsa_t5A726381CECF18A2B9E14F74788E42C24FD7D46F;
  499. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner
  500. struct ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA;
  501. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Inflate
  502. struct Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638;
  503. // System.InvalidOperationException
  504. struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB;
  505. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters
  506. struct KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39;
  507. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter
  508. struct KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC;
  509. // System.IO.MemoryStream
  510. struct MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C;
  511. // UnityEngine.MonoBehaviour
  512. struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A;
  513. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket
  514. struct NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF;
  515. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest
  516. struct NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82;
  517. // UnityEngine.Object
  518. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A;
  519. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV
  520. struct ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0;
  521. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom
  522. struct ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC;
  523. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding
  524. struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818;
  525. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion
  526. struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915;
  527. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream
  528. struct RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E;
  529. // DragonBones.Rectangle
  530. struct Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E;
  531. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine
  532. struct RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2;
  533. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner
  534. struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC;
  535. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
  536. struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801;
  537. // System.Runtime.Serialization.SafeSerializationManager
  538. struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
  539. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom
  540. struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28;
  541. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters
  542. struct SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803;
  543. // System.Threading.SemaphoreSlim
  544. struct SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385;
  545. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList
  546. struct ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676;
  547. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters
  548. struct SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D;
  549. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm
  550. struct SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25;
  551. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer
  552. struct SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF;
  553. // DragonBones.SkinData
  554. struct SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8;
  555. // DragonBones.Slot
  556. struct Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE;
  557. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac
  558. struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E;
  559. // System.IO.Stream
  560. struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB;
  561. // System.String
  562. struct String_t;
  563. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo
  564. struct SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB;
  565. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry
  566. struct SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7;
  567. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TbsCertificateStructure
  568. struct TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3;
  569. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream
  570. struct TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C;
  571. // DragonBones.TextureAtlasData
  572. struct TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1;
  573. // UnityStandardAssets.Utility.TimedObjectDestructor
  574. struct TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993;
  575. // DragonBones.TimelineData
  576. struct TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D;
  577. // DragonBones.TimelineState
  578. struct TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696;
  579. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times
  580. struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F;
  581. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher
  582. struct TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342;
  583. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials
  584. struct TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7;
  585. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication
  586. struct TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542;
  587. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher
  588. struct TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1;
  589. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher
  590. struct TlsCipher_t5712DE46CB373D72FA5DDFDBC21DB15309ACA191;
  591. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient
  592. struct TlsClient_tADD26470896CB199F4C404BD9550034A74297513;
  593. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl
  594. struct TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF;
  595. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol
  596. struct TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967;
  597. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression
  598. struct TlsCompression_tF3A24709C14F149989D3AC05D919AA3B4A8160B3;
  599. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext
  600. struct TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB;
  601. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials
  602. struct TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7;
  603. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange
  604. struct TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54;
  605. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities
  606. struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC;
  607. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier
  608. struct TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3;
  609. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression
  610. struct TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9;
  611. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange
  612. struct TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD;
  613. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner
  614. struct TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436;
  615. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner
  616. struct TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48;
  617. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange
  618. struct TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827;
  619. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange
  620. struct TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B;
  621. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner
  622. struct TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA;
  623. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities
  624. struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD;
  625. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials
  626. struct TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1;
  627. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException
  628. struct TlsException_t1732743E62B1390C3072EA484D216C08D2C75983;
  629. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities
  630. struct TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247;
  631. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert
  632. struct TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946;
  633. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived
  634. struct TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D;
  635. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash
  636. struct TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1;
  637. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange
  638. struct TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807;
  639. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac
  640. struct TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C;
  641. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException
  642. struct TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A;
  643. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher
  644. struct TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3;
  645. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression
  646. struct TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82;
  647. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer
  648. struct TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348;
  649. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol
  650. struct TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69;
  651. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler
  652. struct TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA;
  653. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity
  654. struct TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794;
  655. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager
  656. struct TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD;
  657. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange
  658. struct TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A;
  659. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange
  660. struct TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E;
  661. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner
  662. struct TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88;
  663. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities
  664. struct TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE;
  665. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils
  666. struct TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597;
  667. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer
  668. struct TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57;
  669. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl
  670. struct TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930;
  671. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol
  672. struct TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733;
  673. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession
  674. struct TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0;
  675. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl
  676. struct TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2;
  677. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner
  678. struct TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921;
  679. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials
  680. struct TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C;
  681. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream
  682. struct TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A;
  683. // UnityEngine.Transform
  684. struct Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1;
  685. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData
  686. struct UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935;
  687. // DragonBones.UserData
  688. struct UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A;
  689. // System.Void
  690. struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
  691. // DragonBones.WorldClock
  692. struct WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8;
  693. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure
  694. struct X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1;
  695. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters
  696. struct X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639;
  697. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint
  698. struct X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71;
  699. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9FieldID
  700. struct X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8;
  701. // DragonBones.ZOrderTimelineState
  702. struct ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF;
  703. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream
  704. struct ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C;
  705. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber
  706. struct SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175;
  707. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder
  708. struct Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917;
  709. // System.IO.Stream/ReadWriteTask
  710. struct ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974;
  711. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream
  712. struct DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0;
  713. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage
  714. struct HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F;
  715. IL2CPP_EXTERN_C RuntimeClass* AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var;
  716. IL2CPP_EXTERN_C RuntimeClass* AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var;
  717. IL2CPP_EXTERN_C RuntimeClass* ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var;
  718. IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var;
  719. IL2CPP_EXTERN_C RuntimeClass* Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var;
  720. IL2CPP_EXTERN_C RuntimeClass* BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var;
  721. IL2CPP_EXTERN_C RuntimeClass* BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var;
  722. IL2CPP_EXTERN_C RuntimeClass* Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var;
  723. IL2CPP_EXTERN_C RuntimeClass* ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var;
  724. IL2CPP_EXTERN_C RuntimeClass* ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var;
  725. IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var;
  726. IL2CPP_EXTERN_C RuntimeClass* Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var;
  727. IL2CPP_EXTERN_C RuntimeClass* CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var;
  728. IL2CPP_EXTERN_C RuntimeClass* CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var;
  729. IL2CPP_EXTERN_C RuntimeClass* DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var;
  730. IL2CPP_EXTERN_C RuntimeClass* DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var;
  731. IL2CPP_EXTERN_C RuntimeClass* DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var;
  732. IL2CPP_EXTERN_C RuntimeClass* DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var;
  733. IL2CPP_EXTERN_C RuntimeClass* DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var;
  734. IL2CPP_EXTERN_C RuntimeClass* DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var;
  735. IL2CPP_EXTERN_C RuntimeClass* DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var;
  736. IL2CPP_EXTERN_C RuntimeClass* DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var;
  737. IL2CPP_EXTERN_C RuntimeClass* DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var;
  738. IL2CPP_EXTERN_C RuntimeClass* DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var;
  739. IL2CPP_EXTERN_C RuntimeClass* DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var;
  740. IL2CPP_EXTERN_C RuntimeClass* DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var;
  741. IL2CPP_EXTERN_C RuntimeClass* DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var;
  742. IL2CPP_EXTERN_C RuntimeClass* DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var;
  743. IL2CPP_EXTERN_C RuntimeClass* DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var;
  744. IL2CPP_EXTERN_C RuntimeClass* ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var;
  745. IL2CPP_EXTERN_C RuntimeClass* ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var;
  746. IL2CPP_EXTERN_C RuntimeClass* ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var;
  747. IL2CPP_EXTERN_C RuntimeClass* ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var;
  748. IL2CPP_EXTERN_C RuntimeClass* ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var;
  749. IL2CPP_EXTERN_C RuntimeClass* ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var;
  750. IL2CPP_EXTERN_C RuntimeClass* ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var;
  751. IL2CPP_EXTERN_C RuntimeClass* EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059_il2cpp_TypeInfo_var;
  752. IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
  753. IL2CPP_EXTERN_C RuntimeClass* ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var;
  754. IL2CPP_EXTERN_C RuntimeClass* F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var;
  755. IL2CPP_EXTERN_C RuntimeClass* FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var;
  756. IL2CPP_EXTERN_C RuntimeClass* GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var;
  757. IL2CPP_EXTERN_C RuntimeClass* HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var;
  758. IL2CPP_EXTERN_C RuntimeClass* HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var;
  759. IL2CPP_EXTERN_C RuntimeClass* HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var;
  760. IL2CPP_EXTERN_C RuntimeClass* Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var;
  761. IL2CPP_EXTERN_C RuntimeClass* IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var;
  762. IL2CPP_EXTERN_C RuntimeClass* IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var;
  763. IL2CPP_EXTERN_C RuntimeClass* ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var;
  764. IL2CPP_EXTERN_C RuntimeClass* IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var;
  765. IL2CPP_EXTERN_C RuntimeClass* IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var;
  766. IL2CPP_EXTERN_C RuntimeClass* IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var;
  767. IL2CPP_EXTERN_C RuntimeClass* IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var;
  768. IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var;
  769. IL2CPP_EXTERN_C RuntimeClass* IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C_il2cpp_TypeInfo_var;
  770. IL2CPP_EXTERN_C RuntimeClass* IList_tB15A9D6625D09661D6E47976BB626C703EC81910_il2cpp_TypeInfo_var;
  771. IL2CPP_EXTERN_C RuntimeClass* IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var;
  772. IL2CPP_EXTERN_C RuntimeClass* IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var;
  773. IL2CPP_EXTERN_C RuntimeClass* IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var;
  774. IL2CPP_EXTERN_C RuntimeClass* IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var;
  775. IL2CPP_EXTERN_C RuntimeClass* IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var;
  776. IL2CPP_EXTERN_C RuntimeClass* ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var;
  777. IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
  778. IL2CPP_EXTERN_C RuntimeClass* InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463_il2cpp_TypeInfo_var;
  779. IL2CPP_EXTERN_C RuntimeClass* InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D_il2cpp_TypeInfo_var;
  780. IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var;
  781. IL2CPP_EXTERN_C RuntimeClass* KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var;
  782. IL2CPP_EXTERN_C RuntimeClass* LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var;
  783. IL2CPP_EXTERN_C RuntimeClass* MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var;
  784. IL2CPP_EXTERN_C RuntimeClass* Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var;
  785. IL2CPP_EXTERN_C RuntimeClass* MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var;
  786. IL2CPP_EXTERN_C RuntimeClass* NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var;
  787. IL2CPP_EXTERN_C RuntimeClass* Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var;
  788. IL2CPP_EXTERN_C RuntimeClass* ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var;
  789. IL2CPP_EXTERN_C RuntimeClass* ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var;
  790. IL2CPP_EXTERN_C RuntimeClass* Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var;
  791. IL2CPP_EXTERN_C RuntimeClass* Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var;
  792. IL2CPP_EXTERN_C RuntimeClass* ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var;
  793. IL2CPP_EXTERN_C RuntimeClass* RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var;
  794. IL2CPP_EXTERN_C RuntimeClass* RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var;
  795. IL2CPP_EXTERN_C RuntimeClass* RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var;
  796. IL2CPP_EXTERN_C RuntimeClass* RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var;
  797. IL2CPP_EXTERN_C RuntimeClass* SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var;
  798. IL2CPP_EXTERN_C RuntimeClass* SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var;
  799. IL2CPP_EXTERN_C RuntimeClass* Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var;
  800. IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var;
  801. IL2CPP_EXTERN_C RuntimeClass* SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var;
  802. IL2CPP_EXTERN_C RuntimeClass* TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var;
  803. IL2CPP_EXTERN_C RuntimeClass* Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var;
  804. IL2CPP_EXTERN_C RuntimeClass* TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var;
  805. IL2CPP_EXTERN_C RuntimeClass* TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var;
  806. IL2CPP_EXTERN_C RuntimeClass* TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var;
  807. IL2CPP_EXTERN_C RuntimeClass* TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var;
  808. IL2CPP_EXTERN_C RuntimeClass* TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var;
  809. IL2CPP_EXTERN_C RuntimeClass* TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var;
  810. IL2CPP_EXTERN_C RuntimeClass* TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var;
  811. IL2CPP_EXTERN_C RuntimeClass* TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3_il2cpp_TypeInfo_var;
  812. IL2CPP_EXTERN_C RuntimeClass* TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var;
  813. IL2CPP_EXTERN_C RuntimeClass* TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var;
  814. IL2CPP_EXTERN_C RuntimeClass* TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var;
  815. IL2CPP_EXTERN_C RuntimeClass* TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var;
  816. IL2CPP_EXTERN_C RuntimeClass* TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D_il2cpp_TypeInfo_var;
  817. IL2CPP_EXTERN_C RuntimeClass* TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var;
  818. IL2CPP_EXTERN_C RuntimeClass* TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var;
  819. IL2CPP_EXTERN_C RuntimeClass* TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var;
  820. IL2CPP_EXTERN_C RuntimeClass* TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var;
  821. IL2CPP_EXTERN_C RuntimeClass* TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var;
  822. IL2CPP_EXTERN_C RuntimeClass* TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var;
  823. IL2CPP_EXTERN_C RuntimeClass* TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var;
  824. IL2CPP_EXTERN_C RuntimeClass* TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var;
  825. IL2CPP_EXTERN_C RuntimeClass* TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var;
  826. IL2CPP_EXTERN_C RuntimeClass* TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var;
  827. IL2CPP_EXTERN_C RuntimeClass* TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var;
  828. IL2CPP_EXTERN_C RuntimeClass* TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var;
  829. IL2CPP_EXTERN_C RuntimeClass* TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var;
  830. IL2CPP_EXTERN_C RuntimeClass* TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var;
  831. IL2CPP_EXTERN_C RuntimeClass* TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var;
  832. IL2CPP_EXTERN_C RuntimeClass* TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var;
  833. IL2CPP_EXTERN_C RuntimeClass* TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var;
  834. IL2CPP_EXTERN_C RuntimeClass* UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var;
  835. IL2CPP_EXTERN_C RuntimeClass* ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var;
  836. IL2CPP_EXTERN_C String_t* _stringLiteral01535C3A4EAE804DC02CB15CE4D83CCCFA82D872;
  837. IL2CPP_EXTERN_C String_t* _stringLiteral0CDD452B2C2336D2C4DE572858BA380389E9CC5B;
  838. IL2CPP_EXTERN_C String_t* _stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE;
  839. IL2CPP_EXTERN_C String_t* _stringLiteral190F59210696C8475CFA176585CFF1622879DBE1;
  840. IL2CPP_EXTERN_C String_t* _stringLiteral1CA53064AC037645AEB61E213593B732DEA39811;
  841. IL2CPP_EXTERN_C String_t* _stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69;
  842. IL2CPP_EXTERN_C String_t* _stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C;
  843. IL2CPP_EXTERN_C String_t* _stringLiteral294687797ABDD257E21658BA5C1227138C09DD53;
  844. IL2CPP_EXTERN_C String_t* _stringLiteral2C4D71076EDBBCCA2E9D07081C00234E302AEF79;
  845. IL2CPP_EXTERN_C String_t* _stringLiteral2F72190F9E764CFA6673369A9C490B95A085AFF0;
  846. IL2CPP_EXTERN_C String_t* _stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98;
  847. IL2CPP_EXTERN_C String_t* _stringLiteral344D51DD192D0862CE0E9711FD4A3E4B873165CB;
  848. IL2CPP_EXTERN_C String_t* _stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D;
  849. IL2CPP_EXTERN_C String_t* _stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB;
  850. IL2CPP_EXTERN_C String_t* _stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252;
  851. IL2CPP_EXTERN_C String_t* _stringLiteral411A64854237B0AD4EE521F452B977C964D0C11F;
  852. IL2CPP_EXTERN_C String_t* _stringLiteral456163A21AEEF94F6A4BF779794AB694A79B40C1;
  853. IL2CPP_EXTERN_C String_t* _stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0;
  854. IL2CPP_EXTERN_C String_t* _stringLiteral4E05F5E4D1E688C1EA07D3556298D06AC8B37E2B;
  855. IL2CPP_EXTERN_C String_t* _stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43;
  856. IL2CPP_EXTERN_C String_t* _stringLiteral5250BA63551725419B95C420601F0567BA750D2F;
  857. IL2CPP_EXTERN_C String_t* _stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4;
  858. IL2CPP_EXTERN_C String_t* _stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80;
  859. IL2CPP_EXTERN_C String_t* _stringLiteral6B72FA35D4EDE9CDE7DB7A03F8847CC07EACFF93;
  860. IL2CPP_EXTERN_C String_t* _stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256;
  861. IL2CPP_EXTERN_C String_t* _stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42;
  862. IL2CPP_EXTERN_C String_t* _stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC;
  863. IL2CPP_EXTERN_C String_t* _stringLiteral860394B6123C56DF23862D0E8E5C111DAA5373E7;
  864. IL2CPP_EXTERN_C String_t* _stringLiteral884724CC95307DD596874FA08EE010892E4A183C;
  865. IL2CPP_EXTERN_C String_t* _stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4;
  866. IL2CPP_EXTERN_C String_t* _stringLiteral91EB9A41A3555C40AF9D99A5C03E2C5EE594DA43;
  867. IL2CPP_EXTERN_C String_t* _stringLiteral9321FD50B206A4430EA7A890E40061232A9C2BD2;
  868. IL2CPP_EXTERN_C String_t* _stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644;
  869. IL2CPP_EXTERN_C String_t* _stringLiteral9F89FBEA2D349D4A3C6BC61466CA166C572D5AC7;
  870. IL2CPP_EXTERN_C String_t* _stringLiteralA04466B10E83D10F494805142BC26E01FC2FAB6E;
  871. IL2CPP_EXTERN_C String_t* _stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7;
  872. IL2CPP_EXTERN_C String_t* _stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B;
  873. IL2CPP_EXTERN_C String_t* _stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E;
  874. IL2CPP_EXTERN_C String_t* _stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D;
  875. IL2CPP_EXTERN_C String_t* _stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C;
  876. IL2CPP_EXTERN_C String_t* _stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71;
  877. IL2CPP_EXTERN_C String_t* _stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303;
  878. IL2CPP_EXTERN_C String_t* _stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78;
  879. IL2CPP_EXTERN_C String_t* _stringLiteralAE246C9E6549E0B6B82491683E4A61128F0E8131;
  880. IL2CPP_EXTERN_C String_t* _stringLiteralAF56843B4028CD637013BC262E54C485F386B807;
  881. IL2CPP_EXTERN_C String_t* _stringLiteralB0A3497D5BED2CF28F1583DF6E3B1EF34D0E5099;
  882. IL2CPP_EXTERN_C String_t* _stringLiteralB2CAB479468CF767096ACC4632C28817AA097913;
  883. IL2CPP_EXTERN_C String_t* _stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD;
  884. IL2CPP_EXTERN_C String_t* _stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E;
  885. IL2CPP_EXTERN_C String_t* _stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442;
  886. IL2CPP_EXTERN_C String_t* _stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5;
  887. IL2CPP_EXTERN_C String_t* _stringLiteralBDF96DF3EAF79369A531DDAF5811FC3B39F11FEC;
  888. IL2CPP_EXTERN_C String_t* _stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2;
  889. IL2CPP_EXTERN_C String_t* _stringLiteralC4DD6340633814C3151204675FB9D82D4702E319;
  890. IL2CPP_EXTERN_C String_t* _stringLiteralD220CDF0569B079DA9155148CBAAD45EEA57A983;
  891. IL2CPP_EXTERN_C String_t* _stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26;
  892. IL2CPP_EXTERN_C String_t* _stringLiteralD7DAD16955D2DF014C7B8CD1EFB4EB61C01BABE4;
  893. IL2CPP_EXTERN_C String_t* _stringLiteralDB77F5662969C68C9C6D5ECF666ADD5C9D634441;
  894. IL2CPP_EXTERN_C String_t* _stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC;
  895. IL2CPP_EXTERN_C String_t* _stringLiteralE7ABFF9F62676E7B9EF244C1CD1C83FA6AD2F1B3;
  896. IL2CPP_EXTERN_C String_t* _stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084;
  897. IL2CPP_EXTERN_C String_t* _stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C;
  898. IL2CPP_EXTERN_C String_t* _stringLiteralF2CCF1E7FF46A317D4B9ADE22CC36C02BB238336;
  899. IL2CPP_EXTERN_C String_t* _stringLiteralF304F86AAE3300AAF6CC1D68596A5C135E98DA7F;
  900. IL2CPP_EXTERN_C String_t* _stringLiteralF43EEDBB08A088CD7B0F2B40B4DE6C94C2A1FB0C;
  901. IL2CPP_EXTERN_C String_t* _stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813;
  902. IL2CPP_EXTERN_C String_t* _stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034;
  903. IL2CPP_EXTERN_C const RuntimeMethod* Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var;
  904. IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_RuntimeMethod_var;
  905. IL2CPP_EXTERN_C const RuntimeMethod* TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19_RuntimeMethod_var;
  906. IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var;
  907. IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var;
  908. IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var;
  909. IL2CPP_EXTERN_C const RuntimeMethod* TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var;
  910. IL2CPP_EXTERN_C const RuntimeMethod* TlsBlockCipher__ctor_mFF4377D1F46CE5D20AE89B4EFDDF99C372CC3A08_RuntimeMethod_var;
  911. IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var;
  912. IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var;
  913. IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var;
  914. IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A_RuntimeMethod_var;
  915. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB_RuntimeMethod_var;
  916. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE_RuntimeMethod_var;
  917. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var;
  918. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var;
  919. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F_RuntimeMethod_var;
  920. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE_RuntimeMethod_var;
  921. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var;
  922. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3_RuntimeMethod_var;
  923. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77_RuntimeMethod_var;
  924. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51_RuntimeMethod_var;
  925. IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B_RuntimeMethod_var;
  926. IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD_RuntimeMethod_var;
  927. IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785_RuntimeMethod_var;
  928. IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61_RuntimeMethod_var;
  929. IL2CPP_EXTERN_C const RuntimeMethod* TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var;
  930. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5_RuntimeMethod_var;
  931. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208_RuntimeMethod_var;
  932. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var;
  933. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var;
  934. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5_RuntimeMethod_var;
  935. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15_RuntimeMethod_var;
  936. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var;
  937. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D_RuntimeMethod_var;
  938. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902_RuntimeMethod_var;
  939. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908_RuntimeMethod_var;
  940. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056_RuntimeMethod_var;
  941. IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C_RuntimeMethod_var;
  942. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88_RuntimeMethod_var;
  943. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49_RuntimeMethod_var;
  944. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9_RuntimeMethod_var;
  945. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var;
  946. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362_RuntimeMethod_var;
  947. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24_RuntimeMethod_var;
  948. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615_RuntimeMethod_var;
  949. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var;
  950. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var;
  951. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B_RuntimeMethod_var;
  952. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var;
  953. IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C_RuntimeMethod_var;
  954. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985_RuntimeMethod_var;
  955. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884_RuntimeMethod_var;
  956. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246_RuntimeMethod_var;
  957. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086_RuntimeMethod_var;
  958. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC_RuntimeMethod_var;
  959. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var;
  960. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21_RuntimeMethod_var;
  961. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var;
  962. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE_RuntimeMethod_var;
  963. IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160_RuntimeMethod_var;
  964. IL2CPP_EXTERN_C const RuntimeMethod* TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var;
  965. IL2CPP_EXTERN_C const RuntimeMethod* TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var;
  966. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135_RuntimeMethod_var;
  967. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6_RuntimeMethod_var;
  968. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB_RuntimeMethod_var;
  969. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733_RuntimeMethod_var;
  970. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var;
  971. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2_RuntimeMethod_var;
  972. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5_RuntimeMethod_var;
  973. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var;
  974. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8_RuntimeMethod_var;
  975. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E_RuntimeMethod_var;
  976. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var;
  977. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var;
  978. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var;
  979. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var;
  980. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787_RuntimeMethod_var;
  981. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var;
  982. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var;
  983. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649_RuntimeMethod_var;
  984. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadInput_m821F828B96E180B52B278F1E9D8CD2DCC55C7247_RuntimeMethod_var;
  985. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadOutput_mF64CE8A336C80C6C7F048A721A0F0F4A27B62744_RuntimeMethod_var;
  986. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24_RuntimeMethod_var;
  987. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var;
  988. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var;
  989. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var;
  990. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE_RuntimeMethod_var;
  991. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_WriteData_m2A2ECAABD80A44BCD27764FF07C7A9ADCF01419B_RuntimeMethod_var;
  992. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_WriteHandshakeMessage_m59149BE5A93B0D651A1AA6F1460292D73C08F563_RuntimeMethod_var;
  993. IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15_RuntimeMethod_var;
  994. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var;
  995. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var;
  996. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F_RuntimeMethod_var;
  997. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF_RuntimeMethod_var;
  998. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A_RuntimeMethod_var;
  999. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var;
  1000. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3_RuntimeMethod_var;
  1001. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45_RuntimeMethod_var;
  1002. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F_RuntimeMethod_var;
  1003. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3_RuntimeMethod_var;
  1004. IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2_RuntimeMethod_var;
  1005. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420_RuntimeMethod_var;
  1006. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862_RuntimeMethod_var;
  1007. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var;
  1008. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72_RuntimeMethod_var;
  1009. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310_RuntimeMethod_var;
  1010. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E_RuntimeMethod_var;
  1011. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D_RuntimeMethod_var;
  1012. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var;
  1013. IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD_RuntimeMethod_var;
  1014. IL2CPP_EXTERN_C const RuntimeMethod* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A_RuntimeMethod_var;
  1015. IL2CPP_EXTERN_C const RuntimeMethod* TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var;
  1016. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var;
  1017. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9_RuntimeMethod_var;
  1018. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var;
  1019. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var;
  1020. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var;
  1021. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var;
  1022. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF_RuntimeMethod_var;
  1023. IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var;
  1024. struct Exception_t_marshaled_com;
  1025. struct Exception_t_marshaled_pinvoke;
  1026. struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
  1027. struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
  1028. struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
  1029. struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
  1030. struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
  1031. struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67;
  1032. struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF;
  1033. IL2CPP_EXTERN_C_BEGIN
  1034. IL2CPP_EXTERN_C_END
  1035. #ifdef __clang__
  1036. #pragma clang diagnostic push
  1037. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1038. #pragma clang diagnostic ignored "-Wunused-variable"
  1039. #endif
  1040. // System.Object
  1041. // System.Collections.Generic.List`1<System.UInt32>
  1042. struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 : public RuntimeObject
  1043. {
  1044. public:
  1045. // T[] System.Collections.Generic.List`1::_items
  1046. UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* ____items_1;
  1047. // System.Int32 System.Collections.Generic.List`1::_size
  1048. int32_t ____size_2;
  1049. // System.Int32 System.Collections.Generic.List`1::_version
  1050. int32_t ____version_3;
  1051. // System.Object System.Collections.Generic.List`1::_syncRoot
  1052. RuntimeObject * ____syncRoot_4;
  1053. public:
  1054. inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____items_1)); }
  1055. inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* get__items_1() const { return ____items_1; }
  1056. inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF** get_address_of__items_1() { return &____items_1; }
  1057. inline void set__items_1(UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* value)
  1058. {
  1059. ____items_1 = value;
  1060. Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
  1061. }
  1062. inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____size_2)); }
  1063. inline int32_t get__size_2() const { return ____size_2; }
  1064. inline int32_t* get_address_of__size_2() { return &____size_2; }
  1065. inline void set__size_2(int32_t value)
  1066. {
  1067. ____size_2 = value;
  1068. }
  1069. inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____version_3)); }
  1070. inline int32_t get__version_3() const { return ____version_3; }
  1071. inline int32_t* get_address_of__version_3() { return &____version_3; }
  1072. inline void set__version_3(int32_t value)
  1073. {
  1074. ____version_3 = value;
  1075. }
  1076. inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____syncRoot_4)); }
  1077. inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
  1078. inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
  1079. inline void set__syncRoot_4(RuntimeObject * value)
  1080. {
  1081. ____syncRoot_4 = value;
  1082. Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
  1083. }
  1084. };
  1085. struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731_StaticFields
  1086. {
  1087. public:
  1088. // T[] System.Collections.Generic.List`1::_emptyArray
  1089. UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* ____emptyArray_5;
  1090. public:
  1091. inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731_StaticFields, ____emptyArray_5)); }
  1092. inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* get__emptyArray_5() const { return ____emptyArray_5; }
  1093. inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF** get_address_of__emptyArray_5() { return &____emptyArray_5; }
  1094. inline void set__emptyArray_5(UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* value)
  1095. {
  1096. ____emptyArray_5 = value;
  1097. Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
  1098. }
  1099. };
  1100. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext
  1101. struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 : public RuntimeObject
  1102. {
  1103. public:
  1104. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mNonceRandom
  1105. RuntimeObject* ___mNonceRandom_1;
  1106. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSecureRandom
  1107. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___mSecureRandom_2;
  1108. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSecurityParameters
  1109. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___mSecurityParameters_3;
  1110. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mClientVersion
  1111. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mClientVersion_4;
  1112. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mServerVersion
  1113. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mServerVersion_5;
  1114. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSession
  1115. RuntimeObject* ___mSession_6;
  1116. // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mUserObject
  1117. RuntimeObject * ___mUserObject_7;
  1118. public:
  1119. inline static int32_t get_offset_of_mNonceRandom_1() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mNonceRandom_1)); }
  1120. inline RuntimeObject* get_mNonceRandom_1() const { return ___mNonceRandom_1; }
  1121. inline RuntimeObject** get_address_of_mNonceRandom_1() { return &___mNonceRandom_1; }
  1122. inline void set_mNonceRandom_1(RuntimeObject* value)
  1123. {
  1124. ___mNonceRandom_1 = value;
  1125. Il2CppCodeGenWriteBarrier((void**)(&___mNonceRandom_1), (void*)value);
  1126. }
  1127. inline static int32_t get_offset_of_mSecureRandom_2() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSecureRandom_2)); }
  1128. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_mSecureRandom_2() const { return ___mSecureRandom_2; }
  1129. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_mSecureRandom_2() { return &___mSecureRandom_2; }
  1130. inline void set_mSecureRandom_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  1131. {
  1132. ___mSecureRandom_2 = value;
  1133. Il2CppCodeGenWriteBarrier((void**)(&___mSecureRandom_2), (void*)value);
  1134. }
  1135. inline static int32_t get_offset_of_mSecurityParameters_3() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSecurityParameters_3)); }
  1136. inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * get_mSecurityParameters_3() const { return ___mSecurityParameters_3; }
  1137. inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 ** get_address_of_mSecurityParameters_3() { return &___mSecurityParameters_3; }
  1138. inline void set_mSecurityParameters_3(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * value)
  1139. {
  1140. ___mSecurityParameters_3 = value;
  1141. Il2CppCodeGenWriteBarrier((void**)(&___mSecurityParameters_3), (void*)value);
  1142. }
  1143. inline static int32_t get_offset_of_mClientVersion_4() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mClientVersion_4)); }
  1144. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mClientVersion_4() const { return ___mClientVersion_4; }
  1145. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mClientVersion_4() { return &___mClientVersion_4; }
  1146. inline void set_mClientVersion_4(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  1147. {
  1148. ___mClientVersion_4 = value;
  1149. Il2CppCodeGenWriteBarrier((void**)(&___mClientVersion_4), (void*)value);
  1150. }
  1151. inline static int32_t get_offset_of_mServerVersion_5() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mServerVersion_5)); }
  1152. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mServerVersion_5() const { return ___mServerVersion_5; }
  1153. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mServerVersion_5() { return &___mServerVersion_5; }
  1154. inline void set_mServerVersion_5(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  1155. {
  1156. ___mServerVersion_5 = value;
  1157. Il2CppCodeGenWriteBarrier((void**)(&___mServerVersion_5), (void*)value);
  1158. }
  1159. inline static int32_t get_offset_of_mSession_6() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSession_6)); }
  1160. inline RuntimeObject* get_mSession_6() const { return ___mSession_6; }
  1161. inline RuntimeObject** get_address_of_mSession_6() { return &___mSession_6; }
  1162. inline void set_mSession_6(RuntimeObject* value)
  1163. {
  1164. ___mSession_6 = value;
  1165. Il2CppCodeGenWriteBarrier((void**)(&___mSession_6), (void*)value);
  1166. }
  1167. inline static int32_t get_offset_of_mUserObject_7() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mUserObject_7)); }
  1168. inline RuntimeObject * get_mUserObject_7() const { return ___mUserObject_7; }
  1169. inline RuntimeObject ** get_address_of_mUserObject_7() { return &___mUserObject_7; }
  1170. inline void set_mUserObject_7(RuntimeObject * value)
  1171. {
  1172. ___mUserObject_7 = value;
  1173. Il2CppCodeGenWriteBarrier((void**)(&___mUserObject_7), (void*)value);
  1174. }
  1175. };
  1176. struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_StaticFields
  1177. {
  1178. public:
  1179. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::counter
  1180. int64_t ___counter_0;
  1181. public:
  1182. inline static int32_t get_offset_of_counter_0() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_StaticFields, ___counter_0)); }
  1183. inline int64_t get_counter_0() const { return ___counter_0; }
  1184. inline int64_t* get_address_of_counter_0() { return &___counter_0; }
  1185. inline void set_counter_0(int64_t value)
  1186. {
  1187. ___counter_0 = value;
  1188. }
  1189. };
  1190. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange
  1191. struct AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA : public RuntimeObject
  1192. {
  1193. public:
  1194. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mKeyExchange
  1195. int32_t ___mKeyExchange_0;
  1196. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mSupportedSignatureAlgorithms
  1197. RuntimeObject* ___mSupportedSignatureAlgorithms_1;
  1198. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mContext
  1199. RuntimeObject* ___mContext_2;
  1200. public:
  1201. inline static int32_t get_offset_of_mKeyExchange_0() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mKeyExchange_0)); }
  1202. inline int32_t get_mKeyExchange_0() const { return ___mKeyExchange_0; }
  1203. inline int32_t* get_address_of_mKeyExchange_0() { return &___mKeyExchange_0; }
  1204. inline void set_mKeyExchange_0(int32_t value)
  1205. {
  1206. ___mKeyExchange_0 = value;
  1207. }
  1208. inline static int32_t get_offset_of_mSupportedSignatureAlgorithms_1() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mSupportedSignatureAlgorithms_1)); }
  1209. inline RuntimeObject* get_mSupportedSignatureAlgorithms_1() const { return ___mSupportedSignatureAlgorithms_1; }
  1210. inline RuntimeObject** get_address_of_mSupportedSignatureAlgorithms_1() { return &___mSupportedSignatureAlgorithms_1; }
  1211. inline void set_mSupportedSignatureAlgorithms_1(RuntimeObject* value)
  1212. {
  1213. ___mSupportedSignatureAlgorithms_1 = value;
  1214. Il2CppCodeGenWriteBarrier((void**)(&___mSupportedSignatureAlgorithms_1), (void*)value);
  1215. }
  1216. inline static int32_t get_offset_of_mContext_2() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mContext_2)); }
  1217. inline RuntimeObject* get_mContext_2() const { return ___mContext_2; }
  1218. inline RuntimeObject** get_address_of_mContext_2() { return &___mContext_2; }
  1219. inline void set_mContext_2(RuntimeObject* value)
  1220. {
  1221. ___mContext_2 = value;
  1222. Il2CppCodeGenWriteBarrier((void**)(&___mContext_2), (void*)value);
  1223. }
  1224. };
  1225. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner
  1226. struct AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 : public RuntimeObject
  1227. {
  1228. public:
  1229. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner::mContext
  1230. RuntimeObject* ___mContext_0;
  1231. public:
  1232. inline static int32_t get_offset_of_mContext_0() { return static_cast<int32_t>(offsetof(AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1, ___mContext_0)); }
  1233. inline RuntimeObject* get_mContext_0() const { return ___mContext_0; }
  1234. inline RuntimeObject** get_address_of_mContext_0() { return &___mContext_0; }
  1235. inline void set_mContext_0(RuntimeObject* value)
  1236. {
  1237. ___mContext_0 = value;
  1238. Il2CppCodeGenWriteBarrier((void**)(&___mContext_0), (void*)value);
  1239. }
  1240. };
  1241. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters
  1242. struct AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 : public RuntimeObject
  1243. {
  1244. public:
  1245. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::associatedText
  1246. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___associatedText_0;
  1247. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::nonce
  1248. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___nonce_1;
  1249. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::key
  1250. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * ___key_2;
  1251. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::macSize
  1252. int32_t ___macSize_3;
  1253. public:
  1254. inline static int32_t get_offset_of_associatedText_0() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___associatedText_0)); }
  1255. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_associatedText_0() const { return ___associatedText_0; }
  1256. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_associatedText_0() { return &___associatedText_0; }
  1257. inline void set_associatedText_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1258. {
  1259. ___associatedText_0 = value;
  1260. Il2CppCodeGenWriteBarrier((void**)(&___associatedText_0), (void*)value);
  1261. }
  1262. inline static int32_t get_offset_of_nonce_1() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___nonce_1)); }
  1263. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_nonce_1() const { return ___nonce_1; }
  1264. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_nonce_1() { return &___nonce_1; }
  1265. inline void set_nonce_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1266. {
  1267. ___nonce_1 = value;
  1268. Il2CppCodeGenWriteBarrier((void**)(&___nonce_1), (void*)value);
  1269. }
  1270. inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___key_2)); }
  1271. inline KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * get_key_2() const { return ___key_2; }
  1272. inline KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC ** get_address_of_key_2() { return &___key_2; }
  1273. inline void set_key_2(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * value)
  1274. {
  1275. ___key_2 = value;
  1276. Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
  1277. }
  1278. inline static int32_t get_offset_of_macSize_3() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___macSize_3)); }
  1279. inline int32_t get_macSize_3() const { return ___macSize_3; }
  1280. inline int32_t* get_address_of_macSize_3() { return &___macSize_3; }
  1281. inline void set_macSize_3(int32_t value)
  1282. {
  1283. ___macSize_3 = value;
  1284. }
  1285. };
  1286. struct Il2CppArrayBounds;
  1287. // System.Array
  1288. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable
  1289. struct Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC : public RuntimeObject
  1290. {
  1291. public:
  1292. public:
  1293. };
  1294. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
  1295. struct AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 : public RuntimeObject
  1296. {
  1297. public:
  1298. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::publicParameter
  1299. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicParameter_0;
  1300. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::privateParameter
  1301. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateParameter_1;
  1302. public:
  1303. inline static int32_t get_offset_of_publicParameter_0() { return static_cast<int32_t>(offsetof(AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929, ___publicParameter_0)); }
  1304. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_publicParameter_0() const { return ___publicParameter_0; }
  1305. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_publicParameter_0() { return &___publicParameter_0; }
  1306. inline void set_publicParameter_0(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  1307. {
  1308. ___publicParameter_0 = value;
  1309. Il2CppCodeGenWriteBarrier((void**)(&___publicParameter_0), (void*)value);
  1310. }
  1311. inline static int32_t get_offset_of_privateParameter_1() { return static_cast<int32_t>(offsetof(AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929, ___privateParameter_1)); }
  1312. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_privateParameter_1() const { return ___privateParameter_1; }
  1313. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_privateParameter_1() { return &___privateParameter_1; }
  1314. inline void set_privateParameter_1(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  1315. {
  1316. ___privateParameter_1 = value;
  1317. Il2CppCodeGenWriteBarrier((void**)(&___privateParameter_1), (void*)value);
  1318. }
  1319. };
  1320. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter
  1321. struct AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A : public RuntimeObject
  1322. {
  1323. public:
  1324. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter::privateKey
  1325. bool ___privateKey_0;
  1326. public:
  1327. inline static int32_t get_offset_of_privateKey_0() { return static_cast<int32_t>(offsetof(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A, ___privateKey_0)); }
  1328. inline bool get_privateKey_0() const { return ___privateKey_0; }
  1329. inline bool* get_address_of_privateKey_0() { return &___privateKey_0; }
  1330. inline void set_privateKey_0(bool value)
  1331. {
  1332. ___privateKey_0 = value;
  1333. }
  1334. };
  1335. // DragonBones.BaseObject
  1336. struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424 : public RuntimeObject
  1337. {
  1338. public:
  1339. // System.UInt32 DragonBones.BaseObject::hashCode
  1340. uint32_t ___hashCode_4;
  1341. public:
  1342. inline static int32_t get_offset_of_hashCode_4() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424, ___hashCode_4)); }
  1343. inline uint32_t get_hashCode_4() const { return ___hashCode_4; }
  1344. inline uint32_t* get_address_of_hashCode_4() { return &___hashCode_4; }
  1345. inline void set_hashCode_4(uint32_t value)
  1346. {
  1347. ___hashCode_4 = value;
  1348. }
  1349. };
  1350. struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields
  1351. {
  1352. public:
  1353. // System.UInt32 DragonBones.BaseObject::_hashCode
  1354. uint32_t ____hashCode_0;
  1355. // System.UInt32 DragonBones.BaseObject::_defaultMaxCount
  1356. uint32_t ____defaultMaxCount_1;
  1357. // System.Collections.Generic.Dictionary`2<System.Type,System.UInt32> DragonBones.BaseObject::_maxCountMap
  1358. Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * ____maxCountMap_2;
  1359. // System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<DragonBones.BaseObject>> DragonBones.BaseObject::_poolsMap
  1360. Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * ____poolsMap_3;
  1361. public:
  1362. inline static int32_t get_offset_of__hashCode_0() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____hashCode_0)); }
  1363. inline uint32_t get__hashCode_0() const { return ____hashCode_0; }
  1364. inline uint32_t* get_address_of__hashCode_0() { return &____hashCode_0; }
  1365. inline void set__hashCode_0(uint32_t value)
  1366. {
  1367. ____hashCode_0 = value;
  1368. }
  1369. inline static int32_t get_offset_of__defaultMaxCount_1() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____defaultMaxCount_1)); }
  1370. inline uint32_t get__defaultMaxCount_1() const { return ____defaultMaxCount_1; }
  1371. inline uint32_t* get_address_of__defaultMaxCount_1() { return &____defaultMaxCount_1; }
  1372. inline void set__defaultMaxCount_1(uint32_t value)
  1373. {
  1374. ____defaultMaxCount_1 = value;
  1375. }
  1376. inline static int32_t get_offset_of__maxCountMap_2() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____maxCountMap_2)); }
  1377. inline Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * get__maxCountMap_2() const { return ____maxCountMap_2; }
  1378. inline Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 ** get_address_of__maxCountMap_2() { return &____maxCountMap_2; }
  1379. inline void set__maxCountMap_2(Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * value)
  1380. {
  1381. ____maxCountMap_2 = value;
  1382. Il2CppCodeGenWriteBarrier((void**)(&____maxCountMap_2), (void*)value);
  1383. }
  1384. inline static int32_t get_offset_of__poolsMap_3() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____poolsMap_3)); }
  1385. inline Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * get__poolsMap_3() const { return ____poolsMap_3; }
  1386. inline Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC ** get_address_of__poolsMap_3() { return &____poolsMap_3; }
  1387. inline void set__poolsMap_3(Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * value)
  1388. {
  1389. ____poolsMap_3 = value;
  1390. Il2CppCodeGenWriteBarrier((void**)(&____poolsMap_3), (void*)value);
  1391. }
  1392. };
  1393. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger
  1394. struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 : public RuntimeObject
  1395. {
  1396. public:
  1397. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::magnitude
  1398. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___magnitude_30;
  1399. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::sign
  1400. int32_t ___sign_31;
  1401. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::nBits
  1402. int32_t ___nBits_32;
  1403. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::nBitLength
  1404. int32_t ___nBitLength_33;
  1405. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::mQuote
  1406. int32_t ___mQuote_34;
  1407. public:
  1408. inline static int32_t get_offset_of_magnitude_30() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___magnitude_30)); }
  1409. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_magnitude_30() const { return ___magnitude_30; }
  1410. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_magnitude_30() { return &___magnitude_30; }
  1411. inline void set_magnitude_30(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  1412. {
  1413. ___magnitude_30 = value;
  1414. Il2CppCodeGenWriteBarrier((void**)(&___magnitude_30), (void*)value);
  1415. }
  1416. inline static int32_t get_offset_of_sign_31() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___sign_31)); }
  1417. inline int32_t get_sign_31() const { return ___sign_31; }
  1418. inline int32_t* get_address_of_sign_31() { return &___sign_31; }
  1419. inline void set_sign_31(int32_t value)
  1420. {
  1421. ___sign_31 = value;
  1422. }
  1423. inline static int32_t get_offset_of_nBits_32() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___nBits_32)); }
  1424. inline int32_t get_nBits_32() const { return ___nBits_32; }
  1425. inline int32_t* get_address_of_nBits_32() { return &___nBits_32; }
  1426. inline void set_nBits_32(int32_t value)
  1427. {
  1428. ___nBits_32 = value;
  1429. }
  1430. inline static int32_t get_offset_of_nBitLength_33() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___nBitLength_33)); }
  1431. inline int32_t get_nBitLength_33() const { return ___nBitLength_33; }
  1432. inline int32_t* get_address_of_nBitLength_33() { return &___nBitLength_33; }
  1433. inline void set_nBitLength_33(int32_t value)
  1434. {
  1435. ___nBitLength_33 = value;
  1436. }
  1437. inline static int32_t get_offset_of_mQuote_34() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___mQuote_34)); }
  1438. inline int32_t get_mQuote_34() const { return ___mQuote_34; }
  1439. inline int32_t* get_address_of_mQuote_34() { return &___mQuote_34; }
  1440. inline void set_mQuote_34(int32_t value)
  1441. {
  1442. ___mQuote_34 = value;
  1443. }
  1444. };
  1445. struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields
  1446. {
  1447. public:
  1448. // System.Int32[][] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::primeLists
  1449. Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* ___primeLists_0;
  1450. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::primeProducts
  1451. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___primeProducts_1;
  1452. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ZeroMagnitude
  1453. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___ZeroMagnitude_4;
  1454. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ZeroEncoding
  1455. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ZeroEncoding_5;
  1456. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::SMALL_CONSTANTS
  1457. BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* ___SMALL_CONSTANTS_6;
  1458. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Zero
  1459. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Zero_7;
  1460. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::One
  1461. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___One_8;
  1462. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Two
  1463. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Two_9;
  1464. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Three
  1465. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Three_10;
  1466. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Ten
  1467. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Ten_11;
  1468. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::BitLengthTable
  1469. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___BitLengthTable_12;
  1470. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix2
  1471. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix2_17;
  1472. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix2E
  1473. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix2E_18;
  1474. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix8
  1475. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix8_19;
  1476. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix8E
  1477. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix8E_20;
  1478. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix10
  1479. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix10_21;
  1480. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix10E
  1481. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix10E_22;
  1482. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix16
  1483. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix16_23;
  1484. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix16E
  1485. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix16E_24;
  1486. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::RandomSource
  1487. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___RandomSource_25;
  1488. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ExpWindowThresholds
  1489. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___ExpWindowThresholds_26;
  1490. public:
  1491. inline static int32_t get_offset_of_primeLists_0() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___primeLists_0)); }
  1492. inline Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* get_primeLists_0() const { return ___primeLists_0; }
  1493. inline Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF** get_address_of_primeLists_0() { return &___primeLists_0; }
  1494. inline void set_primeLists_0(Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* value)
  1495. {
  1496. ___primeLists_0 = value;
  1497. Il2CppCodeGenWriteBarrier((void**)(&___primeLists_0), (void*)value);
  1498. }
  1499. inline static int32_t get_offset_of_primeProducts_1() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___primeProducts_1)); }
  1500. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_primeProducts_1() const { return ___primeProducts_1; }
  1501. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_primeProducts_1() { return &___primeProducts_1; }
  1502. inline void set_primeProducts_1(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  1503. {
  1504. ___primeProducts_1 = value;
  1505. Il2CppCodeGenWriteBarrier((void**)(&___primeProducts_1), (void*)value);
  1506. }
  1507. inline static int32_t get_offset_of_ZeroMagnitude_4() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ZeroMagnitude_4)); }
  1508. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_ZeroMagnitude_4() const { return ___ZeroMagnitude_4; }
  1509. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_ZeroMagnitude_4() { return &___ZeroMagnitude_4; }
  1510. inline void set_ZeroMagnitude_4(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  1511. {
  1512. ___ZeroMagnitude_4 = value;
  1513. Il2CppCodeGenWriteBarrier((void**)(&___ZeroMagnitude_4), (void*)value);
  1514. }
  1515. inline static int32_t get_offset_of_ZeroEncoding_5() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ZeroEncoding_5)); }
  1516. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_ZeroEncoding_5() const { return ___ZeroEncoding_5; }
  1517. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_ZeroEncoding_5() { return &___ZeroEncoding_5; }
  1518. inline void set_ZeroEncoding_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1519. {
  1520. ___ZeroEncoding_5 = value;
  1521. Il2CppCodeGenWriteBarrier((void**)(&___ZeroEncoding_5), (void*)value);
  1522. }
  1523. inline static int32_t get_offset_of_SMALL_CONSTANTS_6() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___SMALL_CONSTANTS_6)); }
  1524. inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* get_SMALL_CONSTANTS_6() const { return ___SMALL_CONSTANTS_6; }
  1525. inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED** get_address_of_SMALL_CONSTANTS_6() { return &___SMALL_CONSTANTS_6; }
  1526. inline void set_SMALL_CONSTANTS_6(BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* value)
  1527. {
  1528. ___SMALL_CONSTANTS_6 = value;
  1529. Il2CppCodeGenWriteBarrier((void**)(&___SMALL_CONSTANTS_6), (void*)value);
  1530. }
  1531. inline static int32_t get_offset_of_Zero_7() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Zero_7)); }
  1532. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Zero_7() const { return ___Zero_7; }
  1533. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Zero_7() { return &___Zero_7; }
  1534. inline void set_Zero_7(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1535. {
  1536. ___Zero_7 = value;
  1537. Il2CppCodeGenWriteBarrier((void**)(&___Zero_7), (void*)value);
  1538. }
  1539. inline static int32_t get_offset_of_One_8() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___One_8)); }
  1540. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_One_8() const { return ___One_8; }
  1541. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_One_8() { return &___One_8; }
  1542. inline void set_One_8(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1543. {
  1544. ___One_8 = value;
  1545. Il2CppCodeGenWriteBarrier((void**)(&___One_8), (void*)value);
  1546. }
  1547. inline static int32_t get_offset_of_Two_9() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Two_9)); }
  1548. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Two_9() const { return ___Two_9; }
  1549. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Two_9() { return &___Two_9; }
  1550. inline void set_Two_9(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1551. {
  1552. ___Two_9 = value;
  1553. Il2CppCodeGenWriteBarrier((void**)(&___Two_9), (void*)value);
  1554. }
  1555. inline static int32_t get_offset_of_Three_10() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Three_10)); }
  1556. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Three_10() const { return ___Three_10; }
  1557. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Three_10() { return &___Three_10; }
  1558. inline void set_Three_10(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1559. {
  1560. ___Three_10 = value;
  1561. Il2CppCodeGenWriteBarrier((void**)(&___Three_10), (void*)value);
  1562. }
  1563. inline static int32_t get_offset_of_Ten_11() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Ten_11)); }
  1564. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Ten_11() const { return ___Ten_11; }
  1565. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Ten_11() { return &___Ten_11; }
  1566. inline void set_Ten_11(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1567. {
  1568. ___Ten_11 = value;
  1569. Il2CppCodeGenWriteBarrier((void**)(&___Ten_11), (void*)value);
  1570. }
  1571. inline static int32_t get_offset_of_BitLengthTable_12() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___BitLengthTable_12)); }
  1572. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_BitLengthTable_12() const { return ___BitLengthTable_12; }
  1573. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_BitLengthTable_12() { return &___BitLengthTable_12; }
  1574. inline void set_BitLengthTable_12(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1575. {
  1576. ___BitLengthTable_12 = value;
  1577. Il2CppCodeGenWriteBarrier((void**)(&___BitLengthTable_12), (void*)value);
  1578. }
  1579. inline static int32_t get_offset_of_radix2_17() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix2_17)); }
  1580. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix2_17() const { return ___radix2_17; }
  1581. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix2_17() { return &___radix2_17; }
  1582. inline void set_radix2_17(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1583. {
  1584. ___radix2_17 = value;
  1585. Il2CppCodeGenWriteBarrier((void**)(&___radix2_17), (void*)value);
  1586. }
  1587. inline static int32_t get_offset_of_radix2E_18() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix2E_18)); }
  1588. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix2E_18() const { return ___radix2E_18; }
  1589. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix2E_18() { return &___radix2E_18; }
  1590. inline void set_radix2E_18(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1591. {
  1592. ___radix2E_18 = value;
  1593. Il2CppCodeGenWriteBarrier((void**)(&___radix2E_18), (void*)value);
  1594. }
  1595. inline static int32_t get_offset_of_radix8_19() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix8_19)); }
  1596. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix8_19() const { return ___radix8_19; }
  1597. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix8_19() { return &___radix8_19; }
  1598. inline void set_radix8_19(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1599. {
  1600. ___radix8_19 = value;
  1601. Il2CppCodeGenWriteBarrier((void**)(&___radix8_19), (void*)value);
  1602. }
  1603. inline static int32_t get_offset_of_radix8E_20() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix8E_20)); }
  1604. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix8E_20() const { return ___radix8E_20; }
  1605. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix8E_20() { return &___radix8E_20; }
  1606. inline void set_radix8E_20(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1607. {
  1608. ___radix8E_20 = value;
  1609. Il2CppCodeGenWriteBarrier((void**)(&___radix8E_20), (void*)value);
  1610. }
  1611. inline static int32_t get_offset_of_radix10_21() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix10_21)); }
  1612. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix10_21() const { return ___radix10_21; }
  1613. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix10_21() { return &___radix10_21; }
  1614. inline void set_radix10_21(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1615. {
  1616. ___radix10_21 = value;
  1617. Il2CppCodeGenWriteBarrier((void**)(&___radix10_21), (void*)value);
  1618. }
  1619. inline static int32_t get_offset_of_radix10E_22() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix10E_22)); }
  1620. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix10E_22() const { return ___radix10E_22; }
  1621. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix10E_22() { return &___radix10E_22; }
  1622. inline void set_radix10E_22(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1623. {
  1624. ___radix10E_22 = value;
  1625. Il2CppCodeGenWriteBarrier((void**)(&___radix10E_22), (void*)value);
  1626. }
  1627. inline static int32_t get_offset_of_radix16_23() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix16_23)); }
  1628. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix16_23() const { return ___radix16_23; }
  1629. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix16_23() { return &___radix16_23; }
  1630. inline void set_radix16_23(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1631. {
  1632. ___radix16_23 = value;
  1633. Il2CppCodeGenWriteBarrier((void**)(&___radix16_23), (void*)value);
  1634. }
  1635. inline static int32_t get_offset_of_radix16E_24() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix16E_24)); }
  1636. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix16E_24() const { return ___radix16E_24; }
  1637. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix16E_24() { return &___radix16E_24; }
  1638. inline void set_radix16E_24(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1639. {
  1640. ___radix16E_24 = value;
  1641. Il2CppCodeGenWriteBarrier((void**)(&___radix16E_24), (void*)value);
  1642. }
  1643. inline static int32_t get_offset_of_RandomSource_25() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___RandomSource_25)); }
  1644. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_RandomSource_25() const { return ___RandomSource_25; }
  1645. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_RandomSource_25() { return &___RandomSource_25; }
  1646. inline void set_RandomSource_25(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  1647. {
  1648. ___RandomSource_25 = value;
  1649. Il2CppCodeGenWriteBarrier((void**)(&___RandomSource_25), (void*)value);
  1650. }
  1651. inline static int32_t get_offset_of_ExpWindowThresholds_26() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ExpWindowThresholds_26)); }
  1652. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_ExpWindowThresholds_26() const { return ___ExpWindowThresholds_26; }
  1653. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_ExpWindowThresholds_26() { return &___ExpWindowThresholds_26; }
  1654. inline void set_ExpWindowThresholds_26(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  1655. {
  1656. ___ExpWindowThresholds_26 = value;
  1657. Il2CppCodeGenWriteBarrier((void**)(&___ExpWindowThresholds_26), (void*)value);
  1658. }
  1659. };
  1660. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue
  1661. struct ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 : public RuntimeObject
  1662. {
  1663. public:
  1664. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::databuf
  1665. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___databuf_1;
  1666. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::skipped
  1667. int32_t ___skipped_2;
  1668. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::available
  1669. int32_t ___available_3;
  1670. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::readOnlyBuf
  1671. bool ___readOnlyBuf_4;
  1672. public:
  1673. inline static int32_t get_offset_of_databuf_1() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___databuf_1)); }
  1674. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_databuf_1() const { return ___databuf_1; }
  1675. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_databuf_1() { return &___databuf_1; }
  1676. inline void set_databuf_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1677. {
  1678. ___databuf_1 = value;
  1679. Il2CppCodeGenWriteBarrier((void**)(&___databuf_1), (void*)value);
  1680. }
  1681. inline static int32_t get_offset_of_skipped_2() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___skipped_2)); }
  1682. inline int32_t get_skipped_2() const { return ___skipped_2; }
  1683. inline int32_t* get_address_of_skipped_2() { return &___skipped_2; }
  1684. inline void set_skipped_2(int32_t value)
  1685. {
  1686. ___skipped_2 = value;
  1687. }
  1688. inline static int32_t get_offset_of_available_3() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___available_3)); }
  1689. inline int32_t get_available_3() const { return ___available_3; }
  1690. inline int32_t* get_address_of_available_3() { return &___available_3; }
  1691. inline void set_available_3(int32_t value)
  1692. {
  1693. ___available_3 = value;
  1694. }
  1695. inline static int32_t get_offset_of_readOnlyBuf_4() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___readOnlyBuf_4)); }
  1696. inline bool get_readOnlyBuf_4() const { return ___readOnlyBuf_4; }
  1697. inline bool* get_address_of_readOnlyBuf_4() { return &___readOnlyBuf_4; }
  1698. inline void set_readOnlyBuf_4(bool value)
  1699. {
  1700. ___readOnlyBuf_4 = value;
  1701. }
  1702. };
  1703. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate
  1704. struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E : public RuntimeObject
  1705. {
  1706. public:
  1707. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::mCertificateList
  1708. X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* ___mCertificateList_1;
  1709. public:
  1710. inline static int32_t get_offset_of_mCertificateList_1() { return static_cast<int32_t>(offsetof(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E, ___mCertificateList_1)); }
  1711. inline X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* get_mCertificateList_1() const { return ___mCertificateList_1; }
  1712. inline X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58** get_address_of_mCertificateList_1() { return &___mCertificateList_1; }
  1713. inline void set_mCertificateList_1(X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* value)
  1714. {
  1715. ___mCertificateList_1 = value;
  1716. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateList_1), (void*)value);
  1717. }
  1718. };
  1719. struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields
  1720. {
  1721. public:
  1722. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::EmptyChain
  1723. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___EmptyChain_0;
  1724. public:
  1725. inline static int32_t get_offset_of_EmptyChain_0() { return static_cast<int32_t>(offsetof(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields, ___EmptyChain_0)); }
  1726. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_EmptyChain_0() const { return ___EmptyChain_0; }
  1727. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_EmptyChain_0() { return &___EmptyChain_0; }
  1728. inline void set_EmptyChain_0(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
  1729. {
  1730. ___EmptyChain_0 = value;
  1731. Il2CppCodeGenWriteBarrier((void**)(&___EmptyChain_0), (void*)value);
  1732. }
  1733. };
  1734. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest
  1735. struct CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 : public RuntimeObject
  1736. {
  1737. public:
  1738. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mCertificateTypes
  1739. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mCertificateTypes_0;
  1740. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mSupportedSignatureAlgorithms
  1741. RuntimeObject* ___mSupportedSignatureAlgorithms_1;
  1742. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mCertificateAuthorities
  1743. RuntimeObject* ___mCertificateAuthorities_2;
  1744. public:
  1745. inline static int32_t get_offset_of_mCertificateTypes_0() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mCertificateTypes_0)); }
  1746. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mCertificateTypes_0() const { return ___mCertificateTypes_0; }
  1747. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mCertificateTypes_0() { return &___mCertificateTypes_0; }
  1748. inline void set_mCertificateTypes_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  1749. {
  1750. ___mCertificateTypes_0 = value;
  1751. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateTypes_0), (void*)value);
  1752. }
  1753. inline static int32_t get_offset_of_mSupportedSignatureAlgorithms_1() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mSupportedSignatureAlgorithms_1)); }
  1754. inline RuntimeObject* get_mSupportedSignatureAlgorithms_1() const { return ___mSupportedSignatureAlgorithms_1; }
  1755. inline RuntimeObject** get_address_of_mSupportedSignatureAlgorithms_1() { return &___mSupportedSignatureAlgorithms_1; }
  1756. inline void set_mSupportedSignatureAlgorithms_1(RuntimeObject* value)
  1757. {
  1758. ___mSupportedSignatureAlgorithms_1 = value;
  1759. Il2CppCodeGenWriteBarrier((void**)(&___mSupportedSignatureAlgorithms_1), (void*)value);
  1760. }
  1761. inline static int32_t get_offset_of_mCertificateAuthorities_2() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mCertificateAuthorities_2)); }
  1762. inline RuntimeObject* get_mCertificateAuthorities_2() const { return ___mCertificateAuthorities_2; }
  1763. inline RuntimeObject** get_address_of_mCertificateAuthorities_2() { return &___mCertificateAuthorities_2; }
  1764. inline void set_mCertificateAuthorities_2(RuntimeObject* value)
  1765. {
  1766. ___mCertificateAuthorities_2 = value;
  1767. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateAuthorities_2), (void*)value);
  1768. }
  1769. };
  1770. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus
  1771. struct CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 : public RuntimeObject
  1772. {
  1773. public:
  1774. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::mStatusType
  1775. uint8_t ___mStatusType_0;
  1776. // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::mResponse
  1777. RuntimeObject * ___mResponse_1;
  1778. public:
  1779. inline static int32_t get_offset_of_mStatusType_0() { return static_cast<int32_t>(offsetof(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3, ___mStatusType_0)); }
  1780. inline uint8_t get_mStatusType_0() const { return ___mStatusType_0; }
  1781. inline uint8_t* get_address_of_mStatusType_0() { return &___mStatusType_0; }
  1782. inline void set_mStatusType_0(uint8_t value)
  1783. {
  1784. ___mStatusType_0 = value;
  1785. }
  1786. inline static int32_t get_offset_of_mResponse_1() { return static_cast<int32_t>(offsetof(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3, ___mResponse_1)); }
  1787. inline RuntimeObject * get_mResponse_1() const { return ___mResponse_1; }
  1788. inline RuntimeObject ** get_address_of_mResponse_1() { return &___mResponse_1; }
  1789. inline void set_mResponse_1(RuntimeObject * value)
  1790. {
  1791. ___mResponse_1 = value;
  1792. Il2CppCodeGenWriteBarrier((void**)(&___mResponse_1), (void*)value);
  1793. }
  1794. };
  1795. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest
  1796. struct CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 : public RuntimeObject
  1797. {
  1798. public:
  1799. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::mStatusType
  1800. uint8_t ___mStatusType_0;
  1801. // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::mRequest
  1802. RuntimeObject * ___mRequest_1;
  1803. public:
  1804. inline static int32_t get_offset_of_mStatusType_0() { return static_cast<int32_t>(offsetof(CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30, ___mStatusType_0)); }
  1805. inline uint8_t get_mStatusType_0() const { return ___mStatusType_0; }
  1806. inline uint8_t* get_address_of_mStatusType_0() { return &___mStatusType_0; }
  1807. inline void set_mStatusType_0(uint8_t value)
  1808. {
  1809. ___mStatusType_0 = value;
  1810. }
  1811. inline static int32_t get_offset_of_mRequest_1() { return static_cast<int32_t>(offsetof(CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30, ___mRequest_1)); }
  1812. inline RuntimeObject * get_mRequest_1() const { return ___mRequest_1; }
  1813. inline RuntimeObject ** get_address_of_mRequest_1() { return &___mRequest_1; }
  1814. inline void set_mRequest_1(RuntimeObject * value)
  1815. {
  1816. ___mRequest_1 = value;
  1817. Il2CppCodeGenWriteBarrier((void**)(&___mRequest_1), (void*)value);
  1818. }
  1819. };
  1820. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash
  1821. struct CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 : public RuntimeObject
  1822. {
  1823. public:
  1824. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mContext
  1825. RuntimeObject* ___mContext_0;
  1826. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mMd5
  1827. RuntimeObject* ___mMd5_1;
  1828. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mSha1
  1829. RuntimeObject* ___mSha1_2;
  1830. public:
  1831. inline static int32_t get_offset_of_mContext_0() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mContext_0)); }
  1832. inline RuntimeObject* get_mContext_0() const { return ___mContext_0; }
  1833. inline RuntimeObject** get_address_of_mContext_0() { return &___mContext_0; }
  1834. inline void set_mContext_0(RuntimeObject* value)
  1835. {
  1836. ___mContext_0 = value;
  1837. Il2CppCodeGenWriteBarrier((void**)(&___mContext_0), (void*)value);
  1838. }
  1839. inline static int32_t get_offset_of_mMd5_1() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mMd5_1)); }
  1840. inline RuntimeObject* get_mMd5_1() const { return ___mMd5_1; }
  1841. inline RuntimeObject** get_address_of_mMd5_1() { return &___mMd5_1; }
  1842. inline void set_mMd5_1(RuntimeObject* value)
  1843. {
  1844. ___mMd5_1 = value;
  1845. Il2CppCodeGenWriteBarrier((void**)(&___mMd5_1), (void*)value);
  1846. }
  1847. inline static int32_t get_offset_of_mSha1_2() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mSha1_2)); }
  1848. inline RuntimeObject* get_mSha1_2() const { return ___mSha1_2; }
  1849. inline RuntimeObject** get_address_of_mSha1_2() { return &___mSha1_2; }
  1850. inline void set_mSha1_2(RuntimeObject* value)
  1851. {
  1852. ___mSha1_2 = value;
  1853. Il2CppCodeGenWriteBarrier((void**)(&___mSha1_2), (void*)value);
  1854. }
  1855. };
  1856. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement
  1857. struct DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 : public RuntimeObject
  1858. {
  1859. public:
  1860. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::key
  1861. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___key_0;
  1862. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::dhParams
  1863. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams_1;
  1864. public:
  1865. inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99, ___key_0)); }
  1866. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_key_0() const { return ___key_0; }
  1867. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_key_0() { return &___key_0; }
  1868. inline void set_key_0(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
  1869. {
  1870. ___key_0 = value;
  1871. Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
  1872. }
  1873. inline static int32_t get_offset_of_dhParams_1() { return static_cast<int32_t>(offsetof(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99, ___dhParams_1)); }
  1874. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_dhParams_1() const { return ___dhParams_1; }
  1875. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_dhParams_1() { return &___dhParams_1; }
  1876. inline void set_dhParams_1(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  1877. {
  1878. ___dhParams_1 = value;
  1879. Il2CppCodeGenWriteBarrier((void**)(&___dhParams_1), (void*)value);
  1880. }
  1881. };
  1882. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator
  1883. struct DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 : public RuntimeObject
  1884. {
  1885. public:
  1886. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::param
  1887. DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * ___param_0;
  1888. public:
  1889. inline static int32_t get_offset_of_param_0() { return static_cast<int32_t>(offsetof(DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519, ___param_0)); }
  1890. inline DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * get_param_0() const { return ___param_0; }
  1891. inline DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 ** get_address_of_param_0() { return &___param_0; }
  1892. inline void set_param_0(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * value)
  1893. {
  1894. ___param_0 = value;
  1895. Il2CppCodeGenWriteBarrier((void**)(&___param_0), (void*)value);
  1896. }
  1897. };
  1898. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters
  1899. struct DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C : public RuntimeObject
  1900. {
  1901. public:
  1902. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::p
  1903. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___p_1;
  1904. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::g
  1905. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___g_2;
  1906. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::q
  1907. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___q_3;
  1908. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::j
  1909. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___j_4;
  1910. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::m
  1911. int32_t ___m_5;
  1912. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::l
  1913. int32_t ___l_6;
  1914. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHValidationParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::validation
  1915. DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * ___validation_7;
  1916. public:
  1917. inline static int32_t get_offset_of_p_1() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___p_1)); }
  1918. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_p_1() const { return ___p_1; }
  1919. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_p_1() { return &___p_1; }
  1920. inline void set_p_1(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1921. {
  1922. ___p_1 = value;
  1923. Il2CppCodeGenWriteBarrier((void**)(&___p_1), (void*)value);
  1924. }
  1925. inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___g_2)); }
  1926. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_g_2() const { return ___g_2; }
  1927. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_g_2() { return &___g_2; }
  1928. inline void set_g_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1929. {
  1930. ___g_2 = value;
  1931. Il2CppCodeGenWriteBarrier((void**)(&___g_2), (void*)value);
  1932. }
  1933. inline static int32_t get_offset_of_q_3() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___q_3)); }
  1934. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_q_3() const { return ___q_3; }
  1935. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_q_3() { return &___q_3; }
  1936. inline void set_q_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1937. {
  1938. ___q_3 = value;
  1939. Il2CppCodeGenWriteBarrier((void**)(&___q_3), (void*)value);
  1940. }
  1941. inline static int32_t get_offset_of_j_4() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___j_4)); }
  1942. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_j_4() const { return ___j_4; }
  1943. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_j_4() { return &___j_4; }
  1944. inline void set_j_4(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  1945. {
  1946. ___j_4 = value;
  1947. Il2CppCodeGenWriteBarrier((void**)(&___j_4), (void*)value);
  1948. }
  1949. inline static int32_t get_offset_of_m_5() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___m_5)); }
  1950. inline int32_t get_m_5() const { return ___m_5; }
  1951. inline int32_t* get_address_of_m_5() { return &___m_5; }
  1952. inline void set_m_5(int32_t value)
  1953. {
  1954. ___m_5 = value;
  1955. }
  1956. inline static int32_t get_offset_of_l_6() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___l_6)); }
  1957. inline int32_t get_l_6() const { return ___l_6; }
  1958. inline int32_t* get_address_of_l_6() { return &___l_6; }
  1959. inline void set_l_6(int32_t value)
  1960. {
  1961. ___l_6 = value;
  1962. }
  1963. inline static int32_t get_offset_of_validation_7() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___validation_7)); }
  1964. inline DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * get_validation_7() const { return ___validation_7; }
  1965. inline DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B ** get_address_of_validation_7() { return &___validation_7; }
  1966. inline void set_validation_7(DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * value)
  1967. {
  1968. ___validation_7 = value;
  1969. Il2CppCodeGenWriteBarrier((void**)(&___validation_7), (void*)value);
  1970. }
  1971. };
  1972. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier
  1973. struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 : public RuntimeObject
  1974. {
  1975. public:
  1976. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::mGroups
  1977. RuntimeObject* ___mGroups_2;
  1978. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::mMinimumPrimeBits
  1979. int32_t ___mMinimumPrimeBits_3;
  1980. public:
  1981. inline static int32_t get_offset_of_mGroups_2() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1, ___mGroups_2)); }
  1982. inline RuntimeObject* get_mGroups_2() const { return ___mGroups_2; }
  1983. inline RuntimeObject** get_address_of_mGroups_2() { return &___mGroups_2; }
  1984. inline void set_mGroups_2(RuntimeObject* value)
  1985. {
  1986. ___mGroups_2 = value;
  1987. Il2CppCodeGenWriteBarrier((void**)(&___mGroups_2), (void*)value);
  1988. }
  1989. inline static int32_t get_offset_of_mMinimumPrimeBits_3() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1, ___mMinimumPrimeBits_3)); }
  1990. inline int32_t get_mMinimumPrimeBits_3() const { return ___mMinimumPrimeBits_3; }
  1991. inline int32_t* get_address_of_mMinimumPrimeBits_3() { return &___mMinimumPrimeBits_3; }
  1992. inline void set_mMinimumPrimeBits_3(int32_t value)
  1993. {
  1994. ___mMinimumPrimeBits_3 = value;
  1995. }
  1996. };
  1997. struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields
  1998. {
  1999. public:
  2000. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::DefaultMinimumPrimeBits
  2001. int32_t ___DefaultMinimumPrimeBits_0;
  2002. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::DefaultGroups
  2003. RuntimeObject* ___DefaultGroups_1;
  2004. public:
  2005. inline static int32_t get_offset_of_DefaultMinimumPrimeBits_0() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields, ___DefaultMinimumPrimeBits_0)); }
  2006. inline int32_t get_DefaultMinimumPrimeBits_0() const { return ___DefaultMinimumPrimeBits_0; }
  2007. inline int32_t* get_address_of_DefaultMinimumPrimeBits_0() { return &___DefaultMinimumPrimeBits_0; }
  2008. inline void set_DefaultMinimumPrimeBits_0(int32_t value)
  2009. {
  2010. ___DefaultMinimumPrimeBits_0 = value;
  2011. }
  2012. inline static int32_t get_offset_of_DefaultGroups_1() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields, ___DefaultGroups_1)); }
  2013. inline RuntimeObject* get_DefaultGroups_1() const { return ___DefaultGroups_1; }
  2014. inline RuntimeObject** get_address_of_DefaultGroups_1() { return &___DefaultGroups_1; }
  2015. inline void set_DefaultGroups_1(RuntimeObject* value)
  2016. {
  2017. ___DefaultGroups_1 = value;
  2018. Il2CppCodeGenWriteBarrier((void**)(&___DefaultGroups_1), (void*)value);
  2019. }
  2020. };
  2021. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned
  2022. struct DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 : public RuntimeObject
  2023. {
  2024. public:
  2025. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::mAlgorithm
  2026. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___mAlgorithm_0;
  2027. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::mSignature
  2028. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSignature_1;
  2029. public:
  2030. inline static int32_t get_offset_of_mAlgorithm_0() { return static_cast<int32_t>(offsetof(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288, ___mAlgorithm_0)); }
  2031. inline SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * get_mAlgorithm_0() const { return ___mAlgorithm_0; }
  2032. inline SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 ** get_address_of_mAlgorithm_0() { return &___mAlgorithm_0; }
  2033. inline void set_mAlgorithm_0(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * value)
  2034. {
  2035. ___mAlgorithm_0 = value;
  2036. Il2CppCodeGenWriteBarrier((void**)(&___mAlgorithm_0), (void*)value);
  2037. }
  2038. inline static int32_t get_offset_of_mSignature_1() { return static_cast<int32_t>(offsetof(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288, ___mSignature_1)); }
  2039. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSignature_1() const { return ___mSignature_1; }
  2040. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSignature_1() { return &___mSignature_1; }
  2041. inline void set_mSignature_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2042. {
  2043. ___mSignature_1 = value;
  2044. Il2CppCodeGenWriteBarrier((void**)(&___mSignature_1), (void*)value);
  2045. }
  2046. };
  2047. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner
  2048. struct DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 : public RuntimeObject
  2049. {
  2050. public:
  2051. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::dsa
  2052. RuntimeObject* ___dsa_0;
  2053. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::digest
  2054. RuntimeObject* ___digest_1;
  2055. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaEncoding BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::encoding
  2056. RuntimeObject* ___encoding_2;
  2057. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::forSigning
  2058. bool ___forSigning_3;
  2059. public:
  2060. inline static int32_t get_offset_of_dsa_0() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___dsa_0)); }
  2061. inline RuntimeObject* get_dsa_0() const { return ___dsa_0; }
  2062. inline RuntimeObject** get_address_of_dsa_0() { return &___dsa_0; }
  2063. inline void set_dsa_0(RuntimeObject* value)
  2064. {
  2065. ___dsa_0 = value;
  2066. Il2CppCodeGenWriteBarrier((void**)(&___dsa_0), (void*)value);
  2067. }
  2068. inline static int32_t get_offset_of_digest_1() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___digest_1)); }
  2069. inline RuntimeObject* get_digest_1() const { return ___digest_1; }
  2070. inline RuntimeObject** get_address_of_digest_1() { return &___digest_1; }
  2071. inline void set_digest_1(RuntimeObject* value)
  2072. {
  2073. ___digest_1 = value;
  2074. Il2CppCodeGenWriteBarrier((void**)(&___digest_1), (void*)value);
  2075. }
  2076. inline static int32_t get_offset_of_encoding_2() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___encoding_2)); }
  2077. inline RuntimeObject* get_encoding_2() const { return ___encoding_2; }
  2078. inline RuntimeObject** get_address_of_encoding_2() { return &___encoding_2; }
  2079. inline void set_encoding_2(RuntimeObject* value)
  2080. {
  2081. ___encoding_2 = value;
  2082. Il2CppCodeGenWriteBarrier((void**)(&___encoding_2), (void*)value);
  2083. }
  2084. inline static int32_t get_offset_of_forSigning_3() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___forSigning_3)); }
  2085. inline bool get_forSigning_3() const { return ___forSigning_3; }
  2086. inline bool* get_address_of_forSigning_3() { return &___forSigning_3; }
  2087. inline void set_forSigning_3(bool value)
  2088. {
  2089. ___forSigning_3 = value;
  2090. }
  2091. };
  2092. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner
  2093. struct DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 : public RuntimeObject
  2094. {
  2095. public:
  2096. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::kCalculator
  2097. RuntimeObject* ___kCalculator_0;
  2098. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::key
  2099. DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * ___key_1;
  2100. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::random
  2101. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_2;
  2102. public:
  2103. inline static int32_t get_offset_of_kCalculator_0() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___kCalculator_0)); }
  2104. inline RuntimeObject* get_kCalculator_0() const { return ___kCalculator_0; }
  2105. inline RuntimeObject** get_address_of_kCalculator_0() { return &___kCalculator_0; }
  2106. inline void set_kCalculator_0(RuntimeObject* value)
  2107. {
  2108. ___kCalculator_0 = value;
  2109. Il2CppCodeGenWriteBarrier((void**)(&___kCalculator_0), (void*)value);
  2110. }
  2111. inline static int32_t get_offset_of_key_1() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___key_1)); }
  2112. inline DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * get_key_1() const { return ___key_1; }
  2113. inline DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 ** get_address_of_key_1() { return &___key_1; }
  2114. inline void set_key_1(DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * value)
  2115. {
  2116. ___key_1 = value;
  2117. Il2CppCodeGenWriteBarrier((void**)(&___key_1), (void*)value);
  2118. }
  2119. inline static int32_t get_offset_of_random_2() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___random_2)); }
  2120. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_2() const { return ___random_2; }
  2121. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_2() { return &___random_2; }
  2122. inline void set_random_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  2123. {
  2124. ___random_2 = value;
  2125. Il2CppCodeGenWriteBarrier((void**)(&___random_2), (void*)value);
  2126. }
  2127. };
  2128. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve
  2129. struct ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 : public RuntimeObject
  2130. {
  2131. public:
  2132. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_field
  2133. RuntimeObject* ___m_field_8;
  2134. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_a
  2135. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_a_9;
  2136. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_b
  2137. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_b_10;
  2138. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_order
  2139. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_order_11;
  2140. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_cofactor
  2141. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_cofactor_12;
  2142. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_coord
  2143. int32_t ___m_coord_13;
  2144. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Endo.ECEndomorphism BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_endomorphism
  2145. RuntimeObject* ___m_endomorphism_14;
  2146. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_multiplier
  2147. RuntimeObject* ___m_multiplier_15;
  2148. public:
  2149. inline static int32_t get_offset_of_m_field_8() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_field_8)); }
  2150. inline RuntimeObject* get_m_field_8() const { return ___m_field_8; }
  2151. inline RuntimeObject** get_address_of_m_field_8() { return &___m_field_8; }
  2152. inline void set_m_field_8(RuntimeObject* value)
  2153. {
  2154. ___m_field_8 = value;
  2155. Il2CppCodeGenWriteBarrier((void**)(&___m_field_8), (void*)value);
  2156. }
  2157. inline static int32_t get_offset_of_m_a_9() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_a_9)); }
  2158. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_a_9() const { return ___m_a_9; }
  2159. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_a_9() { return &___m_a_9; }
  2160. inline void set_m_a_9(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
  2161. {
  2162. ___m_a_9 = value;
  2163. Il2CppCodeGenWriteBarrier((void**)(&___m_a_9), (void*)value);
  2164. }
  2165. inline static int32_t get_offset_of_m_b_10() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_b_10)); }
  2166. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_b_10() const { return ___m_b_10; }
  2167. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_b_10() { return &___m_b_10; }
  2168. inline void set_m_b_10(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
  2169. {
  2170. ___m_b_10 = value;
  2171. Il2CppCodeGenWriteBarrier((void**)(&___m_b_10), (void*)value);
  2172. }
  2173. inline static int32_t get_offset_of_m_order_11() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_order_11)); }
  2174. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_order_11() const { return ___m_order_11; }
  2175. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_order_11() { return &___m_order_11; }
  2176. inline void set_m_order_11(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2177. {
  2178. ___m_order_11 = value;
  2179. Il2CppCodeGenWriteBarrier((void**)(&___m_order_11), (void*)value);
  2180. }
  2181. inline static int32_t get_offset_of_m_cofactor_12() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_cofactor_12)); }
  2182. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_cofactor_12() const { return ___m_cofactor_12; }
  2183. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_cofactor_12() { return &___m_cofactor_12; }
  2184. inline void set_m_cofactor_12(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2185. {
  2186. ___m_cofactor_12 = value;
  2187. Il2CppCodeGenWriteBarrier((void**)(&___m_cofactor_12), (void*)value);
  2188. }
  2189. inline static int32_t get_offset_of_m_coord_13() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_coord_13)); }
  2190. inline int32_t get_m_coord_13() const { return ___m_coord_13; }
  2191. inline int32_t* get_address_of_m_coord_13() { return &___m_coord_13; }
  2192. inline void set_m_coord_13(int32_t value)
  2193. {
  2194. ___m_coord_13 = value;
  2195. }
  2196. inline static int32_t get_offset_of_m_endomorphism_14() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_endomorphism_14)); }
  2197. inline RuntimeObject* get_m_endomorphism_14() const { return ___m_endomorphism_14; }
  2198. inline RuntimeObject** get_address_of_m_endomorphism_14() { return &___m_endomorphism_14; }
  2199. inline void set_m_endomorphism_14(RuntimeObject* value)
  2200. {
  2201. ___m_endomorphism_14 = value;
  2202. Il2CppCodeGenWriteBarrier((void**)(&___m_endomorphism_14), (void*)value);
  2203. }
  2204. inline static int32_t get_offset_of_m_multiplier_15() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_multiplier_15)); }
  2205. inline RuntimeObject* get_m_multiplier_15() const { return ___m_multiplier_15; }
  2206. inline RuntimeObject** get_address_of_m_multiplier_15() { return &___m_multiplier_15; }
  2207. inline void set_m_multiplier_15(RuntimeObject* value)
  2208. {
  2209. ___m_multiplier_15 = value;
  2210. Il2CppCodeGenWriteBarrier((void**)(&___m_multiplier_15), (void*)value);
  2211. }
  2212. };
  2213. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement
  2214. struct ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 : public RuntimeObject
  2215. {
  2216. public:
  2217. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::privKey
  2218. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privKey_0;
  2219. public:
  2220. inline static int32_t get_offset_of_privKey_0() { return static_cast<int32_t>(offsetof(ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914, ___privKey_0)); }
  2221. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_privKey_0() const { return ___privKey_0; }
  2222. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_privKey_0() { return &___privKey_0; }
  2223. inline void set_privKey_0(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
  2224. {
  2225. ___privKey_0 = value;
  2226. Il2CppCodeGenWriteBarrier((void**)(&___privKey_0), (void*)value);
  2227. }
  2228. };
  2229. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters
  2230. struct ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC : public RuntimeObject
  2231. {
  2232. public:
  2233. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::curve
  2234. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve_0;
  2235. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::seed
  2236. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___seed_1;
  2237. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::g
  2238. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___g_2;
  2239. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::n
  2240. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_3;
  2241. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::h
  2242. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h_4;
  2243. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::hInv
  2244. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___hInv_5;
  2245. public:
  2246. inline static int32_t get_offset_of_curve_0() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___curve_0)); }
  2247. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_curve_0() const { return ___curve_0; }
  2248. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_curve_0() { return &___curve_0; }
  2249. inline void set_curve_0(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
  2250. {
  2251. ___curve_0 = value;
  2252. Il2CppCodeGenWriteBarrier((void**)(&___curve_0), (void*)value);
  2253. }
  2254. inline static int32_t get_offset_of_seed_1() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___seed_1)); }
  2255. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_seed_1() const { return ___seed_1; }
  2256. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_seed_1() { return &___seed_1; }
  2257. inline void set_seed_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2258. {
  2259. ___seed_1 = value;
  2260. Il2CppCodeGenWriteBarrier((void**)(&___seed_1), (void*)value);
  2261. }
  2262. inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___g_2)); }
  2263. inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * get_g_2() const { return ___g_2; }
  2264. inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA ** get_address_of_g_2() { return &___g_2; }
  2265. inline void set_g_2(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * value)
  2266. {
  2267. ___g_2 = value;
  2268. Il2CppCodeGenWriteBarrier((void**)(&___g_2), (void*)value);
  2269. }
  2270. inline static int32_t get_offset_of_n_3() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___n_3)); }
  2271. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_3() const { return ___n_3; }
  2272. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_3() { return &___n_3; }
  2273. inline void set_n_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2274. {
  2275. ___n_3 = value;
  2276. Il2CppCodeGenWriteBarrier((void**)(&___n_3), (void*)value);
  2277. }
  2278. inline static int32_t get_offset_of_h_4() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___h_4)); }
  2279. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_h_4() const { return ___h_4; }
  2280. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_h_4() { return &___h_4; }
  2281. inline void set_h_4(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2282. {
  2283. ___h_4 = value;
  2284. Il2CppCodeGenWriteBarrier((void**)(&___h_4), (void*)value);
  2285. }
  2286. inline static int32_t get_offset_of_hInv_5() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___hInv_5)); }
  2287. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_hInv_5() const { return ___hInv_5; }
  2288. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_hInv_5() { return &___hInv_5; }
  2289. inline void set_hInv_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2290. {
  2291. ___hInv_5 = value;
  2292. Il2CppCodeGenWriteBarrier((void**)(&___hInv_5), (void*)value);
  2293. }
  2294. };
  2295. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner
  2296. struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 : public RuntimeObject
  2297. {
  2298. public:
  2299. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::kCalculator
  2300. RuntimeObject* ___kCalculator_1;
  2301. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::key
  2302. ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * ___key_2;
  2303. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::random
  2304. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
  2305. public:
  2306. inline static int32_t get_offset_of_kCalculator_1() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___kCalculator_1)); }
  2307. inline RuntimeObject* get_kCalculator_1() const { return ___kCalculator_1; }
  2308. inline RuntimeObject** get_address_of_kCalculator_1() { return &___kCalculator_1; }
  2309. inline void set_kCalculator_1(RuntimeObject* value)
  2310. {
  2311. ___kCalculator_1 = value;
  2312. Il2CppCodeGenWriteBarrier((void**)(&___kCalculator_1), (void*)value);
  2313. }
  2314. inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___key_2)); }
  2315. inline ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * get_key_2() const { return ___key_2; }
  2316. inline ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 ** get_address_of_key_2() { return &___key_2; }
  2317. inline void set_key_2(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * value)
  2318. {
  2319. ___key_2 = value;
  2320. Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
  2321. }
  2322. inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___random_3)); }
  2323. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
  2324. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
  2325. inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  2326. {
  2327. ___random_3 = value;
  2328. Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
  2329. }
  2330. };
  2331. struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_StaticFields
  2332. {
  2333. public:
  2334. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::Eight
  2335. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Eight_0;
  2336. public:
  2337. inline static int32_t get_offset_of_Eight_0() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_StaticFields, ___Eight_0)); }
  2338. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Eight_0() const { return ___Eight_0; }
  2339. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Eight_0() { return &___Eight_0; }
  2340. inline void set_Eight_0(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2341. {
  2342. ___Eight_0 = value;
  2343. Il2CppCodeGenWriteBarrier((void**)(&___Eight_0), (void*)value);
  2344. }
  2345. };
  2346. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement
  2347. struct ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 : public RuntimeObject
  2348. {
  2349. public:
  2350. public:
  2351. };
  2352. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator
  2353. struct ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D : public RuntimeObject
  2354. {
  2355. public:
  2356. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::algorithm
  2357. String_t* ___algorithm_0;
  2358. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::parameters
  2359. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters_1;
  2360. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::publicKeyParamSet
  2361. DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_2;
  2362. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::random
  2363. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
  2364. public:
  2365. inline static int32_t get_offset_of_algorithm_0() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___algorithm_0)); }
  2366. inline String_t* get_algorithm_0() const { return ___algorithm_0; }
  2367. inline String_t** get_address_of_algorithm_0() { return &___algorithm_0; }
  2368. inline void set_algorithm_0(String_t* value)
  2369. {
  2370. ___algorithm_0 = value;
  2371. Il2CppCodeGenWriteBarrier((void**)(&___algorithm_0), (void*)value);
  2372. }
  2373. inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___parameters_1)); }
  2374. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_parameters_1() const { return ___parameters_1; }
  2375. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_parameters_1() { return &___parameters_1; }
  2376. inline void set_parameters_1(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
  2377. {
  2378. ___parameters_1 = value;
  2379. Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
  2380. }
  2381. inline static int32_t get_offset_of_publicKeyParamSet_2() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___publicKeyParamSet_2)); }
  2382. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_2() const { return ___publicKeyParamSet_2; }
  2383. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_2() { return &___publicKeyParamSet_2; }
  2384. inline void set_publicKeyParamSet_2(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
  2385. {
  2386. ___publicKeyParamSet_2 = value;
  2387. Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_2), (void*)value);
  2388. }
  2389. inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___random_3)); }
  2390. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
  2391. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
  2392. inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  2393. {
  2394. ___random_3 = value;
  2395. Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
  2396. }
  2397. };
  2398. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint
  2399. struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA : public RuntimeObject
  2400. {
  2401. public:
  2402. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_curve
  2403. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___m_curve_1;
  2404. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_x
  2405. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_x_2;
  2406. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_y
  2407. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_y_3;
  2408. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_zs
  2409. ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* ___m_zs_4;
  2410. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_withCompression
  2411. bool ___m_withCompression_5;
  2412. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_preCompTable
  2413. RuntimeObject* ___m_preCompTable_6;
  2414. public:
  2415. inline static int32_t get_offset_of_m_curve_1() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_curve_1)); }
  2416. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_m_curve_1() const { return ___m_curve_1; }
  2417. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_m_curve_1() { return &___m_curve_1; }
  2418. inline void set_m_curve_1(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
  2419. {
  2420. ___m_curve_1 = value;
  2421. Il2CppCodeGenWriteBarrier((void**)(&___m_curve_1), (void*)value);
  2422. }
  2423. inline static int32_t get_offset_of_m_x_2() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_x_2)); }
  2424. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_x_2() const { return ___m_x_2; }
  2425. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_x_2() { return &___m_x_2; }
  2426. inline void set_m_x_2(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
  2427. {
  2428. ___m_x_2 = value;
  2429. Il2CppCodeGenWriteBarrier((void**)(&___m_x_2), (void*)value);
  2430. }
  2431. inline static int32_t get_offset_of_m_y_3() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_y_3)); }
  2432. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_y_3() const { return ___m_y_3; }
  2433. inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_y_3() { return &___m_y_3; }
  2434. inline void set_m_y_3(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
  2435. {
  2436. ___m_y_3 = value;
  2437. Il2CppCodeGenWriteBarrier((void**)(&___m_y_3), (void*)value);
  2438. }
  2439. inline static int32_t get_offset_of_m_zs_4() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_zs_4)); }
  2440. inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* get_m_zs_4() const { return ___m_zs_4; }
  2441. inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E** get_address_of_m_zs_4() { return &___m_zs_4; }
  2442. inline void set_m_zs_4(ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* value)
  2443. {
  2444. ___m_zs_4 = value;
  2445. Il2CppCodeGenWriteBarrier((void**)(&___m_zs_4), (void*)value);
  2446. }
  2447. inline static int32_t get_offset_of_m_withCompression_5() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_withCompression_5)); }
  2448. inline bool get_m_withCompression_5() const { return ___m_withCompression_5; }
  2449. inline bool* get_address_of_m_withCompression_5() { return &___m_withCompression_5; }
  2450. inline void set_m_withCompression_5(bool value)
  2451. {
  2452. ___m_withCompression_5 = value;
  2453. }
  2454. inline static int32_t get_offset_of_m_preCompTable_6() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_preCompTable_6)); }
  2455. inline RuntimeObject* get_m_preCompTable_6() const { return ___m_preCompTable_6; }
  2456. inline RuntimeObject** get_address_of_m_preCompTable_6() { return &___m_preCompTable_6; }
  2457. inline void set_m_preCompTable_6(RuntimeObject* value)
  2458. {
  2459. ___m_preCompTable_6 = value;
  2460. Il2CppCodeGenWriteBarrier((void**)(&___m_preCompTable_6), (void*)value);
  2461. }
  2462. };
  2463. struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA_StaticFields
  2464. {
  2465. public:
  2466. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::EMPTY_ZS
  2467. ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* ___EMPTY_ZS_0;
  2468. public:
  2469. inline static int32_t get_offset_of_EMPTY_ZS_0() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA_StaticFields, ___EMPTY_ZS_0)); }
  2470. inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* get_EMPTY_ZS_0() const { return ___EMPTY_ZS_0; }
  2471. inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E** get_address_of_EMPTY_ZS_0() { return &___EMPTY_ZS_0; }
  2472. inline void set_EMPTY_ZS_0(ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* value)
  2473. {
  2474. ___EMPTY_ZS_0 = value;
  2475. Il2CppCodeGenWriteBarrier((void**)(&___EMPTY_ZS_0), (void*)value);
  2476. }
  2477. };
  2478. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType
  2479. struct ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64 : public RuntimeObject
  2480. {
  2481. public:
  2482. public:
  2483. };
  2484. struct ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields
  2485. {
  2486. public:
  2487. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType::DRAFT_token_binding
  2488. int32_t ___DRAFT_token_binding_25;
  2489. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType::negotiated_ff_dhe_groups
  2490. int32_t ___negotiated_ff_dhe_groups_28;
  2491. public:
  2492. inline static int32_t get_offset_of_DRAFT_token_binding_25() { return static_cast<int32_t>(offsetof(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields, ___DRAFT_token_binding_25)); }
  2493. inline int32_t get_DRAFT_token_binding_25() const { return ___DRAFT_token_binding_25; }
  2494. inline int32_t* get_address_of_DRAFT_token_binding_25() { return &___DRAFT_token_binding_25; }
  2495. inline void set_DRAFT_token_binding_25(int32_t value)
  2496. {
  2497. ___DRAFT_token_binding_25 = value;
  2498. }
  2499. inline static int32_t get_offset_of_negotiated_ff_dhe_groups_28() { return static_cast<int32_t>(offsetof(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields, ___negotiated_ff_dhe_groups_28)); }
  2500. inline int32_t get_negotiated_ff_dhe_groups_28() const { return ___negotiated_ff_dhe_groups_28; }
  2501. inline int32_t* get_address_of_negotiated_ff_dhe_groups_28() { return &___negotiated_ff_dhe_groups_28; }
  2502. inline void set_negotiated_ff_dhe_groups_28(int32_t value)
  2503. {
  2504. ___negotiated_ff_dhe_groups_28 = value;
  2505. }
  2506. };
  2507. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner
  2508. struct GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E : public RuntimeObject
  2509. {
  2510. public:
  2511. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::engine
  2512. RuntimeObject* ___engine_0;
  2513. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::digest
  2514. RuntimeObject* ___digest_1;
  2515. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::forSigning
  2516. bool ___forSigning_2;
  2517. public:
  2518. inline static int32_t get_offset_of_engine_0() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___engine_0)); }
  2519. inline RuntimeObject* get_engine_0() const { return ___engine_0; }
  2520. inline RuntimeObject** get_address_of_engine_0() { return &___engine_0; }
  2521. inline void set_engine_0(RuntimeObject* value)
  2522. {
  2523. ___engine_0 = value;
  2524. Il2CppCodeGenWriteBarrier((void**)(&___engine_0), (void*)value);
  2525. }
  2526. inline static int32_t get_offset_of_digest_1() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___digest_1)); }
  2527. inline RuntimeObject* get_digest_1() const { return ___digest_1; }
  2528. inline RuntimeObject** get_address_of_digest_1() { return &___digest_1; }
  2529. inline void set_digest_1(RuntimeObject* value)
  2530. {
  2531. ___digest_1 = value;
  2532. Il2CppCodeGenWriteBarrier((void**)(&___digest_1), (void*)value);
  2533. }
  2534. inline static int32_t get_offset_of_forSigning_2() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___forSigning_2)); }
  2535. inline bool get_forSigning_2() const { return ___forSigning_2; }
  2536. inline bool* get_address_of_forSigning_2() { return &___forSigning_2; }
  2537. inline void set_forSigning_2(bool value)
  2538. {
  2539. ___forSigning_2 = value;
  2540. }
  2541. };
  2542. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac
  2543. struct HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B : public RuntimeObject
  2544. {
  2545. public:
  2546. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::digest
  2547. RuntimeObject* ___digest_2;
  2548. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::digestSize
  2549. int32_t ___digestSize_3;
  2550. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::blockLength
  2551. int32_t ___blockLength_4;
  2552. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::ipadState
  2553. RuntimeObject* ___ipadState_5;
  2554. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::opadState
  2555. RuntimeObject* ___opadState_6;
  2556. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::inputPad
  2557. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___inputPad_7;
  2558. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::outputBuf
  2559. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___outputBuf_8;
  2560. public:
  2561. inline static int32_t get_offset_of_digest_2() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___digest_2)); }
  2562. inline RuntimeObject* get_digest_2() const { return ___digest_2; }
  2563. inline RuntimeObject** get_address_of_digest_2() { return &___digest_2; }
  2564. inline void set_digest_2(RuntimeObject* value)
  2565. {
  2566. ___digest_2 = value;
  2567. Il2CppCodeGenWriteBarrier((void**)(&___digest_2), (void*)value);
  2568. }
  2569. inline static int32_t get_offset_of_digestSize_3() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___digestSize_3)); }
  2570. inline int32_t get_digestSize_3() const { return ___digestSize_3; }
  2571. inline int32_t* get_address_of_digestSize_3() { return &___digestSize_3; }
  2572. inline void set_digestSize_3(int32_t value)
  2573. {
  2574. ___digestSize_3 = value;
  2575. }
  2576. inline static int32_t get_offset_of_blockLength_4() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___blockLength_4)); }
  2577. inline int32_t get_blockLength_4() const { return ___blockLength_4; }
  2578. inline int32_t* get_address_of_blockLength_4() { return &___blockLength_4; }
  2579. inline void set_blockLength_4(int32_t value)
  2580. {
  2581. ___blockLength_4 = value;
  2582. }
  2583. inline static int32_t get_offset_of_ipadState_5() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___ipadState_5)); }
  2584. inline RuntimeObject* get_ipadState_5() const { return ___ipadState_5; }
  2585. inline RuntimeObject** get_address_of_ipadState_5() { return &___ipadState_5; }
  2586. inline void set_ipadState_5(RuntimeObject* value)
  2587. {
  2588. ___ipadState_5 = value;
  2589. Il2CppCodeGenWriteBarrier((void**)(&___ipadState_5), (void*)value);
  2590. }
  2591. inline static int32_t get_offset_of_opadState_6() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___opadState_6)); }
  2592. inline RuntimeObject* get_opadState_6() const { return ___opadState_6; }
  2593. inline RuntimeObject** get_address_of_opadState_6() { return &___opadState_6; }
  2594. inline void set_opadState_6(RuntimeObject* value)
  2595. {
  2596. ___opadState_6 = value;
  2597. Il2CppCodeGenWriteBarrier((void**)(&___opadState_6), (void*)value);
  2598. }
  2599. inline static int32_t get_offset_of_inputPad_7() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___inputPad_7)); }
  2600. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_inputPad_7() const { return ___inputPad_7; }
  2601. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_inputPad_7() { return &___inputPad_7; }
  2602. inline void set_inputPad_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2603. {
  2604. ___inputPad_7 = value;
  2605. Il2CppCodeGenWriteBarrier((void**)(&___inputPad_7), (void*)value);
  2606. }
  2607. inline static int32_t get_offset_of_outputBuf_8() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___outputBuf_8)); }
  2608. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_outputBuf_8() const { return ___outputBuf_8; }
  2609. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_outputBuf_8() { return &___outputBuf_8; }
  2610. inline void set_outputBuf_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2611. {
  2612. ___outputBuf_8 = value;
  2613. Il2CppCodeGenWriteBarrier((void**)(&___outputBuf_8), (void*)value);
  2614. }
  2615. };
  2616. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator
  2617. struct HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E : public RuntimeObject
  2618. {
  2619. public:
  2620. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::hMac
  2621. HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * ___hMac_0;
  2622. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::K
  2623. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___K_1;
  2624. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::V
  2625. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___V_2;
  2626. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::n
  2627. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_3;
  2628. public:
  2629. inline static int32_t get_offset_of_hMac_0() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___hMac_0)); }
  2630. inline HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * get_hMac_0() const { return ___hMac_0; }
  2631. inline HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B ** get_address_of_hMac_0() { return &___hMac_0; }
  2632. inline void set_hMac_0(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * value)
  2633. {
  2634. ___hMac_0 = value;
  2635. Il2CppCodeGenWriteBarrier((void**)(&___hMac_0), (void*)value);
  2636. }
  2637. inline static int32_t get_offset_of_K_1() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___K_1)); }
  2638. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_K_1() const { return ___K_1; }
  2639. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_K_1() { return &___K_1; }
  2640. inline void set_K_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2641. {
  2642. ___K_1 = value;
  2643. Il2CppCodeGenWriteBarrier((void**)(&___K_1), (void*)value);
  2644. }
  2645. inline static int32_t get_offset_of_V_2() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___V_2)); }
  2646. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_V_2() const { return ___V_2; }
  2647. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_V_2() { return &___V_2; }
  2648. inline void set_V_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2649. {
  2650. ___V_2 = value;
  2651. Il2CppCodeGenWriteBarrier((void**)(&___V_2), (void*)value);
  2652. }
  2653. inline static int32_t get_offset_of_n_3() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___n_3)); }
  2654. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_3() const { return ___n_3; }
  2655. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_3() { return &___n_3; }
  2656. inline void set_n_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  2657. {
  2658. ___n_3 = value;
  2659. Il2CppCodeGenWriteBarrier((void**)(&___n_3), (void*)value);
  2660. }
  2661. };
  2662. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension
  2663. struct HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 : public RuntimeObject
  2664. {
  2665. public:
  2666. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::mMode
  2667. uint8_t ___mMode_0;
  2668. public:
  2669. inline static int32_t get_offset_of_mMode_0() { return static_cast<int32_t>(offsetof(HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7, ___mMode_0)); }
  2670. inline uint8_t get_mMode_0() const { return ___mMode_0; }
  2671. inline uint8_t* get_address_of_mMode_0() { return &___mMode_0; }
  2672. inline void set_mMode_0(uint8_t value)
  2673. {
  2674. ___mMode_0 = value;
  2675. }
  2676. };
  2677. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters
  2678. struct KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39 : public RuntimeObject
  2679. {
  2680. public:
  2681. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters::random
  2682. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_0;
  2683. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters::strength
  2684. int32_t ___strength_1;
  2685. public:
  2686. inline static int32_t get_offset_of_random_0() { return static_cast<int32_t>(offsetof(KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39, ___random_0)); }
  2687. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_0() const { return ___random_0; }
  2688. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_0() { return &___random_0; }
  2689. inline void set_random_0(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  2690. {
  2691. ___random_0 = value;
  2692. Il2CppCodeGenWriteBarrier((void**)(&___random_0), (void*)value);
  2693. }
  2694. inline static int32_t get_offset_of_strength_1() { return static_cast<int32_t>(offsetof(KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39, ___strength_1)); }
  2695. inline int32_t get_strength_1() const { return ___strength_1; }
  2696. inline int32_t* get_address_of_strength_1() { return &___strength_1; }
  2697. inline void set_strength_1(int32_t value)
  2698. {
  2699. ___strength_1 = value;
  2700. }
  2701. };
  2702. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter
  2703. struct KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC : public RuntimeObject
  2704. {
  2705. public:
  2706. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::key
  2707. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___key_0;
  2708. public:
  2709. inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC, ___key_0)); }
  2710. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_key_0() const { return ___key_0; }
  2711. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_key_0() { return &___key_0; }
  2712. inline void set_key_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2713. {
  2714. ___key_0 = value;
  2715. Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
  2716. }
  2717. };
  2718. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest
  2719. struct LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F : public RuntimeObject
  2720. {
  2721. public:
  2722. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::MyByteLength
  2723. int32_t ___MyByteLength_0;
  2724. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::xBuf
  2725. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___xBuf_1;
  2726. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::xBufOff
  2727. int32_t ___xBufOff_2;
  2728. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::byteCount1
  2729. int64_t ___byteCount1_3;
  2730. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::byteCount2
  2731. int64_t ___byteCount2_4;
  2732. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H1
  2733. uint64_t ___H1_5;
  2734. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H2
  2735. uint64_t ___H2_6;
  2736. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H3
  2737. uint64_t ___H3_7;
  2738. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H4
  2739. uint64_t ___H4_8;
  2740. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H5
  2741. uint64_t ___H5_9;
  2742. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H6
  2743. uint64_t ___H6_10;
  2744. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H7
  2745. uint64_t ___H7_11;
  2746. // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H8
  2747. uint64_t ___H8_12;
  2748. // System.UInt64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::W
  2749. UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* ___W_13;
  2750. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::wOff
  2751. int32_t ___wOff_14;
  2752. public:
  2753. inline static int32_t get_offset_of_MyByteLength_0() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___MyByteLength_0)); }
  2754. inline int32_t get_MyByteLength_0() const { return ___MyByteLength_0; }
  2755. inline int32_t* get_address_of_MyByteLength_0() { return &___MyByteLength_0; }
  2756. inline void set_MyByteLength_0(int32_t value)
  2757. {
  2758. ___MyByteLength_0 = value;
  2759. }
  2760. inline static int32_t get_offset_of_xBuf_1() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___xBuf_1)); }
  2761. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_xBuf_1() const { return ___xBuf_1; }
  2762. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_xBuf_1() { return &___xBuf_1; }
  2763. inline void set_xBuf_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2764. {
  2765. ___xBuf_1 = value;
  2766. Il2CppCodeGenWriteBarrier((void**)(&___xBuf_1), (void*)value);
  2767. }
  2768. inline static int32_t get_offset_of_xBufOff_2() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___xBufOff_2)); }
  2769. inline int32_t get_xBufOff_2() const { return ___xBufOff_2; }
  2770. inline int32_t* get_address_of_xBufOff_2() { return &___xBufOff_2; }
  2771. inline void set_xBufOff_2(int32_t value)
  2772. {
  2773. ___xBufOff_2 = value;
  2774. }
  2775. inline static int32_t get_offset_of_byteCount1_3() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___byteCount1_3)); }
  2776. inline int64_t get_byteCount1_3() const { return ___byteCount1_3; }
  2777. inline int64_t* get_address_of_byteCount1_3() { return &___byteCount1_3; }
  2778. inline void set_byteCount1_3(int64_t value)
  2779. {
  2780. ___byteCount1_3 = value;
  2781. }
  2782. inline static int32_t get_offset_of_byteCount2_4() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___byteCount2_4)); }
  2783. inline int64_t get_byteCount2_4() const { return ___byteCount2_4; }
  2784. inline int64_t* get_address_of_byteCount2_4() { return &___byteCount2_4; }
  2785. inline void set_byteCount2_4(int64_t value)
  2786. {
  2787. ___byteCount2_4 = value;
  2788. }
  2789. inline static int32_t get_offset_of_H1_5() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H1_5)); }
  2790. inline uint64_t get_H1_5() const { return ___H1_5; }
  2791. inline uint64_t* get_address_of_H1_5() { return &___H1_5; }
  2792. inline void set_H1_5(uint64_t value)
  2793. {
  2794. ___H1_5 = value;
  2795. }
  2796. inline static int32_t get_offset_of_H2_6() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H2_6)); }
  2797. inline uint64_t get_H2_6() const { return ___H2_6; }
  2798. inline uint64_t* get_address_of_H2_6() { return &___H2_6; }
  2799. inline void set_H2_6(uint64_t value)
  2800. {
  2801. ___H2_6 = value;
  2802. }
  2803. inline static int32_t get_offset_of_H3_7() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H3_7)); }
  2804. inline uint64_t get_H3_7() const { return ___H3_7; }
  2805. inline uint64_t* get_address_of_H3_7() { return &___H3_7; }
  2806. inline void set_H3_7(uint64_t value)
  2807. {
  2808. ___H3_7 = value;
  2809. }
  2810. inline static int32_t get_offset_of_H4_8() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H4_8)); }
  2811. inline uint64_t get_H4_8() const { return ___H4_8; }
  2812. inline uint64_t* get_address_of_H4_8() { return &___H4_8; }
  2813. inline void set_H4_8(uint64_t value)
  2814. {
  2815. ___H4_8 = value;
  2816. }
  2817. inline static int32_t get_offset_of_H5_9() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H5_9)); }
  2818. inline uint64_t get_H5_9() const { return ___H5_9; }
  2819. inline uint64_t* get_address_of_H5_9() { return &___H5_9; }
  2820. inline void set_H5_9(uint64_t value)
  2821. {
  2822. ___H5_9 = value;
  2823. }
  2824. inline static int32_t get_offset_of_H6_10() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H6_10)); }
  2825. inline uint64_t get_H6_10() const { return ___H6_10; }
  2826. inline uint64_t* get_address_of_H6_10() { return &___H6_10; }
  2827. inline void set_H6_10(uint64_t value)
  2828. {
  2829. ___H6_10 = value;
  2830. }
  2831. inline static int32_t get_offset_of_H7_11() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H7_11)); }
  2832. inline uint64_t get_H7_11() const { return ___H7_11; }
  2833. inline uint64_t* get_address_of_H7_11() { return &___H7_11; }
  2834. inline void set_H7_11(uint64_t value)
  2835. {
  2836. ___H7_11 = value;
  2837. }
  2838. inline static int32_t get_offset_of_H8_12() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H8_12)); }
  2839. inline uint64_t get_H8_12() const { return ___H8_12; }
  2840. inline uint64_t* get_address_of_H8_12() { return &___H8_12; }
  2841. inline void set_H8_12(uint64_t value)
  2842. {
  2843. ___H8_12 = value;
  2844. }
  2845. inline static int32_t get_offset_of_W_13() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___W_13)); }
  2846. inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* get_W_13() const { return ___W_13; }
  2847. inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2** get_address_of_W_13() { return &___W_13; }
  2848. inline void set_W_13(UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* value)
  2849. {
  2850. ___W_13 = value;
  2851. Il2CppCodeGenWriteBarrier((void**)(&___W_13), (void*)value);
  2852. }
  2853. inline static int32_t get_offset_of_wOff_14() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___wOff_14)); }
  2854. inline int32_t get_wOff_14() const { return ___wOff_14; }
  2855. inline int32_t* get_address_of_wOff_14() { return &___wOff_14; }
  2856. inline void set_wOff_14(int32_t value)
  2857. {
  2858. ___wOff_14 = value;
  2859. }
  2860. };
  2861. struct LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_StaticFields
  2862. {
  2863. public:
  2864. // System.UInt64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::K
  2865. UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* ___K_15;
  2866. public:
  2867. inline static int32_t get_offset_of_K_15() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_StaticFields, ___K_15)); }
  2868. inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* get_K_15() const { return ___K_15; }
  2869. inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2** get_address_of_K_15() { return &___K_15; }
  2870. inline void set_K_15(UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* value)
  2871. {
  2872. ___K_15 = value;
  2873. Il2CppCodeGenWriteBarrier((void**)(&___K_15), (void*)value);
  2874. }
  2875. };
  2876. // System.MarshalByRefObject
  2877. struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8 : public RuntimeObject
  2878. {
  2879. public:
  2880. // System.Object System.MarshalByRefObject::_identity
  2881. RuntimeObject * ____identity_0;
  2882. public:
  2883. inline static int32_t get_offset_of__identity_0() { return static_cast<int32_t>(offsetof(MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8, ____identity_0)); }
  2884. inline RuntimeObject * get__identity_0() const { return ____identity_0; }
  2885. inline RuntimeObject ** get_address_of__identity_0() { return &____identity_0; }
  2886. inline void set__identity_0(RuntimeObject * value)
  2887. {
  2888. ____identity_0 = value;
  2889. Il2CppCodeGenWriteBarrier((void**)(&____identity_0), (void*)value);
  2890. }
  2891. };
  2892. // Native definition for P/Invoke marshalling of System.MarshalByRefObject
  2893. struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8_marshaled_pinvoke
  2894. {
  2895. Il2CppIUnknown* ____identity_0;
  2896. };
  2897. // Native definition for COM marshalling of System.MarshalByRefObject
  2898. struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8_marshaled_com
  2899. {
  2900. Il2CppIUnknown* ____identity_0;
  2901. };
  2902. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket
  2903. struct NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF : public RuntimeObject
  2904. {
  2905. public:
  2906. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::mTicketLifetimeHint
  2907. int64_t ___mTicketLifetimeHint_0;
  2908. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::mTicket
  2909. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mTicket_1;
  2910. public:
  2911. inline static int32_t get_offset_of_mTicketLifetimeHint_0() { return static_cast<int32_t>(offsetof(NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF, ___mTicketLifetimeHint_0)); }
  2912. inline int64_t get_mTicketLifetimeHint_0() const { return ___mTicketLifetimeHint_0; }
  2913. inline int64_t* get_address_of_mTicketLifetimeHint_0() { return &___mTicketLifetimeHint_0; }
  2914. inline void set_mTicketLifetimeHint_0(int64_t value)
  2915. {
  2916. ___mTicketLifetimeHint_0 = value;
  2917. }
  2918. inline static int32_t get_offset_of_mTicket_1() { return static_cast<int32_t>(offsetof(NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF, ___mTicket_1)); }
  2919. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mTicket_1() const { return ___mTicket_1; }
  2920. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mTicket_1() { return &___mTicket_1; }
  2921. inline void set_mTicket_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2922. {
  2923. ___mTicket_1 = value;
  2924. Il2CppCodeGenWriteBarrier((void**)(&___mTicket_1), (void*)value);
  2925. }
  2926. };
  2927. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest
  2928. struct NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 : public RuntimeObject
  2929. {
  2930. public:
  2931. // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest::bOut
  2932. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___bOut_0;
  2933. public:
  2934. inline static int32_t get_offset_of_bOut_0() { return static_cast<int32_t>(offsetof(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82, ___bOut_0)); }
  2935. inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * get_bOut_0() const { return ___bOut_0; }
  2936. inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C ** get_address_of_bOut_0() { return &___bOut_0; }
  2937. inline void set_bOut_0(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * value)
  2938. {
  2939. ___bOut_0 = value;
  2940. Il2CppCodeGenWriteBarrier((void**)(&___bOut_0), (void*)value);
  2941. }
  2942. };
  2943. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV
  2944. struct ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 : public RuntimeObject
  2945. {
  2946. public:
  2947. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::parameters
  2948. RuntimeObject* ___parameters_0;
  2949. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::iv
  2950. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___iv_1;
  2951. public:
  2952. inline static int32_t get_offset_of_parameters_0() { return static_cast<int32_t>(offsetof(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0, ___parameters_0)); }
  2953. inline RuntimeObject* get_parameters_0() const { return ___parameters_0; }
  2954. inline RuntimeObject** get_address_of_parameters_0() { return &___parameters_0; }
  2955. inline void set_parameters_0(RuntimeObject* value)
  2956. {
  2957. ___parameters_0 = value;
  2958. Il2CppCodeGenWriteBarrier((void**)(&___parameters_0), (void*)value);
  2959. }
  2960. inline static int32_t get_offset_of_iv_1() { return static_cast<int32_t>(offsetof(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0, ___iv_1)); }
  2961. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_iv_1() const { return ___iv_1; }
  2962. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_iv_1() { return &___iv_1; }
  2963. inline void set_iv_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  2964. {
  2965. ___iv_1 = value;
  2966. Il2CppCodeGenWriteBarrier((void**)(&___iv_1), (void*)value);
  2967. }
  2968. };
  2969. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom
  2970. struct ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC : public RuntimeObject
  2971. {
  2972. public:
  2973. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::parameters
  2974. RuntimeObject* ___parameters_0;
  2975. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::random
  2976. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_1;
  2977. public:
  2978. inline static int32_t get_offset_of_parameters_0() { return static_cast<int32_t>(offsetof(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC, ___parameters_0)); }
  2979. inline RuntimeObject* get_parameters_0() const { return ___parameters_0; }
  2980. inline RuntimeObject** get_address_of_parameters_0() { return &___parameters_0; }
  2981. inline void set_parameters_0(RuntimeObject* value)
  2982. {
  2983. ___parameters_0 = value;
  2984. Il2CppCodeGenWriteBarrier((void**)(&___parameters_0), (void*)value);
  2985. }
  2986. inline static int32_t get_offset_of_random_1() { return static_cast<int32_t>(offsetof(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC, ___random_1)); }
  2987. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_1() const { return ___random_1; }
  2988. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_1() { return &___random_1; }
  2989. inline void set_random_1(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  2990. {
  2991. ___random_1 = value;
  2992. Il2CppCodeGenWriteBarrier((void**)(&___random_1), (void*)value);
  2993. }
  2994. };
  2995. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding
  2996. struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 : public RuntimeObject
  2997. {
  2998. public:
  2999. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::random
  3000. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
  3001. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::engine
  3002. RuntimeObject* ___engine_4;
  3003. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::forEncryption
  3004. bool ___forEncryption_5;
  3005. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::forPrivateKey
  3006. bool ___forPrivateKey_6;
  3007. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::useStrictLength
  3008. bool ___useStrictLength_7;
  3009. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::pLen
  3010. int32_t ___pLen_8;
  3011. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::fallback
  3012. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___fallback_9;
  3013. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::blockBuffer
  3014. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___blockBuffer_10;
  3015. public:
  3016. inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___random_3)); }
  3017. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
  3018. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
  3019. inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  3020. {
  3021. ___random_3 = value;
  3022. Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
  3023. }
  3024. inline static int32_t get_offset_of_engine_4() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___engine_4)); }
  3025. inline RuntimeObject* get_engine_4() const { return ___engine_4; }
  3026. inline RuntimeObject** get_address_of_engine_4() { return &___engine_4; }
  3027. inline void set_engine_4(RuntimeObject* value)
  3028. {
  3029. ___engine_4 = value;
  3030. Il2CppCodeGenWriteBarrier((void**)(&___engine_4), (void*)value);
  3031. }
  3032. inline static int32_t get_offset_of_forEncryption_5() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___forEncryption_5)); }
  3033. inline bool get_forEncryption_5() const { return ___forEncryption_5; }
  3034. inline bool* get_address_of_forEncryption_5() { return &___forEncryption_5; }
  3035. inline void set_forEncryption_5(bool value)
  3036. {
  3037. ___forEncryption_5 = value;
  3038. }
  3039. inline static int32_t get_offset_of_forPrivateKey_6() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___forPrivateKey_6)); }
  3040. inline bool get_forPrivateKey_6() const { return ___forPrivateKey_6; }
  3041. inline bool* get_address_of_forPrivateKey_6() { return &___forPrivateKey_6; }
  3042. inline void set_forPrivateKey_6(bool value)
  3043. {
  3044. ___forPrivateKey_6 = value;
  3045. }
  3046. inline static int32_t get_offset_of_useStrictLength_7() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___useStrictLength_7)); }
  3047. inline bool get_useStrictLength_7() const { return ___useStrictLength_7; }
  3048. inline bool* get_address_of_useStrictLength_7() { return &___useStrictLength_7; }
  3049. inline void set_useStrictLength_7(bool value)
  3050. {
  3051. ___useStrictLength_7 = value;
  3052. }
  3053. inline static int32_t get_offset_of_pLen_8() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___pLen_8)); }
  3054. inline int32_t get_pLen_8() const { return ___pLen_8; }
  3055. inline int32_t* get_address_of_pLen_8() { return &___pLen_8; }
  3056. inline void set_pLen_8(int32_t value)
  3057. {
  3058. ___pLen_8 = value;
  3059. }
  3060. inline static int32_t get_offset_of_fallback_9() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___fallback_9)); }
  3061. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_fallback_9() const { return ___fallback_9; }
  3062. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_fallback_9() { return &___fallback_9; }
  3063. inline void set_fallback_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3064. {
  3065. ___fallback_9 = value;
  3066. Il2CppCodeGenWriteBarrier((void**)(&___fallback_9), (void*)value);
  3067. }
  3068. inline static int32_t get_offset_of_blockBuffer_10() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___blockBuffer_10)); }
  3069. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_blockBuffer_10() const { return ___blockBuffer_10; }
  3070. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_blockBuffer_10() { return &___blockBuffer_10; }
  3071. inline void set_blockBuffer_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3072. {
  3073. ___blockBuffer_10 = value;
  3074. Il2CppCodeGenWriteBarrier((void**)(&___blockBuffer_10), (void*)value);
  3075. }
  3076. };
  3077. struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_StaticFields
  3078. {
  3079. public:
  3080. // System.Boolean[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::strictLengthEnabled
  3081. BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___strictLengthEnabled_2;
  3082. public:
  3083. inline static int32_t get_offset_of_strictLengthEnabled_2() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_StaticFields, ___strictLengthEnabled_2)); }
  3084. inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* get_strictLengthEnabled_2() const { return ___strictLengthEnabled_2; }
  3085. inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C** get_address_of_strictLengthEnabled_2() { return &___strictLengthEnabled_2; }
  3086. inline void set_strictLengthEnabled_2(BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* value)
  3087. {
  3088. ___strictLengthEnabled_2 = value;
  3089. Il2CppCodeGenWriteBarrier((void**)(&___strictLengthEnabled_2), (void*)value);
  3090. }
  3091. };
  3092. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion
  3093. struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 : public RuntimeObject
  3094. {
  3095. public:
  3096. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::version
  3097. int32_t ___version_6;
  3098. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::name
  3099. String_t* ___name_7;
  3100. public:
  3101. inline static int32_t get_offset_of_version_6() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915, ___version_6)); }
  3102. inline int32_t get_version_6() const { return ___version_6; }
  3103. inline int32_t* get_address_of_version_6() { return &___version_6; }
  3104. inline void set_version_6(int32_t value)
  3105. {
  3106. ___version_6 = value;
  3107. }
  3108. inline static int32_t get_offset_of_name_7() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915, ___name_7)); }
  3109. inline String_t* get_name_7() const { return ___name_7; }
  3110. inline String_t** get_address_of_name_7() { return &___name_7; }
  3111. inline void set_name_7(String_t* value)
  3112. {
  3113. ___name_7 = value;
  3114. Il2CppCodeGenWriteBarrier((void**)(&___name_7), (void*)value);
  3115. }
  3116. };
  3117. struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields
  3118. {
  3119. public:
  3120. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::SSLv3
  3121. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___SSLv3_0;
  3122. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv10
  3123. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv10_1;
  3124. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv11
  3125. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv11_2;
  3126. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv12
  3127. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv12_3;
  3128. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::DTLSv10
  3129. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___DTLSv10_4;
  3130. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::DTLSv12
  3131. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___DTLSv12_5;
  3132. public:
  3133. inline static int32_t get_offset_of_SSLv3_0() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___SSLv3_0)); }
  3134. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_SSLv3_0() const { return ___SSLv3_0; }
  3135. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_SSLv3_0() { return &___SSLv3_0; }
  3136. inline void set_SSLv3_0(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3137. {
  3138. ___SSLv3_0 = value;
  3139. Il2CppCodeGenWriteBarrier((void**)(&___SSLv3_0), (void*)value);
  3140. }
  3141. inline static int32_t get_offset_of_TLSv10_1() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv10_1)); }
  3142. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv10_1() const { return ___TLSv10_1; }
  3143. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv10_1() { return &___TLSv10_1; }
  3144. inline void set_TLSv10_1(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3145. {
  3146. ___TLSv10_1 = value;
  3147. Il2CppCodeGenWriteBarrier((void**)(&___TLSv10_1), (void*)value);
  3148. }
  3149. inline static int32_t get_offset_of_TLSv11_2() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv11_2)); }
  3150. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv11_2() const { return ___TLSv11_2; }
  3151. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv11_2() { return &___TLSv11_2; }
  3152. inline void set_TLSv11_2(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3153. {
  3154. ___TLSv11_2 = value;
  3155. Il2CppCodeGenWriteBarrier((void**)(&___TLSv11_2), (void*)value);
  3156. }
  3157. inline static int32_t get_offset_of_TLSv12_3() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv12_3)); }
  3158. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv12_3() const { return ___TLSv12_3; }
  3159. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv12_3() { return &___TLSv12_3; }
  3160. inline void set_TLSv12_3(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3161. {
  3162. ___TLSv12_3 = value;
  3163. Il2CppCodeGenWriteBarrier((void**)(&___TLSv12_3), (void*)value);
  3164. }
  3165. inline static int32_t get_offset_of_DTLSv10_4() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___DTLSv10_4)); }
  3166. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_DTLSv10_4() const { return ___DTLSv10_4; }
  3167. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_DTLSv10_4() { return &___DTLSv10_4; }
  3168. inline void set_DTLSv10_4(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3169. {
  3170. ___DTLSv10_4 = value;
  3171. Il2CppCodeGenWriteBarrier((void**)(&___DTLSv10_4), (void*)value);
  3172. }
  3173. inline static int32_t get_offset_of_DTLSv12_5() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___DTLSv12_5)); }
  3174. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_DTLSv12_5() const { return ___DTLSv12_5; }
  3175. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_DTLSv12_5() { return &___DTLSv12_5; }
  3176. inline void set_DTLSv12_5(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3177. {
  3178. ___DTLSv12_5 = value;
  3179. Il2CppCodeGenWriteBarrier((void**)(&___DTLSv12_5), (void*)value);
  3180. }
  3181. };
  3182. // System.Random
  3183. struct Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 : public RuntimeObject
  3184. {
  3185. public:
  3186. // System.Int32 System.Random::inext
  3187. int32_t ___inext_0;
  3188. // System.Int32 System.Random::inextp
  3189. int32_t ___inextp_1;
  3190. // System.Int32[] System.Random::SeedArray
  3191. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___SeedArray_2;
  3192. public:
  3193. inline static int32_t get_offset_of_inext_0() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inext_0)); }
  3194. inline int32_t get_inext_0() const { return ___inext_0; }
  3195. inline int32_t* get_address_of_inext_0() { return &___inext_0; }
  3196. inline void set_inext_0(int32_t value)
  3197. {
  3198. ___inext_0 = value;
  3199. }
  3200. inline static int32_t get_offset_of_inextp_1() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inextp_1)); }
  3201. inline int32_t get_inextp_1() const { return ___inextp_1; }
  3202. inline int32_t* get_address_of_inextp_1() { return &___inextp_1; }
  3203. inline void set_inextp_1(int32_t value)
  3204. {
  3205. ___inextp_1 = value;
  3206. }
  3207. inline static int32_t get_offset_of_SeedArray_2() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___SeedArray_2)); }
  3208. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_SeedArray_2() const { return ___SeedArray_2; }
  3209. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_SeedArray_2() { return &___SeedArray_2; }
  3210. inline void set_SeedArray_2(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  3211. {
  3212. ___SeedArray_2 = value;
  3213. Il2CppCodeGenWriteBarrier((void**)(&___SeedArray_2), (void*)value);
  3214. }
  3215. };
  3216. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream
  3217. struct RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E : public RuntimeObject
  3218. {
  3219. public:
  3220. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandler
  3221. TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___mHandler_5;
  3222. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mInput
  3223. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___mInput_6;
  3224. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mOutput
  3225. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___mOutput_7;
  3226. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPendingCompression
  3227. RuntimeObject* ___mPendingCompression_8;
  3228. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadCompression
  3229. RuntimeObject* ___mReadCompression_9;
  3230. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteCompression
  3231. RuntimeObject* ___mWriteCompression_10;
  3232. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPendingCipher
  3233. RuntimeObject* ___mPendingCipher_11;
  3234. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadCipher
  3235. RuntimeObject* ___mReadCipher_12;
  3236. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteCipher
  3237. RuntimeObject* ___mWriteCipher_13;
  3238. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadSeqNo
  3239. SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * ___mReadSeqNo_14;
  3240. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteSeqNo
  3241. SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * ___mWriteSeqNo_15;
  3242. // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mBuffer
  3243. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___mBuffer_16;
  3244. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandshakeHash
  3245. RuntimeObject* ___mHandshakeHash_17;
  3246. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandshakeHashUpdater
  3247. BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * ___mHandshakeHashUpdater_18;
  3248. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadVersion
  3249. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mReadVersion_19;
  3250. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteVersion
  3251. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mWriteVersion_20;
  3252. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mRestrictReadVersion
  3253. bool ___mRestrictReadVersion_21;
  3254. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPlaintextLimit
  3255. int32_t ___mPlaintextLimit_22;
  3256. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mCompressedLimit
  3257. int32_t ___mCompressedLimit_23;
  3258. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mCiphertextLimit
  3259. int32_t ___mCiphertextLimit_24;
  3260. public:
  3261. inline static int32_t get_offset_of_mHandler_5() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandler_5)); }
  3262. inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * get_mHandler_5() const { return ___mHandler_5; }
  3263. inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 ** get_address_of_mHandler_5() { return &___mHandler_5; }
  3264. inline void set_mHandler_5(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * value)
  3265. {
  3266. ___mHandler_5 = value;
  3267. Il2CppCodeGenWriteBarrier((void**)(&___mHandler_5), (void*)value);
  3268. }
  3269. inline static int32_t get_offset_of_mInput_6() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mInput_6)); }
  3270. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_mInput_6() const { return ___mInput_6; }
  3271. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_mInput_6() { return &___mInput_6; }
  3272. inline void set_mInput_6(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  3273. {
  3274. ___mInput_6 = value;
  3275. Il2CppCodeGenWriteBarrier((void**)(&___mInput_6), (void*)value);
  3276. }
  3277. inline static int32_t get_offset_of_mOutput_7() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mOutput_7)); }
  3278. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_mOutput_7() const { return ___mOutput_7; }
  3279. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_mOutput_7() { return &___mOutput_7; }
  3280. inline void set_mOutput_7(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  3281. {
  3282. ___mOutput_7 = value;
  3283. Il2CppCodeGenWriteBarrier((void**)(&___mOutput_7), (void*)value);
  3284. }
  3285. inline static int32_t get_offset_of_mPendingCompression_8() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPendingCompression_8)); }
  3286. inline RuntimeObject* get_mPendingCompression_8() const { return ___mPendingCompression_8; }
  3287. inline RuntimeObject** get_address_of_mPendingCompression_8() { return &___mPendingCompression_8; }
  3288. inline void set_mPendingCompression_8(RuntimeObject* value)
  3289. {
  3290. ___mPendingCompression_8 = value;
  3291. Il2CppCodeGenWriteBarrier((void**)(&___mPendingCompression_8), (void*)value);
  3292. }
  3293. inline static int32_t get_offset_of_mReadCompression_9() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadCompression_9)); }
  3294. inline RuntimeObject* get_mReadCompression_9() const { return ___mReadCompression_9; }
  3295. inline RuntimeObject** get_address_of_mReadCompression_9() { return &___mReadCompression_9; }
  3296. inline void set_mReadCompression_9(RuntimeObject* value)
  3297. {
  3298. ___mReadCompression_9 = value;
  3299. Il2CppCodeGenWriteBarrier((void**)(&___mReadCompression_9), (void*)value);
  3300. }
  3301. inline static int32_t get_offset_of_mWriteCompression_10() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteCompression_10)); }
  3302. inline RuntimeObject* get_mWriteCompression_10() const { return ___mWriteCompression_10; }
  3303. inline RuntimeObject** get_address_of_mWriteCompression_10() { return &___mWriteCompression_10; }
  3304. inline void set_mWriteCompression_10(RuntimeObject* value)
  3305. {
  3306. ___mWriteCompression_10 = value;
  3307. Il2CppCodeGenWriteBarrier((void**)(&___mWriteCompression_10), (void*)value);
  3308. }
  3309. inline static int32_t get_offset_of_mPendingCipher_11() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPendingCipher_11)); }
  3310. inline RuntimeObject* get_mPendingCipher_11() const { return ___mPendingCipher_11; }
  3311. inline RuntimeObject** get_address_of_mPendingCipher_11() { return &___mPendingCipher_11; }
  3312. inline void set_mPendingCipher_11(RuntimeObject* value)
  3313. {
  3314. ___mPendingCipher_11 = value;
  3315. Il2CppCodeGenWriteBarrier((void**)(&___mPendingCipher_11), (void*)value);
  3316. }
  3317. inline static int32_t get_offset_of_mReadCipher_12() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadCipher_12)); }
  3318. inline RuntimeObject* get_mReadCipher_12() const { return ___mReadCipher_12; }
  3319. inline RuntimeObject** get_address_of_mReadCipher_12() { return &___mReadCipher_12; }
  3320. inline void set_mReadCipher_12(RuntimeObject* value)
  3321. {
  3322. ___mReadCipher_12 = value;
  3323. Il2CppCodeGenWriteBarrier((void**)(&___mReadCipher_12), (void*)value);
  3324. }
  3325. inline static int32_t get_offset_of_mWriteCipher_13() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteCipher_13)); }
  3326. inline RuntimeObject* get_mWriteCipher_13() const { return ___mWriteCipher_13; }
  3327. inline RuntimeObject** get_address_of_mWriteCipher_13() { return &___mWriteCipher_13; }
  3328. inline void set_mWriteCipher_13(RuntimeObject* value)
  3329. {
  3330. ___mWriteCipher_13 = value;
  3331. Il2CppCodeGenWriteBarrier((void**)(&___mWriteCipher_13), (void*)value);
  3332. }
  3333. inline static int32_t get_offset_of_mReadSeqNo_14() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadSeqNo_14)); }
  3334. inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * get_mReadSeqNo_14() const { return ___mReadSeqNo_14; }
  3335. inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 ** get_address_of_mReadSeqNo_14() { return &___mReadSeqNo_14; }
  3336. inline void set_mReadSeqNo_14(SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * value)
  3337. {
  3338. ___mReadSeqNo_14 = value;
  3339. Il2CppCodeGenWriteBarrier((void**)(&___mReadSeqNo_14), (void*)value);
  3340. }
  3341. inline static int32_t get_offset_of_mWriteSeqNo_15() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteSeqNo_15)); }
  3342. inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * get_mWriteSeqNo_15() const { return ___mWriteSeqNo_15; }
  3343. inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 ** get_address_of_mWriteSeqNo_15() { return &___mWriteSeqNo_15; }
  3344. inline void set_mWriteSeqNo_15(SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * value)
  3345. {
  3346. ___mWriteSeqNo_15 = value;
  3347. Il2CppCodeGenWriteBarrier((void**)(&___mWriteSeqNo_15), (void*)value);
  3348. }
  3349. inline static int32_t get_offset_of_mBuffer_16() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mBuffer_16)); }
  3350. inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * get_mBuffer_16() const { return ___mBuffer_16; }
  3351. inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C ** get_address_of_mBuffer_16() { return &___mBuffer_16; }
  3352. inline void set_mBuffer_16(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * value)
  3353. {
  3354. ___mBuffer_16 = value;
  3355. Il2CppCodeGenWriteBarrier((void**)(&___mBuffer_16), (void*)value);
  3356. }
  3357. inline static int32_t get_offset_of_mHandshakeHash_17() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandshakeHash_17)); }
  3358. inline RuntimeObject* get_mHandshakeHash_17() const { return ___mHandshakeHash_17; }
  3359. inline RuntimeObject** get_address_of_mHandshakeHash_17() { return &___mHandshakeHash_17; }
  3360. inline void set_mHandshakeHash_17(RuntimeObject* value)
  3361. {
  3362. ___mHandshakeHash_17 = value;
  3363. Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeHash_17), (void*)value);
  3364. }
  3365. inline static int32_t get_offset_of_mHandshakeHashUpdater_18() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandshakeHashUpdater_18)); }
  3366. inline BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * get_mHandshakeHashUpdater_18() const { return ___mHandshakeHashUpdater_18; }
  3367. inline BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D ** get_address_of_mHandshakeHashUpdater_18() { return &___mHandshakeHashUpdater_18; }
  3368. inline void set_mHandshakeHashUpdater_18(BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * value)
  3369. {
  3370. ___mHandshakeHashUpdater_18 = value;
  3371. Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeHashUpdater_18), (void*)value);
  3372. }
  3373. inline static int32_t get_offset_of_mReadVersion_19() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadVersion_19)); }
  3374. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mReadVersion_19() const { return ___mReadVersion_19; }
  3375. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mReadVersion_19() { return &___mReadVersion_19; }
  3376. inline void set_mReadVersion_19(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3377. {
  3378. ___mReadVersion_19 = value;
  3379. Il2CppCodeGenWriteBarrier((void**)(&___mReadVersion_19), (void*)value);
  3380. }
  3381. inline static int32_t get_offset_of_mWriteVersion_20() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteVersion_20)); }
  3382. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mWriteVersion_20() const { return ___mWriteVersion_20; }
  3383. inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mWriteVersion_20() { return &___mWriteVersion_20; }
  3384. inline void set_mWriteVersion_20(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
  3385. {
  3386. ___mWriteVersion_20 = value;
  3387. Il2CppCodeGenWriteBarrier((void**)(&___mWriteVersion_20), (void*)value);
  3388. }
  3389. inline static int32_t get_offset_of_mRestrictReadVersion_21() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mRestrictReadVersion_21)); }
  3390. inline bool get_mRestrictReadVersion_21() const { return ___mRestrictReadVersion_21; }
  3391. inline bool* get_address_of_mRestrictReadVersion_21() { return &___mRestrictReadVersion_21; }
  3392. inline void set_mRestrictReadVersion_21(bool value)
  3393. {
  3394. ___mRestrictReadVersion_21 = value;
  3395. }
  3396. inline static int32_t get_offset_of_mPlaintextLimit_22() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPlaintextLimit_22)); }
  3397. inline int32_t get_mPlaintextLimit_22() const { return ___mPlaintextLimit_22; }
  3398. inline int32_t* get_address_of_mPlaintextLimit_22() { return &___mPlaintextLimit_22; }
  3399. inline void set_mPlaintextLimit_22(int32_t value)
  3400. {
  3401. ___mPlaintextLimit_22 = value;
  3402. }
  3403. inline static int32_t get_offset_of_mCompressedLimit_23() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mCompressedLimit_23)); }
  3404. inline int32_t get_mCompressedLimit_23() const { return ___mCompressedLimit_23; }
  3405. inline int32_t* get_address_of_mCompressedLimit_23() { return &___mCompressedLimit_23; }
  3406. inline void set_mCompressedLimit_23(int32_t value)
  3407. {
  3408. ___mCompressedLimit_23 = value;
  3409. }
  3410. inline static int32_t get_offset_of_mCiphertextLimit_24() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mCiphertextLimit_24)); }
  3411. inline int32_t get_mCiphertextLimit_24() const { return ___mCiphertextLimit_24; }
  3412. inline int32_t* get_address_of_mCiphertextLimit_24() { return &___mCiphertextLimit_24; }
  3413. inline void set_mCiphertextLimit_24(int32_t value)
  3414. {
  3415. ___mCiphertextLimit_24 = value;
  3416. }
  3417. };
  3418. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine
  3419. struct RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 : public RuntimeObject
  3420. {
  3421. public:
  3422. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IRsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::core
  3423. RuntimeObject* ___core_0;
  3424. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::key
  3425. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key_1;
  3426. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::random
  3427. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_2;
  3428. public:
  3429. inline static int32_t get_offset_of_core_0() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___core_0)); }
  3430. inline RuntimeObject* get_core_0() const { return ___core_0; }
  3431. inline RuntimeObject** get_address_of_core_0() { return &___core_0; }
  3432. inline void set_core_0(RuntimeObject* value)
  3433. {
  3434. ___core_0 = value;
  3435. Il2CppCodeGenWriteBarrier((void**)(&___core_0), (void*)value);
  3436. }
  3437. inline static int32_t get_offset_of_key_1() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___key_1)); }
  3438. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_key_1() const { return ___key_1; }
  3439. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_key_1() { return &___key_1; }
  3440. inline void set_key_1(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
  3441. {
  3442. ___key_1 = value;
  3443. Il2CppCodeGenWriteBarrier((void**)(&___key_1), (void*)value);
  3444. }
  3445. inline static int32_t get_offset_of_random_2() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___random_2)); }
  3446. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_2() const { return ___random_2; }
  3447. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_2() { return &___random_2; }
  3448. inline void set_random_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  3449. {
  3450. ___random_2 = value;
  3451. Il2CppCodeGenWriteBarrier((void**)(&___random_2), (void*)value);
  3452. }
  3453. };
  3454. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner
  3455. struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC : public RuntimeObject
  3456. {
  3457. public:
  3458. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::rsaEngine
  3459. RuntimeObject* ___rsaEngine_0;
  3460. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::algId
  3461. AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___algId_1;
  3462. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::digest
  3463. RuntimeObject* ___digest_2;
  3464. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::forSigning
  3465. bool ___forSigning_3;
  3466. public:
  3467. inline static int32_t get_offset_of_rsaEngine_0() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___rsaEngine_0)); }
  3468. inline RuntimeObject* get_rsaEngine_0() const { return ___rsaEngine_0; }
  3469. inline RuntimeObject** get_address_of_rsaEngine_0() { return &___rsaEngine_0; }
  3470. inline void set_rsaEngine_0(RuntimeObject* value)
  3471. {
  3472. ___rsaEngine_0 = value;
  3473. Il2CppCodeGenWriteBarrier((void**)(&___rsaEngine_0), (void*)value);
  3474. }
  3475. inline static int32_t get_offset_of_algId_1() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___algId_1)); }
  3476. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_algId_1() const { return ___algId_1; }
  3477. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_algId_1() { return &___algId_1; }
  3478. inline void set_algId_1(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
  3479. {
  3480. ___algId_1 = value;
  3481. Il2CppCodeGenWriteBarrier((void**)(&___algId_1), (void*)value);
  3482. }
  3483. inline static int32_t get_offset_of_digest_2() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___digest_2)); }
  3484. inline RuntimeObject* get_digest_2() const { return ___digest_2; }
  3485. inline RuntimeObject** get_address_of_digest_2() { return &___digest_2; }
  3486. inline void set_digest_2(RuntimeObject* value)
  3487. {
  3488. ___digest_2 = value;
  3489. Il2CppCodeGenWriteBarrier((void**)(&___digest_2), (void*)value);
  3490. }
  3491. inline static int32_t get_offset_of_forSigning_3() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___forSigning_3)); }
  3492. inline bool get_forSigning_3() const { return ___forSigning_3; }
  3493. inline bool* get_address_of_forSigning_3() { return &___forSigning_3; }
  3494. inline void set_forSigning_3(bool value)
  3495. {
  3496. ___forSigning_3 = value;
  3497. }
  3498. };
  3499. struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_StaticFields
  3500. {
  3501. public:
  3502. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::oidMap
  3503. RuntimeObject* ___oidMap_4;
  3504. public:
  3505. inline static int32_t get_offset_of_oidMap_4() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_StaticFields, ___oidMap_4)); }
  3506. inline RuntimeObject* get_oidMap_4() const { return ___oidMap_4; }
  3507. inline RuntimeObject** get_address_of_oidMap_4() { return &___oidMap_4; }
  3508. inline void set_oidMap_4(RuntimeObject* value)
  3509. {
  3510. ___oidMap_4 = value;
  3511. Il2CppCodeGenWriteBarrier((void**)(&___oidMap_4), (void*)value);
  3512. }
  3513. };
  3514. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters
  3515. struct SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 : public RuntimeObject
  3516. {
  3517. public:
  3518. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::entity
  3519. int32_t ___entity_0;
  3520. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::cipherSuite
  3521. int32_t ___cipherSuite_1;
  3522. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::compressionAlgorithm
  3523. uint8_t ___compressionAlgorithm_2;
  3524. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::prfAlgorithm
  3525. int32_t ___prfAlgorithm_3;
  3526. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::verifyDataLength
  3527. int32_t ___verifyDataLength_4;
  3528. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::masterSecret
  3529. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___masterSecret_5;
  3530. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::clientRandom
  3531. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientRandom_6;
  3532. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::serverRandom
  3533. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverRandom_7;
  3534. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::sessionHash
  3535. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sessionHash_8;
  3536. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::pskIdentity
  3537. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pskIdentity_9;
  3538. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::srpIdentity
  3539. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___srpIdentity_10;
  3540. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::maxFragmentLength
  3541. int16_t ___maxFragmentLength_11;
  3542. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::truncatedHMac
  3543. bool ___truncatedHMac_12;
  3544. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::encryptThenMac
  3545. bool ___encryptThenMac_13;
  3546. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::extendedMasterSecret
  3547. bool ___extendedMasterSecret_14;
  3548. public:
  3549. inline static int32_t get_offset_of_entity_0() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___entity_0)); }
  3550. inline int32_t get_entity_0() const { return ___entity_0; }
  3551. inline int32_t* get_address_of_entity_0() { return &___entity_0; }
  3552. inline void set_entity_0(int32_t value)
  3553. {
  3554. ___entity_0 = value;
  3555. }
  3556. inline static int32_t get_offset_of_cipherSuite_1() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___cipherSuite_1)); }
  3557. inline int32_t get_cipherSuite_1() const { return ___cipherSuite_1; }
  3558. inline int32_t* get_address_of_cipherSuite_1() { return &___cipherSuite_1; }
  3559. inline void set_cipherSuite_1(int32_t value)
  3560. {
  3561. ___cipherSuite_1 = value;
  3562. }
  3563. inline static int32_t get_offset_of_compressionAlgorithm_2() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___compressionAlgorithm_2)); }
  3564. inline uint8_t get_compressionAlgorithm_2() const { return ___compressionAlgorithm_2; }
  3565. inline uint8_t* get_address_of_compressionAlgorithm_2() { return &___compressionAlgorithm_2; }
  3566. inline void set_compressionAlgorithm_2(uint8_t value)
  3567. {
  3568. ___compressionAlgorithm_2 = value;
  3569. }
  3570. inline static int32_t get_offset_of_prfAlgorithm_3() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___prfAlgorithm_3)); }
  3571. inline int32_t get_prfAlgorithm_3() const { return ___prfAlgorithm_3; }
  3572. inline int32_t* get_address_of_prfAlgorithm_3() { return &___prfAlgorithm_3; }
  3573. inline void set_prfAlgorithm_3(int32_t value)
  3574. {
  3575. ___prfAlgorithm_3 = value;
  3576. }
  3577. inline static int32_t get_offset_of_verifyDataLength_4() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___verifyDataLength_4)); }
  3578. inline int32_t get_verifyDataLength_4() const { return ___verifyDataLength_4; }
  3579. inline int32_t* get_address_of_verifyDataLength_4() { return &___verifyDataLength_4; }
  3580. inline void set_verifyDataLength_4(int32_t value)
  3581. {
  3582. ___verifyDataLength_4 = value;
  3583. }
  3584. inline static int32_t get_offset_of_masterSecret_5() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___masterSecret_5)); }
  3585. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_masterSecret_5() const { return ___masterSecret_5; }
  3586. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_masterSecret_5() { return &___masterSecret_5; }
  3587. inline void set_masterSecret_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3588. {
  3589. ___masterSecret_5 = value;
  3590. Il2CppCodeGenWriteBarrier((void**)(&___masterSecret_5), (void*)value);
  3591. }
  3592. inline static int32_t get_offset_of_clientRandom_6() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___clientRandom_6)); }
  3593. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_clientRandom_6() const { return ___clientRandom_6; }
  3594. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_clientRandom_6() { return &___clientRandom_6; }
  3595. inline void set_clientRandom_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3596. {
  3597. ___clientRandom_6 = value;
  3598. Il2CppCodeGenWriteBarrier((void**)(&___clientRandom_6), (void*)value);
  3599. }
  3600. inline static int32_t get_offset_of_serverRandom_7() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___serverRandom_7)); }
  3601. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_serverRandom_7() const { return ___serverRandom_7; }
  3602. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_serverRandom_7() { return &___serverRandom_7; }
  3603. inline void set_serverRandom_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3604. {
  3605. ___serverRandom_7 = value;
  3606. Il2CppCodeGenWriteBarrier((void**)(&___serverRandom_7), (void*)value);
  3607. }
  3608. inline static int32_t get_offset_of_sessionHash_8() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___sessionHash_8)); }
  3609. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_sessionHash_8() const { return ___sessionHash_8; }
  3610. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_sessionHash_8() { return &___sessionHash_8; }
  3611. inline void set_sessionHash_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3612. {
  3613. ___sessionHash_8 = value;
  3614. Il2CppCodeGenWriteBarrier((void**)(&___sessionHash_8), (void*)value);
  3615. }
  3616. inline static int32_t get_offset_of_pskIdentity_9() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___pskIdentity_9)); }
  3617. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_pskIdentity_9() const { return ___pskIdentity_9; }
  3618. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_pskIdentity_9() { return &___pskIdentity_9; }
  3619. inline void set_pskIdentity_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3620. {
  3621. ___pskIdentity_9 = value;
  3622. Il2CppCodeGenWriteBarrier((void**)(&___pskIdentity_9), (void*)value);
  3623. }
  3624. inline static int32_t get_offset_of_srpIdentity_10() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___srpIdentity_10)); }
  3625. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_srpIdentity_10() const { return ___srpIdentity_10; }
  3626. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_srpIdentity_10() { return &___srpIdentity_10; }
  3627. inline void set_srpIdentity_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3628. {
  3629. ___srpIdentity_10 = value;
  3630. Il2CppCodeGenWriteBarrier((void**)(&___srpIdentity_10), (void*)value);
  3631. }
  3632. inline static int32_t get_offset_of_maxFragmentLength_11() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___maxFragmentLength_11)); }
  3633. inline int16_t get_maxFragmentLength_11() const { return ___maxFragmentLength_11; }
  3634. inline int16_t* get_address_of_maxFragmentLength_11() { return &___maxFragmentLength_11; }
  3635. inline void set_maxFragmentLength_11(int16_t value)
  3636. {
  3637. ___maxFragmentLength_11 = value;
  3638. }
  3639. inline static int32_t get_offset_of_truncatedHMac_12() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___truncatedHMac_12)); }
  3640. inline bool get_truncatedHMac_12() const { return ___truncatedHMac_12; }
  3641. inline bool* get_address_of_truncatedHMac_12() { return &___truncatedHMac_12; }
  3642. inline void set_truncatedHMac_12(bool value)
  3643. {
  3644. ___truncatedHMac_12 = value;
  3645. }
  3646. inline static int32_t get_offset_of_encryptThenMac_13() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___encryptThenMac_13)); }
  3647. inline bool get_encryptThenMac_13() const { return ___encryptThenMac_13; }
  3648. inline bool* get_address_of_encryptThenMac_13() { return &___encryptThenMac_13; }
  3649. inline void set_encryptThenMac_13(bool value)
  3650. {
  3651. ___encryptThenMac_13 = value;
  3652. }
  3653. inline static int32_t get_offset_of_extendedMasterSecret_14() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___extendedMasterSecret_14)); }
  3654. inline bool get_extendedMasterSecret_14() const { return ___extendedMasterSecret_14; }
  3655. inline bool* get_address_of_extendedMasterSecret_14() { return &___extendedMasterSecret_14; }
  3656. inline void set_extendedMasterSecret_14(bool value)
  3657. {
  3658. ___extendedMasterSecret_14 = value;
  3659. }
  3660. };
  3661. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList
  3662. struct ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 : public RuntimeObject
  3663. {
  3664. public:
  3665. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::mServerNameList
  3666. RuntimeObject* ___mServerNameList_0;
  3667. public:
  3668. inline static int32_t get_offset_of_mServerNameList_0() { return static_cast<int32_t>(offsetof(ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676, ___mServerNameList_0)); }
  3669. inline RuntimeObject* get_mServerNameList_0() const { return ___mServerNameList_0; }
  3670. inline RuntimeObject** get_address_of_mServerNameList_0() { return &___mServerNameList_0; }
  3671. inline void set_mServerNameList_0(RuntimeObject* value)
  3672. {
  3673. ___mServerNameList_0 = value;
  3674. Il2CppCodeGenWriteBarrier((void**)(&___mServerNameList_0), (void*)value);
  3675. }
  3676. };
  3677. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters
  3678. struct SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D : public RuntimeObject
  3679. {
  3680. public:
  3681. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mCipherSuite
  3682. int32_t ___mCipherSuite_0;
  3683. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mCompressionAlgorithm
  3684. uint8_t ___mCompressionAlgorithm_1;
  3685. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mMasterSecret
  3686. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMasterSecret_2;
  3687. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mPeerCertificate
  3688. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_3;
  3689. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mPskIdentity
  3690. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentity_4;
  3691. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mSrpIdentity
  3692. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSrpIdentity_5;
  3693. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mEncodedServerExtensions
  3694. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mEncodedServerExtensions_6;
  3695. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mExtendedMasterSecret
  3696. bool ___mExtendedMasterSecret_7;
  3697. public:
  3698. inline static int32_t get_offset_of_mCipherSuite_0() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mCipherSuite_0)); }
  3699. inline int32_t get_mCipherSuite_0() const { return ___mCipherSuite_0; }
  3700. inline int32_t* get_address_of_mCipherSuite_0() { return &___mCipherSuite_0; }
  3701. inline void set_mCipherSuite_0(int32_t value)
  3702. {
  3703. ___mCipherSuite_0 = value;
  3704. }
  3705. inline static int32_t get_offset_of_mCompressionAlgorithm_1() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mCompressionAlgorithm_1)); }
  3706. inline uint8_t get_mCompressionAlgorithm_1() const { return ___mCompressionAlgorithm_1; }
  3707. inline uint8_t* get_address_of_mCompressionAlgorithm_1() { return &___mCompressionAlgorithm_1; }
  3708. inline void set_mCompressionAlgorithm_1(uint8_t value)
  3709. {
  3710. ___mCompressionAlgorithm_1 = value;
  3711. }
  3712. inline static int32_t get_offset_of_mMasterSecret_2() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mMasterSecret_2)); }
  3713. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMasterSecret_2() const { return ___mMasterSecret_2; }
  3714. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMasterSecret_2() { return &___mMasterSecret_2; }
  3715. inline void set_mMasterSecret_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3716. {
  3717. ___mMasterSecret_2 = value;
  3718. Il2CppCodeGenWriteBarrier((void**)(&___mMasterSecret_2), (void*)value);
  3719. }
  3720. inline static int32_t get_offset_of_mPeerCertificate_3() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mPeerCertificate_3)); }
  3721. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_3() const { return ___mPeerCertificate_3; }
  3722. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_3() { return &___mPeerCertificate_3; }
  3723. inline void set_mPeerCertificate_3(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
  3724. {
  3725. ___mPeerCertificate_3 = value;
  3726. Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_3), (void*)value);
  3727. }
  3728. inline static int32_t get_offset_of_mPskIdentity_4() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mPskIdentity_4)); }
  3729. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentity_4() const { return ___mPskIdentity_4; }
  3730. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentity_4() { return &___mPskIdentity_4; }
  3731. inline void set_mPskIdentity_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3732. {
  3733. ___mPskIdentity_4 = value;
  3734. Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_4), (void*)value);
  3735. }
  3736. inline static int32_t get_offset_of_mSrpIdentity_5() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mSrpIdentity_5)); }
  3737. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSrpIdentity_5() const { return ___mSrpIdentity_5; }
  3738. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSrpIdentity_5() { return &___mSrpIdentity_5; }
  3739. inline void set_mSrpIdentity_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3740. {
  3741. ___mSrpIdentity_5 = value;
  3742. Il2CppCodeGenWriteBarrier((void**)(&___mSrpIdentity_5), (void*)value);
  3743. }
  3744. inline static int32_t get_offset_of_mEncodedServerExtensions_6() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mEncodedServerExtensions_6)); }
  3745. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mEncodedServerExtensions_6() const { return ___mEncodedServerExtensions_6; }
  3746. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mEncodedServerExtensions_6() { return &___mEncodedServerExtensions_6; }
  3747. inline void set_mEncodedServerExtensions_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3748. {
  3749. ___mEncodedServerExtensions_6 = value;
  3750. Il2CppCodeGenWriteBarrier((void**)(&___mEncodedServerExtensions_6), (void*)value);
  3751. }
  3752. inline static int32_t get_offset_of_mExtendedMasterSecret_7() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mExtendedMasterSecret_7)); }
  3753. inline bool get_mExtendedMasterSecret_7() const { return ___mExtendedMasterSecret_7; }
  3754. inline bool* get_address_of_mExtendedMasterSecret_7() { return &___mExtendedMasterSecret_7; }
  3755. inline void set_mExtendedMasterSecret_7(bool value)
  3756. {
  3757. ___mExtendedMasterSecret_7 = value;
  3758. }
  3759. };
  3760. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm
  3761. struct SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 : public RuntimeObject
  3762. {
  3763. public:
  3764. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::mHash
  3765. uint8_t ___mHash_0;
  3766. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::mSignature
  3767. uint8_t ___mSignature_1;
  3768. public:
  3769. inline static int32_t get_offset_of_mHash_0() { return static_cast<int32_t>(offsetof(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25, ___mHash_0)); }
  3770. inline uint8_t get_mHash_0() const { return ___mHash_0; }
  3771. inline uint8_t* get_address_of_mHash_0() { return &___mHash_0; }
  3772. inline void set_mHash_0(uint8_t value)
  3773. {
  3774. ___mHash_0 = value;
  3775. }
  3776. inline static int32_t get_offset_of_mSignature_1() { return static_cast<int32_t>(offsetof(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25, ___mSignature_1)); }
  3777. inline uint8_t get_mSignature_1() const { return ___mSignature_1; }
  3778. inline uint8_t* get_address_of_mSignature_1() { return &___mSignature_1; }
  3779. inline void set_mSignature_1(uint8_t value)
  3780. {
  3781. ___mSignature_1 = value;
  3782. }
  3783. };
  3784. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac
  3785. struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E : public RuntimeObject
  3786. {
  3787. public:
  3788. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::digest
  3789. RuntimeObject* ___digest_4;
  3790. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::padLength
  3791. int32_t ___padLength_5;
  3792. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::secret
  3793. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___secret_6;
  3794. public:
  3795. inline static int32_t get_offset_of_digest_4() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___digest_4)); }
  3796. inline RuntimeObject* get_digest_4() const { return ___digest_4; }
  3797. inline RuntimeObject** get_address_of_digest_4() { return &___digest_4; }
  3798. inline void set_digest_4(RuntimeObject* value)
  3799. {
  3800. ___digest_4 = value;
  3801. Il2CppCodeGenWriteBarrier((void**)(&___digest_4), (void*)value);
  3802. }
  3803. inline static int32_t get_offset_of_padLength_5() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___padLength_5)); }
  3804. inline int32_t get_padLength_5() const { return ___padLength_5; }
  3805. inline int32_t* get_address_of_padLength_5() { return &___padLength_5; }
  3806. inline void set_padLength_5(int32_t value)
  3807. {
  3808. ___padLength_5 = value;
  3809. }
  3810. inline static int32_t get_offset_of_secret_6() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___secret_6)); }
  3811. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_secret_6() const { return ___secret_6; }
  3812. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_secret_6() { return &___secret_6; }
  3813. inline void set_secret_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3814. {
  3815. ___secret_6 = value;
  3816. Il2CppCodeGenWriteBarrier((void**)(&___secret_6), (void*)value);
  3817. }
  3818. };
  3819. struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields
  3820. {
  3821. public:
  3822. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::IPAD
  3823. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___IPAD_2;
  3824. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::OPAD
  3825. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___OPAD_3;
  3826. public:
  3827. inline static int32_t get_offset_of_IPAD_2() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields, ___IPAD_2)); }
  3828. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_IPAD_2() const { return ___IPAD_2; }
  3829. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_IPAD_2() { return &___IPAD_2; }
  3830. inline void set_IPAD_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3831. {
  3832. ___IPAD_2 = value;
  3833. Il2CppCodeGenWriteBarrier((void**)(&___IPAD_2), (void*)value);
  3834. }
  3835. inline static int32_t get_offset_of_OPAD_3() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields, ___OPAD_3)); }
  3836. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_OPAD_3() const { return ___OPAD_3; }
  3837. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_OPAD_3() { return &___OPAD_3; }
  3838. inline void set_OPAD_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3839. {
  3840. ___OPAD_3 = value;
  3841. Il2CppCodeGenWriteBarrier((void**)(&___OPAD_3), (void*)value);
  3842. }
  3843. };
  3844. // System.String
  3845. struct String_t : public RuntimeObject
  3846. {
  3847. public:
  3848. // System.Int32 System.String::m_stringLength
  3849. int32_t ___m_stringLength_0;
  3850. // System.Char System.String::m_firstChar
  3851. Il2CppChar ___m_firstChar_1;
  3852. public:
  3853. inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
  3854. inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
  3855. inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
  3856. inline void set_m_stringLength_0(int32_t value)
  3857. {
  3858. ___m_stringLength_0 = value;
  3859. }
  3860. inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
  3861. inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
  3862. inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
  3863. inline void set_m_firstChar_1(Il2CppChar value)
  3864. {
  3865. ___m_firstChar_1 = value;
  3866. }
  3867. };
  3868. struct String_t_StaticFields
  3869. {
  3870. public:
  3871. // System.String System.String::Empty
  3872. String_t* ___Empty_5;
  3873. public:
  3874. inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
  3875. inline String_t* get_Empty_5() const { return ___Empty_5; }
  3876. inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
  3877. inline void set_Empty_5(String_t* value)
  3878. {
  3879. ___Empty_5 = value;
  3880. Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
  3881. }
  3882. };
  3883. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry
  3884. struct SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 : public RuntimeObject
  3885. {
  3886. public:
  3887. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::mDataType
  3888. int32_t ___mDataType_0;
  3889. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::mData
  3890. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mData_1;
  3891. public:
  3892. inline static int32_t get_offset_of_mDataType_0() { return static_cast<int32_t>(offsetof(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7, ___mDataType_0)); }
  3893. inline int32_t get_mDataType_0() const { return ___mDataType_0; }
  3894. inline int32_t* get_address_of_mDataType_0() { return &___mDataType_0; }
  3895. inline void set_mDataType_0(int32_t value)
  3896. {
  3897. ___mDataType_0 = value;
  3898. }
  3899. inline static int32_t get_offset_of_mData_1() { return static_cast<int32_t>(offsetof(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7, ___mData_1)); }
  3900. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mData_1() const { return ___mData_1; }
  3901. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mData_1() { return &___mData_1; }
  3902. inline void set_mData_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3903. {
  3904. ___mData_1 = value;
  3905. Il2CppCodeGenWriteBarrier((void**)(&___mData_1), (void*)value);
  3906. }
  3907. };
  3908. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times
  3909. struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F : public RuntimeObject
  3910. {
  3911. public:
  3912. public:
  3913. };
  3914. struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields
  3915. {
  3916. public:
  3917. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::NanosecondsPerTick
  3918. int64_t ___NanosecondsPerTick_0;
  3919. public:
  3920. inline static int32_t get_offset_of_NanosecondsPerTick_0() { return static_cast<int32_t>(offsetof(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields, ___NanosecondsPerTick_0)); }
  3921. inline int64_t get_NanosecondsPerTick_0() const { return ___NanosecondsPerTick_0; }
  3922. inline int64_t* get_address_of_NanosecondsPerTick_0() { return &___NanosecondsPerTick_0; }
  3923. inline void set_NanosecondsPerTick_0(int64_t value)
  3924. {
  3925. ___NanosecondsPerTick_0 = value;
  3926. }
  3927. };
  3928. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher
  3929. struct TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 : public RuntimeObject
  3930. {
  3931. public:
  3932. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::context
  3933. RuntimeObject* ___context_2;
  3934. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::macSize
  3935. int32_t ___macSize_3;
  3936. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::record_iv_length
  3937. int32_t ___record_iv_length_4;
  3938. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::encryptCipher
  3939. RuntimeObject* ___encryptCipher_5;
  3940. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::decryptCipher
  3941. RuntimeObject* ___decryptCipher_6;
  3942. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::encryptImplicitNonce
  3943. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encryptImplicitNonce_7;
  3944. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::decryptImplicitNonce
  3945. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___decryptImplicitNonce_8;
  3946. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::nonceMode
  3947. int32_t ___nonceMode_9;
  3948. public:
  3949. inline static int32_t get_offset_of_context_2() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___context_2)); }
  3950. inline RuntimeObject* get_context_2() const { return ___context_2; }
  3951. inline RuntimeObject** get_address_of_context_2() { return &___context_2; }
  3952. inline void set_context_2(RuntimeObject* value)
  3953. {
  3954. ___context_2 = value;
  3955. Il2CppCodeGenWriteBarrier((void**)(&___context_2), (void*)value);
  3956. }
  3957. inline static int32_t get_offset_of_macSize_3() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___macSize_3)); }
  3958. inline int32_t get_macSize_3() const { return ___macSize_3; }
  3959. inline int32_t* get_address_of_macSize_3() { return &___macSize_3; }
  3960. inline void set_macSize_3(int32_t value)
  3961. {
  3962. ___macSize_3 = value;
  3963. }
  3964. inline static int32_t get_offset_of_record_iv_length_4() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___record_iv_length_4)); }
  3965. inline int32_t get_record_iv_length_4() const { return ___record_iv_length_4; }
  3966. inline int32_t* get_address_of_record_iv_length_4() { return &___record_iv_length_4; }
  3967. inline void set_record_iv_length_4(int32_t value)
  3968. {
  3969. ___record_iv_length_4 = value;
  3970. }
  3971. inline static int32_t get_offset_of_encryptCipher_5() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___encryptCipher_5)); }
  3972. inline RuntimeObject* get_encryptCipher_5() const { return ___encryptCipher_5; }
  3973. inline RuntimeObject** get_address_of_encryptCipher_5() { return &___encryptCipher_5; }
  3974. inline void set_encryptCipher_5(RuntimeObject* value)
  3975. {
  3976. ___encryptCipher_5 = value;
  3977. Il2CppCodeGenWriteBarrier((void**)(&___encryptCipher_5), (void*)value);
  3978. }
  3979. inline static int32_t get_offset_of_decryptCipher_6() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___decryptCipher_6)); }
  3980. inline RuntimeObject* get_decryptCipher_6() const { return ___decryptCipher_6; }
  3981. inline RuntimeObject** get_address_of_decryptCipher_6() { return &___decryptCipher_6; }
  3982. inline void set_decryptCipher_6(RuntimeObject* value)
  3983. {
  3984. ___decryptCipher_6 = value;
  3985. Il2CppCodeGenWriteBarrier((void**)(&___decryptCipher_6), (void*)value);
  3986. }
  3987. inline static int32_t get_offset_of_encryptImplicitNonce_7() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___encryptImplicitNonce_7)); }
  3988. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_encryptImplicitNonce_7() const { return ___encryptImplicitNonce_7; }
  3989. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_encryptImplicitNonce_7() { return &___encryptImplicitNonce_7; }
  3990. inline void set_encryptImplicitNonce_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3991. {
  3992. ___encryptImplicitNonce_7 = value;
  3993. Il2CppCodeGenWriteBarrier((void**)(&___encryptImplicitNonce_7), (void*)value);
  3994. }
  3995. inline static int32_t get_offset_of_decryptImplicitNonce_8() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___decryptImplicitNonce_8)); }
  3996. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_decryptImplicitNonce_8() const { return ___decryptImplicitNonce_8; }
  3997. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_decryptImplicitNonce_8() { return &___decryptImplicitNonce_8; }
  3998. inline void set_decryptImplicitNonce_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  3999. {
  4000. ___decryptImplicitNonce_8 = value;
  4001. Il2CppCodeGenWriteBarrier((void**)(&___decryptImplicitNonce_8), (void*)value);
  4002. }
  4003. inline static int32_t get_offset_of_nonceMode_9() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___nonceMode_9)); }
  4004. inline int32_t get_nonceMode_9() const { return ___nonceMode_9; }
  4005. inline int32_t* get_address_of_nonceMode_9() { return &___nonceMode_9; }
  4006. inline void set_nonceMode_9(int32_t value)
  4007. {
  4008. ___nonceMode_9 = value;
  4009. }
  4010. };
  4011. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher
  4012. struct TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 : public RuntimeObject
  4013. {
  4014. public:
  4015. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::context
  4016. RuntimeObject* ___context_0;
  4017. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::randomData
  4018. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___randomData_1;
  4019. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::useExplicitIV
  4020. bool ___useExplicitIV_2;
  4021. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::encryptThenMac
  4022. bool ___encryptThenMac_3;
  4023. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::encryptCipher
  4024. RuntimeObject* ___encryptCipher_4;
  4025. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::decryptCipher
  4026. RuntimeObject* ___decryptCipher_5;
  4027. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::mWriteMac
  4028. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___mWriteMac_6;
  4029. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::mReadMac
  4030. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___mReadMac_7;
  4031. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::explicitIV
  4032. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___explicitIV_8;
  4033. public:
  4034. inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___context_0)); }
  4035. inline RuntimeObject* get_context_0() const { return ___context_0; }
  4036. inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
  4037. inline void set_context_0(RuntimeObject* value)
  4038. {
  4039. ___context_0 = value;
  4040. Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
  4041. }
  4042. inline static int32_t get_offset_of_randomData_1() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___randomData_1)); }
  4043. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_randomData_1() const { return ___randomData_1; }
  4044. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_randomData_1() { return &___randomData_1; }
  4045. inline void set_randomData_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4046. {
  4047. ___randomData_1 = value;
  4048. Il2CppCodeGenWriteBarrier((void**)(&___randomData_1), (void*)value);
  4049. }
  4050. inline static int32_t get_offset_of_useExplicitIV_2() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___useExplicitIV_2)); }
  4051. inline bool get_useExplicitIV_2() const { return ___useExplicitIV_2; }
  4052. inline bool* get_address_of_useExplicitIV_2() { return &___useExplicitIV_2; }
  4053. inline void set_useExplicitIV_2(bool value)
  4054. {
  4055. ___useExplicitIV_2 = value;
  4056. }
  4057. inline static int32_t get_offset_of_encryptThenMac_3() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___encryptThenMac_3)); }
  4058. inline bool get_encryptThenMac_3() const { return ___encryptThenMac_3; }
  4059. inline bool* get_address_of_encryptThenMac_3() { return &___encryptThenMac_3; }
  4060. inline void set_encryptThenMac_3(bool value)
  4061. {
  4062. ___encryptThenMac_3 = value;
  4063. }
  4064. inline static int32_t get_offset_of_encryptCipher_4() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___encryptCipher_4)); }
  4065. inline RuntimeObject* get_encryptCipher_4() const { return ___encryptCipher_4; }
  4066. inline RuntimeObject** get_address_of_encryptCipher_4() { return &___encryptCipher_4; }
  4067. inline void set_encryptCipher_4(RuntimeObject* value)
  4068. {
  4069. ___encryptCipher_4 = value;
  4070. Il2CppCodeGenWriteBarrier((void**)(&___encryptCipher_4), (void*)value);
  4071. }
  4072. inline static int32_t get_offset_of_decryptCipher_5() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___decryptCipher_5)); }
  4073. inline RuntimeObject* get_decryptCipher_5() const { return ___decryptCipher_5; }
  4074. inline RuntimeObject** get_address_of_decryptCipher_5() { return &___decryptCipher_5; }
  4075. inline void set_decryptCipher_5(RuntimeObject* value)
  4076. {
  4077. ___decryptCipher_5 = value;
  4078. Il2CppCodeGenWriteBarrier((void**)(&___decryptCipher_5), (void*)value);
  4079. }
  4080. inline static int32_t get_offset_of_mWriteMac_6() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___mWriteMac_6)); }
  4081. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_mWriteMac_6() const { return ___mWriteMac_6; }
  4082. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_mWriteMac_6() { return &___mWriteMac_6; }
  4083. inline void set_mWriteMac_6(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
  4084. {
  4085. ___mWriteMac_6 = value;
  4086. Il2CppCodeGenWriteBarrier((void**)(&___mWriteMac_6), (void*)value);
  4087. }
  4088. inline static int32_t get_offset_of_mReadMac_7() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___mReadMac_7)); }
  4089. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_mReadMac_7() const { return ___mReadMac_7; }
  4090. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_mReadMac_7() { return &___mReadMac_7; }
  4091. inline void set_mReadMac_7(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
  4092. {
  4093. ___mReadMac_7 = value;
  4094. Il2CppCodeGenWriteBarrier((void**)(&___mReadMac_7), (void*)value);
  4095. }
  4096. inline static int32_t get_offset_of_explicitIV_8() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___explicitIV_8)); }
  4097. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_explicitIV_8() const { return ___explicitIV_8; }
  4098. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_explicitIV_8() { return &___explicitIV_8; }
  4099. inline void set_explicitIV_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4100. {
  4101. ___explicitIV_8 = value;
  4102. Il2CppCodeGenWriteBarrier((void**)(&___explicitIV_8), (void*)value);
  4103. }
  4104. };
  4105. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities
  4106. struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC : public RuntimeObject
  4107. {
  4108. public:
  4109. public:
  4110. };
  4111. struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields
  4112. {
  4113. public:
  4114. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::Two
  4115. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Two_0;
  4116. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe2432_p
  4117. String_t* ___draft_ffdhe2432_p_1;
  4118. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe2432
  4119. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe2432_2;
  4120. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe3072_p
  4121. String_t* ___draft_ffdhe3072_p_3;
  4122. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe3072
  4123. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe3072_4;
  4124. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe4096_p
  4125. String_t* ___draft_ffdhe4096_p_5;
  4126. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe4096
  4127. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe4096_6;
  4128. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe6144_p
  4129. String_t* ___draft_ffdhe6144_p_7;
  4130. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe6144
  4131. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe6144_8;
  4132. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe8192_p
  4133. String_t* ___draft_ffdhe8192_p_9;
  4134. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe8192
  4135. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe8192_10;
  4136. public:
  4137. inline static int32_t get_offset_of_Two_0() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___Two_0)); }
  4138. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Two_0() const { return ___Two_0; }
  4139. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Two_0() { return &___Two_0; }
  4140. inline void set_Two_0(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  4141. {
  4142. ___Two_0 = value;
  4143. Il2CppCodeGenWriteBarrier((void**)(&___Two_0), (void*)value);
  4144. }
  4145. inline static int32_t get_offset_of_draft_ffdhe2432_p_1() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe2432_p_1)); }
  4146. inline String_t* get_draft_ffdhe2432_p_1() const { return ___draft_ffdhe2432_p_1; }
  4147. inline String_t** get_address_of_draft_ffdhe2432_p_1() { return &___draft_ffdhe2432_p_1; }
  4148. inline void set_draft_ffdhe2432_p_1(String_t* value)
  4149. {
  4150. ___draft_ffdhe2432_p_1 = value;
  4151. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe2432_p_1), (void*)value);
  4152. }
  4153. inline static int32_t get_offset_of_draft_ffdhe2432_2() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe2432_2)); }
  4154. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe2432_2() const { return ___draft_ffdhe2432_2; }
  4155. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe2432_2() { return &___draft_ffdhe2432_2; }
  4156. inline void set_draft_ffdhe2432_2(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  4157. {
  4158. ___draft_ffdhe2432_2 = value;
  4159. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe2432_2), (void*)value);
  4160. }
  4161. inline static int32_t get_offset_of_draft_ffdhe3072_p_3() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe3072_p_3)); }
  4162. inline String_t* get_draft_ffdhe3072_p_3() const { return ___draft_ffdhe3072_p_3; }
  4163. inline String_t** get_address_of_draft_ffdhe3072_p_3() { return &___draft_ffdhe3072_p_3; }
  4164. inline void set_draft_ffdhe3072_p_3(String_t* value)
  4165. {
  4166. ___draft_ffdhe3072_p_3 = value;
  4167. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe3072_p_3), (void*)value);
  4168. }
  4169. inline static int32_t get_offset_of_draft_ffdhe3072_4() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe3072_4)); }
  4170. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe3072_4() const { return ___draft_ffdhe3072_4; }
  4171. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe3072_4() { return &___draft_ffdhe3072_4; }
  4172. inline void set_draft_ffdhe3072_4(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  4173. {
  4174. ___draft_ffdhe3072_4 = value;
  4175. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe3072_4), (void*)value);
  4176. }
  4177. inline static int32_t get_offset_of_draft_ffdhe4096_p_5() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe4096_p_5)); }
  4178. inline String_t* get_draft_ffdhe4096_p_5() const { return ___draft_ffdhe4096_p_5; }
  4179. inline String_t** get_address_of_draft_ffdhe4096_p_5() { return &___draft_ffdhe4096_p_5; }
  4180. inline void set_draft_ffdhe4096_p_5(String_t* value)
  4181. {
  4182. ___draft_ffdhe4096_p_5 = value;
  4183. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe4096_p_5), (void*)value);
  4184. }
  4185. inline static int32_t get_offset_of_draft_ffdhe4096_6() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe4096_6)); }
  4186. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe4096_6() const { return ___draft_ffdhe4096_6; }
  4187. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe4096_6() { return &___draft_ffdhe4096_6; }
  4188. inline void set_draft_ffdhe4096_6(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  4189. {
  4190. ___draft_ffdhe4096_6 = value;
  4191. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe4096_6), (void*)value);
  4192. }
  4193. inline static int32_t get_offset_of_draft_ffdhe6144_p_7() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe6144_p_7)); }
  4194. inline String_t* get_draft_ffdhe6144_p_7() const { return ___draft_ffdhe6144_p_7; }
  4195. inline String_t** get_address_of_draft_ffdhe6144_p_7() { return &___draft_ffdhe6144_p_7; }
  4196. inline void set_draft_ffdhe6144_p_7(String_t* value)
  4197. {
  4198. ___draft_ffdhe6144_p_7 = value;
  4199. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe6144_p_7), (void*)value);
  4200. }
  4201. inline static int32_t get_offset_of_draft_ffdhe6144_8() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe6144_8)); }
  4202. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe6144_8() const { return ___draft_ffdhe6144_8; }
  4203. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe6144_8() { return &___draft_ffdhe6144_8; }
  4204. inline void set_draft_ffdhe6144_8(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  4205. {
  4206. ___draft_ffdhe6144_8 = value;
  4207. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe6144_8), (void*)value);
  4208. }
  4209. inline static int32_t get_offset_of_draft_ffdhe8192_p_9() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe8192_p_9)); }
  4210. inline String_t* get_draft_ffdhe8192_p_9() const { return ___draft_ffdhe8192_p_9; }
  4211. inline String_t** get_address_of_draft_ffdhe8192_p_9() { return &___draft_ffdhe8192_p_9; }
  4212. inline void set_draft_ffdhe8192_p_9(String_t* value)
  4213. {
  4214. ___draft_ffdhe8192_p_9 = value;
  4215. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe8192_p_9), (void*)value);
  4216. }
  4217. inline static int32_t get_offset_of_draft_ffdhe8192_10() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe8192_10)); }
  4218. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe8192_10() const { return ___draft_ffdhe8192_10; }
  4219. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe8192_10() { return &___draft_ffdhe8192_10; }
  4220. inline void set_draft_ffdhe8192_10(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  4221. {
  4222. ___draft_ffdhe8192_10 = value;
  4223. Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe8192_10), (void*)value);
  4224. }
  4225. };
  4226. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression
  4227. struct TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 : public RuntimeObject
  4228. {
  4229. public:
  4230. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::zIn
  4231. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___zIn_4;
  4232. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::zOut
  4233. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___zOut_5;
  4234. public:
  4235. inline static int32_t get_offset_of_zIn_4() { return static_cast<int32_t>(offsetof(TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9, ___zIn_4)); }
  4236. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_zIn_4() const { return ___zIn_4; }
  4237. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_zIn_4() { return &___zIn_4; }
  4238. inline void set_zIn_4(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
  4239. {
  4240. ___zIn_4 = value;
  4241. Il2CppCodeGenWriteBarrier((void**)(&___zIn_4), (void*)value);
  4242. }
  4243. inline static int32_t get_offset_of_zOut_5() { return static_cast<int32_t>(offsetof(TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9, ___zOut_5)); }
  4244. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_zOut_5() const { return ___zOut_5; }
  4245. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_zOut_5() { return &___zOut_5; }
  4246. inline void set_zOut_5(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
  4247. {
  4248. ___zOut_5 = value;
  4249. Il2CppCodeGenWriteBarrier((void**)(&___zOut_5), (void*)value);
  4250. }
  4251. };
  4252. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities
  4253. struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD : public RuntimeObject
  4254. {
  4255. public:
  4256. public:
  4257. };
  4258. struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields
  4259. {
  4260. public:
  4261. // System.String[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CurveNames
  4262. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___CurveNames_0;
  4263. public:
  4264. inline static int32_t get_offset_of_CurveNames_0() { return static_cast<int32_t>(offsetof(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields, ___CurveNames_0)); }
  4265. inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_CurveNames_0() const { return ___CurveNames_0; }
  4266. inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_CurveNames_0() { return &___CurveNames_0; }
  4267. inline void set_CurveNames_0(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
  4268. {
  4269. ___CurveNames_0 = value;
  4270. Il2CppCodeGenWriteBarrier((void**)(&___CurveNames_0), (void*)value);
  4271. }
  4272. };
  4273. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities
  4274. struct TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247 : public RuntimeObject
  4275. {
  4276. public:
  4277. public:
  4278. };
  4279. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac
  4280. struct TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C : public RuntimeObject
  4281. {
  4282. public:
  4283. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::context
  4284. RuntimeObject* ___context_0;
  4285. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::secret
  4286. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___secret_1;
  4287. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::mac
  4288. RuntimeObject* ___mac_2;
  4289. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::digestBlockSize
  4290. int32_t ___digestBlockSize_3;
  4291. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::digestOverhead
  4292. int32_t ___digestOverhead_4;
  4293. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::macLength
  4294. int32_t ___macLength_5;
  4295. public:
  4296. inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___context_0)); }
  4297. inline RuntimeObject* get_context_0() const { return ___context_0; }
  4298. inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
  4299. inline void set_context_0(RuntimeObject* value)
  4300. {
  4301. ___context_0 = value;
  4302. Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
  4303. }
  4304. inline static int32_t get_offset_of_secret_1() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___secret_1)); }
  4305. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_secret_1() const { return ___secret_1; }
  4306. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_secret_1() { return &___secret_1; }
  4307. inline void set_secret_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4308. {
  4309. ___secret_1 = value;
  4310. Il2CppCodeGenWriteBarrier((void**)(&___secret_1), (void*)value);
  4311. }
  4312. inline static int32_t get_offset_of_mac_2() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___mac_2)); }
  4313. inline RuntimeObject* get_mac_2() const { return ___mac_2; }
  4314. inline RuntimeObject** get_address_of_mac_2() { return &___mac_2; }
  4315. inline void set_mac_2(RuntimeObject* value)
  4316. {
  4317. ___mac_2 = value;
  4318. Il2CppCodeGenWriteBarrier((void**)(&___mac_2), (void*)value);
  4319. }
  4320. inline static int32_t get_offset_of_digestBlockSize_3() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___digestBlockSize_3)); }
  4321. inline int32_t get_digestBlockSize_3() const { return ___digestBlockSize_3; }
  4322. inline int32_t* get_address_of_digestBlockSize_3() { return &___digestBlockSize_3; }
  4323. inline void set_digestBlockSize_3(int32_t value)
  4324. {
  4325. ___digestBlockSize_3 = value;
  4326. }
  4327. inline static int32_t get_offset_of_digestOverhead_4() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___digestOverhead_4)); }
  4328. inline int32_t get_digestOverhead_4() const { return ___digestOverhead_4; }
  4329. inline int32_t* get_address_of_digestOverhead_4() { return &___digestOverhead_4; }
  4330. inline void set_digestOverhead_4(int32_t value)
  4331. {
  4332. ___digestOverhead_4 = value;
  4333. }
  4334. inline static int32_t get_offset_of_macLength_5() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___macLength_5)); }
  4335. inline int32_t get_macLength_5() const { return ___macLength_5; }
  4336. inline int32_t* get_address_of_macLength_5() { return &___macLength_5; }
  4337. inline void set_macLength_5(int32_t value)
  4338. {
  4339. ___macLength_5 = value;
  4340. }
  4341. };
  4342. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher
  4343. struct TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 : public RuntimeObject
  4344. {
  4345. public:
  4346. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::context
  4347. RuntimeObject* ___context_0;
  4348. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::writeMac
  4349. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___writeMac_1;
  4350. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::readMac
  4351. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___readMac_2;
  4352. public:
  4353. inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___context_0)); }
  4354. inline RuntimeObject* get_context_0() const { return ___context_0; }
  4355. inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
  4356. inline void set_context_0(RuntimeObject* value)
  4357. {
  4358. ___context_0 = value;
  4359. Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
  4360. }
  4361. inline static int32_t get_offset_of_writeMac_1() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___writeMac_1)); }
  4362. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_writeMac_1() const { return ___writeMac_1; }
  4363. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_writeMac_1() { return &___writeMac_1; }
  4364. inline void set_writeMac_1(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
  4365. {
  4366. ___writeMac_1 = value;
  4367. Il2CppCodeGenWriteBarrier((void**)(&___writeMac_1), (void*)value);
  4368. }
  4369. inline static int32_t get_offset_of_readMac_2() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___readMac_2)); }
  4370. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_readMac_2() const { return ___readMac_2; }
  4371. inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_readMac_2() { return &___readMac_2; }
  4372. inline void set_readMac_2(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
  4373. {
  4374. ___readMac_2 = value;
  4375. Il2CppCodeGenWriteBarrier((void**)(&___readMac_2), (void*)value);
  4376. }
  4377. };
  4378. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression
  4379. struct TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 : public RuntimeObject
  4380. {
  4381. public:
  4382. public:
  4383. };
  4384. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities
  4385. struct TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE : public RuntimeObject
  4386. {
  4387. public:
  4388. public:
  4389. };
  4390. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils
  4391. struct TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597 : public RuntimeObject
  4392. {
  4393. public:
  4394. public:
  4395. };
  4396. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl
  4397. struct TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 : public RuntimeObject
  4398. {
  4399. public:
  4400. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mSessionID
  4401. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSessionID_0;
  4402. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mSessionParameters
  4403. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___mSessionParameters_1;
  4404. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mResumable
  4405. bool ___mResumable_2;
  4406. public:
  4407. inline static int32_t get_offset_of_mSessionID_0() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mSessionID_0)); }
  4408. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSessionID_0() const { return ___mSessionID_0; }
  4409. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSessionID_0() { return &___mSessionID_0; }
  4410. inline void set_mSessionID_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4411. {
  4412. ___mSessionID_0 = value;
  4413. Il2CppCodeGenWriteBarrier((void**)(&___mSessionID_0), (void*)value);
  4414. }
  4415. inline static int32_t get_offset_of_mSessionParameters_1() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mSessionParameters_1)); }
  4416. inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * get_mSessionParameters_1() const { return ___mSessionParameters_1; }
  4417. inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D ** get_address_of_mSessionParameters_1() { return &___mSessionParameters_1; }
  4418. inline void set_mSessionParameters_1(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * value)
  4419. {
  4420. ___mSessionParameters_1 = value;
  4421. Il2CppCodeGenWriteBarrier((void**)(&___mSessionParameters_1), (void*)value);
  4422. }
  4423. inline static int32_t get_offset_of_mResumable_2() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mResumable_2)); }
  4424. inline bool get_mResumable_2() const { return ___mResumable_2; }
  4425. inline bool* get_address_of_mResumable_2() { return &___mResumable_2; }
  4426. inline void set_mResumable_2(bool value)
  4427. {
  4428. ___mResumable_2 = value;
  4429. }
  4430. };
  4431. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities
  4432. struct TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352 : public RuntimeObject
  4433. {
  4434. public:
  4435. public:
  4436. };
  4437. struct TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields
  4438. {
  4439. public:
  4440. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyBytes
  4441. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___EmptyBytes_0;
  4442. // System.Int16[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyShorts
  4443. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___EmptyShorts_1;
  4444. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyInts
  4445. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___EmptyInts_2;
  4446. // System.Int64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyLongs
  4447. Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___EmptyLongs_3;
  4448. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL_CLIENT
  4449. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___SSL_CLIENT_4;
  4450. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL_SERVER
  4451. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___SSL_SERVER_5;
  4452. // System.Byte[][] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL3_CONST
  4453. ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* ___SSL3_CONST_6;
  4454. public:
  4455. inline static int32_t get_offset_of_EmptyBytes_0() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyBytes_0)); }
  4456. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_EmptyBytes_0() const { return ___EmptyBytes_0; }
  4457. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_EmptyBytes_0() { return &___EmptyBytes_0; }
  4458. inline void set_EmptyBytes_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4459. {
  4460. ___EmptyBytes_0 = value;
  4461. Il2CppCodeGenWriteBarrier((void**)(&___EmptyBytes_0), (void*)value);
  4462. }
  4463. inline static int32_t get_offset_of_EmptyShorts_1() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyShorts_1)); }
  4464. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_EmptyShorts_1() const { return ___EmptyShorts_1; }
  4465. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_EmptyShorts_1() { return &___EmptyShorts_1; }
  4466. inline void set_EmptyShorts_1(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  4467. {
  4468. ___EmptyShorts_1 = value;
  4469. Il2CppCodeGenWriteBarrier((void**)(&___EmptyShorts_1), (void*)value);
  4470. }
  4471. inline static int32_t get_offset_of_EmptyInts_2() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyInts_2)); }
  4472. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_EmptyInts_2() const { return ___EmptyInts_2; }
  4473. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_EmptyInts_2() { return &___EmptyInts_2; }
  4474. inline void set_EmptyInts_2(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  4475. {
  4476. ___EmptyInts_2 = value;
  4477. Il2CppCodeGenWriteBarrier((void**)(&___EmptyInts_2), (void*)value);
  4478. }
  4479. inline static int32_t get_offset_of_EmptyLongs_3() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyLongs_3)); }
  4480. inline Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* get_EmptyLongs_3() const { return ___EmptyLongs_3; }
  4481. inline Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6** get_address_of_EmptyLongs_3() { return &___EmptyLongs_3; }
  4482. inline void set_EmptyLongs_3(Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* value)
  4483. {
  4484. ___EmptyLongs_3 = value;
  4485. Il2CppCodeGenWriteBarrier((void**)(&___EmptyLongs_3), (void*)value);
  4486. }
  4487. inline static int32_t get_offset_of_SSL_CLIENT_4() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL_CLIENT_4)); }
  4488. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_SSL_CLIENT_4() const { return ___SSL_CLIENT_4; }
  4489. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_SSL_CLIENT_4() { return &___SSL_CLIENT_4; }
  4490. inline void set_SSL_CLIENT_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4491. {
  4492. ___SSL_CLIENT_4 = value;
  4493. Il2CppCodeGenWriteBarrier((void**)(&___SSL_CLIENT_4), (void*)value);
  4494. }
  4495. inline static int32_t get_offset_of_SSL_SERVER_5() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL_SERVER_5)); }
  4496. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_SSL_SERVER_5() const { return ___SSL_SERVER_5; }
  4497. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_SSL_SERVER_5() { return &___SSL_SERVER_5; }
  4498. inline void set_SSL_SERVER_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4499. {
  4500. ___SSL_SERVER_5 = value;
  4501. Il2CppCodeGenWriteBarrier((void**)(&___SSL_SERVER_5), (void*)value);
  4502. }
  4503. inline static int32_t get_offset_of_SSL3_CONST_6() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL3_CONST_6)); }
  4504. inline ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* get_SSL3_CONST_6() const { return ___SSL3_CONST_6; }
  4505. inline ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D** get_address_of_SSL3_CONST_6() { return &___SSL3_CONST_6; }
  4506. inline void set_SSL3_CONST_6(ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* value)
  4507. {
  4508. ___SSL3_CONST_6 = value;
  4509. Il2CppCodeGenWriteBarrier((void**)(&___SSL3_CONST_6), (void*)value);
  4510. }
  4511. };
  4512. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData
  4513. struct UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 : public RuntimeObject
  4514. {
  4515. public:
  4516. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::mProtectionProfiles
  4517. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mProtectionProfiles_0;
  4518. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::mMki
  4519. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMki_1;
  4520. public:
  4521. inline static int32_t get_offset_of_mProtectionProfiles_0() { return static_cast<int32_t>(offsetof(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935, ___mProtectionProfiles_0)); }
  4522. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mProtectionProfiles_0() const { return ___mProtectionProfiles_0; }
  4523. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mProtectionProfiles_0() { return &___mProtectionProfiles_0; }
  4524. inline void set_mProtectionProfiles_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  4525. {
  4526. ___mProtectionProfiles_0 = value;
  4527. Il2CppCodeGenWriteBarrier((void**)(&___mProtectionProfiles_0), (void*)value);
  4528. }
  4529. inline static int32_t get_offset_of_mMki_1() { return static_cast<int32_t>(offsetof(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935, ___mMki_1)); }
  4530. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMki_1() const { return ___mMki_1; }
  4531. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMki_1() { return &___mMki_1; }
  4532. inline void set_mMki_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4533. {
  4534. ___mMki_1 = value;
  4535. Il2CppCodeGenWriteBarrier((void**)(&___mMki_1), (void*)value);
  4536. }
  4537. };
  4538. // System.ValueType
  4539. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
  4540. {
  4541. public:
  4542. public:
  4543. };
  4544. // Native definition for P/Invoke marshalling of System.ValueType
  4545. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
  4546. {
  4547. };
  4548. // Native definition for COM marshalling of System.ValueType
  4549. struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
  4550. {
  4551. };
  4552. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream
  4553. struct ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C : public RuntimeObject
  4554. {
  4555. public:
  4556. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_in
  4557. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___next_in_17;
  4558. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_in_index
  4559. int32_t ___next_in_index_18;
  4560. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::avail_in
  4561. int32_t ___avail_in_19;
  4562. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::total_in
  4563. int64_t ___total_in_20;
  4564. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_out
  4565. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___next_out_21;
  4566. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_out_index
  4567. int32_t ___next_out_index_22;
  4568. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::avail_out
  4569. int32_t ___avail_out_23;
  4570. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::total_out
  4571. int64_t ___total_out_24;
  4572. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::msg
  4573. String_t* ___msg_25;
  4574. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Deflate BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::dstate
  4575. Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * ___dstate_26;
  4576. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Inflate BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::istate
  4577. Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * ___istate_27;
  4578. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::data_type
  4579. int32_t ___data_type_28;
  4580. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::adler
  4581. int64_t ___adler_29;
  4582. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Adler32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::_adler
  4583. Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * ____adler_30;
  4584. public:
  4585. inline static int32_t get_offset_of_next_in_17() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_in_17)); }
  4586. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_next_in_17() const { return ___next_in_17; }
  4587. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_next_in_17() { return &___next_in_17; }
  4588. inline void set_next_in_17(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4589. {
  4590. ___next_in_17 = value;
  4591. Il2CppCodeGenWriteBarrier((void**)(&___next_in_17), (void*)value);
  4592. }
  4593. inline static int32_t get_offset_of_next_in_index_18() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_in_index_18)); }
  4594. inline int32_t get_next_in_index_18() const { return ___next_in_index_18; }
  4595. inline int32_t* get_address_of_next_in_index_18() { return &___next_in_index_18; }
  4596. inline void set_next_in_index_18(int32_t value)
  4597. {
  4598. ___next_in_index_18 = value;
  4599. }
  4600. inline static int32_t get_offset_of_avail_in_19() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___avail_in_19)); }
  4601. inline int32_t get_avail_in_19() const { return ___avail_in_19; }
  4602. inline int32_t* get_address_of_avail_in_19() { return &___avail_in_19; }
  4603. inline void set_avail_in_19(int32_t value)
  4604. {
  4605. ___avail_in_19 = value;
  4606. }
  4607. inline static int32_t get_offset_of_total_in_20() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___total_in_20)); }
  4608. inline int64_t get_total_in_20() const { return ___total_in_20; }
  4609. inline int64_t* get_address_of_total_in_20() { return &___total_in_20; }
  4610. inline void set_total_in_20(int64_t value)
  4611. {
  4612. ___total_in_20 = value;
  4613. }
  4614. inline static int32_t get_offset_of_next_out_21() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_out_21)); }
  4615. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_next_out_21() const { return ___next_out_21; }
  4616. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_next_out_21() { return &___next_out_21; }
  4617. inline void set_next_out_21(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4618. {
  4619. ___next_out_21 = value;
  4620. Il2CppCodeGenWriteBarrier((void**)(&___next_out_21), (void*)value);
  4621. }
  4622. inline static int32_t get_offset_of_next_out_index_22() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_out_index_22)); }
  4623. inline int32_t get_next_out_index_22() const { return ___next_out_index_22; }
  4624. inline int32_t* get_address_of_next_out_index_22() { return &___next_out_index_22; }
  4625. inline void set_next_out_index_22(int32_t value)
  4626. {
  4627. ___next_out_index_22 = value;
  4628. }
  4629. inline static int32_t get_offset_of_avail_out_23() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___avail_out_23)); }
  4630. inline int32_t get_avail_out_23() const { return ___avail_out_23; }
  4631. inline int32_t* get_address_of_avail_out_23() { return &___avail_out_23; }
  4632. inline void set_avail_out_23(int32_t value)
  4633. {
  4634. ___avail_out_23 = value;
  4635. }
  4636. inline static int32_t get_offset_of_total_out_24() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___total_out_24)); }
  4637. inline int64_t get_total_out_24() const { return ___total_out_24; }
  4638. inline int64_t* get_address_of_total_out_24() { return &___total_out_24; }
  4639. inline void set_total_out_24(int64_t value)
  4640. {
  4641. ___total_out_24 = value;
  4642. }
  4643. inline static int32_t get_offset_of_msg_25() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___msg_25)); }
  4644. inline String_t* get_msg_25() const { return ___msg_25; }
  4645. inline String_t** get_address_of_msg_25() { return &___msg_25; }
  4646. inline void set_msg_25(String_t* value)
  4647. {
  4648. ___msg_25 = value;
  4649. Il2CppCodeGenWriteBarrier((void**)(&___msg_25), (void*)value);
  4650. }
  4651. inline static int32_t get_offset_of_dstate_26() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___dstate_26)); }
  4652. inline Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * get_dstate_26() const { return ___dstate_26; }
  4653. inline Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 ** get_address_of_dstate_26() { return &___dstate_26; }
  4654. inline void set_dstate_26(Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * value)
  4655. {
  4656. ___dstate_26 = value;
  4657. Il2CppCodeGenWriteBarrier((void**)(&___dstate_26), (void*)value);
  4658. }
  4659. inline static int32_t get_offset_of_istate_27() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___istate_27)); }
  4660. inline Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * get_istate_27() const { return ___istate_27; }
  4661. inline Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 ** get_address_of_istate_27() { return &___istate_27; }
  4662. inline void set_istate_27(Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * value)
  4663. {
  4664. ___istate_27 = value;
  4665. Il2CppCodeGenWriteBarrier((void**)(&___istate_27), (void*)value);
  4666. }
  4667. inline static int32_t get_offset_of_data_type_28() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___data_type_28)); }
  4668. inline int32_t get_data_type_28() const { return ___data_type_28; }
  4669. inline int32_t* get_address_of_data_type_28() { return &___data_type_28; }
  4670. inline void set_data_type_28(int32_t value)
  4671. {
  4672. ___data_type_28 = value;
  4673. }
  4674. inline static int32_t get_offset_of_adler_29() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___adler_29)); }
  4675. inline int64_t get_adler_29() const { return ___adler_29; }
  4676. inline int64_t* get_address_of_adler_29() { return &___adler_29; }
  4677. inline void set_adler_29(int64_t value)
  4678. {
  4679. ___adler_29 = value;
  4680. }
  4681. inline static int32_t get_offset_of__adler_30() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ____adler_30)); }
  4682. inline Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * get__adler_30() const { return ____adler_30; }
  4683. inline Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 ** get_address_of__adler_30() { return &____adler_30; }
  4684. inline void set__adler_30(Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * value)
  4685. {
  4686. ____adler_30 = value;
  4687. Il2CppCodeGenWriteBarrier((void**)(&____adler_30), (void*)value);
  4688. }
  4689. };
  4690. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder
  4691. struct Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 : public RuntimeObject
  4692. {
  4693. public:
  4694. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mCipherSuite
  4695. int32_t ___mCipherSuite_0;
  4696. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mCompressionAlgorithm
  4697. int16_t ___mCompressionAlgorithm_1;
  4698. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mMasterSecret
  4699. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMasterSecret_2;
  4700. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mPeerCertificate
  4701. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_3;
  4702. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mPskIdentity
  4703. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentity_4;
  4704. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mSrpIdentity
  4705. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSrpIdentity_5;
  4706. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mEncodedServerExtensions
  4707. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mEncodedServerExtensions_6;
  4708. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mExtendedMasterSecret
  4709. bool ___mExtendedMasterSecret_7;
  4710. public:
  4711. inline static int32_t get_offset_of_mCipherSuite_0() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mCipherSuite_0)); }
  4712. inline int32_t get_mCipherSuite_0() const { return ___mCipherSuite_0; }
  4713. inline int32_t* get_address_of_mCipherSuite_0() { return &___mCipherSuite_0; }
  4714. inline void set_mCipherSuite_0(int32_t value)
  4715. {
  4716. ___mCipherSuite_0 = value;
  4717. }
  4718. inline static int32_t get_offset_of_mCompressionAlgorithm_1() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mCompressionAlgorithm_1)); }
  4719. inline int16_t get_mCompressionAlgorithm_1() const { return ___mCompressionAlgorithm_1; }
  4720. inline int16_t* get_address_of_mCompressionAlgorithm_1() { return &___mCompressionAlgorithm_1; }
  4721. inline void set_mCompressionAlgorithm_1(int16_t value)
  4722. {
  4723. ___mCompressionAlgorithm_1 = value;
  4724. }
  4725. inline static int32_t get_offset_of_mMasterSecret_2() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mMasterSecret_2)); }
  4726. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMasterSecret_2() const { return ___mMasterSecret_2; }
  4727. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMasterSecret_2() { return &___mMasterSecret_2; }
  4728. inline void set_mMasterSecret_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4729. {
  4730. ___mMasterSecret_2 = value;
  4731. Il2CppCodeGenWriteBarrier((void**)(&___mMasterSecret_2), (void*)value);
  4732. }
  4733. inline static int32_t get_offset_of_mPeerCertificate_3() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mPeerCertificate_3)); }
  4734. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_3() const { return ___mPeerCertificate_3; }
  4735. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_3() { return &___mPeerCertificate_3; }
  4736. inline void set_mPeerCertificate_3(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
  4737. {
  4738. ___mPeerCertificate_3 = value;
  4739. Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_3), (void*)value);
  4740. }
  4741. inline static int32_t get_offset_of_mPskIdentity_4() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mPskIdentity_4)); }
  4742. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentity_4() const { return ___mPskIdentity_4; }
  4743. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentity_4() { return &___mPskIdentity_4; }
  4744. inline void set_mPskIdentity_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4745. {
  4746. ___mPskIdentity_4 = value;
  4747. Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_4), (void*)value);
  4748. }
  4749. inline static int32_t get_offset_of_mSrpIdentity_5() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mSrpIdentity_5)); }
  4750. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSrpIdentity_5() const { return ___mSrpIdentity_5; }
  4751. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSrpIdentity_5() { return &___mSrpIdentity_5; }
  4752. inline void set_mSrpIdentity_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4753. {
  4754. ___mSrpIdentity_5 = value;
  4755. Il2CppCodeGenWriteBarrier((void**)(&___mSrpIdentity_5), (void*)value);
  4756. }
  4757. inline static int32_t get_offset_of_mEncodedServerExtensions_6() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mEncodedServerExtensions_6)); }
  4758. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mEncodedServerExtensions_6() const { return ___mEncodedServerExtensions_6; }
  4759. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mEncodedServerExtensions_6() { return &___mEncodedServerExtensions_6; }
  4760. inline void set_mEncodedServerExtensions_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  4761. {
  4762. ___mEncodedServerExtensions_6 = value;
  4763. Il2CppCodeGenWriteBarrier((void**)(&___mEncodedServerExtensions_6), (void*)value);
  4764. }
  4765. inline static int32_t get_offset_of_mExtendedMasterSecret_7() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mExtendedMasterSecret_7)); }
  4766. inline bool get_mExtendedMasterSecret_7() const { return ___mExtendedMasterSecret_7; }
  4767. inline bool* get_address_of_mExtendedMasterSecret_7() { return &___mExtendedMasterSecret_7; }
  4768. inline void set_mExtendedMasterSecret_7(bool value)
  4769. {
  4770. ___mExtendedMasterSecret_7 = value;
  4771. }
  4772. };
  4773. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractF2mCurve
  4774. struct AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE : public ECCurve_t850A42EEB1867F313B111B5A75430D443165B926
  4775. {
  4776. public:
  4777. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractF2mCurve::si
  4778. BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* ___si_16;
  4779. public:
  4780. inline static int32_t get_offset_of_si_16() { return static_cast<int32_t>(offsetof(AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE, ___si_16)); }
  4781. inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* get_si_16() const { return ___si_16; }
  4782. inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED** get_address_of_si_16() { return &___si_16; }
  4783. inline void set_si_16(BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* value)
  4784. {
  4785. ___si_16 = value;
  4786. Il2CppCodeGenWriteBarrier((void**)(&___si_16), (void*)value);
  4787. }
  4788. };
  4789. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractFpCurve
  4790. struct AbstractFpCurve_tE0B6ADB825360C35FC7DFFBCC3473DCA2198D5EF : public ECCurve_t850A42EEB1867F313B111B5A75430D443165B926
  4791. {
  4792. public:
  4793. public:
  4794. };
  4795. // DragonBones.AnimationData
  4796. struct AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  4797. {
  4798. public:
  4799. // System.UInt32 DragonBones.AnimationData::frameIntOffset
  4800. uint32_t ___frameIntOffset_5;
  4801. // System.UInt32 DragonBones.AnimationData::frameFloatOffset
  4802. uint32_t ___frameFloatOffset_6;
  4803. // System.UInt32 DragonBones.AnimationData::frameOffset
  4804. uint32_t ___frameOffset_7;
  4805. // System.UInt32 DragonBones.AnimationData::frameCount
  4806. uint32_t ___frameCount_8;
  4807. // System.UInt32 DragonBones.AnimationData::playTimes
  4808. uint32_t ___playTimes_9;
  4809. // System.Single DragonBones.AnimationData::duration
  4810. float ___duration_10;
  4811. // System.Single DragonBones.AnimationData::scale
  4812. float ___scale_11;
  4813. // System.Single DragonBones.AnimationData::fadeInTime
  4814. float ___fadeInTime_12;
  4815. // System.Single DragonBones.AnimationData::cacheFrameRate
  4816. float ___cacheFrameRate_13;
  4817. // System.String DragonBones.AnimationData::name
  4818. String_t* ___name_14;
  4819. // System.Collections.Generic.List`1<System.Boolean> DragonBones.AnimationData::cachedFrames
  4820. List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * ___cachedFrames_15;
  4821. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::boneTimelines
  4822. Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___boneTimelines_16;
  4823. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::slotTimelines
  4824. Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___slotTimelines_17;
  4825. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::constraintTimelines
  4826. Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___constraintTimelines_18;
  4827. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>> DragonBones.AnimationData::boneCachedFrameIndices
  4828. Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * ___boneCachedFrameIndices_19;
  4829. // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>> DragonBones.AnimationData::slotCachedFrameIndices
  4830. Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * ___slotCachedFrameIndices_20;
  4831. // DragonBones.TimelineData DragonBones.AnimationData::actionTimeline
  4832. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ___actionTimeline_21;
  4833. // DragonBones.TimelineData DragonBones.AnimationData::zOrderTimeline
  4834. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ___zOrderTimeline_22;
  4835. // DragonBones.ArmatureData DragonBones.AnimationData::parent
  4836. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ___parent_23;
  4837. public:
  4838. inline static int32_t get_offset_of_frameIntOffset_5() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameIntOffset_5)); }
  4839. inline uint32_t get_frameIntOffset_5() const { return ___frameIntOffset_5; }
  4840. inline uint32_t* get_address_of_frameIntOffset_5() { return &___frameIntOffset_5; }
  4841. inline void set_frameIntOffset_5(uint32_t value)
  4842. {
  4843. ___frameIntOffset_5 = value;
  4844. }
  4845. inline static int32_t get_offset_of_frameFloatOffset_6() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameFloatOffset_6)); }
  4846. inline uint32_t get_frameFloatOffset_6() const { return ___frameFloatOffset_6; }
  4847. inline uint32_t* get_address_of_frameFloatOffset_6() { return &___frameFloatOffset_6; }
  4848. inline void set_frameFloatOffset_6(uint32_t value)
  4849. {
  4850. ___frameFloatOffset_6 = value;
  4851. }
  4852. inline static int32_t get_offset_of_frameOffset_7() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameOffset_7)); }
  4853. inline uint32_t get_frameOffset_7() const { return ___frameOffset_7; }
  4854. inline uint32_t* get_address_of_frameOffset_7() { return &___frameOffset_7; }
  4855. inline void set_frameOffset_7(uint32_t value)
  4856. {
  4857. ___frameOffset_7 = value;
  4858. }
  4859. inline static int32_t get_offset_of_frameCount_8() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameCount_8)); }
  4860. inline uint32_t get_frameCount_8() const { return ___frameCount_8; }
  4861. inline uint32_t* get_address_of_frameCount_8() { return &___frameCount_8; }
  4862. inline void set_frameCount_8(uint32_t value)
  4863. {
  4864. ___frameCount_8 = value;
  4865. }
  4866. inline static int32_t get_offset_of_playTimes_9() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___playTimes_9)); }
  4867. inline uint32_t get_playTimes_9() const { return ___playTimes_9; }
  4868. inline uint32_t* get_address_of_playTimes_9() { return &___playTimes_9; }
  4869. inline void set_playTimes_9(uint32_t value)
  4870. {
  4871. ___playTimes_9 = value;
  4872. }
  4873. inline static int32_t get_offset_of_duration_10() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___duration_10)); }
  4874. inline float get_duration_10() const { return ___duration_10; }
  4875. inline float* get_address_of_duration_10() { return &___duration_10; }
  4876. inline void set_duration_10(float value)
  4877. {
  4878. ___duration_10 = value;
  4879. }
  4880. inline static int32_t get_offset_of_scale_11() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___scale_11)); }
  4881. inline float get_scale_11() const { return ___scale_11; }
  4882. inline float* get_address_of_scale_11() { return &___scale_11; }
  4883. inline void set_scale_11(float value)
  4884. {
  4885. ___scale_11 = value;
  4886. }
  4887. inline static int32_t get_offset_of_fadeInTime_12() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___fadeInTime_12)); }
  4888. inline float get_fadeInTime_12() const { return ___fadeInTime_12; }
  4889. inline float* get_address_of_fadeInTime_12() { return &___fadeInTime_12; }
  4890. inline void set_fadeInTime_12(float value)
  4891. {
  4892. ___fadeInTime_12 = value;
  4893. }
  4894. inline static int32_t get_offset_of_cacheFrameRate_13() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___cacheFrameRate_13)); }
  4895. inline float get_cacheFrameRate_13() const { return ___cacheFrameRate_13; }
  4896. inline float* get_address_of_cacheFrameRate_13() { return &___cacheFrameRate_13; }
  4897. inline void set_cacheFrameRate_13(float value)
  4898. {
  4899. ___cacheFrameRate_13 = value;
  4900. }
  4901. inline static int32_t get_offset_of_name_14() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___name_14)); }
  4902. inline String_t* get_name_14() const { return ___name_14; }
  4903. inline String_t** get_address_of_name_14() { return &___name_14; }
  4904. inline void set_name_14(String_t* value)
  4905. {
  4906. ___name_14 = value;
  4907. Il2CppCodeGenWriteBarrier((void**)(&___name_14), (void*)value);
  4908. }
  4909. inline static int32_t get_offset_of_cachedFrames_15() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___cachedFrames_15)); }
  4910. inline List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * get_cachedFrames_15() const { return ___cachedFrames_15; }
  4911. inline List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 ** get_address_of_cachedFrames_15() { return &___cachedFrames_15; }
  4912. inline void set_cachedFrames_15(List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * value)
  4913. {
  4914. ___cachedFrames_15 = value;
  4915. Il2CppCodeGenWriteBarrier((void**)(&___cachedFrames_15), (void*)value);
  4916. }
  4917. inline static int32_t get_offset_of_boneTimelines_16() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___boneTimelines_16)); }
  4918. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_boneTimelines_16() const { return ___boneTimelines_16; }
  4919. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_boneTimelines_16() { return &___boneTimelines_16; }
  4920. inline void set_boneTimelines_16(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
  4921. {
  4922. ___boneTimelines_16 = value;
  4923. Il2CppCodeGenWriteBarrier((void**)(&___boneTimelines_16), (void*)value);
  4924. }
  4925. inline static int32_t get_offset_of_slotTimelines_17() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___slotTimelines_17)); }
  4926. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_slotTimelines_17() const { return ___slotTimelines_17; }
  4927. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_slotTimelines_17() { return &___slotTimelines_17; }
  4928. inline void set_slotTimelines_17(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
  4929. {
  4930. ___slotTimelines_17 = value;
  4931. Il2CppCodeGenWriteBarrier((void**)(&___slotTimelines_17), (void*)value);
  4932. }
  4933. inline static int32_t get_offset_of_constraintTimelines_18() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___constraintTimelines_18)); }
  4934. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_constraintTimelines_18() const { return ___constraintTimelines_18; }
  4935. inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_constraintTimelines_18() { return &___constraintTimelines_18; }
  4936. inline void set_constraintTimelines_18(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
  4937. {
  4938. ___constraintTimelines_18 = value;
  4939. Il2CppCodeGenWriteBarrier((void**)(&___constraintTimelines_18), (void*)value);
  4940. }
  4941. inline static int32_t get_offset_of_boneCachedFrameIndices_19() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___boneCachedFrameIndices_19)); }
  4942. inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * get_boneCachedFrameIndices_19() const { return ___boneCachedFrameIndices_19; }
  4943. inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 ** get_address_of_boneCachedFrameIndices_19() { return &___boneCachedFrameIndices_19; }
  4944. inline void set_boneCachedFrameIndices_19(Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * value)
  4945. {
  4946. ___boneCachedFrameIndices_19 = value;
  4947. Il2CppCodeGenWriteBarrier((void**)(&___boneCachedFrameIndices_19), (void*)value);
  4948. }
  4949. inline static int32_t get_offset_of_slotCachedFrameIndices_20() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___slotCachedFrameIndices_20)); }
  4950. inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * get_slotCachedFrameIndices_20() const { return ___slotCachedFrameIndices_20; }
  4951. inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 ** get_address_of_slotCachedFrameIndices_20() { return &___slotCachedFrameIndices_20; }
  4952. inline void set_slotCachedFrameIndices_20(Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * value)
  4953. {
  4954. ___slotCachedFrameIndices_20 = value;
  4955. Il2CppCodeGenWriteBarrier((void**)(&___slotCachedFrameIndices_20), (void*)value);
  4956. }
  4957. inline static int32_t get_offset_of_actionTimeline_21() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___actionTimeline_21)); }
  4958. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get_actionTimeline_21() const { return ___actionTimeline_21; }
  4959. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of_actionTimeline_21() { return &___actionTimeline_21; }
  4960. inline void set_actionTimeline_21(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
  4961. {
  4962. ___actionTimeline_21 = value;
  4963. Il2CppCodeGenWriteBarrier((void**)(&___actionTimeline_21), (void*)value);
  4964. }
  4965. inline static int32_t get_offset_of_zOrderTimeline_22() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___zOrderTimeline_22)); }
  4966. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get_zOrderTimeline_22() const { return ___zOrderTimeline_22; }
  4967. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of_zOrderTimeline_22() { return &___zOrderTimeline_22; }
  4968. inline void set_zOrderTimeline_22(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
  4969. {
  4970. ___zOrderTimeline_22 = value;
  4971. Il2CppCodeGenWriteBarrier((void**)(&___zOrderTimeline_22), (void*)value);
  4972. }
  4973. inline static int32_t get_offset_of_parent_23() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___parent_23)); }
  4974. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get_parent_23() const { return ___parent_23; }
  4975. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of_parent_23() { return &___parent_23; }
  4976. inline void set_parent_23(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
  4977. {
  4978. ___parent_23 = value;
  4979. Il2CppCodeGenWriteBarrier((void**)(&___parent_23), (void*)value);
  4980. }
  4981. };
  4982. // DragonBones.AnimationState
  4983. struct AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  4984. {
  4985. public:
  4986. // System.Boolean DragonBones.AnimationState::actionEnabled
  4987. bool ___actionEnabled_5;
  4988. // System.Boolean DragonBones.AnimationState::additiveBlending
  4989. bool ___additiveBlending_6;
  4990. // System.Boolean DragonBones.AnimationState::displayControl
  4991. bool ___displayControl_7;
  4992. // System.Boolean DragonBones.AnimationState::resetToPose
  4993. bool ___resetToPose_8;
  4994. // System.Int32 DragonBones.AnimationState::playTimes
  4995. int32_t ___playTimes_9;
  4996. // System.Int32 DragonBones.AnimationState::layer
  4997. int32_t ___layer_10;
  4998. // System.Single DragonBones.AnimationState::timeScale
  4999. float ___timeScale_11;
  5000. // System.Single DragonBones.AnimationState::weight
  5001. float ___weight_12;
  5002. // System.Single DragonBones.AnimationState::autoFadeOutTime
  5003. float ___autoFadeOutTime_13;
  5004. // System.Single DragonBones.AnimationState::fadeTotalTime
  5005. float ___fadeTotalTime_14;
  5006. // System.String DragonBones.AnimationState::name
  5007. String_t* ___name_15;
  5008. // System.String DragonBones.AnimationState::group
  5009. String_t* ___group_16;
  5010. // System.Int32 DragonBones.AnimationState::_timelineDirty
  5011. int32_t ____timelineDirty_17;
  5012. // System.Int32 DragonBones.AnimationState::_playheadState
  5013. int32_t ____playheadState_18;
  5014. // System.Int32 DragonBones.AnimationState::_fadeState
  5015. int32_t ____fadeState_19;
  5016. // System.Int32 DragonBones.AnimationState::_subFadeState
  5017. int32_t ____subFadeState_20;
  5018. // System.Single DragonBones.AnimationState::_position
  5019. float ____position_21;
  5020. // System.Single DragonBones.AnimationState::_duration
  5021. float ____duration_22;
  5022. // System.Single DragonBones.AnimationState::_fadeTime
  5023. float ____fadeTime_23;
  5024. // System.Single DragonBones.AnimationState::_time
  5025. float ____time_24;
  5026. // System.Single DragonBones.AnimationState::_fadeProgress
  5027. float ____fadeProgress_25;
  5028. // System.Single DragonBones.AnimationState::_weightResult
  5029. float ____weightResult_26;
  5030. // DragonBones.BlendState DragonBones.AnimationState::_blendState
  5031. BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * ____blendState_27;
  5032. // System.Collections.Generic.List`1<System.String> DragonBones.AnimationState::_boneMask
  5033. List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ____boneMask_28;
  5034. // System.Collections.Generic.List`1<DragonBones.BoneTimelineState> DragonBones.AnimationState::_boneTimelines
  5035. List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * ____boneTimelines_29;
  5036. // System.Collections.Generic.List`1<DragonBones.SlotTimelineState> DragonBones.AnimationState::_slotTimelines
  5037. List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * ____slotTimelines_30;
  5038. // System.Collections.Generic.List`1<DragonBones.ConstraintTimelineState> DragonBones.AnimationState::_constraintTimelines
  5039. List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * ____constraintTimelines_31;
  5040. // System.Collections.Generic.List`1<DragonBones.TimelineState> DragonBones.AnimationState::_poseTimelines
  5041. List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * ____poseTimelines_32;
  5042. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BonePose> DragonBones.AnimationState::_bonePoses
  5043. Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * ____bonePoses_33;
  5044. // DragonBones.AnimationData DragonBones.AnimationState::_animationData
  5045. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ____animationData_34;
  5046. // DragonBones.Armature DragonBones.AnimationState::_armature
  5047. Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * ____armature_35;
  5048. // DragonBones.ActionTimelineState DragonBones.AnimationState::_actionTimeline
  5049. ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * ____actionTimeline_36;
  5050. // DragonBones.ZOrderTimelineState DragonBones.AnimationState::_zOrderTimeline
  5051. ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * ____zOrderTimeline_37;
  5052. // DragonBones.AnimationState DragonBones.AnimationState::_parent
  5053. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * ____parent_38;
  5054. public:
  5055. inline static int32_t get_offset_of_actionEnabled_5() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___actionEnabled_5)); }
  5056. inline bool get_actionEnabled_5() const { return ___actionEnabled_5; }
  5057. inline bool* get_address_of_actionEnabled_5() { return &___actionEnabled_5; }
  5058. inline void set_actionEnabled_5(bool value)
  5059. {
  5060. ___actionEnabled_5 = value;
  5061. }
  5062. inline static int32_t get_offset_of_additiveBlending_6() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___additiveBlending_6)); }
  5063. inline bool get_additiveBlending_6() const { return ___additiveBlending_6; }
  5064. inline bool* get_address_of_additiveBlending_6() { return &___additiveBlending_6; }
  5065. inline void set_additiveBlending_6(bool value)
  5066. {
  5067. ___additiveBlending_6 = value;
  5068. }
  5069. inline static int32_t get_offset_of_displayControl_7() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___displayControl_7)); }
  5070. inline bool get_displayControl_7() const { return ___displayControl_7; }
  5071. inline bool* get_address_of_displayControl_7() { return &___displayControl_7; }
  5072. inline void set_displayControl_7(bool value)
  5073. {
  5074. ___displayControl_7 = value;
  5075. }
  5076. inline static int32_t get_offset_of_resetToPose_8() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___resetToPose_8)); }
  5077. inline bool get_resetToPose_8() const { return ___resetToPose_8; }
  5078. inline bool* get_address_of_resetToPose_8() { return &___resetToPose_8; }
  5079. inline void set_resetToPose_8(bool value)
  5080. {
  5081. ___resetToPose_8 = value;
  5082. }
  5083. inline static int32_t get_offset_of_playTimes_9() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___playTimes_9)); }
  5084. inline int32_t get_playTimes_9() const { return ___playTimes_9; }
  5085. inline int32_t* get_address_of_playTimes_9() { return &___playTimes_9; }
  5086. inline void set_playTimes_9(int32_t value)
  5087. {
  5088. ___playTimes_9 = value;
  5089. }
  5090. inline static int32_t get_offset_of_layer_10() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___layer_10)); }
  5091. inline int32_t get_layer_10() const { return ___layer_10; }
  5092. inline int32_t* get_address_of_layer_10() { return &___layer_10; }
  5093. inline void set_layer_10(int32_t value)
  5094. {
  5095. ___layer_10 = value;
  5096. }
  5097. inline static int32_t get_offset_of_timeScale_11() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___timeScale_11)); }
  5098. inline float get_timeScale_11() const { return ___timeScale_11; }
  5099. inline float* get_address_of_timeScale_11() { return &___timeScale_11; }
  5100. inline void set_timeScale_11(float value)
  5101. {
  5102. ___timeScale_11 = value;
  5103. }
  5104. inline static int32_t get_offset_of_weight_12() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___weight_12)); }
  5105. inline float get_weight_12() const { return ___weight_12; }
  5106. inline float* get_address_of_weight_12() { return &___weight_12; }
  5107. inline void set_weight_12(float value)
  5108. {
  5109. ___weight_12 = value;
  5110. }
  5111. inline static int32_t get_offset_of_autoFadeOutTime_13() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___autoFadeOutTime_13)); }
  5112. inline float get_autoFadeOutTime_13() const { return ___autoFadeOutTime_13; }
  5113. inline float* get_address_of_autoFadeOutTime_13() { return &___autoFadeOutTime_13; }
  5114. inline void set_autoFadeOutTime_13(float value)
  5115. {
  5116. ___autoFadeOutTime_13 = value;
  5117. }
  5118. inline static int32_t get_offset_of_fadeTotalTime_14() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___fadeTotalTime_14)); }
  5119. inline float get_fadeTotalTime_14() const { return ___fadeTotalTime_14; }
  5120. inline float* get_address_of_fadeTotalTime_14() { return &___fadeTotalTime_14; }
  5121. inline void set_fadeTotalTime_14(float value)
  5122. {
  5123. ___fadeTotalTime_14 = value;
  5124. }
  5125. inline static int32_t get_offset_of_name_15() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___name_15)); }
  5126. inline String_t* get_name_15() const { return ___name_15; }
  5127. inline String_t** get_address_of_name_15() { return &___name_15; }
  5128. inline void set_name_15(String_t* value)
  5129. {
  5130. ___name_15 = value;
  5131. Il2CppCodeGenWriteBarrier((void**)(&___name_15), (void*)value);
  5132. }
  5133. inline static int32_t get_offset_of_group_16() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___group_16)); }
  5134. inline String_t* get_group_16() const { return ___group_16; }
  5135. inline String_t** get_address_of_group_16() { return &___group_16; }
  5136. inline void set_group_16(String_t* value)
  5137. {
  5138. ___group_16 = value;
  5139. Il2CppCodeGenWriteBarrier((void**)(&___group_16), (void*)value);
  5140. }
  5141. inline static int32_t get_offset_of__timelineDirty_17() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____timelineDirty_17)); }
  5142. inline int32_t get__timelineDirty_17() const { return ____timelineDirty_17; }
  5143. inline int32_t* get_address_of__timelineDirty_17() { return &____timelineDirty_17; }
  5144. inline void set__timelineDirty_17(int32_t value)
  5145. {
  5146. ____timelineDirty_17 = value;
  5147. }
  5148. inline static int32_t get_offset_of__playheadState_18() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____playheadState_18)); }
  5149. inline int32_t get__playheadState_18() const { return ____playheadState_18; }
  5150. inline int32_t* get_address_of__playheadState_18() { return &____playheadState_18; }
  5151. inline void set__playheadState_18(int32_t value)
  5152. {
  5153. ____playheadState_18 = value;
  5154. }
  5155. inline static int32_t get_offset_of__fadeState_19() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeState_19)); }
  5156. inline int32_t get__fadeState_19() const { return ____fadeState_19; }
  5157. inline int32_t* get_address_of__fadeState_19() { return &____fadeState_19; }
  5158. inline void set__fadeState_19(int32_t value)
  5159. {
  5160. ____fadeState_19 = value;
  5161. }
  5162. inline static int32_t get_offset_of__subFadeState_20() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____subFadeState_20)); }
  5163. inline int32_t get__subFadeState_20() const { return ____subFadeState_20; }
  5164. inline int32_t* get_address_of__subFadeState_20() { return &____subFadeState_20; }
  5165. inline void set__subFadeState_20(int32_t value)
  5166. {
  5167. ____subFadeState_20 = value;
  5168. }
  5169. inline static int32_t get_offset_of__position_21() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____position_21)); }
  5170. inline float get__position_21() const { return ____position_21; }
  5171. inline float* get_address_of__position_21() { return &____position_21; }
  5172. inline void set__position_21(float value)
  5173. {
  5174. ____position_21 = value;
  5175. }
  5176. inline static int32_t get_offset_of__duration_22() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____duration_22)); }
  5177. inline float get__duration_22() const { return ____duration_22; }
  5178. inline float* get_address_of__duration_22() { return &____duration_22; }
  5179. inline void set__duration_22(float value)
  5180. {
  5181. ____duration_22 = value;
  5182. }
  5183. inline static int32_t get_offset_of__fadeTime_23() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeTime_23)); }
  5184. inline float get__fadeTime_23() const { return ____fadeTime_23; }
  5185. inline float* get_address_of__fadeTime_23() { return &____fadeTime_23; }
  5186. inline void set__fadeTime_23(float value)
  5187. {
  5188. ____fadeTime_23 = value;
  5189. }
  5190. inline static int32_t get_offset_of__time_24() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____time_24)); }
  5191. inline float get__time_24() const { return ____time_24; }
  5192. inline float* get_address_of__time_24() { return &____time_24; }
  5193. inline void set__time_24(float value)
  5194. {
  5195. ____time_24 = value;
  5196. }
  5197. inline static int32_t get_offset_of__fadeProgress_25() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeProgress_25)); }
  5198. inline float get__fadeProgress_25() const { return ____fadeProgress_25; }
  5199. inline float* get_address_of__fadeProgress_25() { return &____fadeProgress_25; }
  5200. inline void set__fadeProgress_25(float value)
  5201. {
  5202. ____fadeProgress_25 = value;
  5203. }
  5204. inline static int32_t get_offset_of__weightResult_26() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____weightResult_26)); }
  5205. inline float get__weightResult_26() const { return ____weightResult_26; }
  5206. inline float* get_address_of__weightResult_26() { return &____weightResult_26; }
  5207. inline void set__weightResult_26(float value)
  5208. {
  5209. ____weightResult_26 = value;
  5210. }
  5211. inline static int32_t get_offset_of__blendState_27() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____blendState_27)); }
  5212. inline BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * get__blendState_27() const { return ____blendState_27; }
  5213. inline BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE ** get_address_of__blendState_27() { return &____blendState_27; }
  5214. inline void set__blendState_27(BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * value)
  5215. {
  5216. ____blendState_27 = value;
  5217. Il2CppCodeGenWriteBarrier((void**)(&____blendState_27), (void*)value);
  5218. }
  5219. inline static int32_t get_offset_of__boneMask_28() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____boneMask_28)); }
  5220. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get__boneMask_28() const { return ____boneMask_28; }
  5221. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of__boneMask_28() { return &____boneMask_28; }
  5222. inline void set__boneMask_28(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
  5223. {
  5224. ____boneMask_28 = value;
  5225. Il2CppCodeGenWriteBarrier((void**)(&____boneMask_28), (void*)value);
  5226. }
  5227. inline static int32_t get_offset_of__boneTimelines_29() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____boneTimelines_29)); }
  5228. inline List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * get__boneTimelines_29() const { return ____boneTimelines_29; }
  5229. inline List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 ** get_address_of__boneTimelines_29() { return &____boneTimelines_29; }
  5230. inline void set__boneTimelines_29(List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * value)
  5231. {
  5232. ____boneTimelines_29 = value;
  5233. Il2CppCodeGenWriteBarrier((void**)(&____boneTimelines_29), (void*)value);
  5234. }
  5235. inline static int32_t get_offset_of__slotTimelines_30() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____slotTimelines_30)); }
  5236. inline List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * get__slotTimelines_30() const { return ____slotTimelines_30; }
  5237. inline List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 ** get_address_of__slotTimelines_30() { return &____slotTimelines_30; }
  5238. inline void set__slotTimelines_30(List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * value)
  5239. {
  5240. ____slotTimelines_30 = value;
  5241. Il2CppCodeGenWriteBarrier((void**)(&____slotTimelines_30), (void*)value);
  5242. }
  5243. inline static int32_t get_offset_of__constraintTimelines_31() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____constraintTimelines_31)); }
  5244. inline List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * get__constraintTimelines_31() const { return ____constraintTimelines_31; }
  5245. inline List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E ** get_address_of__constraintTimelines_31() { return &____constraintTimelines_31; }
  5246. inline void set__constraintTimelines_31(List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * value)
  5247. {
  5248. ____constraintTimelines_31 = value;
  5249. Il2CppCodeGenWriteBarrier((void**)(&____constraintTimelines_31), (void*)value);
  5250. }
  5251. inline static int32_t get_offset_of__poseTimelines_32() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____poseTimelines_32)); }
  5252. inline List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * get__poseTimelines_32() const { return ____poseTimelines_32; }
  5253. inline List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 ** get_address_of__poseTimelines_32() { return &____poseTimelines_32; }
  5254. inline void set__poseTimelines_32(List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * value)
  5255. {
  5256. ____poseTimelines_32 = value;
  5257. Il2CppCodeGenWriteBarrier((void**)(&____poseTimelines_32), (void*)value);
  5258. }
  5259. inline static int32_t get_offset_of__bonePoses_33() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____bonePoses_33)); }
  5260. inline Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * get__bonePoses_33() const { return ____bonePoses_33; }
  5261. inline Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 ** get_address_of__bonePoses_33() { return &____bonePoses_33; }
  5262. inline void set__bonePoses_33(Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * value)
  5263. {
  5264. ____bonePoses_33 = value;
  5265. Il2CppCodeGenWriteBarrier((void**)(&____bonePoses_33), (void*)value);
  5266. }
  5267. inline static int32_t get_offset_of__animationData_34() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____animationData_34)); }
  5268. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get__animationData_34() const { return ____animationData_34; }
  5269. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of__animationData_34() { return &____animationData_34; }
  5270. inline void set__animationData_34(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
  5271. {
  5272. ____animationData_34 = value;
  5273. Il2CppCodeGenWriteBarrier((void**)(&____animationData_34), (void*)value);
  5274. }
  5275. inline static int32_t get_offset_of__armature_35() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____armature_35)); }
  5276. inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * get__armature_35() const { return ____armature_35; }
  5277. inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD ** get_address_of__armature_35() { return &____armature_35; }
  5278. inline void set__armature_35(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * value)
  5279. {
  5280. ____armature_35 = value;
  5281. Il2CppCodeGenWriteBarrier((void**)(&____armature_35), (void*)value);
  5282. }
  5283. inline static int32_t get_offset_of__actionTimeline_36() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____actionTimeline_36)); }
  5284. inline ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * get__actionTimeline_36() const { return ____actionTimeline_36; }
  5285. inline ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B ** get_address_of__actionTimeline_36() { return &____actionTimeline_36; }
  5286. inline void set__actionTimeline_36(ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * value)
  5287. {
  5288. ____actionTimeline_36 = value;
  5289. Il2CppCodeGenWriteBarrier((void**)(&____actionTimeline_36), (void*)value);
  5290. }
  5291. inline static int32_t get_offset_of__zOrderTimeline_37() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____zOrderTimeline_37)); }
  5292. inline ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * get__zOrderTimeline_37() const { return ____zOrderTimeline_37; }
  5293. inline ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF ** get_address_of__zOrderTimeline_37() { return &____zOrderTimeline_37; }
  5294. inline void set__zOrderTimeline_37(ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * value)
  5295. {
  5296. ____zOrderTimeline_37 = value;
  5297. Il2CppCodeGenWriteBarrier((void**)(&____zOrderTimeline_37), (void*)value);
  5298. }
  5299. inline static int32_t get_offset_of__parent_38() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____parent_38)); }
  5300. inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * get__parent_38() const { return ____parent_38; }
  5301. inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E ** get_address_of__parent_38() { return &____parent_38; }
  5302. inline void set__parent_38(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * value)
  5303. {
  5304. ____parent_38 = value;
  5305. Il2CppCodeGenWriteBarrier((void**)(&____parent_38), (void*)value);
  5306. }
  5307. };
  5308. // DragonBones.Armature
  5309. struct Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  5310. {
  5311. public:
  5312. // System.Boolean DragonBones.Armature::inheritAnimation
  5313. bool ___inheritAnimation_5;
  5314. // System.Object DragonBones.Armature::userData
  5315. RuntimeObject * ___userData_6;
  5316. // System.Boolean DragonBones.Armature::_lockUpdate
  5317. bool ____lockUpdate_7;
  5318. // System.Boolean DragonBones.Armature::_slotsDirty
  5319. bool ____slotsDirty_8;
  5320. // System.Boolean DragonBones.Armature::_zOrderDirty
  5321. bool ____zOrderDirty_9;
  5322. // System.Boolean DragonBones.Armature::_flipX
  5323. bool ____flipX_10;
  5324. // System.Boolean DragonBones.Armature::_flipY
  5325. bool ____flipY_11;
  5326. // System.Int32 DragonBones.Armature::_cacheFrameIndex
  5327. int32_t ____cacheFrameIndex_12;
  5328. // System.Collections.Generic.List`1<DragonBones.Bone> DragonBones.Armature::_bones
  5329. List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * ____bones_13;
  5330. // System.Collections.Generic.List`1<DragonBones.Slot> DragonBones.Armature::_slots
  5331. List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * ____slots_14;
  5332. // System.Collections.Generic.List`1<DragonBones.Constraint> DragonBones.Armature::_constraints
  5333. List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * ____constraints_15;
  5334. // System.Collections.Generic.List`1<DragonBones.EventObject> DragonBones.Armature::_actions
  5335. List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * ____actions_16;
  5336. // DragonBones.ArmatureData DragonBones.Armature::_armatureData
  5337. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ____armatureData_17;
  5338. // DragonBones.AnimationDB DragonBones.Armature::_animation
  5339. AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * ____animation_18;
  5340. // DragonBones.IArmatureProxy DragonBones.Armature::_proxy
  5341. RuntimeObject* ____proxy_19;
  5342. // System.Object DragonBones.Armature::_display
  5343. RuntimeObject * ____display_20;
  5344. // DragonBones.TextureAtlasData DragonBones.Armature::_replaceTextureAtlasData
  5345. TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * ____replaceTextureAtlasData_21;
  5346. // System.Object DragonBones.Armature::_replacedTexture
  5347. RuntimeObject * ____replacedTexture_22;
  5348. // DragonBones.DragonBones DragonBones.Armature::_dragonBones
  5349. DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * ____dragonBones_23;
  5350. // DragonBones.WorldClock DragonBones.Armature::_clock
  5351. WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * ____clock_24;
  5352. // DragonBones.Slot DragonBones.Armature::_parent
  5353. Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * ____parent_25;
  5354. public:
  5355. inline static int32_t get_offset_of_inheritAnimation_5() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ___inheritAnimation_5)); }
  5356. inline bool get_inheritAnimation_5() const { return ___inheritAnimation_5; }
  5357. inline bool* get_address_of_inheritAnimation_5() { return &___inheritAnimation_5; }
  5358. inline void set_inheritAnimation_5(bool value)
  5359. {
  5360. ___inheritAnimation_5 = value;
  5361. }
  5362. inline static int32_t get_offset_of_userData_6() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ___userData_6)); }
  5363. inline RuntimeObject * get_userData_6() const { return ___userData_6; }
  5364. inline RuntimeObject ** get_address_of_userData_6() { return &___userData_6; }
  5365. inline void set_userData_6(RuntimeObject * value)
  5366. {
  5367. ___userData_6 = value;
  5368. Il2CppCodeGenWriteBarrier((void**)(&___userData_6), (void*)value);
  5369. }
  5370. inline static int32_t get_offset_of__lockUpdate_7() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____lockUpdate_7)); }
  5371. inline bool get__lockUpdate_7() const { return ____lockUpdate_7; }
  5372. inline bool* get_address_of__lockUpdate_7() { return &____lockUpdate_7; }
  5373. inline void set__lockUpdate_7(bool value)
  5374. {
  5375. ____lockUpdate_7 = value;
  5376. }
  5377. inline static int32_t get_offset_of__slotsDirty_8() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____slotsDirty_8)); }
  5378. inline bool get__slotsDirty_8() const { return ____slotsDirty_8; }
  5379. inline bool* get_address_of__slotsDirty_8() { return &____slotsDirty_8; }
  5380. inline void set__slotsDirty_8(bool value)
  5381. {
  5382. ____slotsDirty_8 = value;
  5383. }
  5384. inline static int32_t get_offset_of__zOrderDirty_9() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____zOrderDirty_9)); }
  5385. inline bool get__zOrderDirty_9() const { return ____zOrderDirty_9; }
  5386. inline bool* get_address_of__zOrderDirty_9() { return &____zOrderDirty_9; }
  5387. inline void set__zOrderDirty_9(bool value)
  5388. {
  5389. ____zOrderDirty_9 = value;
  5390. }
  5391. inline static int32_t get_offset_of__flipX_10() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____flipX_10)); }
  5392. inline bool get__flipX_10() const { return ____flipX_10; }
  5393. inline bool* get_address_of__flipX_10() { return &____flipX_10; }
  5394. inline void set__flipX_10(bool value)
  5395. {
  5396. ____flipX_10 = value;
  5397. }
  5398. inline static int32_t get_offset_of__flipY_11() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____flipY_11)); }
  5399. inline bool get__flipY_11() const { return ____flipY_11; }
  5400. inline bool* get_address_of__flipY_11() { return &____flipY_11; }
  5401. inline void set__flipY_11(bool value)
  5402. {
  5403. ____flipY_11 = value;
  5404. }
  5405. inline static int32_t get_offset_of__cacheFrameIndex_12() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____cacheFrameIndex_12)); }
  5406. inline int32_t get__cacheFrameIndex_12() const { return ____cacheFrameIndex_12; }
  5407. inline int32_t* get_address_of__cacheFrameIndex_12() { return &____cacheFrameIndex_12; }
  5408. inline void set__cacheFrameIndex_12(int32_t value)
  5409. {
  5410. ____cacheFrameIndex_12 = value;
  5411. }
  5412. inline static int32_t get_offset_of__bones_13() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____bones_13)); }
  5413. inline List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * get__bones_13() const { return ____bones_13; }
  5414. inline List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A ** get_address_of__bones_13() { return &____bones_13; }
  5415. inline void set__bones_13(List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * value)
  5416. {
  5417. ____bones_13 = value;
  5418. Il2CppCodeGenWriteBarrier((void**)(&____bones_13), (void*)value);
  5419. }
  5420. inline static int32_t get_offset_of__slots_14() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____slots_14)); }
  5421. inline List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * get__slots_14() const { return ____slots_14; }
  5422. inline List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 ** get_address_of__slots_14() { return &____slots_14; }
  5423. inline void set__slots_14(List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * value)
  5424. {
  5425. ____slots_14 = value;
  5426. Il2CppCodeGenWriteBarrier((void**)(&____slots_14), (void*)value);
  5427. }
  5428. inline static int32_t get_offset_of__constraints_15() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____constraints_15)); }
  5429. inline List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * get__constraints_15() const { return ____constraints_15; }
  5430. inline List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 ** get_address_of__constraints_15() { return &____constraints_15; }
  5431. inline void set__constraints_15(List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * value)
  5432. {
  5433. ____constraints_15 = value;
  5434. Il2CppCodeGenWriteBarrier((void**)(&____constraints_15), (void*)value);
  5435. }
  5436. inline static int32_t get_offset_of__actions_16() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____actions_16)); }
  5437. inline List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * get__actions_16() const { return ____actions_16; }
  5438. inline List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA ** get_address_of__actions_16() { return &____actions_16; }
  5439. inline void set__actions_16(List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * value)
  5440. {
  5441. ____actions_16 = value;
  5442. Il2CppCodeGenWriteBarrier((void**)(&____actions_16), (void*)value);
  5443. }
  5444. inline static int32_t get_offset_of__armatureData_17() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____armatureData_17)); }
  5445. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get__armatureData_17() const { return ____armatureData_17; }
  5446. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of__armatureData_17() { return &____armatureData_17; }
  5447. inline void set__armatureData_17(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
  5448. {
  5449. ____armatureData_17 = value;
  5450. Il2CppCodeGenWriteBarrier((void**)(&____armatureData_17), (void*)value);
  5451. }
  5452. inline static int32_t get_offset_of__animation_18() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____animation_18)); }
  5453. inline AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * get__animation_18() const { return ____animation_18; }
  5454. inline AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A ** get_address_of__animation_18() { return &____animation_18; }
  5455. inline void set__animation_18(AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * value)
  5456. {
  5457. ____animation_18 = value;
  5458. Il2CppCodeGenWriteBarrier((void**)(&____animation_18), (void*)value);
  5459. }
  5460. inline static int32_t get_offset_of__proxy_19() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____proxy_19)); }
  5461. inline RuntimeObject* get__proxy_19() const { return ____proxy_19; }
  5462. inline RuntimeObject** get_address_of__proxy_19() { return &____proxy_19; }
  5463. inline void set__proxy_19(RuntimeObject* value)
  5464. {
  5465. ____proxy_19 = value;
  5466. Il2CppCodeGenWriteBarrier((void**)(&____proxy_19), (void*)value);
  5467. }
  5468. inline static int32_t get_offset_of__display_20() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____display_20)); }
  5469. inline RuntimeObject * get__display_20() const { return ____display_20; }
  5470. inline RuntimeObject ** get_address_of__display_20() { return &____display_20; }
  5471. inline void set__display_20(RuntimeObject * value)
  5472. {
  5473. ____display_20 = value;
  5474. Il2CppCodeGenWriteBarrier((void**)(&____display_20), (void*)value);
  5475. }
  5476. inline static int32_t get_offset_of__replaceTextureAtlasData_21() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____replaceTextureAtlasData_21)); }
  5477. inline TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * get__replaceTextureAtlasData_21() const { return ____replaceTextureAtlasData_21; }
  5478. inline TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 ** get_address_of__replaceTextureAtlasData_21() { return &____replaceTextureAtlasData_21; }
  5479. inline void set__replaceTextureAtlasData_21(TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * value)
  5480. {
  5481. ____replaceTextureAtlasData_21 = value;
  5482. Il2CppCodeGenWriteBarrier((void**)(&____replaceTextureAtlasData_21), (void*)value);
  5483. }
  5484. inline static int32_t get_offset_of__replacedTexture_22() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____replacedTexture_22)); }
  5485. inline RuntimeObject * get__replacedTexture_22() const { return ____replacedTexture_22; }
  5486. inline RuntimeObject ** get_address_of__replacedTexture_22() { return &____replacedTexture_22; }
  5487. inline void set__replacedTexture_22(RuntimeObject * value)
  5488. {
  5489. ____replacedTexture_22 = value;
  5490. Il2CppCodeGenWriteBarrier((void**)(&____replacedTexture_22), (void*)value);
  5491. }
  5492. inline static int32_t get_offset_of__dragonBones_23() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____dragonBones_23)); }
  5493. inline DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * get__dragonBones_23() const { return ____dragonBones_23; }
  5494. inline DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D ** get_address_of__dragonBones_23() { return &____dragonBones_23; }
  5495. inline void set__dragonBones_23(DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * value)
  5496. {
  5497. ____dragonBones_23 = value;
  5498. Il2CppCodeGenWriteBarrier((void**)(&____dragonBones_23), (void*)value);
  5499. }
  5500. inline static int32_t get_offset_of__clock_24() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____clock_24)); }
  5501. inline WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * get__clock_24() const { return ____clock_24; }
  5502. inline WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 ** get_address_of__clock_24() { return &____clock_24; }
  5503. inline void set__clock_24(WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * value)
  5504. {
  5505. ____clock_24 = value;
  5506. Il2CppCodeGenWriteBarrier((void**)(&____clock_24), (void*)value);
  5507. }
  5508. inline static int32_t get_offset_of__parent_25() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____parent_25)); }
  5509. inline Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * get__parent_25() const { return ____parent_25; }
  5510. inline Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE ** get_address_of__parent_25() { return &____parent_25; }
  5511. inline void set__parent_25(Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * value)
  5512. {
  5513. ____parent_25 = value;
  5514. Il2CppCodeGenWriteBarrier((void**)(&____parent_25), (void*)value);
  5515. }
  5516. };
  5517. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object
  5518. struct Asn1Object_t6EBED9F28280E72844A4F6F176D7E2A5B94FFCFC : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
  5519. {
  5520. public:
  5521. public:
  5522. };
  5523. // System.Boolean
  5524. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
  5525. {
  5526. public:
  5527. // System.Boolean System.Boolean::m_value
  5528. bool ___m_value_0;
  5529. public:
  5530. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
  5531. inline bool get_m_value_0() const { return ___m_value_0; }
  5532. inline bool* get_address_of_m_value_0() { return &___m_value_0; }
  5533. inline void set_m_value_0(bool value)
  5534. {
  5535. ___m_value_0 = value;
  5536. }
  5537. };
  5538. struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
  5539. {
  5540. public:
  5541. // System.String System.Boolean::TrueString
  5542. String_t* ___TrueString_5;
  5543. // System.String System.Boolean::FalseString
  5544. String_t* ___FalseString_6;
  5545. public:
  5546. inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
  5547. inline String_t* get_TrueString_5() const { return ___TrueString_5; }
  5548. inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
  5549. inline void set_TrueString_5(String_t* value)
  5550. {
  5551. ___TrueString_5 = value;
  5552. Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
  5553. }
  5554. inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
  5555. inline String_t* get_FalseString_6() const { return ___FalseString_6; }
  5556. inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
  5557. inline void set_FalseString_6(String_t* value)
  5558. {
  5559. ___FalseString_6 = value;
  5560. Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
  5561. }
  5562. };
  5563. // System.Byte
  5564. struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
  5565. {
  5566. public:
  5567. // System.Byte System.Byte::m_value
  5568. uint8_t ___m_value_0;
  5569. public:
  5570. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___m_value_0)); }
  5571. inline uint8_t get_m_value_0() const { return ___m_value_0; }
  5572. inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
  5573. inline void set_m_value_0(uint8_t value)
  5574. {
  5575. ___m_value_0 = value;
  5576. }
  5577. };
  5578. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters
  5579. struct DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 : public KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39
  5580. {
  5581. public:
  5582. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters::parameters
  5583. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters_2;
  5584. public:
  5585. inline static int32_t get_offset_of_parameters_2() { return static_cast<int32_t>(offsetof(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553, ___parameters_2)); }
  5586. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_parameters_2() const { return ___parameters_2; }
  5587. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_parameters_2() { return &___parameters_2; }
  5588. inline void set_parameters_2(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  5589. {
  5590. ___parameters_2 = value;
  5591. Il2CppCodeGenWriteBarrier((void**)(&___parameters_2), (void*)value);
  5592. }
  5593. };
  5594. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters
  5595. struct DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
  5596. {
  5597. public:
  5598. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::parameters
  5599. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters_1;
  5600. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::algorithmOid
  5601. DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___algorithmOid_2;
  5602. public:
  5603. inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626, ___parameters_1)); }
  5604. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_parameters_1() const { return ___parameters_1; }
  5605. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_parameters_1() { return &___parameters_1; }
  5606. inline void set_parameters_1(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  5607. {
  5608. ___parameters_1 = value;
  5609. Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
  5610. }
  5611. inline static int32_t get_offset_of_algorithmOid_2() { return static_cast<int32_t>(offsetof(DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626, ___algorithmOid_2)); }
  5612. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_algorithmOid_2() const { return ___algorithmOid_2; }
  5613. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_algorithmOid_2() { return &___algorithmOid_2; }
  5614. inline void set_algorithmOid_2(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
  5615. {
  5616. ___algorithmOid_2 = value;
  5617. Il2CppCodeGenWriteBarrier((void**)(&___algorithmOid_2), (void*)value);
  5618. }
  5619. };
  5620. // System.DateTime
  5621. struct DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405
  5622. {
  5623. public:
  5624. // System.UInt64 System.DateTime::dateData
  5625. uint64_t ___dateData_44;
  5626. public:
  5627. inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405, ___dateData_44)); }
  5628. inline uint64_t get_dateData_44() const { return ___dateData_44; }
  5629. inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
  5630. inline void set_dateData_44(uint64_t value)
  5631. {
  5632. ___dateData_44 = value;
  5633. }
  5634. };
  5635. struct DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields
  5636. {
  5637. public:
  5638. // System.Int32[] System.DateTime::DaysToMonth365
  5639. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___DaysToMonth365_29;
  5640. // System.Int32[] System.DateTime::DaysToMonth366
  5641. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___DaysToMonth366_30;
  5642. // System.DateTime System.DateTime::MinValue
  5643. DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 ___MinValue_31;
  5644. // System.DateTime System.DateTime::MaxValue
  5645. DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 ___MaxValue_32;
  5646. public:
  5647. inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___DaysToMonth365_29)); }
  5648. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
  5649. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
  5650. inline void set_DaysToMonth365_29(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  5651. {
  5652. ___DaysToMonth365_29 = value;
  5653. Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
  5654. }
  5655. inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___DaysToMonth366_30)); }
  5656. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
  5657. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
  5658. inline void set_DaysToMonth366_30(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  5659. {
  5660. ___DaysToMonth366_30 = value;
  5661. Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
  5662. }
  5663. inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___MinValue_31)); }
  5664. inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 get_MinValue_31() const { return ___MinValue_31; }
  5665. inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * get_address_of_MinValue_31() { return &___MinValue_31; }
  5666. inline void set_MinValue_31(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 value)
  5667. {
  5668. ___MinValue_31 = value;
  5669. }
  5670. inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___MaxValue_32)); }
  5671. inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 get_MaxValue_32() const { return ___MaxValue_32; }
  5672. inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
  5673. inline void set_MaxValue_32(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 value)
  5674. {
  5675. ___MaxValue_32 = value;
  5676. }
  5677. };
  5678. // System.Double
  5679. struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181
  5680. {
  5681. public:
  5682. // System.Double System.Double::m_value
  5683. double ___m_value_0;
  5684. public:
  5685. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181, ___m_value_0)); }
  5686. inline double get_m_value_0() const { return ___m_value_0; }
  5687. inline double* get_address_of_m_value_0() { return &___m_value_0; }
  5688. inline void set_m_value_0(double value)
  5689. {
  5690. ___m_value_0 = value;
  5691. }
  5692. };
  5693. struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields
  5694. {
  5695. public:
  5696. // System.Double System.Double::NegativeZero
  5697. double ___NegativeZero_7;
  5698. public:
  5699. inline static int32_t get_offset_of_NegativeZero_7() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields, ___NegativeZero_7)); }
  5700. inline double get_NegativeZero_7() const { return ___NegativeZero_7; }
  5701. inline double* get_address_of_NegativeZero_7() { return &___NegativeZero_7; }
  5702. inline void set_NegativeZero_7(double value)
  5703. {
  5704. ___NegativeZero_7 = value;
  5705. }
  5706. };
  5707. // DragonBones.DragonBonesData
  5708. struct DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  5709. {
  5710. public:
  5711. // System.Boolean DragonBones.DragonBonesData::autoSearch
  5712. bool ___autoSearch_5;
  5713. // System.UInt32 DragonBones.DragonBonesData::frameRate
  5714. uint32_t ___frameRate_6;
  5715. // System.String DragonBones.DragonBonesData::version
  5716. String_t* ___version_7;
  5717. // System.String DragonBones.DragonBonesData::name
  5718. String_t* ___name_8;
  5719. // DragonBones.ArmatureData DragonBones.DragonBonesData::stage
  5720. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ___stage_9;
  5721. // System.Collections.Generic.List`1<System.UInt32> DragonBones.DragonBonesData::frameIndices
  5722. List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * ___frameIndices_10;
  5723. // System.Collections.Generic.List`1<System.Single> DragonBones.DragonBonesData::cachedFrames
  5724. List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * ___cachedFrames_11;
  5725. // System.Collections.Generic.List`1<System.String> DragonBones.DragonBonesData::armatureNames
  5726. List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ___armatureNames_12;
  5727. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ArmatureData> DragonBones.DragonBonesData::armatures
  5728. Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * ___armatures_13;
  5729. // System.Byte[] DragonBones.DragonBonesData::binary
  5730. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___binary_14;
  5731. // System.Int16[] DragonBones.DragonBonesData::intArray
  5732. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___intArray_15;
  5733. // System.Single[] DragonBones.DragonBonesData::floatArray
  5734. SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___floatArray_16;
  5735. // System.Int16[] DragonBones.DragonBonesData::frameIntArray
  5736. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___frameIntArray_17;
  5737. // System.Single[] DragonBones.DragonBonesData::frameFloatArray
  5738. SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___frameFloatArray_18;
  5739. // System.Int16[] DragonBones.DragonBonesData::frameArray
  5740. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___frameArray_19;
  5741. // System.UInt16[] DragonBones.DragonBonesData::timelineArray
  5742. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* ___timelineArray_20;
  5743. // DragonBones.UserData DragonBones.DragonBonesData::userData
  5744. UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * ___userData_21;
  5745. public:
  5746. inline static int32_t get_offset_of_autoSearch_5() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___autoSearch_5)); }
  5747. inline bool get_autoSearch_5() const { return ___autoSearch_5; }
  5748. inline bool* get_address_of_autoSearch_5() { return &___autoSearch_5; }
  5749. inline void set_autoSearch_5(bool value)
  5750. {
  5751. ___autoSearch_5 = value;
  5752. }
  5753. inline static int32_t get_offset_of_frameRate_6() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameRate_6)); }
  5754. inline uint32_t get_frameRate_6() const { return ___frameRate_6; }
  5755. inline uint32_t* get_address_of_frameRate_6() { return &___frameRate_6; }
  5756. inline void set_frameRate_6(uint32_t value)
  5757. {
  5758. ___frameRate_6 = value;
  5759. }
  5760. inline static int32_t get_offset_of_version_7() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___version_7)); }
  5761. inline String_t* get_version_7() const { return ___version_7; }
  5762. inline String_t** get_address_of_version_7() { return &___version_7; }
  5763. inline void set_version_7(String_t* value)
  5764. {
  5765. ___version_7 = value;
  5766. Il2CppCodeGenWriteBarrier((void**)(&___version_7), (void*)value);
  5767. }
  5768. inline static int32_t get_offset_of_name_8() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___name_8)); }
  5769. inline String_t* get_name_8() const { return ___name_8; }
  5770. inline String_t** get_address_of_name_8() { return &___name_8; }
  5771. inline void set_name_8(String_t* value)
  5772. {
  5773. ___name_8 = value;
  5774. Il2CppCodeGenWriteBarrier((void**)(&___name_8), (void*)value);
  5775. }
  5776. inline static int32_t get_offset_of_stage_9() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___stage_9)); }
  5777. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get_stage_9() const { return ___stage_9; }
  5778. inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of_stage_9() { return &___stage_9; }
  5779. inline void set_stage_9(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
  5780. {
  5781. ___stage_9 = value;
  5782. Il2CppCodeGenWriteBarrier((void**)(&___stage_9), (void*)value);
  5783. }
  5784. inline static int32_t get_offset_of_frameIndices_10() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameIndices_10)); }
  5785. inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * get_frameIndices_10() const { return ___frameIndices_10; }
  5786. inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 ** get_address_of_frameIndices_10() { return &___frameIndices_10; }
  5787. inline void set_frameIndices_10(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * value)
  5788. {
  5789. ___frameIndices_10 = value;
  5790. Il2CppCodeGenWriteBarrier((void**)(&___frameIndices_10), (void*)value);
  5791. }
  5792. inline static int32_t get_offset_of_cachedFrames_11() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___cachedFrames_11)); }
  5793. inline List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * get_cachedFrames_11() const { return ___cachedFrames_11; }
  5794. inline List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA ** get_address_of_cachedFrames_11() { return &___cachedFrames_11; }
  5795. inline void set_cachedFrames_11(List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * value)
  5796. {
  5797. ___cachedFrames_11 = value;
  5798. Il2CppCodeGenWriteBarrier((void**)(&___cachedFrames_11), (void*)value);
  5799. }
  5800. inline static int32_t get_offset_of_armatureNames_12() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___armatureNames_12)); }
  5801. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get_armatureNames_12() const { return ___armatureNames_12; }
  5802. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of_armatureNames_12() { return &___armatureNames_12; }
  5803. inline void set_armatureNames_12(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
  5804. {
  5805. ___armatureNames_12 = value;
  5806. Il2CppCodeGenWriteBarrier((void**)(&___armatureNames_12), (void*)value);
  5807. }
  5808. inline static int32_t get_offset_of_armatures_13() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___armatures_13)); }
  5809. inline Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * get_armatures_13() const { return ___armatures_13; }
  5810. inline Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 ** get_address_of_armatures_13() { return &___armatures_13; }
  5811. inline void set_armatures_13(Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * value)
  5812. {
  5813. ___armatures_13 = value;
  5814. Il2CppCodeGenWriteBarrier((void**)(&___armatures_13), (void*)value);
  5815. }
  5816. inline static int32_t get_offset_of_binary_14() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___binary_14)); }
  5817. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_binary_14() const { return ___binary_14; }
  5818. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_binary_14() { return &___binary_14; }
  5819. inline void set_binary_14(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  5820. {
  5821. ___binary_14 = value;
  5822. Il2CppCodeGenWriteBarrier((void**)(&___binary_14), (void*)value);
  5823. }
  5824. inline static int32_t get_offset_of_intArray_15() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___intArray_15)); }
  5825. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_intArray_15() const { return ___intArray_15; }
  5826. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_intArray_15() { return &___intArray_15; }
  5827. inline void set_intArray_15(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  5828. {
  5829. ___intArray_15 = value;
  5830. Il2CppCodeGenWriteBarrier((void**)(&___intArray_15), (void*)value);
  5831. }
  5832. inline static int32_t get_offset_of_floatArray_16() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___floatArray_16)); }
  5833. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get_floatArray_16() const { return ___floatArray_16; }
  5834. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of_floatArray_16() { return &___floatArray_16; }
  5835. inline void set_floatArray_16(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
  5836. {
  5837. ___floatArray_16 = value;
  5838. Il2CppCodeGenWriteBarrier((void**)(&___floatArray_16), (void*)value);
  5839. }
  5840. inline static int32_t get_offset_of_frameIntArray_17() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameIntArray_17)); }
  5841. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_frameIntArray_17() const { return ___frameIntArray_17; }
  5842. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_frameIntArray_17() { return &___frameIntArray_17; }
  5843. inline void set_frameIntArray_17(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  5844. {
  5845. ___frameIntArray_17 = value;
  5846. Il2CppCodeGenWriteBarrier((void**)(&___frameIntArray_17), (void*)value);
  5847. }
  5848. inline static int32_t get_offset_of_frameFloatArray_18() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameFloatArray_18)); }
  5849. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get_frameFloatArray_18() const { return ___frameFloatArray_18; }
  5850. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of_frameFloatArray_18() { return &___frameFloatArray_18; }
  5851. inline void set_frameFloatArray_18(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
  5852. {
  5853. ___frameFloatArray_18 = value;
  5854. Il2CppCodeGenWriteBarrier((void**)(&___frameFloatArray_18), (void*)value);
  5855. }
  5856. inline static int32_t get_offset_of_frameArray_19() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameArray_19)); }
  5857. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_frameArray_19() const { return ___frameArray_19; }
  5858. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_frameArray_19() { return &___frameArray_19; }
  5859. inline void set_frameArray_19(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  5860. {
  5861. ___frameArray_19 = value;
  5862. Il2CppCodeGenWriteBarrier((void**)(&___frameArray_19), (void*)value);
  5863. }
  5864. inline static int32_t get_offset_of_timelineArray_20() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___timelineArray_20)); }
  5865. inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* get_timelineArray_20() const { return ___timelineArray_20; }
  5866. inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67** get_address_of_timelineArray_20() { return &___timelineArray_20; }
  5867. inline void set_timelineArray_20(UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* value)
  5868. {
  5869. ___timelineArray_20 = value;
  5870. Il2CppCodeGenWriteBarrier((void**)(&___timelineArray_20), (void*)value);
  5871. }
  5872. inline static int32_t get_offset_of_userData_21() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___userData_21)); }
  5873. inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * get_userData_21() const { return ___userData_21; }
  5874. inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A ** get_address_of_userData_21() { return &___userData_21; }
  5875. inline void set_userData_21(UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * value)
  5876. {
  5877. ___userData_21 = value;
  5878. Il2CppCodeGenWriteBarrier((void**)(&___userData_21), (void*)value);
  5879. }
  5880. };
  5881. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters
  5882. struct DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
  5883. {
  5884. public:
  5885. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters::parameters
  5886. DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * ___parameters_1;
  5887. public:
  5888. inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81, ___parameters_1)); }
  5889. inline DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * get_parameters_1() const { return ___parameters_1; }
  5890. inline DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 ** get_address_of_parameters_1() { return &___parameters_1; }
  5891. inline void set_parameters_1(DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * value)
  5892. {
  5893. ___parameters_1 = value;
  5894. Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
  5895. }
  5896. };
  5897. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters
  5898. struct ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 : public KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39
  5899. {
  5900. public:
  5901. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::domainParams
  5902. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___domainParams_2;
  5903. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::publicKeyParamSet
  5904. DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_3;
  5905. public:
  5906. inline static int32_t get_offset_of_domainParams_2() { return static_cast<int32_t>(offsetof(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565, ___domainParams_2)); }
  5907. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_domainParams_2() const { return ___domainParams_2; }
  5908. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_domainParams_2() { return &___domainParams_2; }
  5909. inline void set_domainParams_2(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
  5910. {
  5911. ___domainParams_2 = value;
  5912. Il2CppCodeGenWriteBarrier((void**)(&___domainParams_2), (void*)value);
  5913. }
  5914. inline static int32_t get_offset_of_publicKeyParamSet_3() { return static_cast<int32_t>(offsetof(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565, ___publicKeyParamSet_3)); }
  5915. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_3() const { return ___publicKeyParamSet_3; }
  5916. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_3() { return &___publicKeyParamSet_3; }
  5917. inline void set_publicKeyParamSet_3(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
  5918. {
  5919. ___publicKeyParamSet_3 = value;
  5920. Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_3), (void*)value);
  5921. }
  5922. };
  5923. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters
  5924. struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
  5925. {
  5926. public:
  5927. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::algorithm
  5928. String_t* ___algorithm_2;
  5929. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::parameters
  5930. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters_3;
  5931. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::publicKeyParamSet
  5932. DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_4;
  5933. public:
  5934. inline static int32_t get_offset_of_algorithm_2() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___algorithm_2)); }
  5935. inline String_t* get_algorithm_2() const { return ___algorithm_2; }
  5936. inline String_t** get_address_of_algorithm_2() { return &___algorithm_2; }
  5937. inline void set_algorithm_2(String_t* value)
  5938. {
  5939. ___algorithm_2 = value;
  5940. Il2CppCodeGenWriteBarrier((void**)(&___algorithm_2), (void*)value);
  5941. }
  5942. inline static int32_t get_offset_of_parameters_3() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___parameters_3)); }
  5943. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_parameters_3() const { return ___parameters_3; }
  5944. inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_parameters_3() { return &___parameters_3; }
  5945. inline void set_parameters_3(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
  5946. {
  5947. ___parameters_3 = value;
  5948. Il2CppCodeGenWriteBarrier((void**)(&___parameters_3), (void*)value);
  5949. }
  5950. inline static int32_t get_offset_of_publicKeyParamSet_4() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___publicKeyParamSet_4)); }
  5951. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_4() const { return ___publicKeyParamSet_4; }
  5952. inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_4() { return &___publicKeyParamSet_4; }
  5953. inline void set_publicKeyParamSet_4(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
  5954. {
  5955. ___publicKeyParamSet_4 = value;
  5956. Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_4), (void*)value);
  5957. }
  5958. };
  5959. struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141_StaticFields
  5960. {
  5961. public:
  5962. // System.String[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::algorithms
  5963. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___algorithms_1;
  5964. public:
  5965. inline static int32_t get_offset_of_algorithms_1() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141_StaticFields, ___algorithms_1)); }
  5966. inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_algorithms_1() const { return ___algorithms_1; }
  5967. inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_algorithms_1() { return &___algorithms_1; }
  5968. inline void set_algorithms_1(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
  5969. {
  5970. ___algorithms_1 = value;
  5971. Il2CppCodeGenWriteBarrier((void**)(&___algorithms_1), (void*)value);
  5972. }
  5973. };
  5974. // System.Enum
  5975. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
  5976. {
  5977. public:
  5978. public:
  5979. };
  5980. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
  5981. {
  5982. public:
  5983. // System.Char[] System.Enum::enumSeperatorCharArray
  5984. CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
  5985. public:
  5986. inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
  5987. inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
  5988. inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
  5989. inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
  5990. {
  5991. ___enumSeperatorCharArray_0 = value;
  5992. Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
  5993. }
  5994. };
  5995. // Native definition for P/Invoke marshalling of System.Enum
  5996. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
  5997. {
  5998. };
  5999. // Native definition for COM marshalling of System.Enum
  6000. struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
  6001. {
  6002. };
  6003. // System.Int16
  6004. struct Int16_tD0F031114106263BB459DA1F099FF9F42691295A
  6005. {
  6006. public:
  6007. // System.Int16 System.Int16::m_value
  6008. int16_t ___m_value_0;
  6009. public:
  6010. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_tD0F031114106263BB459DA1F099FF9F42691295A, ___m_value_0)); }
  6011. inline int16_t get_m_value_0() const { return ___m_value_0; }
  6012. inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
  6013. inline void set_m_value_0(int16_t value)
  6014. {
  6015. ___m_value_0 = value;
  6016. }
  6017. };
  6018. // System.Int32
  6019. struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
  6020. {
  6021. public:
  6022. // System.Int32 System.Int32::m_value
  6023. int32_t ___m_value_0;
  6024. public:
  6025. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___m_value_0)); }
  6026. inline int32_t get_m_value_0() const { return ___m_value_0; }
  6027. inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
  6028. inline void set_m_value_0(int32_t value)
  6029. {
  6030. ___m_value_0 = value;
  6031. }
  6032. };
  6033. // System.Int64
  6034. struct Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3
  6035. {
  6036. public:
  6037. // System.Int64 System.Int64::m_value
  6038. int64_t ___m_value_0;
  6039. public:
  6040. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3, ___m_value_0)); }
  6041. inline int64_t get_m_value_0() const { return ___m_value_0; }
  6042. inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
  6043. inline void set_m_value_0(int64_t value)
  6044. {
  6045. ___m_value_0 = value;
  6046. }
  6047. };
  6048. // System.IntPtr
  6049. struct IntPtr_t
  6050. {
  6051. public:
  6052. // System.Void* System.IntPtr::m_value
  6053. void* ___m_value_0;
  6054. public:
  6055. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
  6056. inline void* get_m_value_0() const { return ___m_value_0; }
  6057. inline void** get_address_of_m_value_0() { return &___m_value_0; }
  6058. inline void set_m_value_0(void* value)
  6059. {
  6060. ___m_value_0 = value;
  6061. }
  6062. };
  6063. struct IntPtr_t_StaticFields
  6064. {
  6065. public:
  6066. // System.IntPtr System.IntPtr::Zero
  6067. intptr_t ___Zero_1;
  6068. public:
  6069. inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
  6070. inline intptr_t get_Zero_1() const { return ___Zero_1; }
  6071. inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
  6072. inline void set_Zero_1(intptr_t value)
  6073. {
  6074. ___Zero_1 = value;
  6075. }
  6076. };
  6077. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
  6078. struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
  6079. {
  6080. public:
  6081. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::modulus
  6082. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___modulus_2;
  6083. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::exponent
  6084. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___exponent_3;
  6085. public:
  6086. inline static int32_t get_offset_of_modulus_2() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801, ___modulus_2)); }
  6087. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_modulus_2() const { return ___modulus_2; }
  6088. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_modulus_2() { return &___modulus_2; }
  6089. inline void set_modulus_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6090. {
  6091. ___modulus_2 = value;
  6092. Il2CppCodeGenWriteBarrier((void**)(&___modulus_2), (void*)value);
  6093. }
  6094. inline static int32_t get_offset_of_exponent_3() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801, ___exponent_3)); }
  6095. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_exponent_3() const { return ___exponent_3; }
  6096. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_exponent_3() { return &___exponent_3; }
  6097. inline void set_exponent_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6098. {
  6099. ___exponent_3 = value;
  6100. Il2CppCodeGenWriteBarrier((void**)(&___exponent_3), (void*)value);
  6101. }
  6102. };
  6103. struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_StaticFields
  6104. {
  6105. public:
  6106. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::SmallPrimesProduct
  6107. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___SmallPrimesProduct_1;
  6108. public:
  6109. inline static int32_t get_offset_of_SmallPrimesProduct_1() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_StaticFields, ___SmallPrimesProduct_1)); }
  6110. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_SmallPrimesProduct_1() const { return ___SmallPrimesProduct_1; }
  6111. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_SmallPrimesProduct_1() { return &___SmallPrimesProduct_1; }
  6112. inline void set_SmallPrimesProduct_1(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6113. {
  6114. ___SmallPrimesProduct_1 = value;
  6115. Il2CppCodeGenWriteBarrier((void**)(&___SmallPrimesProduct_1), (void*)value);
  6116. }
  6117. };
  6118. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom
  6119. struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 : public Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118
  6120. {
  6121. public:
  6122. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::generator
  6123. RuntimeObject* ___generator_5;
  6124. public:
  6125. inline static int32_t get_offset_of_generator_5() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28, ___generator_5)); }
  6126. inline RuntimeObject* get_generator_5() const { return ___generator_5; }
  6127. inline RuntimeObject** get_address_of_generator_5() { return &___generator_5; }
  6128. inline void set_generator_5(RuntimeObject* value)
  6129. {
  6130. ___generator_5 = value;
  6131. Il2CppCodeGenWriteBarrier((void**)(&___generator_5), (void*)value);
  6132. }
  6133. };
  6134. struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields
  6135. {
  6136. public:
  6137. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::counter
  6138. int64_t ___counter_3;
  6139. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::master
  6140. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___master_4;
  6141. // System.Double BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::DoubleScale
  6142. double ___DoubleScale_6;
  6143. public:
  6144. inline static int32_t get_offset_of_counter_3() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___counter_3)); }
  6145. inline int64_t get_counter_3() const { return ___counter_3; }
  6146. inline int64_t* get_address_of_counter_3() { return &___counter_3; }
  6147. inline void set_counter_3(int64_t value)
  6148. {
  6149. ___counter_3 = value;
  6150. }
  6151. inline static int32_t get_offset_of_master_4() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___master_4)); }
  6152. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_master_4() const { return ___master_4; }
  6153. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_master_4() { return &___master_4; }
  6154. inline void set_master_4(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  6155. {
  6156. ___master_4 = value;
  6157. Il2CppCodeGenWriteBarrier((void**)(&___master_4), (void*)value);
  6158. }
  6159. inline static int32_t get_offset_of_DoubleScale_6() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___DoubleScale_6)); }
  6160. inline double get_DoubleScale_6() const { return ___DoubleScale_6; }
  6161. inline double* get_address_of_DoubleScale_6() { return &___DoubleScale_6; }
  6162. inline void set_DoubleScale_6(double value)
  6163. {
  6164. ___DoubleScale_6 = value;
  6165. }
  6166. };
  6167. // System.Single
  6168. struct Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E
  6169. {
  6170. public:
  6171. // System.Single System.Single::m_value
  6172. float ___m_value_0;
  6173. public:
  6174. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E, ___m_value_0)); }
  6175. inline float get_m_value_0() const { return ___m_value_0; }
  6176. inline float* get_address_of_m_value_0() { return &___m_value_0; }
  6177. inline void set_m_value_0(float value)
  6178. {
  6179. ___m_value_0 = value;
  6180. }
  6181. };
  6182. // System.IO.Stream
  6183. struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB : public MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8
  6184. {
  6185. public:
  6186. // System.IO.Stream/ReadWriteTask System.IO.Stream::_activeReadWriteTask
  6187. ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * ____activeReadWriteTask_3;
  6188. // System.Threading.SemaphoreSlim System.IO.Stream::_asyncActiveSemaphore
  6189. SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * ____asyncActiveSemaphore_4;
  6190. public:
  6191. inline static int32_t get_offset_of__activeReadWriteTask_3() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB, ____activeReadWriteTask_3)); }
  6192. inline ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * get__activeReadWriteTask_3() const { return ____activeReadWriteTask_3; }
  6193. inline ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 ** get_address_of__activeReadWriteTask_3() { return &____activeReadWriteTask_3; }
  6194. inline void set__activeReadWriteTask_3(ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * value)
  6195. {
  6196. ____activeReadWriteTask_3 = value;
  6197. Il2CppCodeGenWriteBarrier((void**)(&____activeReadWriteTask_3), (void*)value);
  6198. }
  6199. inline static int32_t get_offset_of__asyncActiveSemaphore_4() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB, ____asyncActiveSemaphore_4)); }
  6200. inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * get__asyncActiveSemaphore_4() const { return ____asyncActiveSemaphore_4; }
  6201. inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 ** get_address_of__asyncActiveSemaphore_4() { return &____asyncActiveSemaphore_4; }
  6202. inline void set__asyncActiveSemaphore_4(SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * value)
  6203. {
  6204. ____asyncActiveSemaphore_4 = value;
  6205. Il2CppCodeGenWriteBarrier((void**)(&____asyncActiveSemaphore_4), (void*)value);
  6206. }
  6207. };
  6208. struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB_StaticFields
  6209. {
  6210. public:
  6211. // System.IO.Stream System.IO.Stream::Null
  6212. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___Null_1;
  6213. public:
  6214. inline static int32_t get_offset_of_Null_1() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB_StaticFields, ___Null_1)); }
  6215. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_Null_1() const { return ___Null_1; }
  6216. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_Null_1() { return &___Null_1; }
  6217. inline void set_Null_1(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  6218. {
  6219. ___Null_1 = value;
  6220. Il2CppCodeGenWriteBarrier((void**)(&___Null_1), (void*)value);
  6221. }
  6222. };
  6223. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo
  6224. struct SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
  6225. {
  6226. public:
  6227. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo::algID
  6228. AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___algID_2;
  6229. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo::keyData
  6230. DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * ___keyData_3;
  6231. public:
  6232. inline static int32_t get_offset_of_algID_2() { return static_cast<int32_t>(offsetof(SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB, ___algID_2)); }
  6233. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_algID_2() const { return ___algID_2; }
  6234. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_algID_2() { return &___algID_2; }
  6235. inline void set_algID_2(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
  6236. {
  6237. ___algID_2 = value;
  6238. Il2CppCodeGenWriteBarrier((void**)(&___algID_2), (void*)value);
  6239. }
  6240. inline static int32_t get_offset_of_keyData_3() { return static_cast<int32_t>(offsetof(SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB, ___keyData_3)); }
  6241. inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * get_keyData_3() const { return ___keyData_3; }
  6242. inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 ** get_address_of_keyData_3() { return &___keyData_3; }
  6243. inline void set_keyData_3(DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * value)
  6244. {
  6245. ___keyData_3 = value;
  6246. Il2CppCodeGenWriteBarrier((void**)(&___keyData_3), (void*)value);
  6247. }
  6248. };
  6249. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl
  6250. struct TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF : public AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836
  6251. {
  6252. public:
  6253. public:
  6254. };
  6255. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange
  6256. struct TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
  6257. {
  6258. public:
  6259. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mTlsSigner
  6260. RuntimeObject* ___mTlsSigner_3;
  6261. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHVerifier
  6262. RuntimeObject* ___mDHVerifier_4;
  6263. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHParameters
  6264. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___mDHParameters_5;
  6265. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mServerPublicKey
  6266. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_6;
  6267. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mAgreementCredentials
  6268. RuntimeObject* ___mAgreementCredentials_7;
  6269. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHAgreePrivateKey
  6270. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___mDHAgreePrivateKey_8;
  6271. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHAgreePublicKey
  6272. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___mDHAgreePublicKey_9;
  6273. public:
  6274. inline static int32_t get_offset_of_mTlsSigner_3() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mTlsSigner_3)); }
  6275. inline RuntimeObject* get_mTlsSigner_3() const { return ___mTlsSigner_3; }
  6276. inline RuntimeObject** get_address_of_mTlsSigner_3() { return &___mTlsSigner_3; }
  6277. inline void set_mTlsSigner_3(RuntimeObject* value)
  6278. {
  6279. ___mTlsSigner_3 = value;
  6280. Il2CppCodeGenWriteBarrier((void**)(&___mTlsSigner_3), (void*)value);
  6281. }
  6282. inline static int32_t get_offset_of_mDHVerifier_4() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHVerifier_4)); }
  6283. inline RuntimeObject* get_mDHVerifier_4() const { return ___mDHVerifier_4; }
  6284. inline RuntimeObject** get_address_of_mDHVerifier_4() { return &___mDHVerifier_4; }
  6285. inline void set_mDHVerifier_4(RuntimeObject* value)
  6286. {
  6287. ___mDHVerifier_4 = value;
  6288. Il2CppCodeGenWriteBarrier((void**)(&___mDHVerifier_4), (void*)value);
  6289. }
  6290. inline static int32_t get_offset_of_mDHParameters_5() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHParameters_5)); }
  6291. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_mDHParameters_5() const { return ___mDHParameters_5; }
  6292. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_mDHParameters_5() { return &___mDHParameters_5; }
  6293. inline void set_mDHParameters_5(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  6294. {
  6295. ___mDHParameters_5 = value;
  6296. Il2CppCodeGenWriteBarrier((void**)(&___mDHParameters_5), (void*)value);
  6297. }
  6298. inline static int32_t get_offset_of_mServerPublicKey_6() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mServerPublicKey_6)); }
  6299. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_6() const { return ___mServerPublicKey_6; }
  6300. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_6() { return &___mServerPublicKey_6; }
  6301. inline void set_mServerPublicKey_6(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  6302. {
  6303. ___mServerPublicKey_6 = value;
  6304. Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_6), (void*)value);
  6305. }
  6306. inline static int32_t get_offset_of_mAgreementCredentials_7() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mAgreementCredentials_7)); }
  6307. inline RuntimeObject* get_mAgreementCredentials_7() const { return ___mAgreementCredentials_7; }
  6308. inline RuntimeObject** get_address_of_mAgreementCredentials_7() { return &___mAgreementCredentials_7; }
  6309. inline void set_mAgreementCredentials_7(RuntimeObject* value)
  6310. {
  6311. ___mAgreementCredentials_7 = value;
  6312. Il2CppCodeGenWriteBarrier((void**)(&___mAgreementCredentials_7), (void*)value);
  6313. }
  6314. inline static int32_t get_offset_of_mDHAgreePrivateKey_8() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHAgreePrivateKey_8)); }
  6315. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_mDHAgreePrivateKey_8() const { return ___mDHAgreePrivateKey_8; }
  6316. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_mDHAgreePrivateKey_8() { return &___mDHAgreePrivateKey_8; }
  6317. inline void set_mDHAgreePrivateKey_8(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
  6318. {
  6319. ___mDHAgreePrivateKey_8 = value;
  6320. Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePrivateKey_8), (void*)value);
  6321. }
  6322. inline static int32_t get_offset_of_mDHAgreePublicKey_9() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHAgreePublicKey_9)); }
  6323. inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * get_mDHAgreePublicKey_9() const { return ___mDHAgreePublicKey_9; }
  6324. inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 ** get_address_of_mDHAgreePublicKey_9() { return &___mDHAgreePublicKey_9; }
  6325. inline void set_mDHAgreePublicKey_9(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * value)
  6326. {
  6327. ___mDHAgreePublicKey_9 = value;
  6328. Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePublicKey_9), (void*)value);
  6329. }
  6330. };
  6331. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner
  6332. struct TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 : public AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1
  6333. {
  6334. public:
  6335. public:
  6336. };
  6337. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange
  6338. struct TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
  6339. {
  6340. public:
  6341. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mTlsSigner
  6342. RuntimeObject* ___mTlsSigner_3;
  6343. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mNamedCurves
  6344. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mNamedCurves_4;
  6345. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mClientECPointFormats
  6346. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mClientECPointFormats_5;
  6347. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mServerECPointFormats
  6348. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mServerECPointFormats_6;
  6349. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mServerPublicKey
  6350. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_7;
  6351. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mAgreementCredentials
  6352. RuntimeObject* ___mAgreementCredentials_8;
  6353. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mECAgreePrivateKey
  6354. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___mECAgreePrivateKey_9;
  6355. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mECAgreePublicKey
  6356. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___mECAgreePublicKey_10;
  6357. public:
  6358. inline static int32_t get_offset_of_mTlsSigner_3() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mTlsSigner_3)); }
  6359. inline RuntimeObject* get_mTlsSigner_3() const { return ___mTlsSigner_3; }
  6360. inline RuntimeObject** get_address_of_mTlsSigner_3() { return &___mTlsSigner_3; }
  6361. inline void set_mTlsSigner_3(RuntimeObject* value)
  6362. {
  6363. ___mTlsSigner_3 = value;
  6364. Il2CppCodeGenWriteBarrier((void**)(&___mTlsSigner_3), (void*)value);
  6365. }
  6366. inline static int32_t get_offset_of_mNamedCurves_4() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mNamedCurves_4)); }
  6367. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mNamedCurves_4() const { return ___mNamedCurves_4; }
  6368. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mNamedCurves_4() { return &___mNamedCurves_4; }
  6369. inline void set_mNamedCurves_4(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  6370. {
  6371. ___mNamedCurves_4 = value;
  6372. Il2CppCodeGenWriteBarrier((void**)(&___mNamedCurves_4), (void*)value);
  6373. }
  6374. inline static int32_t get_offset_of_mClientECPointFormats_5() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mClientECPointFormats_5)); }
  6375. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mClientECPointFormats_5() const { return ___mClientECPointFormats_5; }
  6376. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mClientECPointFormats_5() { return &___mClientECPointFormats_5; }
  6377. inline void set_mClientECPointFormats_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6378. {
  6379. ___mClientECPointFormats_5 = value;
  6380. Il2CppCodeGenWriteBarrier((void**)(&___mClientECPointFormats_5), (void*)value);
  6381. }
  6382. inline static int32_t get_offset_of_mServerECPointFormats_6() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mServerECPointFormats_6)); }
  6383. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mServerECPointFormats_6() const { return ___mServerECPointFormats_6; }
  6384. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mServerECPointFormats_6() { return &___mServerECPointFormats_6; }
  6385. inline void set_mServerECPointFormats_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6386. {
  6387. ___mServerECPointFormats_6 = value;
  6388. Il2CppCodeGenWriteBarrier((void**)(&___mServerECPointFormats_6), (void*)value);
  6389. }
  6390. inline static int32_t get_offset_of_mServerPublicKey_7() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mServerPublicKey_7)); }
  6391. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_7() const { return ___mServerPublicKey_7; }
  6392. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_7() { return &___mServerPublicKey_7; }
  6393. inline void set_mServerPublicKey_7(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  6394. {
  6395. ___mServerPublicKey_7 = value;
  6396. Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_7), (void*)value);
  6397. }
  6398. inline static int32_t get_offset_of_mAgreementCredentials_8() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mAgreementCredentials_8)); }
  6399. inline RuntimeObject* get_mAgreementCredentials_8() const { return ___mAgreementCredentials_8; }
  6400. inline RuntimeObject** get_address_of_mAgreementCredentials_8() { return &___mAgreementCredentials_8; }
  6401. inline void set_mAgreementCredentials_8(RuntimeObject* value)
  6402. {
  6403. ___mAgreementCredentials_8 = value;
  6404. Il2CppCodeGenWriteBarrier((void**)(&___mAgreementCredentials_8), (void*)value);
  6405. }
  6406. inline static int32_t get_offset_of_mECAgreePrivateKey_9() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mECAgreePrivateKey_9)); }
  6407. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_mECAgreePrivateKey_9() const { return ___mECAgreePrivateKey_9; }
  6408. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_mECAgreePrivateKey_9() { return &___mECAgreePrivateKey_9; }
  6409. inline void set_mECAgreePrivateKey_9(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
  6410. {
  6411. ___mECAgreePrivateKey_9 = value;
  6412. Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePrivateKey_9), (void*)value);
  6413. }
  6414. inline static int32_t get_offset_of_mECAgreePublicKey_10() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mECAgreePublicKey_10)); }
  6415. inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * get_mECAgreePublicKey_10() const { return ___mECAgreePublicKey_10; }
  6416. inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB ** get_address_of_mECAgreePublicKey_10() { return &___mECAgreePublicKey_10; }
  6417. inline void set_mECAgreePublicKey_10(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * value)
  6418. {
  6419. ___mECAgreePublicKey_10 = value;
  6420. Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePublicKey_10), (void*)value);
  6421. }
  6422. };
  6423. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange
  6424. struct TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
  6425. {
  6426. public:
  6427. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentity
  6428. RuntimeObject* ___mPskIdentity_3;
  6429. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentityManager
  6430. RuntimeObject* ___mPskIdentityManager_4;
  6431. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHVerifier
  6432. RuntimeObject* ___mDHVerifier_5;
  6433. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHParameters
  6434. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___mDHParameters_6;
  6435. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mNamedCurves
  6436. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mNamedCurves_7;
  6437. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mClientECPointFormats
  6438. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mClientECPointFormats_8;
  6439. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerECPointFormats
  6440. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mServerECPointFormats_9;
  6441. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentityHint
  6442. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentityHint_10;
  6443. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPsk
  6444. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPsk_11;
  6445. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHAgreePrivateKey
  6446. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___mDHAgreePrivateKey_12;
  6447. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHAgreePublicKey
  6448. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___mDHAgreePublicKey_13;
  6449. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mECAgreePrivateKey
  6450. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___mECAgreePrivateKey_14;
  6451. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mECAgreePublicKey
  6452. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___mECAgreePublicKey_15;
  6453. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerPublicKey
  6454. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_16;
  6455. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mRsaServerPublicKey
  6456. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___mRsaServerPublicKey_17;
  6457. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerCredentials
  6458. RuntimeObject* ___mServerCredentials_18;
  6459. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPremasterSecret
  6460. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPremasterSecret_19;
  6461. public:
  6462. inline static int32_t get_offset_of_mPskIdentity_3() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentity_3)); }
  6463. inline RuntimeObject* get_mPskIdentity_3() const { return ___mPskIdentity_3; }
  6464. inline RuntimeObject** get_address_of_mPskIdentity_3() { return &___mPskIdentity_3; }
  6465. inline void set_mPskIdentity_3(RuntimeObject* value)
  6466. {
  6467. ___mPskIdentity_3 = value;
  6468. Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_3), (void*)value);
  6469. }
  6470. inline static int32_t get_offset_of_mPskIdentityManager_4() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentityManager_4)); }
  6471. inline RuntimeObject* get_mPskIdentityManager_4() const { return ___mPskIdentityManager_4; }
  6472. inline RuntimeObject** get_address_of_mPskIdentityManager_4() { return &___mPskIdentityManager_4; }
  6473. inline void set_mPskIdentityManager_4(RuntimeObject* value)
  6474. {
  6475. ___mPskIdentityManager_4 = value;
  6476. Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentityManager_4), (void*)value);
  6477. }
  6478. inline static int32_t get_offset_of_mDHVerifier_5() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHVerifier_5)); }
  6479. inline RuntimeObject* get_mDHVerifier_5() const { return ___mDHVerifier_5; }
  6480. inline RuntimeObject** get_address_of_mDHVerifier_5() { return &___mDHVerifier_5; }
  6481. inline void set_mDHVerifier_5(RuntimeObject* value)
  6482. {
  6483. ___mDHVerifier_5 = value;
  6484. Il2CppCodeGenWriteBarrier((void**)(&___mDHVerifier_5), (void*)value);
  6485. }
  6486. inline static int32_t get_offset_of_mDHParameters_6() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHParameters_6)); }
  6487. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_mDHParameters_6() const { return ___mDHParameters_6; }
  6488. inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_mDHParameters_6() { return &___mDHParameters_6; }
  6489. inline void set_mDHParameters_6(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
  6490. {
  6491. ___mDHParameters_6 = value;
  6492. Il2CppCodeGenWriteBarrier((void**)(&___mDHParameters_6), (void*)value);
  6493. }
  6494. inline static int32_t get_offset_of_mNamedCurves_7() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mNamedCurves_7)); }
  6495. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mNamedCurves_7() const { return ___mNamedCurves_7; }
  6496. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mNamedCurves_7() { return &___mNamedCurves_7; }
  6497. inline void set_mNamedCurves_7(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  6498. {
  6499. ___mNamedCurves_7 = value;
  6500. Il2CppCodeGenWriteBarrier((void**)(&___mNamedCurves_7), (void*)value);
  6501. }
  6502. inline static int32_t get_offset_of_mClientECPointFormats_8() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mClientECPointFormats_8)); }
  6503. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mClientECPointFormats_8() const { return ___mClientECPointFormats_8; }
  6504. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mClientECPointFormats_8() { return &___mClientECPointFormats_8; }
  6505. inline void set_mClientECPointFormats_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6506. {
  6507. ___mClientECPointFormats_8 = value;
  6508. Il2CppCodeGenWriteBarrier((void**)(&___mClientECPointFormats_8), (void*)value);
  6509. }
  6510. inline static int32_t get_offset_of_mServerECPointFormats_9() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerECPointFormats_9)); }
  6511. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mServerECPointFormats_9() const { return ___mServerECPointFormats_9; }
  6512. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mServerECPointFormats_9() { return &___mServerECPointFormats_9; }
  6513. inline void set_mServerECPointFormats_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6514. {
  6515. ___mServerECPointFormats_9 = value;
  6516. Il2CppCodeGenWriteBarrier((void**)(&___mServerECPointFormats_9), (void*)value);
  6517. }
  6518. inline static int32_t get_offset_of_mPskIdentityHint_10() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentityHint_10)); }
  6519. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentityHint_10() const { return ___mPskIdentityHint_10; }
  6520. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentityHint_10() { return &___mPskIdentityHint_10; }
  6521. inline void set_mPskIdentityHint_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6522. {
  6523. ___mPskIdentityHint_10 = value;
  6524. Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentityHint_10), (void*)value);
  6525. }
  6526. inline static int32_t get_offset_of_mPsk_11() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPsk_11)); }
  6527. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPsk_11() const { return ___mPsk_11; }
  6528. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPsk_11() { return &___mPsk_11; }
  6529. inline void set_mPsk_11(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6530. {
  6531. ___mPsk_11 = value;
  6532. Il2CppCodeGenWriteBarrier((void**)(&___mPsk_11), (void*)value);
  6533. }
  6534. inline static int32_t get_offset_of_mDHAgreePrivateKey_12() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHAgreePrivateKey_12)); }
  6535. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_mDHAgreePrivateKey_12() const { return ___mDHAgreePrivateKey_12; }
  6536. inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_mDHAgreePrivateKey_12() { return &___mDHAgreePrivateKey_12; }
  6537. inline void set_mDHAgreePrivateKey_12(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
  6538. {
  6539. ___mDHAgreePrivateKey_12 = value;
  6540. Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePrivateKey_12), (void*)value);
  6541. }
  6542. inline static int32_t get_offset_of_mDHAgreePublicKey_13() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHAgreePublicKey_13)); }
  6543. inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * get_mDHAgreePublicKey_13() const { return ___mDHAgreePublicKey_13; }
  6544. inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 ** get_address_of_mDHAgreePublicKey_13() { return &___mDHAgreePublicKey_13; }
  6545. inline void set_mDHAgreePublicKey_13(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * value)
  6546. {
  6547. ___mDHAgreePublicKey_13 = value;
  6548. Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePublicKey_13), (void*)value);
  6549. }
  6550. inline static int32_t get_offset_of_mECAgreePrivateKey_14() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mECAgreePrivateKey_14)); }
  6551. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_mECAgreePrivateKey_14() const { return ___mECAgreePrivateKey_14; }
  6552. inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_mECAgreePrivateKey_14() { return &___mECAgreePrivateKey_14; }
  6553. inline void set_mECAgreePrivateKey_14(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
  6554. {
  6555. ___mECAgreePrivateKey_14 = value;
  6556. Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePrivateKey_14), (void*)value);
  6557. }
  6558. inline static int32_t get_offset_of_mECAgreePublicKey_15() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mECAgreePublicKey_15)); }
  6559. inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * get_mECAgreePublicKey_15() const { return ___mECAgreePublicKey_15; }
  6560. inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB ** get_address_of_mECAgreePublicKey_15() { return &___mECAgreePublicKey_15; }
  6561. inline void set_mECAgreePublicKey_15(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * value)
  6562. {
  6563. ___mECAgreePublicKey_15 = value;
  6564. Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePublicKey_15), (void*)value);
  6565. }
  6566. inline static int32_t get_offset_of_mServerPublicKey_16() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerPublicKey_16)); }
  6567. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_16() const { return ___mServerPublicKey_16; }
  6568. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_16() { return &___mServerPublicKey_16; }
  6569. inline void set_mServerPublicKey_16(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  6570. {
  6571. ___mServerPublicKey_16 = value;
  6572. Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_16), (void*)value);
  6573. }
  6574. inline static int32_t get_offset_of_mRsaServerPublicKey_17() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mRsaServerPublicKey_17)); }
  6575. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_mRsaServerPublicKey_17() const { return ___mRsaServerPublicKey_17; }
  6576. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_mRsaServerPublicKey_17() { return &___mRsaServerPublicKey_17; }
  6577. inline void set_mRsaServerPublicKey_17(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
  6578. {
  6579. ___mRsaServerPublicKey_17 = value;
  6580. Il2CppCodeGenWriteBarrier((void**)(&___mRsaServerPublicKey_17), (void*)value);
  6581. }
  6582. inline static int32_t get_offset_of_mServerCredentials_18() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerCredentials_18)); }
  6583. inline RuntimeObject* get_mServerCredentials_18() const { return ___mServerCredentials_18; }
  6584. inline RuntimeObject** get_address_of_mServerCredentials_18() { return &___mServerCredentials_18; }
  6585. inline void set_mServerCredentials_18(RuntimeObject* value)
  6586. {
  6587. ___mServerCredentials_18 = value;
  6588. Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_18), (void*)value);
  6589. }
  6590. inline static int32_t get_offset_of_mPremasterSecret_19() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPremasterSecret_19)); }
  6591. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPremasterSecret_19() const { return ___mPremasterSecret_19; }
  6592. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPremasterSecret_19() { return &___mPremasterSecret_19; }
  6593. inline void set_mPremasterSecret_19(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6594. {
  6595. ___mPremasterSecret_19 = value;
  6596. Il2CppCodeGenWriteBarrier((void**)(&___mPremasterSecret_19), (void*)value);
  6597. }
  6598. };
  6599. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange
  6600. struct TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
  6601. {
  6602. public:
  6603. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mServerPublicKey
  6604. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_3;
  6605. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mRsaServerPublicKey
  6606. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___mRsaServerPublicKey_4;
  6607. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mServerCredentials
  6608. RuntimeObject* ___mServerCredentials_5;
  6609. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mPremasterSecret
  6610. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPremasterSecret_6;
  6611. public:
  6612. inline static int32_t get_offset_of_mServerPublicKey_3() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mServerPublicKey_3)); }
  6613. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_3() const { return ___mServerPublicKey_3; }
  6614. inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_3() { return &___mServerPublicKey_3; }
  6615. inline void set_mServerPublicKey_3(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
  6616. {
  6617. ___mServerPublicKey_3 = value;
  6618. Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_3), (void*)value);
  6619. }
  6620. inline static int32_t get_offset_of_mRsaServerPublicKey_4() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mRsaServerPublicKey_4)); }
  6621. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_mRsaServerPublicKey_4() const { return ___mRsaServerPublicKey_4; }
  6622. inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_mRsaServerPublicKey_4() { return &___mRsaServerPublicKey_4; }
  6623. inline void set_mRsaServerPublicKey_4(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
  6624. {
  6625. ___mRsaServerPublicKey_4 = value;
  6626. Il2CppCodeGenWriteBarrier((void**)(&___mRsaServerPublicKey_4), (void*)value);
  6627. }
  6628. inline static int32_t get_offset_of_mServerCredentials_5() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mServerCredentials_5)); }
  6629. inline RuntimeObject* get_mServerCredentials_5() const { return ___mServerCredentials_5; }
  6630. inline RuntimeObject** get_address_of_mServerCredentials_5() { return &___mServerCredentials_5; }
  6631. inline void set_mServerCredentials_5(RuntimeObject* value)
  6632. {
  6633. ___mServerCredentials_5 = value;
  6634. Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_5), (void*)value);
  6635. }
  6636. inline static int32_t get_offset_of_mPremasterSecret_6() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mPremasterSecret_6)); }
  6637. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPremasterSecret_6() const { return ___mPremasterSecret_6; }
  6638. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPremasterSecret_6() { return &___mPremasterSecret_6; }
  6639. inline void set_mPremasterSecret_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6640. {
  6641. ___mPremasterSecret_6 = value;
  6642. Il2CppCodeGenWriteBarrier((void**)(&___mPremasterSecret_6), (void*)value);
  6643. }
  6644. };
  6645. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner
  6646. struct TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 : public AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1
  6647. {
  6648. public:
  6649. public:
  6650. };
  6651. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl
  6652. struct TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 : public AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836
  6653. {
  6654. public:
  6655. public:
  6656. };
  6657. // System.UInt16
  6658. struct UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD
  6659. {
  6660. public:
  6661. // System.UInt16 System.UInt16::m_value
  6662. uint16_t ___m_value_0;
  6663. public:
  6664. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD, ___m_value_0)); }
  6665. inline uint16_t get_m_value_0() const { return ___m_value_0; }
  6666. inline uint16_t* get_address_of_m_value_0() { return &___m_value_0; }
  6667. inline void set_m_value_0(uint16_t value)
  6668. {
  6669. ___m_value_0 = value;
  6670. }
  6671. };
  6672. // System.UInt32
  6673. struct UInt32_tE60352A06233E4E69DD198BCC67142159F686B15
  6674. {
  6675. public:
  6676. // System.UInt32 System.UInt32::m_value
  6677. uint32_t ___m_value_0;
  6678. public:
  6679. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_tE60352A06233E4E69DD198BCC67142159F686B15, ___m_value_0)); }
  6680. inline uint32_t get_m_value_0() const { return ___m_value_0; }
  6681. inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
  6682. inline void set_m_value_0(uint32_t value)
  6683. {
  6684. ___m_value_0 = value;
  6685. }
  6686. };
  6687. // System.Void
  6688. struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
  6689. {
  6690. public:
  6691. union
  6692. {
  6693. struct
  6694. {
  6695. };
  6696. uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
  6697. };
  6698. public:
  6699. };
  6700. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure
  6701. struct X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
  6702. {
  6703. public:
  6704. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TbsCertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::tbsCert
  6705. TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * ___tbsCert_2;
  6706. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::sigAlgID
  6707. AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___sigAlgID_3;
  6708. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::sig
  6709. DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * ___sig_4;
  6710. public:
  6711. inline static int32_t get_offset_of_tbsCert_2() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___tbsCert_2)); }
  6712. inline TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * get_tbsCert_2() const { return ___tbsCert_2; }
  6713. inline TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 ** get_address_of_tbsCert_2() { return &___tbsCert_2; }
  6714. inline void set_tbsCert_2(TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * value)
  6715. {
  6716. ___tbsCert_2 = value;
  6717. Il2CppCodeGenWriteBarrier((void**)(&___tbsCert_2), (void*)value);
  6718. }
  6719. inline static int32_t get_offset_of_sigAlgID_3() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___sigAlgID_3)); }
  6720. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_sigAlgID_3() const { return ___sigAlgID_3; }
  6721. inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_sigAlgID_3() { return &___sigAlgID_3; }
  6722. inline void set_sigAlgID_3(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
  6723. {
  6724. ___sigAlgID_3 = value;
  6725. Il2CppCodeGenWriteBarrier((void**)(&___sigAlgID_3), (void*)value);
  6726. }
  6727. inline static int32_t get_offset_of_sig_4() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___sig_4)); }
  6728. inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * get_sig_4() const { return ___sig_4; }
  6729. inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 ** get_address_of_sig_4() { return &___sig_4; }
  6730. inline void set_sig_4(DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * value)
  6731. {
  6732. ___sig_4 = value;
  6733. Il2CppCodeGenWriteBarrier((void**)(&___sig_4), (void*)value);
  6734. }
  6735. };
  6736. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters
  6737. struct X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
  6738. {
  6739. public:
  6740. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9FieldID BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::fieldID
  6741. X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * ___fieldID_2;
  6742. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::curve
  6743. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve_3;
  6744. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::g
  6745. X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * ___g_4;
  6746. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::n
  6747. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_5;
  6748. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::h
  6749. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h_6;
  6750. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::seed
  6751. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___seed_7;
  6752. public:
  6753. inline static int32_t get_offset_of_fieldID_2() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___fieldID_2)); }
  6754. inline X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * get_fieldID_2() const { return ___fieldID_2; }
  6755. inline X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 ** get_address_of_fieldID_2() { return &___fieldID_2; }
  6756. inline void set_fieldID_2(X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * value)
  6757. {
  6758. ___fieldID_2 = value;
  6759. Il2CppCodeGenWriteBarrier((void**)(&___fieldID_2), (void*)value);
  6760. }
  6761. inline static int32_t get_offset_of_curve_3() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___curve_3)); }
  6762. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_curve_3() const { return ___curve_3; }
  6763. inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_curve_3() { return &___curve_3; }
  6764. inline void set_curve_3(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
  6765. {
  6766. ___curve_3 = value;
  6767. Il2CppCodeGenWriteBarrier((void**)(&___curve_3), (void*)value);
  6768. }
  6769. inline static int32_t get_offset_of_g_4() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___g_4)); }
  6770. inline X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * get_g_4() const { return ___g_4; }
  6771. inline X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 ** get_address_of_g_4() { return &___g_4; }
  6772. inline void set_g_4(X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * value)
  6773. {
  6774. ___g_4 = value;
  6775. Il2CppCodeGenWriteBarrier((void**)(&___g_4), (void*)value);
  6776. }
  6777. inline static int32_t get_offset_of_n_5() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___n_5)); }
  6778. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_5() const { return ___n_5; }
  6779. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_5() { return &___n_5; }
  6780. inline void set_n_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6781. {
  6782. ___n_5 = value;
  6783. Il2CppCodeGenWriteBarrier((void**)(&___n_5), (void*)value);
  6784. }
  6785. inline static int32_t get_offset_of_h_6() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___h_6)); }
  6786. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_h_6() const { return ___h_6; }
  6787. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_h_6() { return &___h_6; }
  6788. inline void set_h_6(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6789. {
  6790. ___h_6 = value;
  6791. Il2CppCodeGenWriteBarrier((void**)(&___h_6), (void*)value);
  6792. }
  6793. inline static int32_t get_offset_of_seed_7() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___seed_7)); }
  6794. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_seed_7() const { return ___seed_7; }
  6795. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_seed_7() { return &___seed_7; }
  6796. inline void set_seed_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6797. {
  6798. ___seed_7 = value;
  6799. Il2CppCodeGenWriteBarrier((void**)(&___seed_7), (void*)value);
  6800. }
  6801. };
  6802. // DragonBones.ArmatureType
  6803. struct ArmatureType_tC7FE9060059F6F9E573EFDC3450B19B26DE6E313
  6804. {
  6805. public:
  6806. // System.Int32 DragonBones.ArmatureType::value__
  6807. int32_t ___value___2;
  6808. public:
  6809. inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ArmatureType_tC7FE9060059F6F9E573EFDC3450B19B26DE6E313, ___value___2)); }
  6810. inline int32_t get_value___2() const { return ___value___2; }
  6811. inline int32_t* get_address_of_value___2() { return &___value___2; }
  6812. inline void set_value___2(int32_t value)
  6813. {
  6814. ___value___2 = value;
  6815. }
  6816. };
  6817. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream
  6818. struct BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  6819. {
  6820. public:
  6821. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::closed
  6822. bool ___closed_5;
  6823. public:
  6824. inline static int32_t get_offset_of_closed_5() { return static_cast<int32_t>(offsetof(BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2, ___closed_5)); }
  6825. inline bool get_closed_5() const { return ___closed_5; }
  6826. inline bool* get_address_of_closed_5() { return &___closed_5; }
  6827. inline void set_closed_5(bool value)
  6828. {
  6829. ___closed_5 = value;
  6830. }
  6831. };
  6832. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream
  6833. struct BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  6834. {
  6835. public:
  6836. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::closed
  6837. bool ___closed_5;
  6838. public:
  6839. inline static int32_t get_offset_of_closed_5() { return static_cast<int32_t>(offsetof(BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D, ___closed_5)); }
  6840. inline bool get_closed_5() const { return ___closed_5; }
  6841. inline bool* get_address_of_closed_5() { return &___closed_5; }
  6842. inline void set_closed_5(bool value)
  6843. {
  6844. ___closed_5 = value;
  6845. }
  6846. };
  6847. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream
  6848. struct ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  6849. {
  6850. public:
  6851. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::buffer
  6852. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___buffer_5;
  6853. public:
  6854. inline static int32_t get_offset_of_buffer_5() { return static_cast<int32_t>(offsetof(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8, ___buffer_5)); }
  6855. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_buffer_5() const { return ___buffer_5; }
  6856. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_buffer_5() { return &___buffer_5; }
  6857. inline void set_buffer_5(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
  6858. {
  6859. ___buffer_5 = value;
  6860. Il2CppCodeGenWriteBarrier((void**)(&___buffer_5), (void*)value);
  6861. }
  6862. };
  6863. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters
  6864. struct DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F : public DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626
  6865. {
  6866. public:
  6867. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters::x
  6868. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x_3;
  6869. public:
  6870. inline static int32_t get_offset_of_x_3() { return static_cast<int32_t>(offsetof(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F, ___x_3)); }
  6871. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_x_3() const { return ___x_3; }
  6872. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_x_3() { return &___x_3; }
  6873. inline void set_x_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6874. {
  6875. ___x_3 = value;
  6876. Il2CppCodeGenWriteBarrier((void**)(&___x_3), (void*)value);
  6877. }
  6878. };
  6879. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters
  6880. struct DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 : public DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626
  6881. {
  6882. public:
  6883. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::y
  6884. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y_3;
  6885. public:
  6886. inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862, ___y_3)); }
  6887. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_y_3() const { return ___y_3; }
  6888. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_y_3() { return &___y_3; }
  6889. inline void set_y_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6890. {
  6891. ___y_3 = value;
  6892. Il2CppCodeGenWriteBarrier((void**)(&___y_3), (void*)value);
  6893. }
  6894. };
  6895. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier
  6896. struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 : public Asn1Object_t6EBED9F28280E72844A4F6F176D7E2A5B94FFCFC
  6897. {
  6898. public:
  6899. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::identifier
  6900. String_t* ___identifier_2;
  6901. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::body
  6902. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___body_3;
  6903. public:
  6904. inline static int32_t get_offset_of_identifier_2() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8, ___identifier_2)); }
  6905. inline String_t* get_identifier_2() const { return ___identifier_2; }
  6906. inline String_t** get_address_of_identifier_2() { return &___identifier_2; }
  6907. inline void set_identifier_2(String_t* value)
  6908. {
  6909. ___identifier_2 = value;
  6910. Il2CppCodeGenWriteBarrier((void**)(&___identifier_2), (void*)value);
  6911. }
  6912. inline static int32_t get_offset_of_body_3() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8, ___body_3)); }
  6913. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_body_3() const { return ___body_3; }
  6914. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_body_3() { return &___body_3; }
  6915. inline void set_body_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  6916. {
  6917. ___body_3 = value;
  6918. Il2CppCodeGenWriteBarrier((void**)(&___body_3), (void*)value);
  6919. }
  6920. };
  6921. struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8_StaticFields
  6922. {
  6923. public:
  6924. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::cache
  6925. DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* ___cache_5;
  6926. public:
  6927. inline static int32_t get_offset_of_cache_5() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8_StaticFields, ___cache_5)); }
  6928. inline DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* get_cache_5() const { return ___cache_5; }
  6929. inline DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F** get_address_of_cache_5() { return &___cache_5; }
  6930. inline void set_cache_5(DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* value)
  6931. {
  6932. ___cache_5 = value;
  6933. Il2CppCodeGenWriteBarrier((void**)(&___cache_5), (void*)value);
  6934. }
  6935. };
  6936. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaPublicKeyParameters
  6937. struct DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 : public DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81
  6938. {
  6939. public:
  6940. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaPublicKeyParameters::y
  6941. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y_2;
  6942. public:
  6943. inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9, ___y_2)); }
  6944. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_y_2() const { return ___y_2; }
  6945. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_y_2() { return &___y_2; }
  6946. inline void set_y_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6947. {
  6948. ___y_2 = value;
  6949. Il2CppCodeGenWriteBarrier((void**)(&___y_2), (void*)value);
  6950. }
  6951. };
  6952. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters
  6953. struct ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 : public ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141
  6954. {
  6955. public:
  6956. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters::d
  6957. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___d_5;
  6958. public:
  6959. inline static int32_t get_offset_of_d_5() { return static_cast<int32_t>(offsetof(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029, ___d_5)); }
  6960. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_d_5() const { return ___d_5; }
  6961. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_d_5() { return &___d_5; }
  6962. inline void set_d_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  6963. {
  6964. ___d_5 = value;
  6965. Il2CppCodeGenWriteBarrier((void**)(&___d_5), (void*)value);
  6966. }
  6967. };
  6968. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters
  6969. struct ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB : public ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141
  6970. {
  6971. public:
  6972. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::q
  6973. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___q_5;
  6974. public:
  6975. inline static int32_t get_offset_of_q_5() { return static_cast<int32_t>(offsetof(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB, ___q_5)); }
  6976. inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * get_q_5() const { return ___q_5; }
  6977. inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA ** get_address_of_q_5() { return &___q_5; }
  6978. inline void set_q_5(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * value)
  6979. {
  6980. ___q_5 = value;
  6981. Il2CppCodeGenWriteBarrier((void**)(&___q_5), (void*)value);
  6982. }
  6983. };
  6984. // System.Exception
  6985. struct Exception_t : public RuntimeObject
  6986. {
  6987. public:
  6988. // System.String System.Exception::_className
  6989. String_t* ____className_1;
  6990. // System.String System.Exception::_message
  6991. String_t* ____message_2;
  6992. // System.Collections.IDictionary System.Exception::_data
  6993. RuntimeObject* ____data_3;
  6994. // System.Exception System.Exception::_innerException
  6995. Exception_t * ____innerException_4;
  6996. // System.String System.Exception::_helpURL
  6997. String_t* ____helpURL_5;
  6998. // System.Object System.Exception::_stackTrace
  6999. RuntimeObject * ____stackTrace_6;
  7000. // System.String System.Exception::_stackTraceString
  7001. String_t* ____stackTraceString_7;
  7002. // System.String System.Exception::_remoteStackTraceString
  7003. String_t* ____remoteStackTraceString_8;
  7004. // System.Int32 System.Exception::_remoteStackIndex
  7005. int32_t ____remoteStackIndex_9;
  7006. // System.Object System.Exception::_dynamicMethods
  7007. RuntimeObject * ____dynamicMethods_10;
  7008. // System.Int32 System.Exception::_HResult
  7009. int32_t ____HResult_11;
  7010. // System.String System.Exception::_source
  7011. String_t* ____source_12;
  7012. // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
  7013. SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
  7014. // System.Diagnostics.StackTrace[] System.Exception::captured_traces
  7015. StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
  7016. // System.IntPtr[] System.Exception::native_trace_ips
  7017. IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___native_trace_ips_15;
  7018. public:
  7019. inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
  7020. inline String_t* get__className_1() const { return ____className_1; }
  7021. inline String_t** get_address_of__className_1() { return &____className_1; }
  7022. inline void set__className_1(String_t* value)
  7023. {
  7024. ____className_1 = value;
  7025. Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
  7026. }
  7027. inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
  7028. inline String_t* get__message_2() const { return ____message_2; }
  7029. inline String_t** get_address_of__message_2() { return &____message_2; }
  7030. inline void set__message_2(String_t* value)
  7031. {
  7032. ____message_2 = value;
  7033. Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
  7034. }
  7035. inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
  7036. inline RuntimeObject* get__data_3() const { return ____data_3; }
  7037. inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
  7038. inline void set__data_3(RuntimeObject* value)
  7039. {
  7040. ____data_3 = value;
  7041. Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
  7042. }
  7043. inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
  7044. inline Exception_t * get__innerException_4() const { return ____innerException_4; }
  7045. inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
  7046. inline void set__innerException_4(Exception_t * value)
  7047. {
  7048. ____innerException_4 = value;
  7049. Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
  7050. }
  7051. inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
  7052. inline String_t* get__helpURL_5() const { return ____helpURL_5; }
  7053. inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
  7054. inline void set__helpURL_5(String_t* value)
  7055. {
  7056. ____helpURL_5 = value;
  7057. Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
  7058. }
  7059. inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
  7060. inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
  7061. inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
  7062. inline void set__stackTrace_6(RuntimeObject * value)
  7063. {
  7064. ____stackTrace_6 = value;
  7065. Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
  7066. }
  7067. inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
  7068. inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
  7069. inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
  7070. inline void set__stackTraceString_7(String_t* value)
  7071. {
  7072. ____stackTraceString_7 = value;
  7073. Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
  7074. }
  7075. inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
  7076. inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
  7077. inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
  7078. inline void set__remoteStackTraceString_8(String_t* value)
  7079. {
  7080. ____remoteStackTraceString_8 = value;
  7081. Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
  7082. }
  7083. inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
  7084. inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
  7085. inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
  7086. inline void set__remoteStackIndex_9(int32_t value)
  7087. {
  7088. ____remoteStackIndex_9 = value;
  7089. }
  7090. inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
  7091. inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
  7092. inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
  7093. inline void set__dynamicMethods_10(RuntimeObject * value)
  7094. {
  7095. ____dynamicMethods_10 = value;
  7096. Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
  7097. }
  7098. inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
  7099. inline int32_t get__HResult_11() const { return ____HResult_11; }
  7100. inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
  7101. inline void set__HResult_11(int32_t value)
  7102. {
  7103. ____HResult_11 = value;
  7104. }
  7105. inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
  7106. inline String_t* get__source_12() const { return ____source_12; }
  7107. inline String_t** get_address_of__source_12() { return &____source_12; }
  7108. inline void set__source_12(String_t* value)
  7109. {
  7110. ____source_12 = value;
  7111. Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
  7112. }
  7113. inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
  7114. inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
  7115. inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
  7116. inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * value)
  7117. {
  7118. ____safeSerializationManager_13 = value;
  7119. Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
  7120. }
  7121. inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
  7122. inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
  7123. inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
  7124. inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* value)
  7125. {
  7126. ___captured_traces_14 = value;
  7127. Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
  7128. }
  7129. inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
  7130. inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
  7131. inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
  7132. inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* value)
  7133. {
  7134. ___native_trace_ips_15 = value;
  7135. Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
  7136. }
  7137. };
  7138. struct Exception_t_StaticFields
  7139. {
  7140. public:
  7141. // System.Object System.Exception::s_EDILock
  7142. RuntimeObject * ___s_EDILock_0;
  7143. public:
  7144. inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
  7145. inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
  7146. inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
  7147. inline void set_s_EDILock_0(RuntimeObject * value)
  7148. {
  7149. ___s_EDILock_0 = value;
  7150. Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
  7151. }
  7152. };
  7153. // Native definition for P/Invoke marshalling of System.Exception
  7154. struct Exception_t_marshaled_pinvoke
  7155. {
  7156. char* ____className_1;
  7157. char* ____message_2;
  7158. RuntimeObject* ____data_3;
  7159. Exception_t_marshaled_pinvoke* ____innerException_4;
  7160. char* ____helpURL_5;
  7161. Il2CppIUnknown* ____stackTrace_6;
  7162. char* ____stackTraceString_7;
  7163. char* ____remoteStackTraceString_8;
  7164. int32_t ____remoteStackIndex_9;
  7165. Il2CppIUnknown* ____dynamicMethods_10;
  7166. int32_t ____HResult_11;
  7167. char* ____source_12;
  7168. SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
  7169. StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
  7170. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  7171. };
  7172. // Native definition for COM marshalling of System.Exception
  7173. struct Exception_t_marshaled_com
  7174. {
  7175. Il2CppChar* ____className_1;
  7176. Il2CppChar* ____message_2;
  7177. RuntimeObject* ____data_3;
  7178. Exception_t_marshaled_com* ____innerException_4;
  7179. Il2CppChar* ____helpURL_5;
  7180. Il2CppIUnknown* ____stackTrace_6;
  7181. Il2CppChar* ____stackTraceString_7;
  7182. Il2CppChar* ____remoteStackTraceString_8;
  7183. int32_t ____remoteStackIndex_9;
  7184. Il2CppIUnknown* ____dynamicMethods_10;
  7185. int32_t ____HResult_11;
  7186. Il2CppChar* ____source_12;
  7187. SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
  7188. StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
  7189. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  7190. };
  7191. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve
  7192. struct F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 : public AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE
  7193. {
  7194. public:
  7195. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::m
  7196. int32_t ___m_18;
  7197. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k1
  7198. int32_t ___k1_19;
  7199. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k2
  7200. int32_t ___k2_20;
  7201. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k3
  7202. int32_t ___k3_21;
  7203. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::m_infinity
  7204. F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * ___m_infinity_22;
  7205. public:
  7206. inline static int32_t get_offset_of_m_18() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___m_18)); }
  7207. inline int32_t get_m_18() const { return ___m_18; }
  7208. inline int32_t* get_address_of_m_18() { return &___m_18; }
  7209. inline void set_m_18(int32_t value)
  7210. {
  7211. ___m_18 = value;
  7212. }
  7213. inline static int32_t get_offset_of_k1_19() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k1_19)); }
  7214. inline int32_t get_k1_19() const { return ___k1_19; }
  7215. inline int32_t* get_address_of_k1_19() { return &___k1_19; }
  7216. inline void set_k1_19(int32_t value)
  7217. {
  7218. ___k1_19 = value;
  7219. }
  7220. inline static int32_t get_offset_of_k2_20() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k2_20)); }
  7221. inline int32_t get_k2_20() const { return ___k2_20; }
  7222. inline int32_t* get_address_of_k2_20() { return &___k2_20; }
  7223. inline void set_k2_20(int32_t value)
  7224. {
  7225. ___k2_20 = value;
  7226. }
  7227. inline static int32_t get_offset_of_k3_21() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k3_21)); }
  7228. inline int32_t get_k3_21() const { return ___k3_21; }
  7229. inline int32_t* get_address_of_k3_21() { return &___k3_21; }
  7230. inline void set_k3_21(int32_t value)
  7231. {
  7232. ___k3_21 = value;
  7233. }
  7234. inline static int32_t get_offset_of_m_infinity_22() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___m_infinity_22)); }
  7235. inline F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * get_m_infinity_22() const { return ___m_infinity_22; }
  7236. inline F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F ** get_address_of_m_infinity_22() { return &___m_infinity_22; }
  7237. inline void set_m_infinity_22(F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * value)
  7238. {
  7239. ___m_infinity_22 = value;
  7240. Il2CppCodeGenWriteBarrier((void**)(&___m_infinity_22), (void*)value);
  7241. }
  7242. };
  7243. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve
  7244. struct FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 : public AbstractFpCurve_tE0B6ADB825360C35FC7DFFBCC3473DCA2198D5EF
  7245. {
  7246. public:
  7247. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_q
  7248. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_q_17;
  7249. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_r
  7250. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_r_18;
  7251. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_infinity
  7252. FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * ___m_infinity_19;
  7253. public:
  7254. inline static int32_t get_offset_of_m_q_17() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_q_17)); }
  7255. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_q_17() const { return ___m_q_17; }
  7256. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_q_17() { return &___m_q_17; }
  7257. inline void set_m_q_17(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  7258. {
  7259. ___m_q_17 = value;
  7260. Il2CppCodeGenWriteBarrier((void**)(&___m_q_17), (void*)value);
  7261. }
  7262. inline static int32_t get_offset_of_m_r_18() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_r_18)); }
  7263. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_r_18() const { return ___m_r_18; }
  7264. inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_r_18() { return &___m_r_18; }
  7265. inline void set_m_r_18(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
  7266. {
  7267. ___m_r_18 = value;
  7268. Il2CppCodeGenWriteBarrier((void**)(&___m_r_18), (void*)value);
  7269. }
  7270. inline static int32_t get_offset_of_m_infinity_19() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_infinity_19)); }
  7271. inline FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * get_m_infinity_19() const { return ___m_infinity_19; }
  7272. inline FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 ** get_address_of_m_infinity_19() { return &___m_infinity_19; }
  7273. inline void set_m_infinity_19(FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * value)
  7274. {
  7275. ___m_infinity_19 = value;
  7276. Il2CppCodeGenWriteBarrier((void**)(&___m_infinity_19), (void*)value);
  7277. }
  7278. };
  7279. // System.IO.MemoryStream
  7280. struct MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  7281. {
  7282. public:
  7283. // System.Byte[] System.IO.MemoryStream::_buffer
  7284. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ____buffer_5;
  7285. // System.Int32 System.IO.MemoryStream::_origin
  7286. int32_t ____origin_6;
  7287. // System.Int32 System.IO.MemoryStream::_position
  7288. int32_t ____position_7;
  7289. // System.Int32 System.IO.MemoryStream::_length
  7290. int32_t ____length_8;
  7291. // System.Int32 System.IO.MemoryStream::_capacity
  7292. int32_t ____capacity_9;
  7293. // System.Boolean System.IO.MemoryStream::_expandable
  7294. bool ____expandable_10;
  7295. // System.Boolean System.IO.MemoryStream::_writable
  7296. bool ____writable_11;
  7297. // System.Boolean System.IO.MemoryStream::_exposable
  7298. bool ____exposable_12;
  7299. // System.Boolean System.IO.MemoryStream::_isOpen
  7300. bool ____isOpen_13;
  7301. // System.Threading.Tasks.Task`1<System.Int32> System.IO.MemoryStream::_lastReadTask
  7302. Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * ____lastReadTask_14;
  7303. public:
  7304. inline static int32_t get_offset_of__buffer_5() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____buffer_5)); }
  7305. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get__buffer_5() const { return ____buffer_5; }
  7306. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of__buffer_5() { return &____buffer_5; }
  7307. inline void set__buffer_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  7308. {
  7309. ____buffer_5 = value;
  7310. Il2CppCodeGenWriteBarrier((void**)(&____buffer_5), (void*)value);
  7311. }
  7312. inline static int32_t get_offset_of__origin_6() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____origin_6)); }
  7313. inline int32_t get__origin_6() const { return ____origin_6; }
  7314. inline int32_t* get_address_of__origin_6() { return &____origin_6; }
  7315. inline void set__origin_6(int32_t value)
  7316. {
  7317. ____origin_6 = value;
  7318. }
  7319. inline static int32_t get_offset_of__position_7() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____position_7)); }
  7320. inline int32_t get__position_7() const { return ____position_7; }
  7321. inline int32_t* get_address_of__position_7() { return &____position_7; }
  7322. inline void set__position_7(int32_t value)
  7323. {
  7324. ____position_7 = value;
  7325. }
  7326. inline static int32_t get_offset_of__length_8() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____length_8)); }
  7327. inline int32_t get__length_8() const { return ____length_8; }
  7328. inline int32_t* get_address_of__length_8() { return &____length_8; }
  7329. inline void set__length_8(int32_t value)
  7330. {
  7331. ____length_8 = value;
  7332. }
  7333. inline static int32_t get_offset_of__capacity_9() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____capacity_9)); }
  7334. inline int32_t get__capacity_9() const { return ____capacity_9; }
  7335. inline int32_t* get_address_of__capacity_9() { return &____capacity_9; }
  7336. inline void set__capacity_9(int32_t value)
  7337. {
  7338. ____capacity_9 = value;
  7339. }
  7340. inline static int32_t get_offset_of__expandable_10() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____expandable_10)); }
  7341. inline bool get__expandable_10() const { return ____expandable_10; }
  7342. inline bool* get_address_of__expandable_10() { return &____expandable_10; }
  7343. inline void set__expandable_10(bool value)
  7344. {
  7345. ____expandable_10 = value;
  7346. }
  7347. inline static int32_t get_offset_of__writable_11() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____writable_11)); }
  7348. inline bool get__writable_11() const { return ____writable_11; }
  7349. inline bool* get_address_of__writable_11() { return &____writable_11; }
  7350. inline void set__writable_11(bool value)
  7351. {
  7352. ____writable_11 = value;
  7353. }
  7354. inline static int32_t get_offset_of__exposable_12() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____exposable_12)); }
  7355. inline bool get__exposable_12() const { return ____exposable_12; }
  7356. inline bool* get_address_of__exposable_12() { return &____exposable_12; }
  7357. inline void set__exposable_12(bool value)
  7358. {
  7359. ____exposable_12 = value;
  7360. }
  7361. inline static int32_t get_offset_of__isOpen_13() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____isOpen_13)); }
  7362. inline bool get__isOpen_13() const { return ____isOpen_13; }
  7363. inline bool* get_address_of__isOpen_13() { return &____isOpen_13; }
  7364. inline void set__isOpen_13(bool value)
  7365. {
  7366. ____isOpen_13 = value;
  7367. }
  7368. inline static int32_t get_offset_of__lastReadTask_14() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____lastReadTask_14)); }
  7369. inline Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * get__lastReadTask_14() const { return ____lastReadTask_14; }
  7370. inline Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 ** get_address_of__lastReadTask_14() { return &____lastReadTask_14; }
  7371. inline void set__lastReadTask_14(Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * value)
  7372. {
  7373. ____lastReadTask_14 = value;
  7374. Il2CppCodeGenWriteBarrier((void**)(&____lastReadTask_14), (void*)value);
  7375. }
  7376. };
  7377. // UnityEngine.Object
  7378. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A : public RuntimeObject
  7379. {
  7380. public:
  7381. // System.IntPtr UnityEngine.Object::m_CachedPtr
  7382. intptr_t ___m_CachedPtr_0;
  7383. public:
  7384. inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A, ___m_CachedPtr_0)); }
  7385. inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
  7386. inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
  7387. inline void set_m_CachedPtr_0(intptr_t value)
  7388. {
  7389. ___m_CachedPtr_0 = value;
  7390. }
  7391. };
  7392. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields
  7393. {
  7394. public:
  7395. // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
  7396. int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
  7397. public:
  7398. inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
  7399. inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
  7400. inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
  7401. inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
  7402. {
  7403. ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
  7404. }
  7405. };
  7406. // Native definition for P/Invoke marshalling of UnityEngine.Object
  7407. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_pinvoke
  7408. {
  7409. intptr_t ___m_CachedPtr_0;
  7410. };
  7411. // Native definition for COM marshalling of UnityEngine.Object
  7412. struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_com
  7413. {
  7414. intptr_t ___m_CachedPtr_0;
  7415. };
  7416. // DragonBones.TimelineType
  7417. struct TimelineType_t0EE2123D7DC960F14D02CB413C86F151B99C61F1
  7418. {
  7419. public:
  7420. // System.Int32 DragonBones.TimelineType::value__
  7421. int32_t ___value___2;
  7422. public:
  7423. inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TimelineType_t0EE2123D7DC960F14D02CB413C86F151B99C61F1, ___value___2)); }
  7424. inline int32_t get_value___2() const { return ___value___2; }
  7425. inline int32_t* get_address_of_value___2() { return &___value___2; }
  7426. inline void set_value___2(int32_t value)
  7427. {
  7428. ___value___2 = value;
  7429. }
  7430. };
  7431. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange
  7432. struct TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD : public TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54
  7433. {
  7434. public:
  7435. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::mServerCredentials
  7436. RuntimeObject* ___mServerCredentials_10;
  7437. public:
  7438. inline static int32_t get_offset_of_mServerCredentials_10() { return static_cast<int32_t>(offsetof(TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD, ___mServerCredentials_10)); }
  7439. inline RuntimeObject* get_mServerCredentials_10() const { return ___mServerCredentials_10; }
  7440. inline RuntimeObject** get_address_of_mServerCredentials_10() { return &___mServerCredentials_10; }
  7441. inline void set_mServerCredentials_10(RuntimeObject* value)
  7442. {
  7443. ___mServerCredentials_10 = value;
  7444. Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_10), (void*)value);
  7445. }
  7446. };
  7447. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner
  7448. struct TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 : public TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436
  7449. {
  7450. public:
  7451. public:
  7452. };
  7453. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange
  7454. struct TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B : public TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827
  7455. {
  7456. public:
  7457. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::mServerCredentials
  7458. RuntimeObject* ___mServerCredentials_11;
  7459. public:
  7460. inline static int32_t get_offset_of_mServerCredentials_11() { return static_cast<int32_t>(offsetof(TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B, ___mServerCredentials_11)); }
  7461. inline RuntimeObject* get_mServerCredentials_11() const { return ___mServerCredentials_11; }
  7462. inline RuntimeObject** get_address_of_mServerCredentials_11() { return &___mServerCredentials_11; }
  7463. inline void set_mServerCredentials_11(RuntimeObject* value)
  7464. {
  7465. ___mServerCredentials_11 = value;
  7466. Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_11), (void*)value);
  7467. }
  7468. };
  7469. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner
  7470. struct TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA : public TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436
  7471. {
  7472. public:
  7473. public:
  7474. };
  7475. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol
  7476. struct TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 : public RuntimeObject
  7477. {
  7478. public:
  7479. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mApplicationDataQueue
  7480. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mApplicationDataQueue_20;
  7481. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAlertQueue
  7482. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mAlertQueue_21;
  7483. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mHandshakeQueue
  7484. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mHandshakeQueue_22;
  7485. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mRecordStream
  7486. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * ___mRecordStream_23;
  7487. // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecureRandom
  7488. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___mSecureRandom_24;
  7489. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mTlsStream
  7490. TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * ___mTlsStream_25;
  7491. // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mClosed
  7492. bool ___mClosed_26;
  7493. // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mFailedWithError
  7494. bool ___mFailedWithError_27;
  7495. // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataReady
  7496. bool ___mAppDataReady_28;
  7497. // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataSplitEnabled
  7498. bool ___mAppDataSplitEnabled_29;
  7499. // System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataSplitMode
  7500. int32_t ___mAppDataSplitMode_30;
  7501. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mExpectedVerifyData
  7502. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mExpectedVerifyData_31;
  7503. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mTlsSession
  7504. RuntimeObject* ___mTlsSession_32;
  7505. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSessionParameters
  7506. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___mSessionParameters_33;
  7507. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecurityParameters
  7508. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___mSecurityParameters_34;
  7509. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mPeerCertificate
  7510. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_35;
  7511. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOfferedCipherSuites
  7512. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mOfferedCipherSuites_36;
  7513. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOfferedCompressionMethods
  7514. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mOfferedCompressionMethods_37;
  7515. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mClientExtensions
  7516. RuntimeObject* ___mClientExtensions_38;
  7517. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mServerExtensions
  7518. RuntimeObject* ___mServerExtensions_39;
  7519. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mConnectionState
  7520. int16_t ___mConnectionState_40;
  7521. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mResumedSession
  7522. bool ___mResumedSession_41;
  7523. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mReceivedChangeCipherSpec
  7524. bool ___mReceivedChangeCipherSpec_42;
  7525. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecureRenegotiation
  7526. bool ___mSecureRenegotiation_43;
  7527. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAllowCertificateStatus
  7528. bool ___mAllowCertificateStatus_44;
  7529. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mExpectSessionTicket
  7530. bool ___mExpectSessionTicket_45;
  7531. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mBlocking
  7532. bool ___mBlocking_46;
  7533. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mInputBuffers
  7534. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * ___mInputBuffers_47;
  7535. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOutputBuffer
  7536. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * ___mOutputBuffer_48;
  7537. public:
  7538. inline static int32_t get_offset_of_mApplicationDataQueue_20() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mApplicationDataQueue_20)); }
  7539. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mApplicationDataQueue_20() const { return ___mApplicationDataQueue_20; }
  7540. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mApplicationDataQueue_20() { return &___mApplicationDataQueue_20; }
  7541. inline void set_mApplicationDataQueue_20(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
  7542. {
  7543. ___mApplicationDataQueue_20 = value;
  7544. Il2CppCodeGenWriteBarrier((void**)(&___mApplicationDataQueue_20), (void*)value);
  7545. }
  7546. inline static int32_t get_offset_of_mAlertQueue_21() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAlertQueue_21)); }
  7547. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mAlertQueue_21() const { return ___mAlertQueue_21; }
  7548. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mAlertQueue_21() { return &___mAlertQueue_21; }
  7549. inline void set_mAlertQueue_21(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
  7550. {
  7551. ___mAlertQueue_21 = value;
  7552. Il2CppCodeGenWriteBarrier((void**)(&___mAlertQueue_21), (void*)value);
  7553. }
  7554. inline static int32_t get_offset_of_mHandshakeQueue_22() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mHandshakeQueue_22)); }
  7555. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mHandshakeQueue_22() const { return ___mHandshakeQueue_22; }
  7556. inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mHandshakeQueue_22() { return &___mHandshakeQueue_22; }
  7557. inline void set_mHandshakeQueue_22(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
  7558. {
  7559. ___mHandshakeQueue_22 = value;
  7560. Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeQueue_22), (void*)value);
  7561. }
  7562. inline static int32_t get_offset_of_mRecordStream_23() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mRecordStream_23)); }
  7563. inline RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * get_mRecordStream_23() const { return ___mRecordStream_23; }
  7564. inline RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E ** get_address_of_mRecordStream_23() { return &___mRecordStream_23; }
  7565. inline void set_mRecordStream_23(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * value)
  7566. {
  7567. ___mRecordStream_23 = value;
  7568. Il2CppCodeGenWriteBarrier((void**)(&___mRecordStream_23), (void*)value);
  7569. }
  7570. inline static int32_t get_offset_of_mSecureRandom_24() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecureRandom_24)); }
  7571. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_mSecureRandom_24() const { return ___mSecureRandom_24; }
  7572. inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_mSecureRandom_24() { return &___mSecureRandom_24; }
  7573. inline void set_mSecureRandom_24(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
  7574. {
  7575. ___mSecureRandom_24 = value;
  7576. Il2CppCodeGenWriteBarrier((void**)(&___mSecureRandom_24), (void*)value);
  7577. }
  7578. inline static int32_t get_offset_of_mTlsStream_25() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mTlsStream_25)); }
  7579. inline TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * get_mTlsStream_25() const { return ___mTlsStream_25; }
  7580. inline TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A ** get_address_of_mTlsStream_25() { return &___mTlsStream_25; }
  7581. inline void set_mTlsStream_25(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * value)
  7582. {
  7583. ___mTlsStream_25 = value;
  7584. Il2CppCodeGenWriteBarrier((void**)(&___mTlsStream_25), (void*)value);
  7585. }
  7586. inline static int32_t get_offset_of_mClosed_26() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mClosed_26)); }
  7587. inline bool get_mClosed_26() const { return ___mClosed_26; }
  7588. inline bool* get_address_of_mClosed_26() { return &___mClosed_26; }
  7589. inline void set_mClosed_26(bool value)
  7590. {
  7591. ___mClosed_26 = value;
  7592. }
  7593. inline static int32_t get_offset_of_mFailedWithError_27() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mFailedWithError_27)); }
  7594. inline bool get_mFailedWithError_27() const { return ___mFailedWithError_27; }
  7595. inline bool* get_address_of_mFailedWithError_27() { return &___mFailedWithError_27; }
  7596. inline void set_mFailedWithError_27(bool value)
  7597. {
  7598. ___mFailedWithError_27 = value;
  7599. }
  7600. inline static int32_t get_offset_of_mAppDataReady_28() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataReady_28)); }
  7601. inline bool get_mAppDataReady_28() const { return ___mAppDataReady_28; }
  7602. inline bool* get_address_of_mAppDataReady_28() { return &___mAppDataReady_28; }
  7603. inline void set_mAppDataReady_28(bool value)
  7604. {
  7605. ___mAppDataReady_28 = value;
  7606. }
  7607. inline static int32_t get_offset_of_mAppDataSplitEnabled_29() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataSplitEnabled_29)); }
  7608. inline bool get_mAppDataSplitEnabled_29() const { return ___mAppDataSplitEnabled_29; }
  7609. inline bool* get_address_of_mAppDataSplitEnabled_29() { return &___mAppDataSplitEnabled_29; }
  7610. inline void set_mAppDataSplitEnabled_29(bool value)
  7611. {
  7612. ___mAppDataSplitEnabled_29 = value;
  7613. }
  7614. inline static int32_t get_offset_of_mAppDataSplitMode_30() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataSplitMode_30)); }
  7615. inline int32_t get_mAppDataSplitMode_30() const { return ___mAppDataSplitMode_30; }
  7616. inline int32_t* get_address_of_mAppDataSplitMode_30() { return &___mAppDataSplitMode_30; }
  7617. inline void set_mAppDataSplitMode_30(int32_t value)
  7618. {
  7619. ___mAppDataSplitMode_30 = value;
  7620. }
  7621. inline static int32_t get_offset_of_mExpectedVerifyData_31() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mExpectedVerifyData_31)); }
  7622. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mExpectedVerifyData_31() const { return ___mExpectedVerifyData_31; }
  7623. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mExpectedVerifyData_31() { return &___mExpectedVerifyData_31; }
  7624. inline void set_mExpectedVerifyData_31(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  7625. {
  7626. ___mExpectedVerifyData_31 = value;
  7627. Il2CppCodeGenWriteBarrier((void**)(&___mExpectedVerifyData_31), (void*)value);
  7628. }
  7629. inline static int32_t get_offset_of_mTlsSession_32() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mTlsSession_32)); }
  7630. inline RuntimeObject* get_mTlsSession_32() const { return ___mTlsSession_32; }
  7631. inline RuntimeObject** get_address_of_mTlsSession_32() { return &___mTlsSession_32; }
  7632. inline void set_mTlsSession_32(RuntimeObject* value)
  7633. {
  7634. ___mTlsSession_32 = value;
  7635. Il2CppCodeGenWriteBarrier((void**)(&___mTlsSession_32), (void*)value);
  7636. }
  7637. inline static int32_t get_offset_of_mSessionParameters_33() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSessionParameters_33)); }
  7638. inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * get_mSessionParameters_33() const { return ___mSessionParameters_33; }
  7639. inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D ** get_address_of_mSessionParameters_33() { return &___mSessionParameters_33; }
  7640. inline void set_mSessionParameters_33(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * value)
  7641. {
  7642. ___mSessionParameters_33 = value;
  7643. Il2CppCodeGenWriteBarrier((void**)(&___mSessionParameters_33), (void*)value);
  7644. }
  7645. inline static int32_t get_offset_of_mSecurityParameters_34() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecurityParameters_34)); }
  7646. inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * get_mSecurityParameters_34() const { return ___mSecurityParameters_34; }
  7647. inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 ** get_address_of_mSecurityParameters_34() { return &___mSecurityParameters_34; }
  7648. inline void set_mSecurityParameters_34(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * value)
  7649. {
  7650. ___mSecurityParameters_34 = value;
  7651. Il2CppCodeGenWriteBarrier((void**)(&___mSecurityParameters_34), (void*)value);
  7652. }
  7653. inline static int32_t get_offset_of_mPeerCertificate_35() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mPeerCertificate_35)); }
  7654. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_35() const { return ___mPeerCertificate_35; }
  7655. inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_35() { return &___mPeerCertificate_35; }
  7656. inline void set_mPeerCertificate_35(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
  7657. {
  7658. ___mPeerCertificate_35 = value;
  7659. Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_35), (void*)value);
  7660. }
  7661. inline static int32_t get_offset_of_mOfferedCipherSuites_36() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOfferedCipherSuites_36)); }
  7662. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mOfferedCipherSuites_36() const { return ___mOfferedCipherSuites_36; }
  7663. inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mOfferedCipherSuites_36() { return &___mOfferedCipherSuites_36; }
  7664. inline void set_mOfferedCipherSuites_36(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
  7665. {
  7666. ___mOfferedCipherSuites_36 = value;
  7667. Il2CppCodeGenWriteBarrier((void**)(&___mOfferedCipherSuites_36), (void*)value);
  7668. }
  7669. inline static int32_t get_offset_of_mOfferedCompressionMethods_37() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOfferedCompressionMethods_37)); }
  7670. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mOfferedCompressionMethods_37() const { return ___mOfferedCompressionMethods_37; }
  7671. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mOfferedCompressionMethods_37() { return &___mOfferedCompressionMethods_37; }
  7672. inline void set_mOfferedCompressionMethods_37(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  7673. {
  7674. ___mOfferedCompressionMethods_37 = value;
  7675. Il2CppCodeGenWriteBarrier((void**)(&___mOfferedCompressionMethods_37), (void*)value);
  7676. }
  7677. inline static int32_t get_offset_of_mClientExtensions_38() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mClientExtensions_38)); }
  7678. inline RuntimeObject* get_mClientExtensions_38() const { return ___mClientExtensions_38; }
  7679. inline RuntimeObject** get_address_of_mClientExtensions_38() { return &___mClientExtensions_38; }
  7680. inline void set_mClientExtensions_38(RuntimeObject* value)
  7681. {
  7682. ___mClientExtensions_38 = value;
  7683. Il2CppCodeGenWriteBarrier((void**)(&___mClientExtensions_38), (void*)value);
  7684. }
  7685. inline static int32_t get_offset_of_mServerExtensions_39() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mServerExtensions_39)); }
  7686. inline RuntimeObject* get_mServerExtensions_39() const { return ___mServerExtensions_39; }
  7687. inline RuntimeObject** get_address_of_mServerExtensions_39() { return &___mServerExtensions_39; }
  7688. inline void set_mServerExtensions_39(RuntimeObject* value)
  7689. {
  7690. ___mServerExtensions_39 = value;
  7691. Il2CppCodeGenWriteBarrier((void**)(&___mServerExtensions_39), (void*)value);
  7692. }
  7693. inline static int32_t get_offset_of_mConnectionState_40() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mConnectionState_40)); }
  7694. inline int16_t get_mConnectionState_40() const { return ___mConnectionState_40; }
  7695. inline int16_t* get_address_of_mConnectionState_40() { return &___mConnectionState_40; }
  7696. inline void set_mConnectionState_40(int16_t value)
  7697. {
  7698. ___mConnectionState_40 = value;
  7699. }
  7700. inline static int32_t get_offset_of_mResumedSession_41() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mResumedSession_41)); }
  7701. inline bool get_mResumedSession_41() const { return ___mResumedSession_41; }
  7702. inline bool* get_address_of_mResumedSession_41() { return &___mResumedSession_41; }
  7703. inline void set_mResumedSession_41(bool value)
  7704. {
  7705. ___mResumedSession_41 = value;
  7706. }
  7707. inline static int32_t get_offset_of_mReceivedChangeCipherSpec_42() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mReceivedChangeCipherSpec_42)); }
  7708. inline bool get_mReceivedChangeCipherSpec_42() const { return ___mReceivedChangeCipherSpec_42; }
  7709. inline bool* get_address_of_mReceivedChangeCipherSpec_42() { return &___mReceivedChangeCipherSpec_42; }
  7710. inline void set_mReceivedChangeCipherSpec_42(bool value)
  7711. {
  7712. ___mReceivedChangeCipherSpec_42 = value;
  7713. }
  7714. inline static int32_t get_offset_of_mSecureRenegotiation_43() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecureRenegotiation_43)); }
  7715. inline bool get_mSecureRenegotiation_43() const { return ___mSecureRenegotiation_43; }
  7716. inline bool* get_address_of_mSecureRenegotiation_43() { return &___mSecureRenegotiation_43; }
  7717. inline void set_mSecureRenegotiation_43(bool value)
  7718. {
  7719. ___mSecureRenegotiation_43 = value;
  7720. }
  7721. inline static int32_t get_offset_of_mAllowCertificateStatus_44() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAllowCertificateStatus_44)); }
  7722. inline bool get_mAllowCertificateStatus_44() const { return ___mAllowCertificateStatus_44; }
  7723. inline bool* get_address_of_mAllowCertificateStatus_44() { return &___mAllowCertificateStatus_44; }
  7724. inline void set_mAllowCertificateStatus_44(bool value)
  7725. {
  7726. ___mAllowCertificateStatus_44 = value;
  7727. }
  7728. inline static int32_t get_offset_of_mExpectSessionTicket_45() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mExpectSessionTicket_45)); }
  7729. inline bool get_mExpectSessionTicket_45() const { return ___mExpectSessionTicket_45; }
  7730. inline bool* get_address_of_mExpectSessionTicket_45() { return &___mExpectSessionTicket_45; }
  7731. inline void set_mExpectSessionTicket_45(bool value)
  7732. {
  7733. ___mExpectSessionTicket_45 = value;
  7734. }
  7735. inline static int32_t get_offset_of_mBlocking_46() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mBlocking_46)); }
  7736. inline bool get_mBlocking_46() const { return ___mBlocking_46; }
  7737. inline bool* get_address_of_mBlocking_46() { return &___mBlocking_46; }
  7738. inline void set_mBlocking_46(bool value)
  7739. {
  7740. ___mBlocking_46 = value;
  7741. }
  7742. inline static int32_t get_offset_of_mInputBuffers_47() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mInputBuffers_47)); }
  7743. inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * get_mInputBuffers_47() const { return ___mInputBuffers_47; }
  7744. inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 ** get_address_of_mInputBuffers_47() { return &___mInputBuffers_47; }
  7745. inline void set_mInputBuffers_47(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * value)
  7746. {
  7747. ___mInputBuffers_47 = value;
  7748. Il2CppCodeGenWriteBarrier((void**)(&___mInputBuffers_47), (void*)value);
  7749. }
  7750. inline static int32_t get_offset_of_mOutputBuffer_48() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOutputBuffer_48)); }
  7751. inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * get_mOutputBuffer_48() const { return ___mOutputBuffer_48; }
  7752. inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 ** get_address_of_mOutputBuffer_48() { return &___mOutputBuffer_48; }
  7753. inline void set_mOutputBuffer_48(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * value)
  7754. {
  7755. ___mOutputBuffer_48 = value;
  7756. Il2CppCodeGenWriteBarrier((void**)(&___mOutputBuffer_48), (void*)value);
  7757. }
  7758. };
  7759. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream
  7760. struct TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  7761. {
  7762. public:
  7763. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream::handler
  7764. TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___handler_5;
  7765. public:
  7766. inline static int32_t get_offset_of_handler_5() { return static_cast<int32_t>(offsetof(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A, ___handler_5)); }
  7767. inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * get_handler_5() const { return ___handler_5; }
  7768. inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 ** get_address_of_handler_5() { return &___handler_5; }
  7769. inline void set_handler_5(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * value)
  7770. {
  7771. ___handler_5 = value;
  7772. Il2CppCodeGenWriteBarrier((void**)(&___handler_5), (void*)value);
  7773. }
  7774. };
  7775. // DragonBones.TweenState
  7776. struct TweenState_tCEF0A56434BC2174FB21DE3A516259EEC962B642
  7777. {
  7778. public:
  7779. // System.Int32 DragonBones.TweenState::value__
  7780. int32_t ___value___2;
  7781. public:
  7782. inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TweenState_tCEF0A56434BC2174FB21DE3A516259EEC962B642, ___value___2)); }
  7783. inline int32_t get_value___2() const { return ___value___2; }
  7784. inline int32_t* get_address_of_value___2() { return &___value___2; }
  7785. inline void set_value___2(int32_t value)
  7786. {
  7787. ___value___2 = value;
  7788. }
  7789. };
  7790. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream
  7791. struct ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
  7792. {
  7793. public:
  7794. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::z
  7795. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___z_6;
  7796. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::flushLevel
  7797. int32_t ___flushLevel_7;
  7798. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::buf
  7799. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf_8;
  7800. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::buf1
  7801. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1_9;
  7802. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::compress
  7803. bool ___compress_10;
  7804. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::output
  7805. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output_11;
  7806. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::closed
  7807. bool ___closed_12;
  7808. public:
  7809. inline static int32_t get_offset_of_z_6() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___z_6)); }
  7810. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_z_6() const { return ___z_6; }
  7811. inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_z_6() { return &___z_6; }
  7812. inline void set_z_6(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
  7813. {
  7814. ___z_6 = value;
  7815. Il2CppCodeGenWriteBarrier((void**)(&___z_6), (void*)value);
  7816. }
  7817. inline static int32_t get_offset_of_flushLevel_7() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___flushLevel_7)); }
  7818. inline int32_t get_flushLevel_7() const { return ___flushLevel_7; }
  7819. inline int32_t* get_address_of_flushLevel_7() { return &___flushLevel_7; }
  7820. inline void set_flushLevel_7(int32_t value)
  7821. {
  7822. ___flushLevel_7 = value;
  7823. }
  7824. inline static int32_t get_offset_of_buf_8() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___buf_8)); }
  7825. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_buf_8() const { return ___buf_8; }
  7826. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_buf_8() { return &___buf_8; }
  7827. inline void set_buf_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  7828. {
  7829. ___buf_8 = value;
  7830. Il2CppCodeGenWriteBarrier((void**)(&___buf_8), (void*)value);
  7831. }
  7832. inline static int32_t get_offset_of_buf1_9() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___buf1_9)); }
  7833. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_buf1_9() const { return ___buf1_9; }
  7834. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_buf1_9() { return &___buf1_9; }
  7835. inline void set_buf1_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  7836. {
  7837. ___buf1_9 = value;
  7838. Il2CppCodeGenWriteBarrier((void**)(&___buf1_9), (void*)value);
  7839. }
  7840. inline static int32_t get_offset_of_compress_10() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___compress_10)); }
  7841. inline bool get_compress_10() const { return ___compress_10; }
  7842. inline bool* get_address_of_compress_10() { return &___compress_10; }
  7843. inline void set_compress_10(bool value)
  7844. {
  7845. ___compress_10 = value;
  7846. }
  7847. inline static int32_t get_offset_of_output_11() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___output_11)); }
  7848. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_output_11() const { return ___output_11; }
  7849. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_output_11() { return &___output_11; }
  7850. inline void set_output_11(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  7851. {
  7852. ___output_11 = value;
  7853. Il2CppCodeGenWriteBarrier((void**)(&___output_11), (void*)value);
  7854. }
  7855. inline static int32_t get_offset_of_closed_12() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___closed_12)); }
  7856. inline bool get_closed_12() const { return ___closed_12; }
  7857. inline bool* get_address_of_closed_12() { return &___closed_12; }
  7858. inline void set_closed_12(bool value)
  7859. {
  7860. ___closed_12 = value;
  7861. }
  7862. };
  7863. // DragonBones.ArmatureData
  7864. struct ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  7865. {
  7866. public:
  7867. // DragonBones.ArmatureType DragonBones.ArmatureData::type
  7868. int32_t ___type_5;
  7869. // System.UInt32 DragonBones.ArmatureData::frameRate
  7870. uint32_t ___frameRate_6;
  7871. // System.UInt32 DragonBones.ArmatureData::cacheFrameRate
  7872. uint32_t ___cacheFrameRate_7;
  7873. // System.Single DragonBones.ArmatureData::scale
  7874. float ___scale_8;
  7875. // System.String DragonBones.ArmatureData::name
  7876. String_t* ___name_9;
  7877. // DragonBones.Rectangle DragonBones.ArmatureData::aabb
  7878. Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * ___aabb_10;
  7879. // System.Collections.Generic.List`1<System.String> DragonBones.ArmatureData::animationNames
  7880. List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ___animationNames_11;
  7881. // System.Collections.Generic.List`1<DragonBones.BoneData> DragonBones.ArmatureData::sortedBones
  7882. List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * ___sortedBones_12;
  7883. // System.Collections.Generic.List`1<DragonBones.SlotData> DragonBones.ArmatureData::sortedSlots
  7884. List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * ___sortedSlots_13;
  7885. // System.Collections.Generic.List`1<DragonBones.ActionData> DragonBones.ArmatureData::defaultActions
  7886. List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * ___defaultActions_14;
  7887. // System.Collections.Generic.List`1<DragonBones.ActionData> DragonBones.ArmatureData::actions
  7888. List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * ___actions_15;
  7889. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BoneData> DragonBones.ArmatureData::bones
  7890. Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * ___bones_16;
  7891. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SlotData> DragonBones.ArmatureData::slots
  7892. Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * ___slots_17;
  7893. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ConstraintData> DragonBones.ArmatureData::constraints
  7894. Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * ___constraints_18;
  7895. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SkinData> DragonBones.ArmatureData::skins
  7896. Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * ___skins_19;
  7897. // System.Collections.Generic.Dictionary`2<System.String,DragonBones.AnimationData> DragonBones.ArmatureData::animations
  7898. Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * ___animations_20;
  7899. // DragonBones.SkinData DragonBones.ArmatureData::defaultSkin
  7900. SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * ___defaultSkin_21;
  7901. // DragonBones.AnimationData DragonBones.ArmatureData::defaultAnimation
  7902. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ___defaultAnimation_22;
  7903. // DragonBones.CanvasData DragonBones.ArmatureData::canvas
  7904. CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * ___canvas_23;
  7905. // DragonBones.UserData DragonBones.ArmatureData::userData
  7906. UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * ___userData_24;
  7907. // DragonBones.DragonBonesData DragonBones.ArmatureData::parent
  7908. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * ___parent_25;
  7909. public:
  7910. inline static int32_t get_offset_of_type_5() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___type_5)); }
  7911. inline int32_t get_type_5() const { return ___type_5; }
  7912. inline int32_t* get_address_of_type_5() { return &___type_5; }
  7913. inline void set_type_5(int32_t value)
  7914. {
  7915. ___type_5 = value;
  7916. }
  7917. inline static int32_t get_offset_of_frameRate_6() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___frameRate_6)); }
  7918. inline uint32_t get_frameRate_6() const { return ___frameRate_6; }
  7919. inline uint32_t* get_address_of_frameRate_6() { return &___frameRate_6; }
  7920. inline void set_frameRate_6(uint32_t value)
  7921. {
  7922. ___frameRate_6 = value;
  7923. }
  7924. inline static int32_t get_offset_of_cacheFrameRate_7() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___cacheFrameRate_7)); }
  7925. inline uint32_t get_cacheFrameRate_7() const { return ___cacheFrameRate_7; }
  7926. inline uint32_t* get_address_of_cacheFrameRate_7() { return &___cacheFrameRate_7; }
  7927. inline void set_cacheFrameRate_7(uint32_t value)
  7928. {
  7929. ___cacheFrameRate_7 = value;
  7930. }
  7931. inline static int32_t get_offset_of_scale_8() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___scale_8)); }
  7932. inline float get_scale_8() const { return ___scale_8; }
  7933. inline float* get_address_of_scale_8() { return &___scale_8; }
  7934. inline void set_scale_8(float value)
  7935. {
  7936. ___scale_8 = value;
  7937. }
  7938. inline static int32_t get_offset_of_name_9() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___name_9)); }
  7939. inline String_t* get_name_9() const { return ___name_9; }
  7940. inline String_t** get_address_of_name_9() { return &___name_9; }
  7941. inline void set_name_9(String_t* value)
  7942. {
  7943. ___name_9 = value;
  7944. Il2CppCodeGenWriteBarrier((void**)(&___name_9), (void*)value);
  7945. }
  7946. inline static int32_t get_offset_of_aabb_10() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___aabb_10)); }
  7947. inline Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * get_aabb_10() const { return ___aabb_10; }
  7948. inline Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E ** get_address_of_aabb_10() { return &___aabb_10; }
  7949. inline void set_aabb_10(Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * value)
  7950. {
  7951. ___aabb_10 = value;
  7952. Il2CppCodeGenWriteBarrier((void**)(&___aabb_10), (void*)value);
  7953. }
  7954. inline static int32_t get_offset_of_animationNames_11() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___animationNames_11)); }
  7955. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get_animationNames_11() const { return ___animationNames_11; }
  7956. inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of_animationNames_11() { return &___animationNames_11; }
  7957. inline void set_animationNames_11(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
  7958. {
  7959. ___animationNames_11 = value;
  7960. Il2CppCodeGenWriteBarrier((void**)(&___animationNames_11), (void*)value);
  7961. }
  7962. inline static int32_t get_offset_of_sortedBones_12() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___sortedBones_12)); }
  7963. inline List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * get_sortedBones_12() const { return ___sortedBones_12; }
  7964. inline List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA ** get_address_of_sortedBones_12() { return &___sortedBones_12; }
  7965. inline void set_sortedBones_12(List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * value)
  7966. {
  7967. ___sortedBones_12 = value;
  7968. Il2CppCodeGenWriteBarrier((void**)(&___sortedBones_12), (void*)value);
  7969. }
  7970. inline static int32_t get_offset_of_sortedSlots_13() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___sortedSlots_13)); }
  7971. inline List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * get_sortedSlots_13() const { return ___sortedSlots_13; }
  7972. inline List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE ** get_address_of_sortedSlots_13() { return &___sortedSlots_13; }
  7973. inline void set_sortedSlots_13(List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * value)
  7974. {
  7975. ___sortedSlots_13 = value;
  7976. Il2CppCodeGenWriteBarrier((void**)(&___sortedSlots_13), (void*)value);
  7977. }
  7978. inline static int32_t get_offset_of_defaultActions_14() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultActions_14)); }
  7979. inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * get_defaultActions_14() const { return ___defaultActions_14; }
  7980. inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 ** get_address_of_defaultActions_14() { return &___defaultActions_14; }
  7981. inline void set_defaultActions_14(List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * value)
  7982. {
  7983. ___defaultActions_14 = value;
  7984. Il2CppCodeGenWriteBarrier((void**)(&___defaultActions_14), (void*)value);
  7985. }
  7986. inline static int32_t get_offset_of_actions_15() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___actions_15)); }
  7987. inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * get_actions_15() const { return ___actions_15; }
  7988. inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 ** get_address_of_actions_15() { return &___actions_15; }
  7989. inline void set_actions_15(List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * value)
  7990. {
  7991. ___actions_15 = value;
  7992. Il2CppCodeGenWriteBarrier((void**)(&___actions_15), (void*)value);
  7993. }
  7994. inline static int32_t get_offset_of_bones_16() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___bones_16)); }
  7995. inline Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * get_bones_16() const { return ___bones_16; }
  7996. inline Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 ** get_address_of_bones_16() { return &___bones_16; }
  7997. inline void set_bones_16(Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * value)
  7998. {
  7999. ___bones_16 = value;
  8000. Il2CppCodeGenWriteBarrier((void**)(&___bones_16), (void*)value);
  8001. }
  8002. inline static int32_t get_offset_of_slots_17() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___slots_17)); }
  8003. inline Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * get_slots_17() const { return ___slots_17; }
  8004. inline Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE ** get_address_of_slots_17() { return &___slots_17; }
  8005. inline void set_slots_17(Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * value)
  8006. {
  8007. ___slots_17 = value;
  8008. Il2CppCodeGenWriteBarrier((void**)(&___slots_17), (void*)value);
  8009. }
  8010. inline static int32_t get_offset_of_constraints_18() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___constraints_18)); }
  8011. inline Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * get_constraints_18() const { return ___constraints_18; }
  8012. inline Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 ** get_address_of_constraints_18() { return &___constraints_18; }
  8013. inline void set_constraints_18(Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * value)
  8014. {
  8015. ___constraints_18 = value;
  8016. Il2CppCodeGenWriteBarrier((void**)(&___constraints_18), (void*)value);
  8017. }
  8018. inline static int32_t get_offset_of_skins_19() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___skins_19)); }
  8019. inline Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * get_skins_19() const { return ___skins_19; }
  8020. inline Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 ** get_address_of_skins_19() { return &___skins_19; }
  8021. inline void set_skins_19(Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * value)
  8022. {
  8023. ___skins_19 = value;
  8024. Il2CppCodeGenWriteBarrier((void**)(&___skins_19), (void*)value);
  8025. }
  8026. inline static int32_t get_offset_of_animations_20() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___animations_20)); }
  8027. inline Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * get_animations_20() const { return ___animations_20; }
  8028. inline Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 ** get_address_of_animations_20() { return &___animations_20; }
  8029. inline void set_animations_20(Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * value)
  8030. {
  8031. ___animations_20 = value;
  8032. Il2CppCodeGenWriteBarrier((void**)(&___animations_20), (void*)value);
  8033. }
  8034. inline static int32_t get_offset_of_defaultSkin_21() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultSkin_21)); }
  8035. inline SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * get_defaultSkin_21() const { return ___defaultSkin_21; }
  8036. inline SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 ** get_address_of_defaultSkin_21() { return &___defaultSkin_21; }
  8037. inline void set_defaultSkin_21(SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * value)
  8038. {
  8039. ___defaultSkin_21 = value;
  8040. Il2CppCodeGenWriteBarrier((void**)(&___defaultSkin_21), (void*)value);
  8041. }
  8042. inline static int32_t get_offset_of_defaultAnimation_22() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultAnimation_22)); }
  8043. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get_defaultAnimation_22() const { return ___defaultAnimation_22; }
  8044. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of_defaultAnimation_22() { return &___defaultAnimation_22; }
  8045. inline void set_defaultAnimation_22(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
  8046. {
  8047. ___defaultAnimation_22 = value;
  8048. Il2CppCodeGenWriteBarrier((void**)(&___defaultAnimation_22), (void*)value);
  8049. }
  8050. inline static int32_t get_offset_of_canvas_23() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___canvas_23)); }
  8051. inline CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * get_canvas_23() const { return ___canvas_23; }
  8052. inline CanvasData_t378879F059E749546F485846D8FC31F4A489A774 ** get_address_of_canvas_23() { return &___canvas_23; }
  8053. inline void set_canvas_23(CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * value)
  8054. {
  8055. ___canvas_23 = value;
  8056. Il2CppCodeGenWriteBarrier((void**)(&___canvas_23), (void*)value);
  8057. }
  8058. inline static int32_t get_offset_of_userData_24() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___userData_24)); }
  8059. inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * get_userData_24() const { return ___userData_24; }
  8060. inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A ** get_address_of_userData_24() { return &___userData_24; }
  8061. inline void set_userData_24(UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * value)
  8062. {
  8063. ___userData_24 = value;
  8064. Il2CppCodeGenWriteBarrier((void**)(&___userData_24), (void*)value);
  8065. }
  8066. inline static int32_t get_offset_of_parent_25() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___parent_25)); }
  8067. inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * get_parent_25() const { return ___parent_25; }
  8068. inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 ** get_address_of_parent_25() { return &___parent_25; }
  8069. inline void set_parent_25(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * value)
  8070. {
  8071. ___parent_25 = value;
  8072. Il2CppCodeGenWriteBarrier((void**)(&___parent_25), (void*)value);
  8073. }
  8074. };
  8075. // UnityEngine.Component
  8076. struct Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
  8077. {
  8078. public:
  8079. public:
  8080. };
  8081. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.CryptoException
  8082. struct CryptoException_t4585FEA3F67B6ED045D6C9401A9C96B1234E3F27 : public Exception_t
  8083. {
  8084. public:
  8085. public:
  8086. };
  8087. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer
  8088. struct DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
  8089. {
  8090. public:
  8091. public:
  8092. };
  8093. // UnityEngine.GameObject
  8094. struct GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
  8095. {
  8096. public:
  8097. public:
  8098. };
  8099. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer
  8100. struct SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
  8101. {
  8102. public:
  8103. public:
  8104. };
  8105. // System.SystemException
  8106. struct SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62 : public Exception_t
  8107. {
  8108. public:
  8109. public:
  8110. };
  8111. // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream
  8112. struct TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C : public BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2
  8113. {
  8114. public:
  8115. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::input
  8116. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input_6;
  8117. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::tee
  8118. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___tee_7;
  8119. public:
  8120. inline static int32_t get_offset_of_input_6() { return static_cast<int32_t>(offsetof(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C, ___input_6)); }
  8121. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_input_6() const { return ___input_6; }
  8122. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_input_6() { return &___input_6; }
  8123. inline void set_input_6(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  8124. {
  8125. ___input_6 = value;
  8126. Il2CppCodeGenWriteBarrier((void**)(&___input_6), (void*)value);
  8127. }
  8128. inline static int32_t get_offset_of_tee_7() { return static_cast<int32_t>(offsetof(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C, ___tee_7)); }
  8129. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_tee_7() const { return ___tee_7; }
  8130. inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_tee_7() { return &___tee_7; }
  8131. inline void set_tee_7(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
  8132. {
  8133. ___tee_7 = value;
  8134. Il2CppCodeGenWriteBarrier((void**)(&___tee_7), (void*)value);
  8135. }
  8136. };
  8137. // DragonBones.TimelineData
  8138. struct TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  8139. {
  8140. public:
  8141. // DragonBones.TimelineType DragonBones.TimelineData::type
  8142. int32_t ___type_5;
  8143. // System.UInt32 DragonBones.TimelineData::offset
  8144. uint32_t ___offset_6;
  8145. // System.Int32 DragonBones.TimelineData::frameIndicesOffset
  8146. int32_t ___frameIndicesOffset_7;
  8147. public:
  8148. inline static int32_t get_offset_of_type_5() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___type_5)); }
  8149. inline int32_t get_type_5() const { return ___type_5; }
  8150. inline int32_t* get_address_of_type_5() { return &___type_5; }
  8151. inline void set_type_5(int32_t value)
  8152. {
  8153. ___type_5 = value;
  8154. }
  8155. inline static int32_t get_offset_of_offset_6() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___offset_6)); }
  8156. inline uint32_t get_offset_6() const { return ___offset_6; }
  8157. inline uint32_t* get_address_of_offset_6() { return &___offset_6; }
  8158. inline void set_offset_6(uint32_t value)
  8159. {
  8160. ___offset_6 = value;
  8161. }
  8162. inline static int32_t get_offset_of_frameIndicesOffset_7() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___frameIndicesOffset_7)); }
  8163. inline int32_t get_frameIndicesOffset_7() const { return ___frameIndicesOffset_7; }
  8164. inline int32_t* get_address_of_frameIndicesOffset_7() { return &___frameIndicesOffset_7; }
  8165. inline void set_frameIndicesOffset_7(int32_t value)
  8166. {
  8167. ___frameIndicesOffset_7 = value;
  8168. }
  8169. };
  8170. // DragonBones.TimelineState
  8171. struct TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
  8172. {
  8173. public:
  8174. // System.Int32 DragonBones.TimelineState::playState
  8175. int32_t ___playState_5;
  8176. // System.Int32 DragonBones.TimelineState::currentPlayTimes
  8177. int32_t ___currentPlayTimes_6;
  8178. // System.Single DragonBones.TimelineState::currentTime
  8179. float ___currentTime_7;
  8180. // DragonBones.TweenState DragonBones.TimelineState::_tweenState
  8181. int32_t ____tweenState_8;
  8182. // System.UInt32 DragonBones.TimelineState::_frameRate
  8183. uint32_t ____frameRate_9;
  8184. // System.Int32 DragonBones.TimelineState::_frameValueOffset
  8185. int32_t ____frameValueOffset_10;
  8186. // System.UInt32 DragonBones.TimelineState::_frameCount
  8187. uint32_t ____frameCount_11;
  8188. // System.UInt32 DragonBones.TimelineState::_frameOffset
  8189. uint32_t ____frameOffset_12;
  8190. // System.Int32 DragonBones.TimelineState::_frameIndex
  8191. int32_t ____frameIndex_13;
  8192. // System.Single DragonBones.TimelineState::_frameRateR
  8193. float ____frameRateR_14;
  8194. // System.Single DragonBones.TimelineState::_position
  8195. float ____position_15;
  8196. // System.Single DragonBones.TimelineState::_duration
  8197. float ____duration_16;
  8198. // System.Single DragonBones.TimelineState::_timeScale
  8199. float ____timeScale_17;
  8200. // System.Single DragonBones.TimelineState::_timeOffset
  8201. float ____timeOffset_18;
  8202. // DragonBones.DragonBonesData DragonBones.TimelineState::_dragonBonesData
  8203. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * ____dragonBonesData_19;
  8204. // DragonBones.AnimationData DragonBones.TimelineState::_animationData
  8205. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ____animationData_20;
  8206. // DragonBones.TimelineData DragonBones.TimelineState::_timelineData
  8207. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ____timelineData_21;
  8208. // DragonBones.Armature DragonBones.TimelineState::_armature
  8209. Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * ____armature_22;
  8210. // DragonBones.AnimationState DragonBones.TimelineState::_animationState
  8211. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * ____animationState_23;
  8212. // DragonBones.TimelineState DragonBones.TimelineState::_actionTimeline
  8213. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * ____actionTimeline_24;
  8214. // System.Int16[] DragonBones.TimelineState::_frameArray
  8215. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ____frameArray_25;
  8216. // System.Int16[] DragonBones.TimelineState::_frameIntArray
  8217. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ____frameIntArray_26;
  8218. // System.Single[] DragonBones.TimelineState::_frameFloatArray
  8219. SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ____frameFloatArray_27;
  8220. // System.UInt16[] DragonBones.TimelineState::_timelineArray
  8221. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* ____timelineArray_28;
  8222. // System.Collections.Generic.List`1<System.UInt32> DragonBones.TimelineState::_frameIndices
  8223. List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * ____frameIndices_29;
  8224. public:
  8225. inline static int32_t get_offset_of_playState_5() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___playState_5)); }
  8226. inline int32_t get_playState_5() const { return ___playState_5; }
  8227. inline int32_t* get_address_of_playState_5() { return &___playState_5; }
  8228. inline void set_playState_5(int32_t value)
  8229. {
  8230. ___playState_5 = value;
  8231. }
  8232. inline static int32_t get_offset_of_currentPlayTimes_6() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___currentPlayTimes_6)); }
  8233. inline int32_t get_currentPlayTimes_6() const { return ___currentPlayTimes_6; }
  8234. inline int32_t* get_address_of_currentPlayTimes_6() { return &___currentPlayTimes_6; }
  8235. inline void set_currentPlayTimes_6(int32_t value)
  8236. {
  8237. ___currentPlayTimes_6 = value;
  8238. }
  8239. inline static int32_t get_offset_of_currentTime_7() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___currentTime_7)); }
  8240. inline float get_currentTime_7() const { return ___currentTime_7; }
  8241. inline float* get_address_of_currentTime_7() { return &___currentTime_7; }
  8242. inline void set_currentTime_7(float value)
  8243. {
  8244. ___currentTime_7 = value;
  8245. }
  8246. inline static int32_t get_offset_of__tweenState_8() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____tweenState_8)); }
  8247. inline int32_t get__tweenState_8() const { return ____tweenState_8; }
  8248. inline int32_t* get_address_of__tweenState_8() { return &____tweenState_8; }
  8249. inline void set__tweenState_8(int32_t value)
  8250. {
  8251. ____tweenState_8 = value;
  8252. }
  8253. inline static int32_t get_offset_of__frameRate_9() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameRate_9)); }
  8254. inline uint32_t get__frameRate_9() const { return ____frameRate_9; }
  8255. inline uint32_t* get_address_of__frameRate_9() { return &____frameRate_9; }
  8256. inline void set__frameRate_9(uint32_t value)
  8257. {
  8258. ____frameRate_9 = value;
  8259. }
  8260. inline static int32_t get_offset_of__frameValueOffset_10() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameValueOffset_10)); }
  8261. inline int32_t get__frameValueOffset_10() const { return ____frameValueOffset_10; }
  8262. inline int32_t* get_address_of__frameValueOffset_10() { return &____frameValueOffset_10; }
  8263. inline void set__frameValueOffset_10(int32_t value)
  8264. {
  8265. ____frameValueOffset_10 = value;
  8266. }
  8267. inline static int32_t get_offset_of__frameCount_11() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameCount_11)); }
  8268. inline uint32_t get__frameCount_11() const { return ____frameCount_11; }
  8269. inline uint32_t* get_address_of__frameCount_11() { return &____frameCount_11; }
  8270. inline void set__frameCount_11(uint32_t value)
  8271. {
  8272. ____frameCount_11 = value;
  8273. }
  8274. inline static int32_t get_offset_of__frameOffset_12() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameOffset_12)); }
  8275. inline uint32_t get__frameOffset_12() const { return ____frameOffset_12; }
  8276. inline uint32_t* get_address_of__frameOffset_12() { return &____frameOffset_12; }
  8277. inline void set__frameOffset_12(uint32_t value)
  8278. {
  8279. ____frameOffset_12 = value;
  8280. }
  8281. inline static int32_t get_offset_of__frameIndex_13() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIndex_13)); }
  8282. inline int32_t get__frameIndex_13() const { return ____frameIndex_13; }
  8283. inline int32_t* get_address_of__frameIndex_13() { return &____frameIndex_13; }
  8284. inline void set__frameIndex_13(int32_t value)
  8285. {
  8286. ____frameIndex_13 = value;
  8287. }
  8288. inline static int32_t get_offset_of__frameRateR_14() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameRateR_14)); }
  8289. inline float get__frameRateR_14() const { return ____frameRateR_14; }
  8290. inline float* get_address_of__frameRateR_14() { return &____frameRateR_14; }
  8291. inline void set__frameRateR_14(float value)
  8292. {
  8293. ____frameRateR_14 = value;
  8294. }
  8295. inline static int32_t get_offset_of__position_15() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____position_15)); }
  8296. inline float get__position_15() const { return ____position_15; }
  8297. inline float* get_address_of__position_15() { return &____position_15; }
  8298. inline void set__position_15(float value)
  8299. {
  8300. ____position_15 = value;
  8301. }
  8302. inline static int32_t get_offset_of__duration_16() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____duration_16)); }
  8303. inline float get__duration_16() const { return ____duration_16; }
  8304. inline float* get_address_of__duration_16() { return &____duration_16; }
  8305. inline void set__duration_16(float value)
  8306. {
  8307. ____duration_16 = value;
  8308. }
  8309. inline static int32_t get_offset_of__timeScale_17() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timeScale_17)); }
  8310. inline float get__timeScale_17() const { return ____timeScale_17; }
  8311. inline float* get_address_of__timeScale_17() { return &____timeScale_17; }
  8312. inline void set__timeScale_17(float value)
  8313. {
  8314. ____timeScale_17 = value;
  8315. }
  8316. inline static int32_t get_offset_of__timeOffset_18() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timeOffset_18)); }
  8317. inline float get__timeOffset_18() const { return ____timeOffset_18; }
  8318. inline float* get_address_of__timeOffset_18() { return &____timeOffset_18; }
  8319. inline void set__timeOffset_18(float value)
  8320. {
  8321. ____timeOffset_18 = value;
  8322. }
  8323. inline static int32_t get_offset_of__dragonBonesData_19() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____dragonBonesData_19)); }
  8324. inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * get__dragonBonesData_19() const { return ____dragonBonesData_19; }
  8325. inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 ** get_address_of__dragonBonesData_19() { return &____dragonBonesData_19; }
  8326. inline void set__dragonBonesData_19(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * value)
  8327. {
  8328. ____dragonBonesData_19 = value;
  8329. Il2CppCodeGenWriteBarrier((void**)(&____dragonBonesData_19), (void*)value);
  8330. }
  8331. inline static int32_t get_offset_of__animationData_20() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____animationData_20)); }
  8332. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get__animationData_20() const { return ____animationData_20; }
  8333. inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of__animationData_20() { return &____animationData_20; }
  8334. inline void set__animationData_20(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
  8335. {
  8336. ____animationData_20 = value;
  8337. Il2CppCodeGenWriteBarrier((void**)(&____animationData_20), (void*)value);
  8338. }
  8339. inline static int32_t get_offset_of__timelineData_21() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timelineData_21)); }
  8340. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get__timelineData_21() const { return ____timelineData_21; }
  8341. inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of__timelineData_21() { return &____timelineData_21; }
  8342. inline void set__timelineData_21(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
  8343. {
  8344. ____timelineData_21 = value;
  8345. Il2CppCodeGenWriteBarrier((void**)(&____timelineData_21), (void*)value);
  8346. }
  8347. inline static int32_t get_offset_of__armature_22() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____armature_22)); }
  8348. inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * get__armature_22() const { return ____armature_22; }
  8349. inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD ** get_address_of__armature_22() { return &____armature_22; }
  8350. inline void set__armature_22(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * value)
  8351. {
  8352. ____armature_22 = value;
  8353. Il2CppCodeGenWriteBarrier((void**)(&____armature_22), (void*)value);
  8354. }
  8355. inline static int32_t get_offset_of__animationState_23() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____animationState_23)); }
  8356. inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * get__animationState_23() const { return ____animationState_23; }
  8357. inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E ** get_address_of__animationState_23() { return &____animationState_23; }
  8358. inline void set__animationState_23(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * value)
  8359. {
  8360. ____animationState_23 = value;
  8361. Il2CppCodeGenWriteBarrier((void**)(&____animationState_23), (void*)value);
  8362. }
  8363. inline static int32_t get_offset_of__actionTimeline_24() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____actionTimeline_24)); }
  8364. inline TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * get__actionTimeline_24() const { return ____actionTimeline_24; }
  8365. inline TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 ** get_address_of__actionTimeline_24() { return &____actionTimeline_24; }
  8366. inline void set__actionTimeline_24(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * value)
  8367. {
  8368. ____actionTimeline_24 = value;
  8369. Il2CppCodeGenWriteBarrier((void**)(&____actionTimeline_24), (void*)value);
  8370. }
  8371. inline static int32_t get_offset_of__frameArray_25() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameArray_25)); }
  8372. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get__frameArray_25() const { return ____frameArray_25; }
  8373. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of__frameArray_25() { return &____frameArray_25; }
  8374. inline void set__frameArray_25(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  8375. {
  8376. ____frameArray_25 = value;
  8377. Il2CppCodeGenWriteBarrier((void**)(&____frameArray_25), (void*)value);
  8378. }
  8379. inline static int32_t get_offset_of__frameIntArray_26() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIntArray_26)); }
  8380. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get__frameIntArray_26() const { return ____frameIntArray_26; }
  8381. inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of__frameIntArray_26() { return &____frameIntArray_26; }
  8382. inline void set__frameIntArray_26(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
  8383. {
  8384. ____frameIntArray_26 = value;
  8385. Il2CppCodeGenWriteBarrier((void**)(&____frameIntArray_26), (void*)value);
  8386. }
  8387. inline static int32_t get_offset_of__frameFloatArray_27() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameFloatArray_27)); }
  8388. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get__frameFloatArray_27() const { return ____frameFloatArray_27; }
  8389. inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of__frameFloatArray_27() { return &____frameFloatArray_27; }
  8390. inline void set__frameFloatArray_27(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
  8391. {
  8392. ____frameFloatArray_27 = value;
  8393. Il2CppCodeGenWriteBarrier((void**)(&____frameFloatArray_27), (void*)value);
  8394. }
  8395. inline static int32_t get_offset_of__timelineArray_28() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timelineArray_28)); }
  8396. inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* get__timelineArray_28() const { return ____timelineArray_28; }
  8397. inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67** get_address_of__timelineArray_28() { return &____timelineArray_28; }
  8398. inline void set__timelineArray_28(UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* value)
  8399. {
  8400. ____timelineArray_28 = value;
  8401. Il2CppCodeGenWriteBarrier((void**)(&____timelineArray_28), (void*)value);
  8402. }
  8403. inline static int32_t get_offset_of__frameIndices_29() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIndices_29)); }
  8404. inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * get__frameIndices_29() const { return ____frameIndices_29; }
  8405. inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 ** get_address_of__frameIndices_29() { return &____frameIndices_29; }
  8406. inline void set__frameIndices_29(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * value)
  8407. {
  8408. ____frameIndices_29 = value;
  8409. Il2CppCodeGenWriteBarrier((void**)(&____frameIndices_29), (void*)value);
  8410. }
  8411. };
  8412. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol
  8413. struct TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 : public TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69
  8414. {
  8415. public:
  8416. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mTlsClient
  8417. RuntimeObject* ___mTlsClient_49;
  8418. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mTlsClientContext
  8419. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * ___mTlsClientContext_50;
  8420. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mSelectedSessionID
  8421. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSelectedSessionID_51;
  8422. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mKeyExchange
  8423. RuntimeObject* ___mKeyExchange_52;
  8424. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mAuthentication
  8425. RuntimeObject* ___mAuthentication_53;
  8426. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mCertificateStatus
  8427. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * ___mCertificateStatus_54;
  8428. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mCertificateRequest
  8429. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___mCertificateRequest_55;
  8430. public:
  8431. inline static int32_t get_offset_of_mTlsClient_49() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mTlsClient_49)); }
  8432. inline RuntimeObject* get_mTlsClient_49() const { return ___mTlsClient_49; }
  8433. inline RuntimeObject** get_address_of_mTlsClient_49() { return &___mTlsClient_49; }
  8434. inline void set_mTlsClient_49(RuntimeObject* value)
  8435. {
  8436. ___mTlsClient_49 = value;
  8437. Il2CppCodeGenWriteBarrier((void**)(&___mTlsClient_49), (void*)value);
  8438. }
  8439. inline static int32_t get_offset_of_mTlsClientContext_50() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mTlsClientContext_50)); }
  8440. inline TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * get_mTlsClientContext_50() const { return ___mTlsClientContext_50; }
  8441. inline TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF ** get_address_of_mTlsClientContext_50() { return &___mTlsClientContext_50; }
  8442. inline void set_mTlsClientContext_50(TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * value)
  8443. {
  8444. ___mTlsClientContext_50 = value;
  8445. Il2CppCodeGenWriteBarrier((void**)(&___mTlsClientContext_50), (void*)value);
  8446. }
  8447. inline static int32_t get_offset_of_mSelectedSessionID_51() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mSelectedSessionID_51)); }
  8448. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSelectedSessionID_51() const { return ___mSelectedSessionID_51; }
  8449. inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSelectedSessionID_51() { return &___mSelectedSessionID_51; }
  8450. inline void set_mSelectedSessionID_51(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
  8451. {
  8452. ___mSelectedSessionID_51 = value;
  8453. Il2CppCodeGenWriteBarrier((void**)(&___mSelectedSessionID_51), (void*)value);
  8454. }
  8455. inline static int32_t get_offset_of_mKeyExchange_52() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mKeyExchange_52)); }
  8456. inline RuntimeObject* get_mKeyExchange_52() const { return ___mKeyExchange_52; }
  8457. inline RuntimeObject** get_address_of_mKeyExchange_52() { return &___mKeyExchange_52; }
  8458. inline void set_mKeyExchange_52(RuntimeObject* value)
  8459. {
  8460. ___mKeyExchange_52 = value;
  8461. Il2CppCodeGenWriteBarrier((void**)(&___mKeyExchange_52), (void*)value);
  8462. }
  8463. inline static int32_t get_offset_of_mAuthentication_53() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mAuthentication_53)); }
  8464. inline RuntimeObject* get_mAuthentication_53() const { return ___mAuthentication_53; }
  8465. inline RuntimeObject** get_address_of_mAuthentication_53() { return &___mAuthentication_53; }
  8466. inline void set_mAuthentication_53(RuntimeObject* value)
  8467. {
  8468. ___mAuthentication_53 = value;
  8469. Il2CppCodeGenWriteBarrier((void**)(&___mAuthentication_53), (void*)value);
  8470. }
  8471. inline static int32_t get_offset_of_mCertificateStatus_54() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mCertificateStatus_54)); }
  8472. inline CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * get_mCertificateStatus_54() const { return ___mCertificateStatus_54; }
  8473. inline CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 ** get_address_of_mCertificateStatus_54() { return &___mCertificateStatus_54; }
  8474. inline void set_mCertificateStatus_54(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * value)
  8475. {
  8476. ___mCertificateStatus_54 = value;
  8477. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateStatus_54), (void*)value);
  8478. }
  8479. inline static int32_t get_offset_of_mCertificateRequest_55() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mCertificateRequest_55)); }
  8480. inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * get_mCertificateRequest_55() const { return ___mCertificateRequest_55; }
  8481. inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 ** get_address_of_mCertificateRequest_55() { return &___mCertificateRequest_55; }
  8482. inline void set_mCertificateRequest_55(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * value)
  8483. {
  8484. ___mCertificateRequest_55 = value;
  8485. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateRequest_55), (void*)value);
  8486. }
  8487. };
  8488. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol
  8489. struct TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 : public TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69
  8490. {
  8491. public:
  8492. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mTlsServer
  8493. RuntimeObject* ___mTlsServer_49;
  8494. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mTlsServerContext
  8495. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * ___mTlsServerContext_50;
  8496. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mKeyExchange
  8497. RuntimeObject* ___mKeyExchange_51;
  8498. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mServerCredentials
  8499. RuntimeObject* ___mServerCredentials_52;
  8500. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mCertificateRequest
  8501. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___mCertificateRequest_53;
  8502. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mClientCertificateType
  8503. int16_t ___mClientCertificateType_54;
  8504. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mPrepareFinishHash
  8505. RuntimeObject* ___mPrepareFinishHash_55;
  8506. public:
  8507. inline static int32_t get_offset_of_mTlsServer_49() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mTlsServer_49)); }
  8508. inline RuntimeObject* get_mTlsServer_49() const { return ___mTlsServer_49; }
  8509. inline RuntimeObject** get_address_of_mTlsServer_49() { return &___mTlsServer_49; }
  8510. inline void set_mTlsServer_49(RuntimeObject* value)
  8511. {
  8512. ___mTlsServer_49 = value;
  8513. Il2CppCodeGenWriteBarrier((void**)(&___mTlsServer_49), (void*)value);
  8514. }
  8515. inline static int32_t get_offset_of_mTlsServerContext_50() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mTlsServerContext_50)); }
  8516. inline TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * get_mTlsServerContext_50() const { return ___mTlsServerContext_50; }
  8517. inline TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 ** get_address_of_mTlsServerContext_50() { return &___mTlsServerContext_50; }
  8518. inline void set_mTlsServerContext_50(TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * value)
  8519. {
  8520. ___mTlsServerContext_50 = value;
  8521. Il2CppCodeGenWriteBarrier((void**)(&___mTlsServerContext_50), (void*)value);
  8522. }
  8523. inline static int32_t get_offset_of_mKeyExchange_51() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mKeyExchange_51)); }
  8524. inline RuntimeObject* get_mKeyExchange_51() const { return ___mKeyExchange_51; }
  8525. inline RuntimeObject** get_address_of_mKeyExchange_51() { return &___mKeyExchange_51; }
  8526. inline void set_mKeyExchange_51(RuntimeObject* value)
  8527. {
  8528. ___mKeyExchange_51 = value;
  8529. Il2CppCodeGenWriteBarrier((void**)(&___mKeyExchange_51), (void*)value);
  8530. }
  8531. inline static int32_t get_offset_of_mServerCredentials_52() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mServerCredentials_52)); }
  8532. inline RuntimeObject* get_mServerCredentials_52() const { return ___mServerCredentials_52; }
  8533. inline RuntimeObject** get_address_of_mServerCredentials_52() { return &___mServerCredentials_52; }
  8534. inline void set_mServerCredentials_52(RuntimeObject* value)
  8535. {
  8536. ___mServerCredentials_52 = value;
  8537. Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_52), (void*)value);
  8538. }
  8539. inline static int32_t get_offset_of_mCertificateRequest_53() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mCertificateRequest_53)); }
  8540. inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * get_mCertificateRequest_53() const { return ___mCertificateRequest_53; }
  8541. inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 ** get_address_of_mCertificateRequest_53() { return &___mCertificateRequest_53; }
  8542. inline void set_mCertificateRequest_53(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * value)
  8543. {
  8544. ___mCertificateRequest_53 = value;
  8545. Il2CppCodeGenWriteBarrier((void**)(&___mCertificateRequest_53), (void*)value);
  8546. }
  8547. inline static int32_t get_offset_of_mClientCertificateType_54() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mClientCertificateType_54)); }
  8548. inline int16_t get_mClientCertificateType_54() const { return ___mClientCertificateType_54; }
  8549. inline int16_t* get_address_of_mClientCertificateType_54() { return &___mClientCertificateType_54; }
  8550. inline void set_mClientCertificateType_54(int16_t value)
  8551. {
  8552. ___mClientCertificateType_54 = value;
  8553. }
  8554. inline static int32_t get_offset_of_mPrepareFinishHash_55() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mPrepareFinishHash_55)); }
  8555. inline RuntimeObject* get_mPrepareFinishHash_55() const { return ___mPrepareFinishHash_55; }
  8556. inline RuntimeObject** get_address_of_mPrepareFinishHash_55() { return &___mPrepareFinishHash_55; }
  8557. inline void set_mPrepareFinishHash_55(RuntimeObject* value)
  8558. {
  8559. ___mPrepareFinishHash_55 = value;
  8560. Il2CppCodeGenWriteBarrier((void**)(&___mPrepareFinishHash_55), (void*)value);
  8561. }
  8562. };
  8563. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream
  8564. struct DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 : public ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5
  8565. {
  8566. public:
  8567. public:
  8568. };
  8569. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage
  8570. struct HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
  8571. {
  8572. public:
  8573. public:
  8574. };
  8575. // DragonBones.ActionTimelineState
  8576. struct ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B : public TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696
  8577. {
  8578. public:
  8579. public:
  8580. };
  8581. // System.ArgumentException
  8582. struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
  8583. {
  8584. public:
  8585. // System.String System.ArgumentException::m_paramName
  8586. String_t* ___m_paramName_17;
  8587. public:
  8588. inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00, ___m_paramName_17)); }
  8589. inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
  8590. inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
  8591. inline void set_m_paramName_17(String_t* value)
  8592. {
  8593. ___m_paramName_17 = value;
  8594. Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
  8595. }
  8596. };
  8597. // UnityEngine.Behaviour
  8598. struct Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9 : public Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684
  8599. {
  8600. public:
  8601. public:
  8602. };
  8603. // System.IO.IOException
  8604. struct IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
  8605. {
  8606. public:
  8607. // System.String System.IO.IOException::_maybeFullPath
  8608. String_t* ____maybeFullPath_17;
  8609. public:
  8610. inline static int32_t get_offset_of__maybeFullPath_17() { return static_cast<int32_t>(offsetof(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA, ____maybeFullPath_17)); }
  8611. inline String_t* get__maybeFullPath_17() const { return ____maybeFullPath_17; }
  8612. inline String_t** get_address_of__maybeFullPath_17() { return &____maybeFullPath_17; }
  8613. inline void set__maybeFullPath_17(String_t* value)
  8614. {
  8615. ____maybeFullPath_17 = value;
  8616. Il2CppCodeGenWriteBarrier((void**)(&____maybeFullPath_17), (void*)value);
  8617. }
  8618. };
  8619. // System.InvalidCastException
  8620. struct InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
  8621. {
  8622. public:
  8623. public:
  8624. };
  8625. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.InvalidCipherTextException
  8626. struct InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D : public CryptoException_t4585FEA3F67B6ED045D6C9401A9C96B1234E3F27
  8627. {
  8628. public:
  8629. public:
  8630. };
  8631. // System.InvalidOperationException
  8632. struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
  8633. {
  8634. public:
  8635. public:
  8636. };
  8637. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler
  8638. struct TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA : public TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967
  8639. {
  8640. public:
  8641. public:
  8642. };
  8643. // UnityEngine.Transform
  8644. struct Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 : public Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684
  8645. {
  8646. public:
  8647. public:
  8648. };
  8649. // System.ArgumentNullException
  8650. struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB : public ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00
  8651. {
  8652. public:
  8653. public:
  8654. };
  8655. // System.IO.EndOfStreamException
  8656. struct EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 : public IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA
  8657. {
  8658. public:
  8659. public:
  8660. };
  8661. // UnityEngine.MonoBehaviour
  8662. struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A : public Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9
  8663. {
  8664. public:
  8665. public:
  8666. };
  8667. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException
  8668. struct TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 : public IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA
  8669. {
  8670. public:
  8671. public:
  8672. };
  8673. // UnityStandardAssets.Utility.TimedObjectDestructor
  8674. struct TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 : public MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A
  8675. {
  8676. public:
  8677. // System.Single UnityStandardAssets.Utility.TimedObjectDestructor::m_TimeOut
  8678. float ___m_TimeOut_4;
  8679. // System.Boolean UnityStandardAssets.Utility.TimedObjectDestructor::m_DetachChildren
  8680. bool ___m_DetachChildren_5;
  8681. public:
  8682. inline static int32_t get_offset_of_m_TimeOut_4() { return static_cast<int32_t>(offsetof(TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993, ___m_TimeOut_4)); }
  8683. inline float get_m_TimeOut_4() const { return ___m_TimeOut_4; }
  8684. inline float* get_address_of_m_TimeOut_4() { return &___m_TimeOut_4; }
  8685. inline void set_m_TimeOut_4(float value)
  8686. {
  8687. ___m_TimeOut_4 = value;
  8688. }
  8689. inline static int32_t get_offset_of_m_DetachChildren_5() { return static_cast<int32_t>(offsetof(TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993, ___m_DetachChildren_5)); }
  8690. inline bool get_m_DetachChildren_5() const { return ___m_DetachChildren_5; }
  8691. inline bool* get_address_of_m_DetachChildren_5() { return &___m_DetachChildren_5; }
  8692. inline void set_m_DetachChildren_5(bool value)
  8693. {
  8694. ___m_DetachChildren_5 = value;
  8695. }
  8696. };
  8697. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert
  8698. struct TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 : public TlsException_t1732743E62B1390C3072EA484D216C08D2C75983
  8699. {
  8700. public:
  8701. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::alertDescription
  8702. uint8_t ___alertDescription_18;
  8703. public:
  8704. inline static int32_t get_offset_of_alertDescription_18() { return static_cast<int32_t>(offsetof(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946, ___alertDescription_18)); }
  8705. inline uint8_t get_alertDescription_18() const { return ___alertDescription_18; }
  8706. inline uint8_t* get_address_of_alertDescription_18() { return &___alertDescription_18; }
  8707. inline void set_alertDescription_18(uint8_t value)
  8708. {
  8709. ___alertDescription_18 = value;
  8710. }
  8711. };
  8712. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived
  8713. struct TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D : public TlsException_t1732743E62B1390C3072EA484D216C08D2C75983
  8714. {
  8715. public:
  8716. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::alertDescription
  8717. uint8_t ___alertDescription_18;
  8718. public:
  8719. inline static int32_t get_offset_of_alertDescription_18() { return static_cast<int32_t>(offsetof(TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D, ___alertDescription_18)); }
  8720. inline uint8_t get_alertDescription_18() const { return ___alertDescription_18; }
  8721. inline uint8_t* get_address_of_alertDescription_18() { return &___alertDescription_18; }
  8722. inline void set_alertDescription_18(uint8_t value)
  8723. {
  8724. ___alertDescription_18 = value;
  8725. }
  8726. };
  8727. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException
  8728. struct TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A : public EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059
  8729. {
  8730. public:
  8731. public:
  8732. };
  8733. #ifdef __clang__
  8734. #pragma clang diagnostic pop
  8735. #endif
  8736. // System.Int16[]
  8737. struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD : public RuntimeArray
  8738. {
  8739. public:
  8740. ALIGN_FIELD (8) int16_t m_Items[1];
  8741. public:
  8742. inline int16_t GetAt(il2cpp_array_size_t index) const
  8743. {
  8744. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8745. return m_Items[index];
  8746. }
  8747. inline int16_t* GetAddressAt(il2cpp_array_size_t index)
  8748. {
  8749. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8750. return m_Items + index;
  8751. }
  8752. inline void SetAt(il2cpp_array_size_t index, int16_t value)
  8753. {
  8754. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8755. m_Items[index] = value;
  8756. }
  8757. inline int16_t GetAtUnchecked(il2cpp_array_size_t index) const
  8758. {
  8759. return m_Items[index];
  8760. }
  8761. inline int16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8762. {
  8763. return m_Items + index;
  8764. }
  8765. inline void SetAtUnchecked(il2cpp_array_size_t index, int16_t value)
  8766. {
  8767. m_Items[index] = value;
  8768. }
  8769. };
  8770. // System.Single[]
  8771. struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA : public RuntimeArray
  8772. {
  8773. public:
  8774. ALIGN_FIELD (8) float m_Items[1];
  8775. public:
  8776. inline float GetAt(il2cpp_array_size_t index) const
  8777. {
  8778. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8779. return m_Items[index];
  8780. }
  8781. inline float* GetAddressAt(il2cpp_array_size_t index)
  8782. {
  8783. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8784. return m_Items + index;
  8785. }
  8786. inline void SetAt(il2cpp_array_size_t index, float value)
  8787. {
  8788. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8789. m_Items[index] = value;
  8790. }
  8791. inline float GetAtUnchecked(il2cpp_array_size_t index) const
  8792. {
  8793. return m_Items[index];
  8794. }
  8795. inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8796. {
  8797. return m_Items + index;
  8798. }
  8799. inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
  8800. {
  8801. m_Items[index] = value;
  8802. }
  8803. };
  8804. // System.UInt16[]
  8805. struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67 : public RuntimeArray
  8806. {
  8807. public:
  8808. ALIGN_FIELD (8) uint16_t m_Items[1];
  8809. public:
  8810. inline uint16_t GetAt(il2cpp_array_size_t index) const
  8811. {
  8812. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8813. return m_Items[index];
  8814. }
  8815. inline uint16_t* GetAddressAt(il2cpp_array_size_t index)
  8816. {
  8817. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8818. return m_Items + index;
  8819. }
  8820. inline void SetAt(il2cpp_array_size_t index, uint16_t value)
  8821. {
  8822. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8823. m_Items[index] = value;
  8824. }
  8825. inline uint16_t GetAtUnchecked(il2cpp_array_size_t index) const
  8826. {
  8827. return m_Items[index];
  8828. }
  8829. inline uint16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8830. {
  8831. return m_Items + index;
  8832. }
  8833. inline void SetAtUnchecked(il2cpp_array_size_t index, uint16_t value)
  8834. {
  8835. m_Items[index] = value;
  8836. }
  8837. };
  8838. // System.Byte[]
  8839. struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : public RuntimeArray
  8840. {
  8841. public:
  8842. ALIGN_FIELD (8) uint8_t m_Items[1];
  8843. public:
  8844. inline uint8_t GetAt(il2cpp_array_size_t index) const
  8845. {
  8846. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8847. return m_Items[index];
  8848. }
  8849. inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
  8850. {
  8851. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8852. return m_Items + index;
  8853. }
  8854. inline void SetAt(il2cpp_array_size_t index, uint8_t value)
  8855. {
  8856. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8857. m_Items[index] = value;
  8858. }
  8859. inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
  8860. {
  8861. return m_Items[index];
  8862. }
  8863. inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8864. {
  8865. return m_Items + index;
  8866. }
  8867. inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
  8868. {
  8869. m_Items[index] = value;
  8870. }
  8871. };
  8872. // System.Int32[]
  8873. struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32 : public RuntimeArray
  8874. {
  8875. public:
  8876. ALIGN_FIELD (8) int32_t m_Items[1];
  8877. public:
  8878. inline int32_t GetAt(il2cpp_array_size_t index) const
  8879. {
  8880. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8881. return m_Items[index];
  8882. }
  8883. inline int32_t* GetAddressAt(il2cpp_array_size_t index)
  8884. {
  8885. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8886. return m_Items + index;
  8887. }
  8888. inline void SetAt(il2cpp_array_size_t index, int32_t value)
  8889. {
  8890. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8891. m_Items[index] = value;
  8892. }
  8893. inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
  8894. {
  8895. return m_Items[index];
  8896. }
  8897. inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8898. {
  8899. return m_Items + index;
  8900. }
  8901. inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
  8902. {
  8903. m_Items[index] = value;
  8904. }
  8905. };
  8906. // System.String[]
  8907. struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A : public RuntimeArray
  8908. {
  8909. public:
  8910. ALIGN_FIELD (8) String_t* m_Items[1];
  8911. public:
  8912. inline String_t* GetAt(il2cpp_array_size_t index) const
  8913. {
  8914. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8915. return m_Items[index];
  8916. }
  8917. inline String_t** GetAddressAt(il2cpp_array_size_t index)
  8918. {
  8919. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8920. return m_Items + index;
  8921. }
  8922. inline void SetAt(il2cpp_array_size_t index, String_t* value)
  8923. {
  8924. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8925. m_Items[index] = value;
  8926. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  8927. }
  8928. inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
  8929. {
  8930. return m_Items[index];
  8931. }
  8932. inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
  8933. {
  8934. return m_Items + index;
  8935. }
  8936. inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
  8937. {
  8938. m_Items[index] = value;
  8939. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  8940. }
  8941. };
  8942. // System.UInt32[]
  8943. struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF : public RuntimeArray
  8944. {
  8945. public:
  8946. ALIGN_FIELD (8) uint32_t m_Items[1];
  8947. public:
  8948. inline uint32_t GetAt(il2cpp_array_size_t index) const
  8949. {
  8950. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8951. return m_Items[index];
  8952. }
  8953. inline uint32_t* GetAddressAt(il2cpp_array_size_t index)
  8954. {
  8955. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8956. return m_Items + index;
  8957. }
  8958. inline void SetAt(il2cpp_array_size_t index, uint32_t value)
  8959. {
  8960. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  8961. m_Items[index] = value;
  8962. }
  8963. inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
  8964. {
  8965. return m_Items[index];
  8966. }
  8967. inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  8968. {
  8969. return m_Items + index;
  8970. }
  8971. inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
  8972. {
  8973. m_Items[index] = value;
  8974. }
  8975. };
  8976. // !0 System.Collections.Generic.List`1<System.UInt32>::get_Item(System.Int32)
  8977. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_gshared_inline (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * __this, int32_t ___index0, const RuntimeMethod* method);
  8978. // System.Void System.Array::Resize<System.Byte>(!!0[]&,System.Int32)
  8979. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_gshared (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** ___array0, int32_t ___newSize1, const RuntimeMethod* method);
  8980. // System.Void UnityEngine.MonoBehaviour::Invoke(System.String,System.Single)
  8981. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_Invoke_m4AAB759653B1C6FB0653527F4DDC72D1E9162CC4 (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, String_t* ___methodName0, float ___time1, const RuntimeMethod* method);
  8982. // UnityEngine.Transform UnityEngine.Component::get_transform()
  8983. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * Component_get_transform_mE8496EBC45BEB1BADB5F314960F1DF1C952FA11F (Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 * __this, const RuntimeMethod* method);
  8984. // System.Void UnityEngine.Transform::DetachChildren()
  8985. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_DetachChildren_m0800099F604AB1B59A72AC83E175B964B1EDFEF2 (Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * __this, const RuntimeMethod* method);
  8986. // UnityEngine.GameObject UnityEngine.Component::get_gameObject()
  8987. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 * Component_get_gameObject_m55DC35B149AFB9157582755383BA954655FE0C5B (Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 * __this, const RuntimeMethod* method);
  8988. // System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
  8989. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_m3EEDB6ECD49A541EC826EA8E1C8B599F7AF67D30 (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___obj0, const RuntimeMethod* method);
  8990. // System.Void UnityEngine.MonoBehaviour::.ctor()
  8991. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, const RuntimeMethod* method);
  8992. // System.Void DragonBones.BaseObject::.ctor()
  8993. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F (BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424 * __this, const RuntimeMethod* method);
  8994. // DragonBones.ArmatureData DragonBones.Armature::get_armatureData()
  8995. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline (Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * __this, const RuntimeMethod* method);
  8996. // System.Boolean DragonBones.TimelineState::_SetCurrentTime(System.Single)
  8997. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method);
  8998. // !0 System.Collections.Generic.List`1<System.UInt32>::get_Item(System.Int32)
  8999. inline uint32_t List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_inline (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * __this, int32_t ___index0, const RuntimeMethod* method)
  9000. {
  9001. return (( uint32_t (*) (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 *, int32_t, const RuntimeMethod*))List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_gshared_inline)(__this, ___index0, method);
  9002. }
  9003. // System.DateTime System.DateTime::get_UtcNow()
  9004. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 DateTime_get_UtcNow_m761E57F86226DDD94F0A2F4D98F0A8E27C74F090 (const RuntimeMethod* method);
  9005. // System.Int64 System.DateTime::get_Ticks()
  9006. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_m175EDB41A50DB06872CC48CAB603FEBD1DFF46A9 (DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * __this, const RuntimeMethod* method);
  9007. // System.Void System.Object::.ctor()
  9008. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
  9009. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,System.Int32,System.Int32,System.Int32)
  9010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7 (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteCipher1, RuntimeObject* ___serverWriteCipher2, int32_t ___cipherKeySize3, int32_t ___macSize4, int32_t ___nonceMode5, const RuntimeMethod* method);
  9011. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsTlsV12(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  9012. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885 (RuntimeObject* ___context0, const RuntimeMethod* method);
  9013. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte)
  9014. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
  9015. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateKeyBlock(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
  9016. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F (RuntimeObject* ___context0, int32_t ___size1, const RuntimeMethod* method);
  9017. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::.ctor(System.Byte[],System.Int32,System.Int32)
  9018. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___key0, int32_t ___keyOff1, int32_t ___keyLen2, const RuntimeMethod* method);
  9019. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::CopyOfRange(System.Byte[],System.Int32,System.Int32)
  9020. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, int32_t ___from1, int32_t ___to2, const RuntimeMethod* method);
  9021. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[])
  9022. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AeadParameters__ctor_mDC4FC845AAF337D5A63276E2A2E7CB2FA1D814C7 (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * __this, KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * ___key0, int32_t ___macSize1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___nonce2, const RuntimeMethod* method);
  9023. // System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
  9024. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877 (RuntimeArray * ___sourceArray0, int32_t ___sourceIndex1, RuntimeArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const RuntimeMethod* method);
  9025. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint64(System.Int64,System.Byte[],System.Int32)
  9026. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181 (int64_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
  9027. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[],System.Byte[])
  9028. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AeadParameters__ctor_mE2773768F68BC5A4602E213B7901DED949E1900D (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * __this, KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * ___key0, int32_t ___macSize1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___nonce2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___associatedText3, const RuntimeMethod* method);
  9029. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte,System.Exception)
  9030. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, Exception_t * ___alertCause1, const RuntimeMethod* method);
  9031. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8(System.Byte,System.Byte[],System.Int32)
  9032. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186 (uint8_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
  9033. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion,System.Byte[],System.Int32)
  9034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
  9035. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16(System.Int32,System.Byte[],System.Int32)
  9036. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16_mC62EE72A6598A7A7761399F9597312CC5E100CF0 (int32_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
  9037. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsTlsV11(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  9038. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B (RuntimeObject* ___context0, const RuntimeMethod* method);
  9039. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32,System.Int32)
  9040. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, RuntimeObject* ___context0, RuntimeObject* ___digest1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___key2, int32_t ___keyOff3, int32_t ___keyLen4, const RuntimeMethod* method);
  9041. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,System.Byte[])
  9042. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1 (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * __this, RuntimeObject* ___parameters0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___iv1, const RuntimeMethod* method);
  9043. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_IsDtls()
  9044. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
  9045. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_IsSsl()
  9046. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
  9047. // System.Void System.Array::Resize<System.Byte>(!!0[]&,System.Int32)
  9048. inline void Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** ___array0, int32_t ___newSize1, const RuntimeMethod* method)
  9049. {
  9050. (( void (*) (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726**, int32_t, const RuntimeMethod*))Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_gshared)(___array0, ___newSize1, method);
  9051. }
  9052. // System.Int32 System.Math::Max(System.Int32,System.Int32)
  9053. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_mD8AA27386BF012C65303FCDEA041B0CC65056E7B (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
  9054. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::ConstantTimeAreEqual(System.Byte[],System.Byte[])
  9055. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___b1, const RuntimeMethod* method);
  9056. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,System.Byte[],System.Int32,System.Int32)
  9057. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParametersWithIV__ctor_m012DD2304E0C24B39AD257B371C1A8285EC533FE (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * __this, RuntimeObject* ___parameters0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___iv1, int32_t ___ivOff2, int32_t ___ivLen3, const RuntimeMethod* method);
  9058. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsSsl(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  9059. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958 (RuntimeObject* ___context0, const RuntimeMethod* method);
  9060. // System.Int32 System.Math::Min(System.Int32,System.Int32)
  9061. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574 (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
  9062. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  9063. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A (AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
  9064. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9065. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method);
  9066. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9067. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method);
  9068. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9069. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method);
  9070. // System.Void System.ArgumentNullException::.ctor(System.String)
  9071. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97 (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * __this, String_t* ___paramName0, const RuntimeMethod* method);
  9072. // System.Void System.InvalidOperationException::.ctor(System.String)
  9073. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * __this, String_t* ___message0, const RuntimeMethod* method);
  9074. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::.ctor()
  9075. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19 (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * __this, const RuntimeMethod* method);
  9076. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  9077. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
  9078. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRandomBlock(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator)
  9079. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63 (bool ___useGmtUnixTime0, RuntimeObject* ___randomGenerator1, const RuntimeMethod* method);
  9080. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  9081. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, RuntimeObject* ___context0, const RuntimeMethod* method);
  9082. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_IsExtendedMasterSecret()
  9083. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9084. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake()
  9085. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
  9086. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::Parse(System.IO.Stream)
  9087. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9088. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::AssertEmpty(System.IO.MemoryStream)
  9089. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method);
  9090. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::Parse(System.IO.Stream)
  9091. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * CertificateStatus_Parse_m2E7ED817E49DDC573BD274BB7DCF042C6CE5294A (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9092. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::NotifyHelloComplete()
  9093. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9094. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_MasterSecret()
  9095. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9096. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Clone(System.Byte[])
  9097. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
  9098. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetPendingConnectionState(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher)
  9099. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, RuntimeObject* ___tlsCompression0, RuntimeObject* ___tlsCipher1, const RuntimeMethod* method);
  9100. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::.ctor(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters)
  9101. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sessionID0, SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___sessionParameters1, const RuntimeMethod* method);
  9102. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadSupplementalDataMessage(System.IO.MemoryStream)
  9103. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method);
  9104. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_HandshakeHash()
  9105. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9106. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::EstablishMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange)
  9107. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7 (RuntimeObject* ___context0, RuntimeObject* ___keyExchange1, const RuntimeMethod* method);
  9108. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::PrepareToFinish()
  9109. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9110. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetCurrentPrfHash(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash,System.Byte[])
  9111. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA (RuntimeObject* ___context0, RuntimeObject* ___handshakeHash1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sslSender2, const RuntimeMethod* method);
  9112. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetSignatureAndHashAlgorithm(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials)
  9113. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9 (RuntimeObject* ___context0, RuntimeObject* ___signerCredentials1, const RuntimeMethod* method);
  9114. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Byte[])
  9115. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45 (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___signature1, const RuntimeMethod* method);
  9116. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::Parse(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)
  9117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * CertificateRequest_Parse_mABE3254963813337F0FB55BB7B2A630BF829A9B8 (RuntimeObject* ___context0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9118. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::TrackHashAlgorithms(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash,System.Collections.IList)
  9119. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B (RuntimeObject* ___handshakeHash0, RuntimeObject* ___supportedSignatureAlgorithms1, const RuntimeMethod* method);
  9120. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::Parse(System.IO.Stream)
  9121. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * NewSessionTicket_Parse_m985C0731F622795A38B7F7938D7949EADA0E5091 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9122. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadVersion(System.IO.Stream)
  9123. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9124. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_ReadVersion()
  9125. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9126. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::Equals(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
  9127. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_Equals_m55E637B40AF820E0B35ABA84E0B40FDA2FE6D211 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___other0, const RuntimeMethod* method);
  9128. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::IsEqualOrEarlierVersionOf(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
  9129. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, const RuntimeMethod* method);
  9130. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetWriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
  9131. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___writeVersion0, const RuntimeMethod* method);
  9132. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadFully(System.Int32,System.IO.Stream)
  9133. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D (int32_t ___length0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9134. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque8(System.IO.Stream)
  9135. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9136. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::AreEqual(System.Byte[],System.Byte[])
  9137. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_AreEqual_mA5503C81863BC5B4F26A66569A45A9B855ED2246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___b1, const RuntimeMethod* method);
  9138. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16(System.IO.Stream)
  9139. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9140. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Contains(System.Int32[],System.Int32)
  9141. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___a0, int32_t ___n1, const RuntimeMethod* method);
  9142. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CipherSuite::IsScsv(System.Int32)
  9143. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD (int32_t ___cipherSuite0, const RuntimeMethod* method);
  9144. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsValidCipherSuiteForVersion(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
  9145. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182 (int32_t ___cipherSuite0, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___serverVersion1, const RuntimeMethod* method);
  9146. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8(System.IO.Stream)
  9147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9148. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Contains(System.Byte[],System.Byte)
  9149. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, uint8_t ___n1, const RuntimeMethod* method);
  9150. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadExtensions(System.IO.MemoryStream)
  9151. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method);
  9152. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasExtendedMasterSecretExtension(System.Collections.IDictionary)
  9153. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9154. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetExtensionData(System.Collections.IDictionary,System.Int32)
  9155. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0 (RuntimeObject* ___extensions0, int32_t ___extensionType1, const RuntimeMethod* method);
  9156. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRenegotiationInfo(System.Byte[])
  9157. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___renegotiated_connection0, const RuntimeMethod* method);
  9158. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_CipherSuite()
  9159. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9160. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_CompressionAlgorithm()
  9161. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9162. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::ReadServerExtensions()
  9163. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SessionParameters_ReadServerExtensions_m3268BAA375F8300339532D185707C59BCB4184B4 (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9164. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasEncryptThenMacExtension(System.Collections.IDictionary)
  9165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9166. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsBlockCipherSuite(System.Int32)
  9167. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsBlockCipherSuite_mA273B0389EC7649C39401F777D6C94AC077AC749 (int32_t ___ciphersuite0, const RuntimeMethod* method);
  9168. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasTruncatedHMacExtension(System.Collections.IDictionary)
  9169. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9170. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::HasExpectedEmptyExtensionData(System.Collections.IDictionary,System.Int32,System.Byte)
  9171. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6 (RuntimeObject* ___extensions0, int32_t ___extensionType1, uint8_t ___alertDescription2, const RuntimeMethod* method);
  9172. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetPrfAlgorithm(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
  9173. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3 (RuntimeObject* ___context0, int32_t ___ciphersuite1, const RuntimeMethod* method);
  9174. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::.ctor(System.Byte)
  9175. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, uint8_t ___handshakeType0, const RuntimeMethod* method);
  9176. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::WriteToRecordStream(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol)
  9177. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___protocol0, const RuntimeMethod* method);
  9178. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::EnsureExtensionsInitialised(System.Collections.IDictionary)
  9179. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9180. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddExtendedMasterSecretExtension(System.Collections.IDictionary)
  9181. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9182. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion,System.IO.Stream)
  9183. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9184. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::Write(System.Byte[])
  9185. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
  9186. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque8(System.Byte[],System.IO.Stream)
  9187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9188. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Append(System.Int32[],System.Int32)
  9189. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___a0, int32_t ___b1, const RuntimeMethod* method);
  9190. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16ArrayWithUint16Length(System.Int32[],System.IO.Stream)
  9191. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___uints0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9192. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8ArrayWithUint8Length(System.Byte[],System.IO.Stream)
  9193. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8ArrayWithUint8Length_m4BCED1420A9E340771B44AF47A7ACF67CE255EC5 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___uints0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9194. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteExtensions(System.IO.Stream,System.Collections.IDictionary)
  9195. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, const RuntimeMethod* method);
  9196. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::.ctor()
  9197. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * __this, const RuntimeMethod* method);
  9198. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  9199. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___dhVerifier2, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters3, const RuntimeMethod* method);
  9200. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::.ctor(System.Int32,System.Collections.IList)
  9201. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, const RuntimeMethod* method);
  9202. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::.ctor()
  9203. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method);
  9204. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::.ctor()
  9205. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method);
  9206. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  9207. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, RuntimeObject* ___context0, const RuntimeMethod* method);
  9208. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::get_SubjectPublicKeyInfo()
  9209. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F (X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * __this, const RuntimeMethod* method);
  9210. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Security.PublicKeyFactory::CreateKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)
  9211. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB (SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * ___keyInfo0, const RuntimeMethod* method);
  9212. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::get_Parameters()
  9213. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline (DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 * __this, const RuntimeMethod* method);
  9214. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ValidateKeyUsage(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure,System.Int32)
  9215. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D (X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * ___c0, int32_t ___keyUsageBits1, const RuntimeMethod* method);
  9216. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  9217. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9 (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method);
  9218. // System.Void System.IO.MemoryStream::.ctor()
  9219. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, const RuntimeMethod* method);
  9220. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateEphemeralServerKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  9221. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9222. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReceiveDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,System.IO.Stream)
  9223. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B (RuntimeObject* ___dhVerifier0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9224. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameter(System.IO.Stream)
  9225. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9226. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  9227. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters1, const RuntimeMethod* method);
  9228. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateEphemeralClientKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  9229. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9230. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CalculateDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters)
  9231. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___publicKey0, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___privateKey1, const RuntimeMethod* method);
  9232. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.Hex::Decode(System.String)
  9233. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Hex_Decode_m1D881955B974F7FB194876E59DD34149C594A6E1 (String_t* ___data0, const RuntimeMethod* method);
  9234. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::.ctor(System.Int32,System.Byte[])
  9235. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___sign0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bytes1, const RuntimeMethod* method);
  9236. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromHex(System.String)
  9237. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273 (String_t* ___hex0, const RuntimeMethod* method);
  9238. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ShiftRight(System.Int32)
  9239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * BigInteger_ShiftRight_m24332C73CA4FF51A829E2F1AB89F0B3903CDF642 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___n0, const RuntimeMethod* method);
  9240. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9241. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHParameters__ctor_mCF7DCB73E33F44B9BA2CA7678A88C727784EB8E8 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___p0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___g1, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___q2, const RuntimeMethod* method);
  9242. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsClientExtension(System.Byte[])
  9243. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups0, const RuntimeMethod* method);
  9244. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsServerExtension(System.Byte)
  9245. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6 (uint8_t ___dheGroup0, const RuntimeMethod* method);
  9246. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsClientExtension(System.Byte[])
  9247. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9248. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsServerExtension(System.Byte[])
  9249. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9250. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint8ArrayWithUint8Length(System.Byte[])
  9251. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___uints0, const RuntimeMethod* method);
  9252. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint8(System.Byte)
  9253. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52 (uint8_t ___val0, const RuntimeMethod* method);
  9254. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::DecodeUint8ArrayWithUint8Length(System.Byte[])
  9255. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
  9256. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::DecodeUint8(System.Byte[])
  9257. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
  9258. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::IsDheCipherSuite(System.Int32)
  9259. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF (int32_t ___cipherSuite0, const RuntimeMethod* method);
  9260. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_P()
  9261. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
  9262. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_G()
  9263. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
  9264. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_Q()
  9265. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
  9266. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::.ctor()
  9267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHBasicAgreement__ctor_mA814E02EE595AFDCC561228E8DC491927EBC5D00 (DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * __this, const RuntimeMethod* method);
  9268. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.BigIntegers::AsUnsignedByteArray(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n0, const RuntimeMethod* method);
  9270. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::.ctor()
  9271. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHBasicKeyPairGenerator__ctor_m51E8D2D7BA1F2046725A3649DCF8F19D459C6DA0 (DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * __this, const RuntimeMethod* method);
  9272. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  9273. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHKeyGenerationParameters__ctor_mDE87E2CDE46C6E3F9DA46810D957CF3FE8AD91AD (DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters1, const RuntimeMethod* method);
  9274. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateDHKeyPair(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  9275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, const RuntimeMethod* method);
  9276. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::get_Public()
  9277. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method);
  9278. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
  9279. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9280. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::get_Private()
  9281. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method);
  9282. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  9283. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9284. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque16(System.IO.Stream)
  9285. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9286. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9287. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHParameters__ctor_m2CC3B308F5ED878AE35596644480C5875A13ADEC (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___p0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___g1, const RuntimeMethod* method);
  9288. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameters(System.IO.Stream)
  9289. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9290. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque16(System.Byte[],System.IO.Stream)
  9291. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9292. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromSafeP(System.String)
  9293. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50 (String_t* ___hexP0, const RuntimeMethod* method);
  9294. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor(System.Int32)
  9295. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, int32_t ___level0, const RuntimeMethod* method);
  9296. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::.ctor()
  9297. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40 (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, const RuntimeMethod* method);
  9298. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::inflateInit()
  9299. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ZStream_inflateInit_m9EC1B8A6E4C5DD3F1AB27A3334641E5368E53A4A (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, const RuntimeMethod* method);
  9300. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::deflateInit(System.Int32)
  9301. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ZStream_deflateInit_m77240EC6F6D04747F3306F9E4F267C9640F0D8A2 (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, int32_t ___level0, const RuntimeMethod* method);
  9302. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream,System.Boolean)
  9303. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48 (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___z1, bool ___compress2, const RuntimeMethod* method);
  9304. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  9305. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange__ctor_m2E81AE4A03734D45E088C9A5628A224B68F13BFA (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___dhVerifier2, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters3, const RuntimeMethod* method);
  9306. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer::.ctor()
  9307. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * __this, const RuntimeMethod* method);
  9308. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateHash(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm)
  9309. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80 (SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___signatureAndHashAlgorithm0, const RuntimeMethod* method);
  9310. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer::UpdateDigest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9311. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084 (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * __this, RuntimeObject* ___d0, const RuntimeMethod* method);
  9312. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities::DoFinal(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9313. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC (RuntimeObject* ___digest0, const RuntimeMethod* method);
  9314. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer::.ctor()
  9315. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9 (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * __this, const RuntimeMethod* method);
  9316. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::.ctor(System.IO.Stream,System.IO.Stream)
  9317. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___tee1, const RuntimeMethod* method);
  9318. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer::UpdateSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner)
  9319. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7 (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * __this, RuntimeObject* ___s0, const RuntimeMethod* method);
  9320. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9321. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97 (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * __this, RuntimeObject* ___parameters0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random1, const RuntimeMethod* method);
  9322. // System.Void System.InvalidOperationException::.ctor()
  9323. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96 (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * __this, const RuntimeMethod* method);
  9324. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateHash(System.Byte)
  9325. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88 (uint8_t ___hashAlgorithm0, const RuntimeMethod* method);
  9326. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest::.ctor()
  9327. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * __this, const RuntimeMethod* method);
  9328. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9329. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DsaDigestSigner__ctor_m9AAE8A07722E67E499E98FB6B3AF3E53A4D9E05B (DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * __this, RuntimeObject* ___dsa0, RuntimeObject* ___digest1, const RuntimeMethod* method);
  9330. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner::.ctor()
  9331. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121 (AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 * __this, const RuntimeMethod* method);
  9332. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9333. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53 (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
  9334. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)
  9335. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DsaSigner__ctor_m4F8CD1803721F9C537999E6603D32CAF3EF50149 (DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 * __this, RuntimeObject* ___kCalculator0, const RuntimeMethod* method);
  9336. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::.ctor()
  9337. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, const RuntimeMethod* method);
  9338. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::.ctor()
  9339. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method);
  9340. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ValidateECPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
  9341. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___key0, const RuntimeMethod* method);
  9342. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateEphemeralServerKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Int32[],System.Byte[],System.IO.Stream)
  9343. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats2, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output3, const RuntimeMethod* method);
  9344. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameters(System.Int32[],System.Byte[],System.IO.Stream)
  9345. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input2, const RuntimeMethod* method);
  9346. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECPublicKey(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.Byte[])
  9347. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___curve_params1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method);
  9348. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::get_Parameters()
  9349. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline (ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * __this, const RuntimeMethod* method);
  9350. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateEphemeralClientKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
  9351. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams2, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output3, const RuntimeMethod* method);
  9352. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CalculateECDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters)
  9353. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___publicKey0, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privateKey1, const RuntimeMethod* method);
  9354. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
  9355. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats3, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats4, const RuntimeMethod* method);
  9356. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)
  9357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDsaSigner__ctor_mBBB83A299E4CEC6C914599E18856086222C54D1C (ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 * __this, RuntimeObject* ___kCalculator0, const RuntimeMethod* method);
  9358. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedEllipticCurvesExtension(System.Int32[])
  9359. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, const RuntimeMethod* method);
  9360. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedPointFormatsExtension(System.Byte[])
  9361. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, const RuntimeMethod* method);
  9362. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedEllipticCurvesExtension(System.Byte[])
  9363. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9364. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedPointFormatsExtension(System.Byte[])
  9365. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9366. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint16ArrayWithUint16Length(System.Int32[])
  9367. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint16ArrayWithUint16Length_m6E193436638D2ECF09204654D561C3F75837997E (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___uints0, const RuntimeMethod* method);
  9368. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Append(System.Byte[],System.Byte)
  9369. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_Append_mF0524124CC987A6B227F90E067B2D49C7E9B3453 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, uint8_t ___b1, const RuntimeMethod* method);
  9370. // System.Void System.IO.MemoryStream::.ctor(System.Byte[],System.Boolean)
  9371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, bool ___writable1, const RuntimeMethod* method);
  9372. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16Array(System.Int32,System.IO.Stream)
  9373. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC (int32_t ___count0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9374. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsSupportedNamedCurve(System.Int32)
  9375. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E (int32_t ___namedCurve0, const RuntimeMethod* method);
  9376. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetNameOfNamedCurve(System.Int32)
  9377. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7 (int32_t ___namedCurve0, const RuntimeMethod* method);
  9378. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.EC.CustomNamedCurves::GetByName(System.String)
  9379. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * CustomNamedCurves_GetByName_m3714C5F15D87C5C1EE6A4590996959CFC38392A9 (String_t* ___name0, const RuntimeMethod* method);
  9380. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.ECNamedCurveTable::GetByName(System.String)
  9381. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * ECNamedCurveTable_GetByName_mA8DE78BC6D92A23D063E9E1590CB30E5ECC1ECEA (String_t* ___name0, const RuntimeMethod* method);
  9382. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_Curve()
  9383. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
  9384. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_G()
  9385. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * X9ECParameters_get_G_m3E5E2F14805084623F3ABD4B9A98CDB8A72D2C71 (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
  9386. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_N()
  9387. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
  9388. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_H()
  9389. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
  9390. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::GetSeed()
  9391. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
  9392. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.Byte[])
  9393. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDomainParameters__ctor_m215ED4F7FB06CDD0F9AC3C670B20B1B75E03B47B (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___g1, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n2, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h3, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___seed4, const RuntimeMethod* method);
  9394. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsEccCipherSuite(System.Int32)
  9395. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929 (int32_t ___cipherSuite0, const RuntimeMethod* method);
  9396. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.BigIntegers::AsUnsignedByteArray(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9397. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* BigIntegers_AsUnsignedByteArray_mBECE598E3ED13CE9ED432BF265638BEF19A5B755 (int32_t ___length0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n1, const RuntimeMethod* method);
  9398. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECAlgorithms::IsFpCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve)
  9399. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B (ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___c0, const RuntimeMethod* method);
  9400. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsCompressionPreferred(System.Byte[],System.Byte)
  9401. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, uint8_t ___compressionFormat1, const RuntimeMethod* method);
  9402. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECAlgorithms::IsF2mCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve)
  9403. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161 (ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___c0, const RuntimeMethod* method);
  9404. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::get_Q()
  9405. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, const RuntimeMethod* method);
  9406. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint)
  9407. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, const RuntimeMethod* method);
  9408. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_Curve()
  9409. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
  9410. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,System.Byte[])
  9411. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method);
  9412. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
  9413. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECPublicKeyParameters__ctor_m48C5771CEB9C073FA70D828B80140DE028691A1A (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___q0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters1, const RuntimeMethod* method);
  9414. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::.ctor()
  9415. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDHBasicAgreement__ctor_m00A567A1CDA54D22181A8CF51412E87317BF38A8 (ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * __this, const RuntimeMethod* method);
  9416. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::.ctor()
  9417. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyPairGenerator__ctor_m3E5DF4978F1C839F707272852A3B483C4098B009 (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, const RuntimeMethod* method);
  9418. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9419. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyGenerationParameters__ctor_mA5CB698D521FF64B07B9ECD7B887FF2A061649AC (ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 * __this, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___domainParameters0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random1, const RuntimeMethod* method);
  9420. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters)
  9421. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyPairGenerator_Init_mF0A022CC0E7AB7ECBFD685EE8FD511A9F19E05DA (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39 * ___parameters0, const RuntimeMethod* method);
  9422. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::GenerateKeyPair()
  9423. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * ECKeyPairGenerator_GenerateKeyPair_mA51CD7D68EEA360DA677613188956CD3388B2B67 (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, const RuntimeMethod* method);
  9424. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateECKeyPair(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
  9425. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams1, const RuntimeMethod* method);
  9426. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,System.IO.Stream)
  9427. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9428. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NamedCurve::IsValid(System.Int32)
  9429. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NamedCurve_IsValid_m0203DA806E64A849497073EE536B9209FB7030C2 (int32_t ___namedCurve0, const RuntimeMethod* method);
  9430. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetParametersForNamedCurve(System.Int32)
  9431. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC (int32_t ___namedCurve0, const RuntimeMethod* method);
  9432. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteExplicitECParameters(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
  9433. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParameters1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9434. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteNamedECParameters(System.Int32,System.IO.Stream)
  9435. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C (int32_t ___namedCurve0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9436. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameter(System.IO.Stream)
  9437. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9438. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::get_BitLength()
  9439. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, const RuntimeMethod* method);
  9440. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::get_IntValue()
  9441. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_get_IntValue_m6386348CAE8E75A68124AD1F36F497FC551F8144 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, const RuntimeMethod* method);
  9442. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECFieldElement(System.Int32,System.Byte[])
  9443. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9 (int32_t ___fieldSize0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding1, const RuntimeMethod* method);
  9444. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CheckNamedCurve(System.Int32[],System.Int32)
  9445. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, int32_t ___namedCurve1, const RuntimeMethod* method);
  9446. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECFieldElement(System.Int32,System.IO.Stream)
  9447. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9448. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9449. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FpCurve__ctor_m2BBC566CAC9C3F165A2311D6287A1E639468ED67 (FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___q0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___a1, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___b2, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___order3, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___cofactor4, const RuntimeMethod* method);
  9450. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9451. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDomainParameters__ctor_mA420AB48ED683352BD3E1DA1B724B20B80C24DD3 (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___g1, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n2, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h3, const RuntimeMethod* method);
  9452. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ECBasisType::IsValid(System.Byte)
  9453. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECBasisType_IsValid_mC27A27CFF75A979A73D986CAA29F59855CE8FD8E (uint8_t ___ecBasisType0, const RuntimeMethod* method);
  9454. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECExponent(System.Int32,System.IO.Stream)
  9455. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615 (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9456. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::.ctor(System.Int32,System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9457. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void F2mCurve__ctor_m027D83DE3563DD6E62428D005DB642AF11937DC6 (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * __this, int32_t ___m0, int32_t ___k1, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___a2, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___b3, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___order4, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___cofactor5, const RuntimeMethod* method);
  9458. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9459. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void F2mCurve__ctor_mD221CFD31823473493B30851458AF95C4AC0B33B (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * __this, int32_t ___m0, int32_t ___k11, int32_t ___k22, int32_t ___k33, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___a4, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___b5, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___order6, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___cofactor7, const RuntimeMethod* method);
  9460. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NamedCurve::RefersToASpecificNamedCurve(System.Int32)
  9461. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E (int32_t ___namedCurve0, const RuntimeMethod* method);
  9462. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ValueOf(System.Int64)
  9463. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * BigInteger_ValueOf_m26A9968814DAF2363D8B71164672E6257BC82001 (int64_t ___value0, const RuntimeMethod* method);
  9464. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
  9465. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9466. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  9467. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, const RuntimeMethod* method);
  9468. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8(System.Byte,System.IO.Stream)
  9469. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825 (uint8_t ___i0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9470. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CheckUint16(System.Int32)
  9471. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12 (int32_t ___i0, const RuntimeMethod* method);
  9472. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16(System.Int32,System.IO.Stream)
  9473. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E (int32_t ___i0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9474. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECExponent(System.Int32,System.IO.Stream)
  9475. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36 (int32_t ___k0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9476. // System.Void System.ArgumentException::.ctor(System.String)
  9477. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, const RuntimeMethod* method);
  9478. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,System.IO.Stream)
  9479. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B (ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9480. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_G()
  9481. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
  9482. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_N()
  9483. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
  9484. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_H()
  9485. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
  9486. // System.Void System.IO.IOException::.ctor(System.String,System.Exception)
  9487. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IOException__ctor_m6FEE731FB9201F8322FB67EFEE6F43D424DFE1E7 (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
  9488. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateHashtable()
  9489. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06 (const RuntimeMethod* method);
  9490. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionClient(System.Byte[])
  9491. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes0, const RuntimeMethod* method);
  9492. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionServer(System.Byte)
  9493. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC (uint8_t ___certificateType0, const RuntimeMethod* method);
  9494. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEncryptThenMacExtension()
  9495. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73 (const RuntimeMethod* method);
  9496. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateExtendedMasterSecretExtension()
  9497. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011 (const RuntimeMethod* method);
  9498. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateHeartbeatExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
  9499. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884 (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension0, const RuntimeMethod* method);
  9500. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateMaxFragmentLengthExtension(System.Byte)
  9501. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD (uint8_t ___maxFragmentLength0, const RuntimeMethod* method);
  9502. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreatePaddingExtension(System.Int32)
  9503. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732 (int32_t ___dataLength0, const RuntimeMethod* method);
  9504. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateServerNameExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
  9505. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246 (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList0, const RuntimeMethod* method);
  9506. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateStatusRequestExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
  9507. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086 (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest0, const RuntimeMethod* method);
  9508. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateTruncatedHMacExtension()
  9509. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34 (const RuntimeMethod* method);
  9510. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionClient(System.Byte[])
  9511. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9512. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionServer(System.Byte[])
  9513. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9514. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadHeartbeatExtension(System.Byte[])
  9515. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9516. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadMaxFragmentLengthExtension(System.Byte[])
  9517. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9518. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadPaddingExtension(System.Byte[])
  9519. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9520. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadServerNameExtension(System.Byte[])
  9521. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9522. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadStatusRequestExtension(System.Byte[])
  9523. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9524. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEncryptThenMacExtension(System.Byte[])
  9525. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9526. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadExtendedMasterSecretExtension(System.Byte[])
  9527. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9528. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadTruncatedHMacExtension(System.Byte[])
  9529. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9530. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEmptyExtensionData()
  9531. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline (const RuntimeMethod* method);
  9532. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEmptyExtensionData(System.Byte[])
  9533. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9534. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::Parse(System.IO.Stream)
  9535. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * HeartbeatExtension_Parse_mEF43B54D435CB887090892A30DD3BC6371712CCE (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9536. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::Parse(System.IO.Stream)
  9537. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ServerNameList_Parse_m6438CE9C79DC77BAC6CE2B863828AE49ADB67F42 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9538. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::Parse(System.IO.Stream)
  9539. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * CertificateStatusRequest_Parse_mFE546FA55E39716667D76E62DFBC0EAFA02CBFA5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9540. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AlertDescription::GetText(System.Byte)
  9541. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E (uint8_t ___alertDescription0, const RuntimeMethod* method);
  9542. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException::.ctor(System.String,System.Exception)
  9543. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66 (TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 * __this, String_t* ___message0, Exception_t * ___cause1, const RuntimeMethod* method);
  9544. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::GetKey()
  9545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* KeyParameter_GetKey_mCA2C132B43F669063C426602DD5A8A672531385A (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * __this, const RuntimeMethod* method);
  9546. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9547. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Ssl3Mac__ctor_m0F273E8D113CF7441C28B0A02BB7F073DBE0AAD3 (Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
  9548. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9549. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HMac__ctor_m2F116E272494B59F6E93CF539BBAE3A571D0FBFE (HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
  9550. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Security.MacUtilities::DoFinal(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac)
  9551. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* MacUtilities_DoFinal_m07D2EDE7426AE8B7BB98545CFE3D0CB03393A7D4 (RuntimeObject* ___mac0, const RuntimeMethod* method);
  9552. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::CopyOf(System.Byte[],System.Int32)
  9553. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_CopyOf_m2B8A6EDB7EB962FAA8DC4F8C0F8511C0102C4872 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, int32_t ___newLength1, const RuntimeMethod* method);
  9554. // System.Void System.IO.EndOfStreamException::.ctor(System.String)
  9555. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EndOfStreamException__ctor_m62AD97E22305B690B74C4EA6E3EAC36D10CE3800 (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * __this, String_t* ___message0, const RuntimeMethod* method);
  9556. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::.ctor(System.Int32)
  9557. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___capacity0, const RuntimeMethod* method);
  9558. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol,System.IO.Stream,System.IO.Stream)
  9559. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream__ctor_m8712D6AB53DA18770CC24D867A4DD0BFCAA7E4CE (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___handler0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9560. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::.ctor()
  9561. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * __this, const RuntimeMethod* method);
  9562. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::.ctor(System.Byte)
  9563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
  9564. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SafeClose()
  9565. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9566. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.MaxFragmentLength::IsValid(System.Byte)
  9567. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79 (uint8_t ___maxFragmentLength0, const RuntimeMethod* method);
  9568. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetPlaintextLimit(System.Int32)
  9569. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SetPlaintextLimit_m51621D157A53043CCE5BC4BA4BA190391F5F695A (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, int32_t ___plaintextLimit0, const RuntimeMethod* method);
  9570. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Fill(System.Byte[],System.Byte)
  9571. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, uint8_t ___b1, const RuntimeMethod* method);
  9572. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::Shrink()
  9573. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method);
  9574. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::FinaliseHandshake()
  9575. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_FinaliseHandshake_mAA8B7BFF6E2C1A47D90E9006B5DA0ACFAE6CB720 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9576. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol)
  9577. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsStream__ctor_m5066C48F907ED400732E57F19BBF695296AE1EEF (TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * __this, TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___handler0, const RuntimeMethod* method);
  9578. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::.ctor()
  9579. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Builder__ctor_mE988E0105711C1C96058476761349B2017052378 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, const RuntimeMethod* method);
  9580. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetCipherSuite(System.Int32)
  9581. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetCipherSuite_mC1F1EE4077A53B058D4A2C73DE40AF3B475F5B69 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, int32_t ___cipherSuite0, const RuntimeMethod* method);
  9582. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetCompressionAlgorithm(System.Byte)
  9583. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetCompressionAlgorithm_m45E921336E7C496AD188939DDB2D2AFBECADED87 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, uint8_t ___compressionAlgorithm0, const RuntimeMethod* method);
  9584. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetExtendedMasterSecret(System.Boolean)
  9585. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetExtendedMasterSecret_m76C730F21B480C125DDD9BE793F7CB7F4C51A1E9 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, bool ___extendedMasterSecret0, const RuntimeMethod* method);
  9586. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetMasterSecret(System.Byte[])
  9587. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetMasterSecret_m53CAAD98FA7CB308C43C591AFF63BB2E45995770 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___masterSecret0, const RuntimeMethod* method);
  9588. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetPeerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  9589. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetPeerCertificate_mF41ED1BB97B965EEB5AD4D5F9E7492097BE9C20F (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___peerCertificate0, const RuntimeMethod* method);
  9590. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetPskIdentity(System.Byte[])
  9591. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetPskIdentity_m2DFDC64692A71857E58FD2F384023C4BCF209341 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pskIdentity0, const RuntimeMethod* method);
  9592. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetSrpIdentity(System.Byte[])
  9593. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetSrpIdentity_m78995F21BE245249A3916F395564D0C89814AF9F (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___srpIdentity0, const RuntimeMethod* method);
  9594. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetServerExtensions(System.Collections.IDictionary)
  9595. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetServerExtensions_mB625AB7258E79FA07D8493F614D2D8845938A9F4 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, RuntimeObject* ___serverExtensions0, const RuntimeMethod* method);
  9596. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::Build()
  9597. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * Builder_Build_m25E6C6D3E14797CC0156E1C9FC2062BE805CB2D0 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, const RuntimeMethod* method);
  9598. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::AddData(System.Byte[],System.Int32,System.Int32)
  9599. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, int32_t ___offset1, int32_t ___len2, const RuntimeMethod* method);
  9600. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessAlertQueue()
  9601. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
  9602. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessApplicationDataQueue()
  9603. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
  9604. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessChangeCipherSpec(System.Byte[],System.Int32,System.Int32)
  9605. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, const RuntimeMethod* method);
  9606. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::get_Available()
  9607. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method);
  9608. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessHandshakeQueue(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue)
  9609. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___queue0, const RuntimeMethod* method);
  9610. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::.ctor(System.Byte[],System.Int32,System.Int32)
  9611. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue__ctor_m0C89EBB061E9F38ED27DAD4475CFAAB2E586B7D4 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, const RuntimeMethod* method);
  9612. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::Read(System.Byte[],System.Int32,System.Int32,System.Int32)
  9613. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_Read_mE15C131ABFE6BBCB9F6D2603B03791FB8ACCA1EA (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, int32_t ___len2, int32_t ___skip3, const RuntimeMethod* method);
  9614. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8(System.Byte[],System.Int32)
  9615. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
  9616. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint24(System.Byte[],System.Int32)
  9617. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint24_mE47D3CE63AF329C4F7204B2F1CE320BFC8159BA3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
  9618. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_HandshakeHashUpdater()
  9619. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9620. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::CopyTo(System.IO.Stream,System.Int32)
  9621. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_CopyTo_mD77BC0C4CEC7DC65E84CEF8FE8118341AC527B92 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, int32_t ___length1, const RuntimeMethod* method);
  9622. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Int32)
  9623. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_RemoveData_m266F5BDC7CFC94D26B9EF74E1D26C8C212262F00 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___i0, const RuntimeMethod* method);
  9624. // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::ReadFrom(System.Int32)
  9625. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ByteQueue_ReadFrom_m18A085C108194E880824DBE87A746A6A221FE80E (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___length0, const RuntimeMethod* method);
  9626. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Int32,System.Int32)
  9627. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ByteQueue_RemoveData_m3162B7DD9CE22199A6AFC6F3F8FE27F4606622A4 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___len0, int32_t ___skip1, const RuntimeMethod* method);
  9628. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::ReceivedReadCipherSpec()
  9629. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_ReceivedReadCipherSpec_m32F30B23085A98C4AF5E08370E73B25D88BEA901 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9630. // System.Void System.IO.IOException::.ctor(System.String)
  9631. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690 (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * __this, String_t* ___message0, const RuntimeMethod* method);
  9632. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Byte[],System.Int32,System.Int32,System.Int32)
  9633. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_RemoveData_m55688B85979D2459B82FE58673243941E1B3DCE5 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, int32_t ___skip3, const RuntimeMethod* method);
  9634. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::CheckRecordHeader(System.Byte[])
  9635. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_CheckRecordHeader_m29044432FF8CD46B58BFE538261A9372A9B1CCAE (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___recordHeader0, const RuntimeMethod* method);
  9636. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::ReadRecord()
  9637. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RecordStream_ReadRecord_mFACDFFD3F4C551076A0E33FA9F088F5D8E3FE914 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9638. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException::.ctor()
  9639. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5 (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * __this, const RuntimeMethod* method);
  9640. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::WriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
  9641. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_WriteRecord_m2B1018B88F35925BF5B33983BA1FA75F99FE110C (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, uint8_t ___type0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___plaintext1, int32_t ___plaintextOffset2, int32_t ___plaintextLength3, const RuntimeMethod* method);
  9642. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::GetPlaintextLimit()
  9643. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9644. // System.String System.Int32::ToString()
  9645. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411 (int32_t* __this, const RuntimeMethod* method);
  9646. // System.String System.String::Concat(System.String,System.String)
  9647. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
  9648. // System.Void System.ArgumentException::.ctor(System.String,System.String)
  9649. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, String_t* ___paramName1, const RuntimeMethod* method);
  9650. // System.Void System.IO.EndOfStreamException::.ctor()
  9651. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EndOfStreamException__ctor_m2D2184E744B5B0762EA690CFD757F64E0BC6D539 (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * __this, const RuntimeMethod* method);
  9652. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16(System.Byte[],System.Int32)
  9653. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint16_m1E5799E6E15832FAB71BF8BE758A1679A7BACE97 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
  9654. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::Clear()
  9655. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SessionParameters_Clear_m52D91A2DD15900F6C4754E12966AD000EC3A9232 (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
  9656. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SentWriteCipherSpec()
  9657. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SentWriteCipherSpec_mFD2E540F193E56A715D677C91BF149E829F0FC1A (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9658. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::.ctor(System.Byte,System.Int32)
  9659. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, uint8_t ___handshakeType0, int32_t ___length1, const RuntimeMethod* method);
  9660. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSupplementalData(System.IO.Stream,System.Collections.IList)
  9661. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___supplementalData1, const RuntimeMethod* method);
  9662. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateVerifyData(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.String,System.Byte[])
  9663. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateVerifyData_m2DF91E1B5E4AB70894595689E772ACFC09D0DE73 (RuntimeObject* ___context0, String_t* ___asciiLabel1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___handshakeHash2, const RuntimeMethod* method);
  9664. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::Flush()
  9665. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_Flush_mA29E8F83F3B90192E971F3DC0CB33FDCABC9A542 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
  9666. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetMaxFragmentLengthExtension(System.Collections.IDictionary)
  9667. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9668. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteGmtUnixTime(System.Byte[],System.Int32)
  9669. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteGmtUnixTime_mFBD89415A70AA088F3A67E91356310E06277AA0D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
  9670. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeOpaque8(System.Byte[])
  9671. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeOpaque8_mE549B2AED00C2DFF09A20DC7D56C7E0DB53B6066 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
  9672. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Byte[])
  9673. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateMasterSecret_mB85088F4CCA5E986737042327EE67F4DC64931EE (RuntimeObject* ___context0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pre_master_secret1, const RuntimeMethod* method);
  9674. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque24(System.IO.Stream)
  9675. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque24_mAD1098801E362CB40F509F6BDB4107DB9F8B3F2B (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
  9676. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateArrayList()
  9677. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Platform_CreateArrayList_mDA08F8A3BC566FA8E0753B97D8B06F3EF26A4143 (const RuntimeMethod* method);
  9678. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::.ctor(System.Int32,System.Byte[])
  9679. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupplementalDataEntry__ctor_m5B61B00A2178D43BCF0783AB999DC08BFA76732F (SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * __this, int32_t ___dataType0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data1, const RuntimeMethod* method);
  9680. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSelectedExtensions(System.IO.Stream,System.Collections.IDictionary,System.Boolean)
  9681. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, bool ___selectEmpty2, const RuntimeMethod* method);
  9682. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque24(System.Byte[],System.IO.Stream)
  9683. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque24_mCCD10ABBB7A9ADBA3F2F10F716B1EF7485E3AB75 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
  9684. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  9685. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method);
  9686. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.Int32[],System.Byte[],System.Byte[])
  9687. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___pskIdentity2, RuntimeObject* ___pskIdentityManager3, RuntimeObject* ___dhVerifier4, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters5, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves6, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats7, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats8, const RuntimeMethod* method);
  9688. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter::get_IsPrivate()
  9689. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline (AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * __this, const RuntimeMethod* method);
  9690. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities::GenerateEncryptedPreMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters,System.IO.Stream)
  9691. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPublicKey1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
  9692. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Streams::ReadAll(System.IO.Stream)
  9693. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___inStr0, const RuntimeMethod* method);
  9694. // System.Void System.IO.MemoryStream::.ctor(System.Int32)
  9695. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_mCB4274FF375AD786CCED424E80B047E0DEC50938 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, int32_t ___capacity0, const RuntimeMethod* method);
  9696. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::get_Exponent()
  9697. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline (RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * __this, const RuntimeMethod* method);
  9698. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::IsProbablePrime(System.Int32)
  9699. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___certainty0, const RuntimeMethod* method);
  9700. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::.ctor()
  9701. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CombinedHash__ctor_mAF1B1EC0CA417999390BD6FC66BC734372E19D4D (CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 * __this, const RuntimeMethod* method);
  9702. // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetOidForHashAlgorithm(System.Byte)
  9703. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * TlsUtilities_GetOidForHashAlgorithm_mAED1F6BCB8CBF66A70EC441040D91A6C02DC17E7 (uint8_t ___hashAlgorithm0, const RuntimeMethod* method);
  9704. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier)
  9705. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RsaDigestSigner__ctor_mD472AA69794114573ABDDF074D02205F4E89A5B6 (RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC * __this, RuntimeObject* ___digest0, DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___digestOid1, const RuntimeMethod* method);
  9706. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  9707. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GenericSigner__ctor_mBA7C6A7161C93D290DF85B252DB80D515C4441E9 (GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E * __this, RuntimeObject* ___engine0, RuntimeObject* ___digest1, const RuntimeMethod* method);
  9708. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::.ctor()
  9709. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31 (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * __this, const RuntimeMethod* method);
  9710. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher)
  9711. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7 (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, RuntimeObject* ___cipher0, const RuntimeMethod* method);
  9712. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
  9713. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3 (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, bool ___forEncryption0, RuntimeObject* ___parameters1, const RuntimeMethod* method);
  9714. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::ProcessBlock(System.Byte[],System.Int32,System.Int32)
  9715. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Pkcs1Encoding_ProcessBlock_m3F83A5D5E8BB728A0F13518784DA63EB32E85843 (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___input0, int32_t ___inOff1, int32_t ___length2, const RuntimeMethod* method);
  9716. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,System.Byte[])
  9717. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding__ctor_m7209D642D73AEEEA93FAD564BC62B57C58A3811F (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, RuntimeObject* ___cipher0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___fallback1, const RuntimeMethod* method);
  9718. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_MajorVersion()
  9719. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ProtocolVersion_get_MajorVersion_mCDB5EA5B771D23FAD458103A4E528238B8A311C5 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
  9720. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_MinorVersion()
  9721. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ProtocolVersion_get_MinorVersion_m4650B25C1A6717658D8DDFACB6C25EFF2F8A43C5 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
  9722. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::CreateUseSrtpExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
  9723. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSrtpData0, const RuntimeMethod* method);
  9724. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::ReadUseSrtpExtension(System.Byte[])
  9725. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
  9726. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::.ctor(System.Int32[],System.Byte[])
  9727. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UseSrtpData__ctor_m315F9112A763358E4E5BACC1B3D0E0B23BDF7AEC (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * __this, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___protectionProfiles0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mki1, const RuntimeMethod* method);
  9728. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  9729. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9 (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
  9730. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetRestrictReadVersion(System.Boolean)
  9731. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, bool ___enabled0, const RuntimeMethod* method);
  9732. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte)
  9733. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
  9734. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetClientCertificateType(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  9735. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsUtilities_GetClientCertificateType_mAE0F44C7FD3D721D4C0B7D82921FDD21AC2A4F29 (Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate1, const RuntimeMethod* method);
  9736. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Parse(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.IO.Stream)
  9737. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * DigitallySigned_Parse_m258106102318F297392C5F9705890CCA96F399A2 (RuntimeObject* ___context0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9738. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::VerifySupportedSignatureAlgorithm(System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm)
  9739. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_VerifySupportedSignatureAlgorithm_mB7A7E8BDC377BAB0E781A0537344D18F56F2E59A (RuntimeObject* ___supportedSignatureAlgorithms0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___signatureAlgorithm1, const RuntimeMethod* method);
  9740. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateTlsSigner(System.Byte)
  9741. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateTlsSigner_m7414649CB3AF308E08E9D2C2CA4D6ECA734A479F (uint8_t ___clientCertificateType0, const RuntimeMethod* method);
  9742. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8Array(System.Int32,System.IO.Stream)
  9743. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadUint8Array_m24B3E47B01E3CC1A702DAD1088D1DBF3CD2459D7 (int32_t ___count0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
  9744. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetPaddingExtension(System.Collections.IDictionary)
  9745. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
  9746. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::set_ReadVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
  9747. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___value0, const RuntimeMethod* method);
  9748. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint24(System.Int32,System.Byte[],System.Int32)
  9749. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint24_mCF0566BA8435AE3747917DE7F5A575C323C40ECF (int32_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
  9750. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::HasSigningCapability(System.Byte)
  9751. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_HasSigningCapability_mFFC9436C58DCC2B37C956BB17DB94F8BD8B6360D (uint8_t ___clientCertificateType0, const RuntimeMethod* method);
  9752. // System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
  9753. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929 (const RuntimeMethod* method);
  9754. #ifdef __clang__
  9755. #pragma clang diagnostic push
  9756. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  9757. #pragma clang diagnostic ignored "-Wunused-variable"
  9758. #endif
  9759. // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::Awake()
  9760. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor_Awake_m2F595C9C46994AA3AA219F7C9583EF23F9F4539A (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
  9761. {
  9762. static bool s_Il2CppMethodInitialized;
  9763. if (!s_Il2CppMethodInitialized)
  9764. {
  9765. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC4DD6340633814C3151204675FB9D82D4702E319);
  9766. s_Il2CppMethodInitialized = true;
  9767. }
  9768. {
  9769. // Invoke("DestroyNow", m_TimeOut);
  9770. float L_0 = __this->get_m_TimeOut_4();
  9771. MonoBehaviour_Invoke_m4AAB759653B1C6FB0653527F4DDC72D1E9162CC4(__this, _stringLiteralC4DD6340633814C3151204675FB9D82D4702E319, L_0, /*hidden argument*/NULL);
  9772. // }
  9773. return;
  9774. }
  9775. }
  9776. // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::DestroyNow()
  9777. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor_DestroyNow_mDF4DEF5006FEE0D6A216A8AF1625B1005A842D4A (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
  9778. {
  9779. static bool s_Il2CppMethodInitialized;
  9780. if (!s_Il2CppMethodInitialized)
  9781. {
  9782. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
  9783. s_Il2CppMethodInitialized = true;
  9784. }
  9785. {
  9786. // if (m_DetachChildren)
  9787. bool L_0 = __this->get_m_DetachChildren_5();
  9788. if (!L_0)
  9789. {
  9790. goto IL_0013;
  9791. }
  9792. }
  9793. {
  9794. // transform.DetachChildren();
  9795. Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * L_1;
  9796. L_1 = Component_get_transform_mE8496EBC45BEB1BADB5F314960F1DF1C952FA11F(__this, /*hidden argument*/NULL);
  9797. NullCheck(L_1);
  9798. Transform_DetachChildren_m0800099F604AB1B59A72AC83E175B964B1EDFEF2(L_1, /*hidden argument*/NULL);
  9799. }
  9800. IL_0013:
  9801. {
  9802. // Destroy(gameObject);
  9803. GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 * L_2;
  9804. L_2 = Component_get_gameObject_m55DC35B149AFB9157582755383BA954655FE0C5B(__this, /*hidden argument*/NULL);
  9805. IL2CPP_RUNTIME_CLASS_INIT(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
  9806. Object_Destroy_m3EEDB6ECD49A541EC826EA8E1C8B599F7AF67D30(L_2, /*hidden argument*/NULL);
  9807. // }
  9808. return;
  9809. }
  9810. }
  9811. // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::.ctor()
  9812. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor__ctor_m3B0E2CAF3EF3FC9E18F9DE8644F5A6375034DC25 (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
  9813. {
  9814. {
  9815. // [SerializeField] private float m_TimeOut = 1.0f;
  9816. __this->set_m_TimeOut_4((1.0f));
  9817. MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED(__this, /*hidden argument*/NULL);
  9818. return;
  9819. }
  9820. }
  9821. #ifdef __clang__
  9822. #pragma clang diagnostic pop
  9823. #endif
  9824. #ifdef __clang__
  9825. #pragma clang diagnostic push
  9826. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  9827. #pragma clang diagnostic ignored "-Wunused-variable"
  9828. #endif
  9829. // System.Void DragonBones.TimelineData::_OnClear()
  9830. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineData__OnClear_mE22962EC3C4E6CF029C25093AF43F82B77C99B52 (TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * __this, const RuntimeMethod* method)
  9831. {
  9832. {
  9833. // this.type = TimelineType.BoneAll;
  9834. __this->set_type_5(((int32_t)10));
  9835. // this.offset = 0;
  9836. __this->set_offset_6(0);
  9837. // this.frameIndicesOffset = -1;
  9838. __this->set_frameIndicesOffset_7((-1));
  9839. // }
  9840. return;
  9841. }
  9842. }
  9843. // System.Void DragonBones.TimelineData::.ctor()
  9844. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineData__ctor_m8FF5D3466EC0A614BEA0C7F7C5332A3DCF6224B7 (TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * __this, const RuntimeMethod* method)
  9845. {
  9846. static bool s_Il2CppMethodInitialized;
  9847. if (!s_Il2CppMethodInitialized)
  9848. {
  9849. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
  9850. s_Il2CppMethodInitialized = true;
  9851. }
  9852. {
  9853. IL2CPP_RUNTIME_CLASS_INIT(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
  9854. BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F(__this, /*hidden argument*/NULL);
  9855. return;
  9856. }
  9857. }
  9858. #ifdef __clang__
  9859. #pragma clang diagnostic pop
  9860. #endif
  9861. #ifdef __clang__
  9862. #pragma clang diagnostic push
  9863. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  9864. #pragma clang diagnostic ignored "-Wunused-variable"
  9865. #endif
  9866. // System.Void DragonBones.TimelineState::_OnClear()
  9867. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState__OnClear_m80BC45A0B0C80E4CC0EE2B589EFFF8D5C30D06EE (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
  9868. {
  9869. {
  9870. // this.playState = -1;
  9871. __this->set_playState_5((-1));
  9872. // this.currentPlayTimes = -1;
  9873. __this->set_currentPlayTimes_6((-1));
  9874. // this.currentTime = -1.0f;
  9875. __this->set_currentTime_7((-1.0f));
  9876. // this._tweenState = TweenState.None;
  9877. __this->set__tweenState_8(0);
  9878. // this._frameRate = 0;
  9879. __this->set__frameRate_9(0);
  9880. // this._frameValueOffset = 0;
  9881. __this->set__frameValueOffset_10(0);
  9882. // this._frameCount = 0;
  9883. __this->set__frameCount_11(0);
  9884. // this._frameOffset = 0;
  9885. __this->set__frameOffset_12(0);
  9886. // this._frameIndex = -1;
  9887. __this->set__frameIndex_13((-1));
  9888. // this._frameRateR = 0.0f;
  9889. __this->set__frameRateR_14((0.0f));
  9890. // this._position = 0.0f;
  9891. __this->set__position_15((0.0f));
  9892. // this._duration = 0.0f;
  9893. __this->set__duration_16((0.0f));
  9894. // this._timeScale = 1.0f;
  9895. __this->set__timeScale_17((1.0f));
  9896. // this._timeOffset = 0.0f;
  9897. __this->set__timeOffset_18((0.0f));
  9898. // this._dragonBonesData = null;
  9899. __this->set__dragonBonesData_19((DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 *)NULL);
  9900. // this._animationData = null;
  9901. __this->set__animationData_20((AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 *)NULL);
  9902. // this._timelineData = null;
  9903. __this->set__timelineData_21((TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D *)NULL);
  9904. // this._armature = null;
  9905. __this->set__armature_22((Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD *)NULL);
  9906. // this._animationState = null;
  9907. __this->set__animationState_23((AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E *)NULL);
  9908. // this._actionTimeline = null;
  9909. __this->set__actionTimeline_24((TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)NULL);
  9910. // this._frameArray = null;
  9911. __this->set__frameArray_25((Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)NULL);
  9912. // this._frameIntArray = null;
  9913. __this->set__frameIntArray_26((Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)NULL);
  9914. // this._frameFloatArray = null;
  9915. __this->set__frameFloatArray_27((SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*)NULL);
  9916. // this._timelineArray = null;
  9917. __this->set__timelineArray_28((UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67*)NULL);
  9918. // this._frameIndices = null;
  9919. __this->set__frameIndices_29((List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 *)NULL);
  9920. // }
  9921. return;
  9922. }
  9923. }
  9924. // System.Boolean DragonBones.TimelineState::_SetCurrentTime(System.Single)
  9925. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method)
  9926. {
  9927. int32_t V_0 = 0;
  9928. int32_t V_1 = 0;
  9929. float V_2 = 0.0f;
  9930. int32_t V_3 = 0;
  9931. float V_4 = 0.0f;
  9932. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B4_0 = NULL;
  9933. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B3_0 = NULL;
  9934. int32_t G_B5_0 = 0;
  9935. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B5_1 = NULL;
  9936. {
  9937. // var prevState = this.playState;
  9938. int32_t L_0 = __this->get_playState_5();
  9939. V_0 = L_0;
  9940. // var prevPlayTimes = this.currentPlayTimes;
  9941. int32_t L_1 = __this->get_currentPlayTimes_6();
  9942. V_1 = L_1;
  9943. // var prevTime = this.currentTime;
  9944. float L_2 = __this->get_currentTime_7();
  9945. V_2 = L_2;
  9946. // if (this._actionTimeline != null && this._frameCount <= 1)
  9947. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_3 = __this->get__actionTimeline_24();
  9948. if (!L_3)
  9949. {
  9950. goto IL_005b;
  9951. }
  9952. }
  9953. {
  9954. uint32_t L_4 = __this->get__frameCount_11();
  9955. if ((!(((uint32_t)L_4) <= ((uint32_t)1))))
  9956. {
  9957. goto IL_005b;
  9958. }
  9959. }
  9960. {
  9961. // this.playState = this._actionTimeline.playState >= 0 ? 1 : -1;
  9962. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_5 = __this->get__actionTimeline_24();
  9963. NullCheck(L_5);
  9964. int32_t L_6 = L_5->get_playState_5();
  9965. G_B3_0 = __this;
  9966. if ((((int32_t)L_6) >= ((int32_t)0)))
  9967. {
  9968. G_B4_0 = __this;
  9969. goto IL_0038;
  9970. }
  9971. }
  9972. {
  9973. G_B5_0 = (-1);
  9974. G_B5_1 = G_B3_0;
  9975. goto IL_0039;
  9976. }
  9977. IL_0038:
  9978. {
  9979. G_B5_0 = 1;
  9980. G_B5_1 = G_B4_0;
  9981. }
  9982. IL_0039:
  9983. {
  9984. NullCheck(G_B5_1);
  9985. G_B5_1->set_playState_5(G_B5_0);
  9986. // this.currentPlayTimes = 1;
  9987. __this->set_currentPlayTimes_6(1);
  9988. // this.currentTime = this._actionTimeline.currentTime;
  9989. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_7 = __this->get__actionTimeline_24();
  9990. NullCheck(L_7);
  9991. float L_8 = L_7->get_currentTime_7();
  9992. __this->set_currentTime_7(L_8);
  9993. // }
  9994. goto IL_01d8;
  9995. }
  9996. IL_005b:
  9997. {
  9998. // else if (this._actionTimeline == null || this._timeScale != 1.0f || this._timeOffset != 0.0f)
  9999. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_9 = __this->get__actionTimeline_24();
  10000. if (!L_9)
  10001. {
  10002. goto IL_0080;
  10003. }
  10004. }
  10005. {
  10006. float L_10 = __this->get__timeScale_17();
  10007. if ((!(((float)L_10) == ((float)(1.0f)))))
  10008. {
  10009. goto IL_0080;
  10010. }
  10011. }
  10012. {
  10013. float L_11 = __this->get__timeOffset_18();
  10014. if ((((float)L_11) == ((float)(0.0f))))
  10015. {
  10016. goto IL_01a5;
  10017. }
  10018. }
  10019. IL_0080:
  10020. {
  10021. // var playTimes = this._animationState.playTimes;
  10022. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_12 = __this->get__animationState_23();
  10023. NullCheck(L_12);
  10024. int32_t L_13 = L_12->get_playTimes_9();
  10025. V_3 = L_13;
  10026. // var totalTime = playTimes * this._duration;
  10027. int32_t L_14 = V_3;
  10028. float L_15 = __this->get__duration_16();
  10029. V_4 = ((float)il2cpp_codegen_multiply((float)((float)((float)L_14)), (float)L_15));
  10030. // passedTime *= this._timeScale;
  10031. float L_16 = ___passedTime0;
  10032. float L_17 = __this->get__timeScale_17();
  10033. ___passedTime0 = ((float)il2cpp_codegen_multiply((float)L_16, (float)L_17));
  10034. // if (this._timeOffset != 0.0f)
  10035. float L_18 = __this->get__timeOffset_18();
  10036. if ((((float)L_18) == ((float)(0.0f))))
  10037. {
  10038. goto IL_00c4;
  10039. }
  10040. }
  10041. {
  10042. // passedTime += this._timeOffset * this._animationData.duration;
  10043. float L_19 = ___passedTime0;
  10044. float L_20 = __this->get__timeOffset_18();
  10045. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_21 = __this->get__animationData_20();
  10046. NullCheck(L_21);
  10047. float L_22 = L_21->get_duration_10();
  10048. ___passedTime0 = ((float)il2cpp_codegen_add((float)L_19, (float)((float)il2cpp_codegen_multiply((float)L_20, (float)L_22))));
  10049. }
  10050. IL_00c4:
  10051. {
  10052. // if (playTimes > 0 && (passedTime >= totalTime || passedTime <= -totalTime))
  10053. int32_t L_23 = V_3;
  10054. if ((((int32_t)L_23) <= ((int32_t)0)))
  10055. {
  10056. goto IL_0124;
  10057. }
  10058. }
  10059. {
  10060. float L_24 = ___passedTime0;
  10061. float L_25 = V_4;
  10062. if ((((float)L_24) >= ((float)L_25)))
  10063. {
  10064. goto IL_00d3;
  10065. }
  10066. }
  10067. {
  10068. float L_26 = ___passedTime0;
  10069. float L_27 = V_4;
  10070. if ((!(((float)L_26) <= ((float)((-L_27))))))
  10071. {
  10072. goto IL_0124;
  10073. }
  10074. }
  10075. IL_00d3:
  10076. {
  10077. // if (this.playState <= 0 && this._animationState._playheadState == 3)
  10078. int32_t L_28 = __this->get_playState_5();
  10079. if ((((int32_t)L_28) > ((int32_t)0)))
  10080. {
  10081. goto IL_00f1;
  10082. }
  10083. }
  10084. {
  10085. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_29 = __this->get__animationState_23();
  10086. NullCheck(L_29);
  10087. int32_t L_30 = L_29->get__playheadState_18();
  10088. if ((!(((uint32_t)L_30) == ((uint32_t)3))))
  10089. {
  10090. goto IL_00f1;
  10091. }
  10092. }
  10093. {
  10094. // this.playState = 1;
  10095. __this->set_playState_5(1);
  10096. }
  10097. IL_00f1:
  10098. {
  10099. // this.currentPlayTimes = playTimes;
  10100. int32_t L_31 = V_3;
  10101. __this->set_currentPlayTimes_6(L_31);
  10102. // if (passedTime < 0.0f)
  10103. float L_32 = ___passedTime0;
  10104. if ((!(((float)L_32) < ((float)(0.0f)))))
  10105. {
  10106. goto IL_0110;
  10107. }
  10108. }
  10109. {
  10110. // this.currentTime = 0.0f;
  10111. __this->set_currentTime_7((0.0f));
  10112. // }
  10113. goto IL_0190;
  10114. }
  10115. IL_0110:
  10116. {
  10117. // this.currentTime = this._duration + 0.000001f; // Precision problem
  10118. float L_33 = __this->get__duration_16();
  10119. __this->set_currentTime_7(((float)il2cpp_codegen_add((float)L_33, (float)(9.99999997E-07f))));
  10120. // }
  10121. goto IL_0190;
  10122. }
  10123. IL_0124:
  10124. {
  10125. // if (this.playState != 0 && this._animationState._playheadState == 3)
  10126. int32_t L_34 = __this->get_playState_5();
  10127. if (!L_34)
  10128. {
  10129. goto IL_0141;
  10130. }
  10131. }
  10132. {
  10133. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_35 = __this->get__animationState_23();
  10134. NullCheck(L_35);
  10135. int32_t L_36 = L_35->get__playheadState_18();
  10136. if ((!(((uint32_t)L_36) == ((uint32_t)3))))
  10137. {
  10138. goto IL_0141;
  10139. }
  10140. }
  10141. {
  10142. // this.playState = 0;
  10143. __this->set_playState_5(0);
  10144. }
  10145. IL_0141:
  10146. {
  10147. // if (passedTime < 0.0f)
  10148. float L_37 = ___passedTime0;
  10149. if ((!(((float)L_37) < ((float)(0.0f)))))
  10150. {
  10151. goto IL_0173;
  10152. }
  10153. }
  10154. {
  10155. // passedTime = -passedTime;
  10156. float L_38 = ___passedTime0;
  10157. ___passedTime0 = ((-L_38));
  10158. // this.currentPlayTimes = (int)(passedTime / this._duration);
  10159. float L_39 = ___passedTime0;
  10160. float L_40 = __this->get__duration_16();
  10161. __this->set_currentPlayTimes_6(((int32_t)((int32_t)((float)((float)L_39/(float)L_40)))));
  10162. // this.currentTime = this._duration - (passedTime % this._duration);
  10163. float L_41 = __this->get__duration_16();
  10164. float L_42 = ___passedTime0;
  10165. float L_43 = __this->get__duration_16();
  10166. __this->set_currentTime_7(((float)il2cpp_codegen_subtract((float)L_41, (float)(fmodf(L_42, L_43)))));
  10167. // }
  10168. goto IL_0190;
  10169. }
  10170. IL_0173:
  10171. {
  10172. // this.currentPlayTimes = (int)(passedTime / this._duration);
  10173. float L_44 = ___passedTime0;
  10174. float L_45 = __this->get__duration_16();
  10175. __this->set_currentPlayTimes_6(((int32_t)((int32_t)((float)((float)L_44/(float)L_45)))));
  10176. // this.currentTime = passedTime % this._duration;
  10177. float L_46 = ___passedTime0;
  10178. float L_47 = __this->get__duration_16();
  10179. __this->set_currentTime_7((fmodf(L_46, L_47)));
  10180. }
  10181. IL_0190:
  10182. {
  10183. // this.currentTime += this._position;
  10184. float L_48 = __this->get_currentTime_7();
  10185. float L_49 = __this->get__position_15();
  10186. __this->set_currentTime_7(((float)il2cpp_codegen_add((float)L_48, (float)L_49)));
  10187. // }
  10188. goto IL_01d8;
  10189. }
  10190. IL_01a5:
  10191. {
  10192. // this.playState = this._actionTimeline.playState;
  10193. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_50 = __this->get__actionTimeline_24();
  10194. NullCheck(L_50);
  10195. int32_t L_51 = L_50->get_playState_5();
  10196. __this->set_playState_5(L_51);
  10197. // this.currentPlayTimes = this._actionTimeline.currentPlayTimes;
  10198. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_52 = __this->get__actionTimeline_24();
  10199. NullCheck(L_52);
  10200. int32_t L_53 = L_52->get_currentPlayTimes_6();
  10201. __this->set_currentPlayTimes_6(L_53);
  10202. // this.currentTime = this._actionTimeline.currentTime;
  10203. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_54 = __this->get__actionTimeline_24();
  10204. NullCheck(L_54);
  10205. float L_55 = L_54->get_currentTime_7();
  10206. __this->set_currentTime_7(L_55);
  10207. }
  10208. IL_01d8:
  10209. {
  10210. // if (this.currentPlayTimes == prevPlayTimes && this.currentTime == prevTime)
  10211. int32_t L_56 = __this->get_currentPlayTimes_6();
  10212. int32_t L_57 = V_1;
  10213. if ((!(((uint32_t)L_56) == ((uint32_t)L_57))))
  10214. {
  10215. goto IL_01ec;
  10216. }
  10217. }
  10218. {
  10219. float L_58 = __this->get_currentTime_7();
  10220. float L_59 = V_2;
  10221. if ((!(((float)L_58) == ((float)L_59))))
  10222. {
  10223. goto IL_01ec;
  10224. }
  10225. }
  10226. {
  10227. // return false;
  10228. return (bool)0;
  10229. }
  10230. IL_01ec:
  10231. {
  10232. // if ((prevState < 0 && this.playState != prevState) || (this.playState <= 0 && this.currentPlayTimes != prevPlayTimes))
  10233. int32_t L_60 = V_0;
  10234. if ((((int32_t)L_60) >= ((int32_t)0)))
  10235. {
  10236. goto IL_01f9;
  10237. }
  10238. }
  10239. {
  10240. int32_t L_61 = __this->get_playState_5();
  10241. int32_t L_62 = V_0;
  10242. if ((!(((uint32_t)L_61) == ((uint32_t)L_62))))
  10243. {
  10244. goto IL_020b;
  10245. }
  10246. }
  10247. IL_01f9:
  10248. {
  10249. int32_t L_63 = __this->get_playState_5();
  10250. if ((((int32_t)L_63) > ((int32_t)0)))
  10251. {
  10252. goto IL_0212;
  10253. }
  10254. }
  10255. {
  10256. int32_t L_64 = __this->get_currentPlayTimes_6();
  10257. int32_t L_65 = V_1;
  10258. if ((((int32_t)L_64) == ((int32_t)L_65)))
  10259. {
  10260. goto IL_0212;
  10261. }
  10262. }
  10263. IL_020b:
  10264. {
  10265. // this._frameIndex = -1;
  10266. __this->set__frameIndex_13((-1));
  10267. }
  10268. IL_0212:
  10269. {
  10270. // return true;
  10271. return (bool)1;
  10272. }
  10273. }
  10274. // System.Void DragonBones.TimelineState::Init(DragonBones.Armature,DragonBones.AnimationState,DragonBones.TimelineData)
  10275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState_Init_m6A36DCC88B6F68161019811AC31BD812C13B0B4F (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * ___armature0, AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * ___animationState1, TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ___timelineData2, const RuntimeMethod* method)
  10276. {
  10277. uint16_t V_0 = 0;
  10278. float G_B5_0 = 0.0f;
  10279. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B5_1 = NULL;
  10280. float G_B4_0 = 0.0f;
  10281. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B4_1 = NULL;
  10282. float G_B6_0 = 0.0f;
  10283. float G_B6_1 = 0.0f;
  10284. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B6_2 = NULL;
  10285. {
  10286. // this._armature = armature;
  10287. Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_0 = ___armature0;
  10288. __this->set__armature_22(L_0);
  10289. // this._animationState = animationState;
  10290. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_1 = ___animationState1;
  10291. __this->set__animationState_23(L_1);
  10292. // this._timelineData = timelineData;
  10293. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_2 = ___timelineData2;
  10294. __this->set__timelineData_21(L_2);
  10295. // this._actionTimeline = this._animationState._actionTimeline;
  10296. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_3 = __this->get__animationState_23();
  10297. NullCheck(L_3);
  10298. ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * L_4 = L_3->get__actionTimeline_36();
  10299. __this->set__actionTimeline_24(L_4);
  10300. // if (this == this._actionTimeline)
  10301. TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_5 = __this->get__actionTimeline_24();
  10302. if ((!(((RuntimeObject*)(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)__this) == ((RuntimeObject*)(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)L_5))))
  10303. {
  10304. goto IL_0036;
  10305. }
  10306. }
  10307. {
  10308. // this._actionTimeline = null;
  10309. __this->set__actionTimeline_24((TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)NULL);
  10310. }
  10311. IL_0036:
  10312. {
  10313. // this._frameRate = this._armature.armatureData.frameRate;
  10314. Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_6 = __this->get__armature_22();
  10315. NullCheck(L_6);
  10316. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_7;
  10317. L_7 = Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline(L_6, /*hidden argument*/NULL);
  10318. NullCheck(L_7);
  10319. uint32_t L_8 = L_7->get_frameRate_6();
  10320. __this->set__frameRate_9(L_8);
  10321. // this._frameRateR = 1.0f / this._frameRate;
  10322. uint32_t L_9 = __this->get__frameRate_9();
  10323. __this->set__frameRateR_14(((float)((float)(1.0f)/(float)((float)((float)((double)((uint32_t)L_9)))))));
  10324. // this._position = this._animationState._position;
  10325. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_10 = __this->get__animationState_23();
  10326. NullCheck(L_10);
  10327. float L_11 = L_10->get__position_21();
  10328. __this->set__position_15(L_11);
  10329. // this._duration = this._animationState._duration;
  10330. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_12 = __this->get__animationState_23();
  10331. NullCheck(L_12);
  10332. float L_13 = L_12->get__duration_22();
  10333. __this->set__duration_16(L_13);
  10334. // this._dragonBonesData = this._armature.armatureData.parent;
  10335. Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_14 = __this->get__armature_22();
  10336. NullCheck(L_14);
  10337. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_15;
  10338. L_15 = Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline(L_14, /*hidden argument*/NULL);
  10339. NullCheck(L_15);
  10340. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_16 = L_15->get_parent_25();
  10341. __this->set__dragonBonesData_19(L_16);
  10342. // this._animationData = this._animationState._animationData;
  10343. AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_17 = __this->get__animationState_23();
  10344. NullCheck(L_17);
  10345. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_18 = L_17->get__animationData_34();
  10346. __this->set__animationData_20(L_18);
  10347. // if (this._timelineData != null)
  10348. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_19 = __this->get__timelineData_21();
  10349. if (!L_19)
  10350. {
  10351. goto IL_0189;
  10352. }
  10353. }
  10354. {
  10355. // this._frameIntArray = this._dragonBonesData.frameIntArray;
  10356. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_20 = __this->get__dragonBonesData_19();
  10357. NullCheck(L_20);
  10358. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_21 = L_20->get_frameIntArray_17();
  10359. __this->set__frameIntArray_26(L_21);
  10360. // this._frameFloatArray = this._dragonBonesData.frameFloatArray;
  10361. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_22 = __this->get__dragonBonesData_19();
  10362. NullCheck(L_22);
  10363. SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_23 = L_22->get_frameFloatArray_18();
  10364. __this->set__frameFloatArray_27(L_23);
  10365. // this._frameArray = this._dragonBonesData.frameArray;
  10366. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_24 = __this->get__dragonBonesData_19();
  10367. NullCheck(L_24);
  10368. Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_25 = L_24->get_frameArray_19();
  10369. __this->set__frameArray_25(L_25);
  10370. // this._timelineArray = this._dragonBonesData.timelineArray;
  10371. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_26 = __this->get__dragonBonesData_19();
  10372. NullCheck(L_26);
  10373. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_27 = L_26->get_timelineArray_20();
  10374. __this->set__timelineArray_28(L_27);
  10375. // this._frameIndices = this._dragonBonesData.frameIndices;
  10376. DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_28 = __this->get__dragonBonesData_19();
  10377. NullCheck(L_28);
  10378. List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * L_29 = L_28->get_frameIndices_10();
  10379. __this->set__frameIndices_29(L_29);
  10380. // this._frameCount = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineKeyFrameCount];
  10381. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_30 = __this->get__timelineArray_28();
  10382. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_31 = __this->get__timelineData_21();
  10383. NullCheck(L_31);
  10384. uint32_t L_32 = L_31->get_offset_6();
  10385. NullCheck(L_30);
  10386. int32_t L_33 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)2));
  10387. uint16_t L_34 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
  10388. __this->set__frameCount_11(L_34);
  10389. // this._frameValueOffset = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineFrameValueOffset];
  10390. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_35 = __this->get__timelineArray_28();
  10391. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_36 = __this->get__timelineData_21();
  10392. NullCheck(L_36);
  10393. uint32_t L_37 = L_36->get_offset_6();
  10394. NullCheck(L_35);
  10395. int32_t L_38 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)4));
  10396. uint16_t L_39 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
  10397. __this->set__frameValueOffset_10(L_39);
  10398. // var timelineScale = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineScale];
  10399. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_40 = __this->get__timelineArray_28();
  10400. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_41 = __this->get__timelineData_21();
  10401. NullCheck(L_41);
  10402. uint32_t L_42 = L_41->get_offset_6();
  10403. NullCheck(L_40);
  10404. uint32_t L_43 = L_42;
  10405. uint16_t L_44 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
  10406. V_0 = L_44;
  10407. // this._timeScale = 100.0f / (timelineScale == 0 ? 100.0f : timelineScale);
  10408. uint16_t L_45 = V_0;
  10409. G_B4_0 = (100.0f);
  10410. G_B4_1 = __this;
  10411. if (!L_45)
  10412. {
  10413. G_B5_0 = (100.0f);
  10414. G_B5_1 = __this;
  10415. goto IL_015d;
  10416. }
  10417. }
  10418. {
  10419. uint16_t L_46 = V_0;
  10420. G_B6_0 = ((float)((float)L_46));
  10421. G_B6_1 = G_B4_0;
  10422. G_B6_2 = G_B4_1;
  10423. goto IL_0162;
  10424. }
  10425. IL_015d:
  10426. {
  10427. G_B6_0 = (100.0f);
  10428. G_B6_1 = G_B5_0;
  10429. G_B6_2 = G_B5_1;
  10430. }
  10431. IL_0162:
  10432. {
  10433. NullCheck(G_B6_2);
  10434. G_B6_2->set__timeScale_17(((float)((float)G_B6_1/(float)G_B6_0)));
  10435. // this._timeOffset = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineOffset] * 0.01f;
  10436. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_47 = __this->get__timelineArray_28();
  10437. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_48 = __this->get__timelineData_21();
  10438. NullCheck(L_48);
  10439. uint32_t L_49 = L_48->get_offset_6();
  10440. NullCheck(L_47);
  10441. int32_t L_50 = ((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1));
  10442. uint16_t L_51 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
  10443. __this->set__timeOffset_18(((float)il2cpp_codegen_multiply((float)((float)((float)L_51)), (float)(0.00999999978f))));
  10444. }
  10445. IL_0189:
  10446. {
  10447. // }
  10448. return;
  10449. }
  10450. }
  10451. // System.Void DragonBones.TimelineState::FadeOut()
  10452. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState_FadeOut_m3A89A9380008E182152BD8F063CAE7F9EB0D26DC (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
  10453. {
  10454. {
  10455. // }
  10456. return;
  10457. }
  10458. }
  10459. // System.Void DragonBones.TimelineState::Update(System.Single)
  10460. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method)
  10461. {
  10462. static bool s_Il2CppMethodInitialized;
  10463. if (!s_Il2CppMethodInitialized)
  10464. {
  10465. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_RuntimeMethod_var);
  10466. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  10467. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19_RuntimeMethod_var);
  10468. s_Il2CppMethodInitialized = true;
  10469. }
  10470. int32_t V_0 = 0;
  10471. uint32_t V_1 = 0;
  10472. {
  10473. // if (this._SetCurrentTime(passedTime))
  10474. float L_0 = ___passedTime0;
  10475. bool L_1;
  10476. L_1 = TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2(__this, L_0, /*hidden argument*/NULL);
  10477. if (!L_1)
  10478. {
  10479. goto IL_00e4;
  10480. }
  10481. }
  10482. {
  10483. // if (this._frameCount > 1)
  10484. uint32_t L_2 = __this->get__frameCount_11();
  10485. if ((!(((uint32_t)L_2) > ((uint32_t)1))))
  10486. {
  10487. goto IL_0092;
  10488. }
  10489. }
  10490. {
  10491. // int timelineFrameIndex = (int)Math.Floor(this.currentTime * this._frameRate); // uint
  10492. float L_3 = __this->get_currentTime_7();
  10493. uint32_t L_4 = __this->get__frameRate_9();
  10494. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  10495. double L_5;
  10496. L_5 = floor(((double)((double)((float)il2cpp_codegen_multiply((float)L_3, (float)((float)((float)((double)((uint32_t)L_4)))))))));
  10497. V_0 = ((int32_t)((int32_t)L_5));
  10498. // var frameIndex = this._frameIndices[(int)(this._timelineData as TimelineData).frameIndicesOffset + timelineFrameIndex];
  10499. List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * L_6 = __this->get__frameIndices_29();
  10500. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_7 = __this->get__timelineData_21();
  10501. NullCheck(L_7);
  10502. int32_t L_8 = L_7->get_frameIndicesOffset_7();
  10503. int32_t L_9 = V_0;
  10504. NullCheck(L_6);
  10505. uint32_t L_10;
  10506. L_10 = List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_inline(L_6, ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_RuntimeMethod_var);
  10507. V_1 = L_10;
  10508. // if (this._frameIndex != frameIndex)
  10509. int32_t L_11 = __this->get__frameIndex_13();
  10510. uint32_t L_12 = V_1;
  10511. if ((((int64_t)((int64_t)((int64_t)L_11))) == ((int64_t)((int64_t)((uint64_t)L_12)))))
  10512. {
  10513. goto IL_00d6;
  10514. }
  10515. }
  10516. {
  10517. // this._frameIndex = (int)frameIndex;
  10518. uint32_t L_13 = V_1;
  10519. __this->set__frameIndex_13(L_13);
  10520. // this._frameOffset = this._animationData.frameOffset + this._timelineArray[(this._timelineData as TimelineData).offset + (int)BinaryOffset.TimelineFrameOffset + this._frameIndex];
  10521. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_14 = __this->get__animationData_20();
  10522. NullCheck(L_14);
  10523. uint32_t L_15 = L_14->get_frameOffset_7();
  10524. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_16 = __this->get__timelineArray_28();
  10525. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_17 = __this->get__timelineData_21();
  10526. NullCheck(L_17);
  10527. uint32_t L_18 = L_17->get_offset_6();
  10528. int32_t L_19 = __this->get__frameIndex_13();
  10529. if ((int64_t)(((int64_t)il2cpp_codegen_add((int64_t)((int64_t)((uint64_t)((uint32_t)((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)5)))))), (int64_t)((int64_t)((int64_t)L_19))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19_RuntimeMethod_var);
  10530. NullCheck(L_16);
  10531. intptr_t L_20 = ((intptr_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)((uint64_t)((uint32_t)((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)5)))))), (int64_t)((int64_t)((int64_t)L_19)))));
  10532. uint16_t L_21 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  10533. __this->set__frameOffset_12(((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_21)));
  10534. // this._OnArriveAtFrame();
  10535. VirtualActionInvoker0::Invoke(5 /* System.Void DragonBones.TimelineState::_OnArriveAtFrame() */, __this);
  10536. // }
  10537. goto IL_00d6;
  10538. }
  10539. IL_0092:
  10540. {
  10541. // else if (this._frameIndex < 0)
  10542. int32_t L_22 = __this->get__frameIndex_13();
  10543. if ((((int32_t)L_22) >= ((int32_t)0)))
  10544. {
  10545. goto IL_00d6;
  10546. }
  10547. }
  10548. {
  10549. // this._frameIndex = 0;
  10550. __this->set__frameIndex_13(0);
  10551. // if (this._timelineData != null)
  10552. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_23 = __this->get__timelineData_21();
  10553. if (!L_23)
  10554. {
  10555. goto IL_00d0;
  10556. }
  10557. }
  10558. {
  10559. // this._frameOffset = this._animationData.frameOffset + this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineFrameOffset];
  10560. AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_24 = __this->get__animationData_20();
  10561. NullCheck(L_24);
  10562. uint32_t L_25 = L_24->get_frameOffset_7();
  10563. UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_26 = __this->get__timelineArray_28();
  10564. TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_27 = __this->get__timelineData_21();
  10565. NullCheck(L_27);
  10566. uint32_t L_28 = L_27->get_offset_6();
  10567. NullCheck(L_26);
  10568. int32_t L_29 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)5));
  10569. uint16_t L_30 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
  10570. __this->set__frameOffset_12(((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_30)));
  10571. }
  10572. IL_00d0:
  10573. {
  10574. // this._OnArriveAtFrame();
  10575. VirtualActionInvoker0::Invoke(5 /* System.Void DragonBones.TimelineState::_OnArriveAtFrame() */, __this);
  10576. }
  10577. IL_00d6:
  10578. {
  10579. // if (this._tweenState != TweenState.None)
  10580. int32_t L_31 = __this->get__tweenState_8();
  10581. if (!L_31)
  10582. {
  10583. goto IL_00e4;
  10584. }
  10585. }
  10586. {
  10587. // this._OnUpdateFrame();
  10588. VirtualActionInvoker0::Invoke(6 /* System.Void DragonBones.TimelineState::_OnUpdateFrame() */, __this);
  10589. }
  10590. IL_00e4:
  10591. {
  10592. // }
  10593. return;
  10594. }
  10595. }
  10596. // System.Void DragonBones.TimelineState::.ctor()
  10597. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState__ctor_mAD609120039037E7BF3BA8373261486E3F5B11EC (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
  10598. {
  10599. static bool s_Il2CppMethodInitialized;
  10600. if (!s_Il2CppMethodInitialized)
  10601. {
  10602. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
  10603. s_Il2CppMethodInitialized = true;
  10604. }
  10605. {
  10606. IL2CPP_RUNTIME_CLASS_INIT(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
  10607. BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F(__this, /*hidden argument*/NULL);
  10608. return;
  10609. }
  10610. }
  10611. #ifdef __clang__
  10612. #pragma clang diagnostic pop
  10613. #endif
  10614. #ifdef __clang__
  10615. #pragma clang diagnostic push
  10616. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10617. #pragma clang diagnostic ignored "-Wunused-variable"
  10618. #endif
  10619. #ifdef __clang__
  10620. #pragma clang diagnostic pop
  10621. #endif
  10622. #ifdef __clang__
  10623. #pragma clang diagnostic push
  10624. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10625. #pragma clang diagnostic ignored "-Wunused-variable"
  10626. #endif
  10627. // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::NanoTime()
  10628. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Times_NanoTime_mB148DB292002C63B3904A5F9B66071D14A885443 (const RuntimeMethod* method)
  10629. {
  10630. static bool s_Il2CppMethodInitialized;
  10631. if (!s_Il2CppMethodInitialized)
  10632. {
  10633. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var);
  10634. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
  10635. s_Il2CppMethodInitialized = true;
  10636. }
  10637. DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 V_0;
  10638. memset((&V_0), 0, sizeof(V_0));
  10639. {
  10640. // return DateTime.UtcNow.Ticks * NanosecondsPerTick;
  10641. IL2CPP_RUNTIME_CLASS_INIT(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var);
  10642. DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 L_0;
  10643. L_0 = DateTime_get_UtcNow_m761E57F86226DDD94F0A2F4D98F0A8E27C74F090(/*hidden argument*/NULL);
  10644. V_0 = L_0;
  10645. int64_t L_1;
  10646. L_1 = DateTime_get_Ticks_m175EDB41A50DB06872CC48CAB603FEBD1DFF46A9((DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 *)(&V_0), /*hidden argument*/NULL);
  10647. IL2CPP_RUNTIME_CLASS_INIT(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
  10648. int64_t L_2 = ((Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields*)il2cpp_codegen_static_fields_for(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var))->get_NanosecondsPerTick_0();
  10649. return ((int64_t)il2cpp_codegen_multiply((int64_t)L_1, (int64_t)L_2));
  10650. }
  10651. }
  10652. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::.ctor()
  10653. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Times__ctor_m6908FC3F0FA12666A5FF0D20860FC289ACCFE459 (Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F * __this, const RuntimeMethod* method)
  10654. {
  10655. {
  10656. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  10657. return;
  10658. }
  10659. }
  10660. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::.cctor()
  10661. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Times__cctor_mF0A2675CEC67A850C111A934D393C1389E7F3B4D (const RuntimeMethod* method)
  10662. {
  10663. static bool s_Il2CppMethodInitialized;
  10664. if (!s_Il2CppMethodInitialized)
  10665. {
  10666. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
  10667. s_Il2CppMethodInitialized = true;
  10668. }
  10669. {
  10670. // private static long NanosecondsPerTick = 100L;
  10671. ((Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields*)il2cpp_codegen_static_fields_for(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var))->set_NanosecondsPerTick_0(((int64_t)((int64_t)((int32_t)100))));
  10672. return;
  10673. }
  10674. }
  10675. #ifdef __clang__
  10676. #pragma clang diagnostic pop
  10677. #endif
  10678. #ifdef __clang__
  10679. #pragma clang diagnostic push
  10680. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  10681. #pragma clang diagnostic ignored "-Wunused-variable"
  10682. #endif
  10683. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,System.Int32,System.Int32)
  10684. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsAeadCipher__ctor_m4450042C41CC196CA6E08319335C896E78F45502 (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteCipher1, RuntimeObject* ___serverWriteCipher2, int32_t ___cipherKeySize3, int32_t ___macSize4, const RuntimeMethod* method)
  10685. {
  10686. {
  10687. // : this(context, clientWriteCipher, serverWriteCipher, cipherKeySize, macSize, NONCE_RFC5288)
  10688. RuntimeObject* L_0 = ___context0;
  10689. RuntimeObject* L_1 = ___clientWriteCipher1;
  10690. RuntimeObject* L_2 = ___serverWriteCipher2;
  10691. int32_t L_3 = ___cipherKeySize3;
  10692. int32_t L_4 = ___macSize4;
  10693. TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7(__this, L_0, L_1, L_2, L_3, L_4, 1, /*hidden argument*/NULL);
  10694. // }
  10695. return;
  10696. }
  10697. }
  10698. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher,System.Int32,System.Int32,System.Int32)
  10699. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7 (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteCipher1, RuntimeObject* ___serverWriteCipher2, int32_t ___cipherKeySize3, int32_t ___macSize4, int32_t ___nonceMode5, const RuntimeMethod* method)
  10700. {
  10701. static bool s_Il2CppMethodInitialized;
  10702. if (!s_Il2CppMethodInitialized)
  10703. {
  10704. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  10705. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  10706. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  10707. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
  10708. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  10709. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  10710. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  10711. s_Il2CppMethodInitialized = true;
  10712. }
  10713. int32_t V_0 = 0;
  10714. int32_t V_1 = 0;
  10715. int32_t V_2 = 0;
  10716. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_3 = NULL;
  10717. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_4 = NULL;
  10718. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_5 = NULL;
  10719. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  10720. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_7 = NULL;
  10721. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_8 = NULL;
  10722. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_9 = NULL;
  10723. {
  10724. // internal TlsAeadCipher(TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher,
  10725. // int cipherKeySize, int macSize, int nonceMode)
  10726. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  10727. // if (!TlsUtilities.IsTlsV12(context))
  10728. RuntimeObject* L_0 = ___context0;
  10729. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  10730. bool L_1;
  10731. L_1 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_0, /*hidden argument*/NULL);
  10732. if (L_1)
  10733. {
  10734. goto IL_0016;
  10735. }
  10736. }
  10737. {
  10738. // throw new TlsFatalAlert(AlertDescription.internal_error);
  10739. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  10740. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  10741. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
  10742. }
  10743. IL_0016:
  10744. {
  10745. // this.nonceMode = nonceMode;
  10746. int32_t L_3 = ___nonceMode5;
  10747. __this->set_nonceMode_9(L_3);
  10748. int32_t L_4 = ___nonceMode5;
  10749. if ((((int32_t)L_4) == ((int32_t)1)))
  10750. {
  10751. goto IL_002a;
  10752. }
  10753. }
  10754. {
  10755. int32_t L_5 = ___nonceMode5;
  10756. if ((((int32_t)L_5) == ((int32_t)2)))
  10757. {
  10758. goto IL_0035;
  10759. }
  10760. }
  10761. {
  10762. goto IL_0041;
  10763. }
  10764. IL_002a:
  10765. {
  10766. // fixed_iv_length = 4;
  10767. V_0 = 4;
  10768. // this.record_iv_length = 8;
  10769. __this->set_record_iv_length_4(8);
  10770. // break;
  10771. goto IL_0049;
  10772. }
  10773. IL_0035:
  10774. {
  10775. // fixed_iv_length = 12;
  10776. V_0 = ((int32_t)12);
  10777. // this.record_iv_length = 0;
  10778. __this->set_record_iv_length_4(0);
  10779. // break;
  10780. goto IL_0049;
  10781. }
  10782. IL_0041:
  10783. {
  10784. // throw new TlsFatalAlert(AlertDescription.internal_error);
  10785. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  10786. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  10787. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
  10788. }
  10789. IL_0049:
  10790. {
  10791. // this.context = context;
  10792. RuntimeObject* L_7 = ___context0;
  10793. __this->set_context_2(L_7);
  10794. // this.macSize = macSize;
  10795. int32_t L_8 = ___macSize4;
  10796. __this->set_macSize_3(L_8);
  10797. // int key_block_size = (2 * cipherKeySize) + (2 * fixed_iv_length);
  10798. int32_t L_9 = ___cipherKeySize3;
  10799. int32_t L_10 = V_0;
  10800. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)2, (int32_t)L_9)), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)2, (int32_t)L_10))));
  10801. // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
  10802. RuntimeObject* L_11 = ___context0;
  10803. int32_t L_12 = V_1;
  10804. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  10805. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
  10806. L_13 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_11, L_12, /*hidden argument*/NULL);
  10807. // int offset = 0;
  10808. V_2 = 0;
  10809. // KeyParameter client_write_key = new KeyParameter(key_block, offset, cipherKeySize);
  10810. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = L_13;
  10811. int32_t L_15 = V_2;
  10812. int32_t L_16 = ___cipherKeySize3;
  10813. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_17 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  10814. KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_17, L_14, L_15, L_16, /*hidden argument*/NULL);
  10815. V_3 = L_17;
  10816. // offset += cipherKeySize;
  10817. int32_t L_18 = V_2;
  10818. int32_t L_19 = ___cipherKeySize3;
  10819. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)L_19));
  10820. // KeyParameter server_write_key = new KeyParameter(key_block, offset, cipherKeySize);
  10821. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = L_14;
  10822. int32_t L_21 = V_2;
  10823. int32_t L_22 = ___cipherKeySize3;
  10824. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_23 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  10825. KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_23, L_20, L_21, L_22, /*hidden argument*/NULL);
  10826. V_4 = L_23;
  10827. // offset += cipherKeySize;
  10828. int32_t L_24 = V_2;
  10829. int32_t L_25 = ___cipherKeySize3;
  10830. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)L_25));
  10831. // byte[] client_write_IV = Arrays.CopyOfRange(key_block, offset, offset + fixed_iv_length);
  10832. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = L_20;
  10833. int32_t L_27 = V_2;
  10834. int32_t L_28 = V_2;
  10835. int32_t L_29 = V_0;
  10836. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  10837. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30;
  10838. L_30 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_26, L_27, ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)L_29)), /*hidden argument*/NULL);
  10839. V_5 = L_30;
  10840. // offset += fixed_iv_length;
  10841. int32_t L_31 = V_2;
  10842. int32_t L_32 = V_0;
  10843. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32));
  10844. // byte[] server_write_IV = Arrays.CopyOfRange(key_block, offset, offset + fixed_iv_length);
  10845. int32_t L_33 = V_2;
  10846. int32_t L_34 = V_2;
  10847. int32_t L_35 = V_0;
  10848. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36;
  10849. L_36 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_26, L_33, ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35)), /*hidden argument*/NULL);
  10850. V_6 = L_36;
  10851. // offset += fixed_iv_length;
  10852. int32_t L_37 = V_2;
  10853. int32_t L_38 = V_0;
  10854. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38));
  10855. // if (offset != key_block_size)
  10856. int32_t L_39 = V_2;
  10857. int32_t L_40 = V_1;
  10858. if ((((int32_t)L_39) == ((int32_t)L_40)))
  10859. {
  10860. goto IL_00b4;
  10861. }
  10862. }
  10863. {
  10864. // throw new TlsFatalAlert(AlertDescription.internal_error);
  10865. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_41 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  10866. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_41, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  10867. IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
  10868. }
  10869. IL_00b4:
  10870. {
  10871. // if (context.IsServer)
  10872. RuntimeObject* L_42 = ___context0;
  10873. NullCheck(L_42);
  10874. bool L_43;
  10875. L_43 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_42);
  10876. if (!L_43)
  10877. {
  10878. goto IL_00e3;
  10879. }
  10880. }
  10881. {
  10882. // this.encryptCipher = serverWriteCipher;
  10883. RuntimeObject* L_44 = ___serverWriteCipher2;
  10884. __this->set_encryptCipher_5(L_44);
  10885. // this.decryptCipher = clientWriteCipher;
  10886. RuntimeObject* L_45 = ___clientWriteCipher1;
  10887. __this->set_decryptCipher_6(L_45);
  10888. // this.encryptImplicitNonce = server_write_IV;
  10889. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46 = V_6;
  10890. __this->set_encryptImplicitNonce_7(L_46);
  10891. // this.decryptImplicitNonce = client_write_IV;
  10892. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_5;
  10893. __this->set_decryptImplicitNonce_8(L_47);
  10894. // encryptKey = server_write_key;
  10895. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_48 = V_4;
  10896. V_7 = L_48;
  10897. // decryptKey = client_write_key;
  10898. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_49 = V_3;
  10899. V_8 = L_49;
  10900. // }
  10901. goto IL_0108;
  10902. }
  10903. IL_00e3:
  10904. {
  10905. // this.encryptCipher = clientWriteCipher;
  10906. RuntimeObject* L_50 = ___clientWriteCipher1;
  10907. __this->set_encryptCipher_5(L_50);
  10908. // this.decryptCipher = serverWriteCipher;
  10909. RuntimeObject* L_51 = ___serverWriteCipher2;
  10910. __this->set_decryptCipher_6(L_51);
  10911. // this.encryptImplicitNonce = client_write_IV;
  10912. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_52 = V_5;
  10913. __this->set_encryptImplicitNonce_7(L_52);
  10914. // this.decryptImplicitNonce = server_write_IV;
  10915. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53 = V_6;
  10916. __this->set_decryptImplicitNonce_8(L_53);
  10917. // encryptKey = client_write_key;
  10918. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_54 = V_3;
  10919. V_7 = L_54;
  10920. // decryptKey = server_write_key;
  10921. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_55 = V_4;
  10922. V_8 = L_55;
  10923. }
  10924. IL_0108:
  10925. {
  10926. // byte[] dummyNonce = new byte[fixed_iv_length + record_iv_length];
  10927. int32_t L_56 = V_0;
  10928. int32_t L_57 = __this->get_record_iv_length_4();
  10929. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_58 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_56, (int32_t)L_57)));
  10930. V_9 = L_58;
  10931. // this.encryptCipher.Init(true, new AeadParameters(encryptKey, 8 * macSize, dummyNonce));
  10932. RuntimeObject* L_59 = __this->get_encryptCipher_5();
  10933. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_60 = V_7;
  10934. int32_t L_61 = ___macSize4;
  10935. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_9;
  10936. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_63 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  10937. AeadParameters__ctor_mDC4FC845AAF337D5A63276E2A2E7CB2FA1D814C7(L_63, L_60, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_61)), L_62, /*hidden argument*/NULL);
  10938. NullCheck(L_59);
  10939. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_59, (bool)1, L_63);
  10940. // this.decryptCipher.Init(false, new AeadParameters(decryptKey, 8 * macSize, dummyNonce));
  10941. RuntimeObject* L_64 = __this->get_decryptCipher_6();
  10942. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_65 = V_8;
  10943. int32_t L_66 = ___macSize4;
  10944. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_67 = V_9;
  10945. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_68 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  10946. AeadParameters__ctor_mDC4FC845AAF337D5A63276E2A2E7CB2FA1D814C7(L_68, L_65, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_66)), L_67, /*hidden argument*/NULL);
  10947. NullCheck(L_64);
  10948. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_64, (bool)0, L_68);
  10949. // }
  10950. return;
  10951. }
  10952. }
  10953. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetPlaintextLimit(System.Int32)
  10954. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsAeadCipher_GetPlaintextLimit_m2BEBB130AD553DBE0D2EFA7AB996F27799AF47DF (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
  10955. {
  10956. {
  10957. // return ciphertextLimit - macSize - record_iv_length;
  10958. int32_t L_0 = ___ciphertextLimit0;
  10959. int32_t L_1 = __this->get_macSize_3();
  10960. int32_t L_2 = __this->get_record_iv_length_4();
  10961. return ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1)), (int32_t)L_2));
  10962. }
  10963. }
  10964. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  10965. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___plaintext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  10966. {
  10967. static bool s_Il2CppMethodInitialized;
  10968. if (!s_Il2CppMethodInitialized)
  10969. {
  10970. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  10971. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  10972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
  10973. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  10974. s_Il2CppMethodInitialized = true;
  10975. }
  10976. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  10977. int32_t V_1 = 0;
  10978. int32_t V_2 = 0;
  10979. int32_t V_3 = 0;
  10980. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  10981. int32_t V_5 = 0;
  10982. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  10983. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * V_7 = NULL;
  10984. int32_t V_8 = 0;
  10985. int32_t V_9 = 0;
  10986. Exception_t * V_10 = NULL;
  10987. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  10988. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  10989. {
  10990. // byte[] nonce = new byte[encryptImplicitNonce.Length + record_iv_length];
  10991. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_encryptImplicitNonce_7();
  10992. NullCheck(L_0);
  10993. int32_t L_1 = __this->get_record_iv_length_4();
  10994. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))), (int32_t)L_1)));
  10995. V_0 = L_2;
  10996. // switch (nonceMode)
  10997. int32_t L_3 = __this->get_nonceMode_9();
  10998. V_8 = L_3;
  10999. int32_t L_4 = V_8;
  11000. if ((((int32_t)L_4) == ((int32_t)1)))
  11001. {
  11002. goto IL_0029;
  11003. }
  11004. }
  11005. {
  11006. int32_t L_5 = V_8;
  11007. if ((((int32_t)L_5) == ((int32_t)2)))
  11008. {
  11009. goto IL_0050;
  11010. }
  11011. }
  11012. {
  11013. goto IL_008b;
  11014. }
  11015. IL_0029:
  11016. {
  11017. // Array.Copy(encryptImplicitNonce, 0, nonce, 0, encryptImplicitNonce.Length);
  11018. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = __this->get_encryptImplicitNonce_7();
  11019. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  11020. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_encryptImplicitNonce_7();
  11021. NullCheck(L_8);
  11022. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_6, 0, (RuntimeArray *)(RuntimeArray *)L_7, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))), /*hidden argument*/NULL);
  11023. // TlsUtilities.WriteUint64(seqNo, nonce, encryptImplicitNonce.Length);
  11024. int64_t L_9 = ___seqNo0;
  11025. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
  11026. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = __this->get_encryptImplicitNonce_7();
  11027. NullCheck(L_11);
  11028. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11029. TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_9, L_10, ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))), /*hidden argument*/NULL);
  11030. // break;
  11031. goto IL_0093;
  11032. }
  11033. IL_0050:
  11034. {
  11035. // TlsUtilities.WriteUint64(seqNo, nonce, nonce.Length - 8);
  11036. int64_t L_12 = ___seqNo0;
  11037. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
  11038. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
  11039. NullCheck(L_14);
  11040. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11041. TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_12, L_13, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))), (int32_t)8)), /*hidden argument*/NULL);
  11042. // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
  11043. V_9 = 0;
  11044. goto IL_007d;
  11045. }
  11046. IL_0061:
  11047. {
  11048. // nonce[i] ^= encryptImplicitNonce[i];
  11049. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
  11050. int32_t L_16 = V_9;
  11051. NullCheck(L_15);
  11052. uint8_t* L_17 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)));
  11053. int32_t L_18 = *((uint8_t*)L_17);
  11054. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = __this->get_encryptImplicitNonce_7();
  11055. int32_t L_20 = V_9;
  11056. NullCheck(L_19);
  11057. int32_t L_21 = L_20;
  11058. uint8_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  11059. *((int8_t*)L_17) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_18^(int32_t)L_22))));
  11060. // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
  11061. int32_t L_23 = V_9;
  11062. V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
  11063. }
  11064. IL_007d:
  11065. {
  11066. // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
  11067. int32_t L_24 = V_9;
  11068. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = __this->get_encryptImplicitNonce_7();
  11069. NullCheck(L_25);
  11070. if ((((int32_t)L_24) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length))))))
  11071. {
  11072. goto IL_0061;
  11073. }
  11074. }
  11075. {
  11076. // break;
  11077. goto IL_0093;
  11078. }
  11079. IL_008b:
  11080. {
  11081. // throw new TlsFatalAlert(AlertDescription.internal_error);
  11082. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11083. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_26, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  11084. IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
  11085. }
  11086. IL_0093:
  11087. {
  11088. // int plaintextOffset = offset;
  11089. int32_t L_27 = ___offset3;
  11090. V_1 = L_27;
  11091. // int plaintextLength = len;
  11092. int32_t L_28 = ___len4;
  11093. V_2 = L_28;
  11094. // int ciphertextLength = encryptCipher.GetOutputSize(plaintextLength);
  11095. RuntimeObject* L_29 = __this->get_encryptCipher_5();
  11096. int32_t L_30 = V_2;
  11097. NullCheck(L_29);
  11098. int32_t L_31;
  11099. L_31 = InterfaceFuncInvoker1< int32_t, int32_t >::Invoke(11 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::GetOutputSize(System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_29, L_30);
  11100. V_3 = L_31;
  11101. // byte[] output = new byte[record_iv_length + ciphertextLength];
  11102. int32_t L_32 = __this->get_record_iv_length_4();
  11103. int32_t L_33 = V_3;
  11104. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)L_33)));
  11105. V_4 = L_34;
  11106. // if (record_iv_length != 0)
  11107. int32_t L_35 = __this->get_record_iv_length_4();
  11108. if (!L_35)
  11109. {
  11110. goto IL_00d6;
  11111. }
  11112. }
  11113. {
  11114. // Array.Copy(nonce, nonce.Length - record_iv_length, output, 0, record_iv_length);
  11115. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_0;
  11116. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_37 = V_0;
  11117. NullCheck(L_37);
  11118. int32_t L_38 = __this->get_record_iv_length_4();
  11119. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = V_4;
  11120. int32_t L_40 = __this->get_record_iv_length_4();
  11121. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_36, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length))), (int32_t)L_38)), (RuntimeArray *)(RuntimeArray *)L_39, 0, L_40, /*hidden argument*/NULL);
  11122. }
  11123. IL_00d6:
  11124. {
  11125. // int outputPos = record_iv_length;
  11126. int32_t L_41 = __this->get_record_iv_length_4();
  11127. V_5 = L_41;
  11128. // byte[] additionalData = GetAdditionalData(seqNo, type, plaintextLength);
  11129. int64_t L_42 = ___seqNo0;
  11130. uint8_t L_43 = ___type1;
  11131. int32_t L_44 = V_2;
  11132. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45;
  11133. L_45 = VirtualFuncInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, int32_t >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetAdditionalData(System.Int64,System.Byte,System.Int32) */, __this, L_42, L_43, L_44);
  11134. V_6 = L_45;
  11135. // AeadParameters parameters = new AeadParameters(null, 8 * macSize, nonce, additionalData);
  11136. int32_t L_46 = __this->get_macSize_3();
  11137. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_0;
  11138. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_6;
  11139. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_49 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  11140. AeadParameters__ctor_mE2773768F68BC5A4602E213B7901DED949E1900D(L_49, (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)NULL, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_46)), L_47, L_48, /*hidden argument*/NULL);
  11141. V_7 = L_49;
  11142. }
  11143. IL_00fc:
  11144. try
  11145. {// begin try (depth: 1)
  11146. // encryptCipher.Init(true, parameters);
  11147. RuntimeObject* L_50 = __this->get_encryptCipher_5();
  11148. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_51 = V_7;
  11149. NullCheck(L_50);
  11150. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_50, (bool)1, L_51);
  11151. // outputPos += encryptCipher.ProcessBytes(plaintext, plaintextOffset, plaintextLength, output, outputPos);
  11152. int32_t L_52 = V_5;
  11153. RuntimeObject* L_53 = __this->get_encryptCipher_5();
  11154. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___plaintext2;
  11155. int32_t L_55 = V_1;
  11156. int32_t L_56 = V_2;
  11157. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = V_4;
  11158. int32_t L_58 = V_5;
  11159. NullCheck(L_53);
  11160. int32_t L_59;
  11161. L_59 = InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_53, L_54, L_55, L_56, L_57, L_58);
  11162. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)L_59));
  11163. // outputPos += encryptCipher.DoFinal(output, outputPos);
  11164. int32_t L_60 = V_5;
  11165. RuntimeObject* L_61 = __this->get_encryptCipher_5();
  11166. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_4;
  11167. int32_t L_63 = V_5;
  11168. NullCheck(L_61);
  11169. int32_t L_64;
  11170. L_64 = InterfaceFuncInvoker2< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::DoFinal(System.Byte[],System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_61, L_62, L_63);
  11171. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)L_64));
  11172. // }
  11173. goto IL_0143;
  11174. }// end try (depth: 1)
  11175. catch(Il2CppExceptionWrapper& e)
  11176. {
  11177. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  11178. {
  11179. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  11180. goto CATCH_0137;
  11181. }
  11182. throw e;
  11183. }
  11184. CATCH_0137:
  11185. {// begin catch(System.Exception)
  11186. // catch (Exception e)
  11187. V_10 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  11188. // throw new TlsFatalAlert(AlertDescription.internal_error, e);
  11189. Exception_t * L_65 = V_10;
  11190. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11191. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_66, (uint8_t)((int32_t)80), L_65, /*hidden argument*/NULL);
  11192. IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
  11193. }// end catch (depth: 1)
  11194. IL_0143:
  11195. {
  11196. // if (outputPos != output.Length)
  11197. int32_t L_67 = V_5;
  11198. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = V_4;
  11199. NullCheck(L_68);
  11200. if ((((int32_t)L_67) == ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length))))))
  11201. {
  11202. goto IL_0153;
  11203. }
  11204. }
  11205. {
  11206. // throw new TlsFatalAlert(AlertDescription.internal_error);
  11207. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_69 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11208. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_69, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  11209. IL2CPP_RAISE_MANAGED_EXCEPTION(L_69, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
  11210. }
  11211. IL_0153:
  11212. {
  11213. // return output;
  11214. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_70 = V_4;
  11215. return L_70;
  11216. }
  11217. }
  11218. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  11219. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ciphertext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  11220. {
  11221. static bool s_Il2CppMethodInitialized;
  11222. if (!s_Il2CppMethodInitialized)
  11223. {
  11224. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  11225. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  11226. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
  11227. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11228. s_Il2CppMethodInitialized = true;
  11229. }
  11230. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  11231. int32_t V_1 = 0;
  11232. int32_t V_2 = 0;
  11233. int32_t V_3 = 0;
  11234. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  11235. int32_t V_5 = 0;
  11236. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  11237. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * V_7 = NULL;
  11238. int32_t V_8 = 0;
  11239. int32_t V_9 = 0;
  11240. Exception_t * V_10 = NULL;
  11241. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  11242. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  11243. {
  11244. // if (GetPlaintextLimit(len) < 0)
  11245. int32_t L_0 = ___len4;
  11246. int32_t L_1;
  11247. L_1 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetPlaintextLimit(System.Int32) */, __this, L_0);
  11248. if ((((int32_t)L_1) >= ((int32_t)0)))
  11249. {
  11250. goto IL_0013;
  11251. }
  11252. }
  11253. {
  11254. // throw new TlsFatalAlert(AlertDescription.decode_error);
  11255. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11256. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  11257. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
  11258. }
  11259. IL_0013:
  11260. {
  11261. // byte[] nonce = new byte[decryptImplicitNonce.Length + record_iv_length];
  11262. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_decryptImplicitNonce_8();
  11263. NullCheck(L_3);
  11264. int32_t L_4 = __this->get_record_iv_length_4();
  11265. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))), (int32_t)L_4)));
  11266. V_0 = L_5;
  11267. // switch (nonceMode)
  11268. int32_t L_6 = __this->get_nonceMode_9();
  11269. V_8 = L_6;
  11270. int32_t L_7 = V_8;
  11271. if ((((int32_t)L_7) == ((int32_t)1)))
  11272. {
  11273. goto IL_003c;
  11274. }
  11275. }
  11276. {
  11277. int32_t L_8 = V_8;
  11278. if ((((int32_t)L_8) == ((int32_t)2)))
  11279. {
  11280. goto IL_006d;
  11281. }
  11282. }
  11283. {
  11284. goto IL_00a8;
  11285. }
  11286. IL_003c:
  11287. {
  11288. // Array.Copy(decryptImplicitNonce, 0, nonce, 0, decryptImplicitNonce.Length);
  11289. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = __this->get_decryptImplicitNonce_8();
  11290. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
  11291. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = __this->get_decryptImplicitNonce_8();
  11292. NullCheck(L_11);
  11293. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_9, 0, (RuntimeArray *)(RuntimeArray *)L_10, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))), /*hidden argument*/NULL);
  11294. // Array.Copy(ciphertext, offset, nonce, nonce.Length - record_iv_length, record_iv_length);
  11295. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = ___ciphertext2;
  11296. int32_t L_13 = ___offset3;
  11297. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
  11298. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
  11299. NullCheck(L_15);
  11300. int32_t L_16 = __this->get_record_iv_length_4();
  11301. int32_t L_17 = __this->get_record_iv_length_4();
  11302. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_12, L_13, (RuntimeArray *)(RuntimeArray *)L_14, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length))), (int32_t)L_16)), L_17, /*hidden argument*/NULL);
  11303. // break;
  11304. goto IL_00b0;
  11305. }
  11306. IL_006d:
  11307. {
  11308. // TlsUtilities.WriteUint64(seqNo, nonce, nonce.Length - 8);
  11309. int64_t L_18 = ___seqNo0;
  11310. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = V_0;
  11311. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = V_0;
  11312. NullCheck(L_20);
  11313. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11314. TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_18, L_19, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length))), (int32_t)8)), /*hidden argument*/NULL);
  11315. // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
  11316. V_9 = 0;
  11317. goto IL_009a;
  11318. }
  11319. IL_007e:
  11320. {
  11321. // nonce[i] ^= decryptImplicitNonce[i];
  11322. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_0;
  11323. int32_t L_22 = V_9;
  11324. NullCheck(L_21);
  11325. uint8_t* L_23 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)));
  11326. int32_t L_24 = *((uint8_t*)L_23);
  11327. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = __this->get_decryptImplicitNonce_8();
  11328. int32_t L_26 = V_9;
  11329. NullCheck(L_25);
  11330. int32_t L_27 = L_26;
  11331. uint8_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
  11332. *((int8_t*)L_23) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_24^(int32_t)L_28))));
  11333. // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
  11334. int32_t L_29 = V_9;
  11335. V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
  11336. }
  11337. IL_009a:
  11338. {
  11339. // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
  11340. int32_t L_30 = V_9;
  11341. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = __this->get_decryptImplicitNonce_8();
  11342. NullCheck(L_31);
  11343. if ((((int32_t)L_30) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length))))))
  11344. {
  11345. goto IL_007e;
  11346. }
  11347. }
  11348. {
  11349. // break;
  11350. goto IL_00b0;
  11351. }
  11352. IL_00a8:
  11353. {
  11354. // throw new TlsFatalAlert(AlertDescription.internal_error);
  11355. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_32 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11356. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_32, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  11357. IL2CPP_RAISE_MANAGED_EXCEPTION(L_32, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
  11358. }
  11359. IL_00b0:
  11360. {
  11361. // int ciphertextOffset = offset + record_iv_length;
  11362. int32_t L_33 = ___offset3;
  11363. int32_t L_34 = __this->get_record_iv_length_4();
  11364. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)L_34));
  11365. // int ciphertextLength = len - record_iv_length;
  11366. int32_t L_35 = ___len4;
  11367. int32_t L_36 = __this->get_record_iv_length_4();
  11368. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_35, (int32_t)L_36));
  11369. // int plaintextLength = decryptCipher.GetOutputSize(ciphertextLength);
  11370. RuntimeObject* L_37 = __this->get_decryptCipher_6();
  11371. int32_t L_38 = V_2;
  11372. NullCheck(L_37);
  11373. int32_t L_39;
  11374. L_39 = InterfaceFuncInvoker1< int32_t, int32_t >::Invoke(11 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::GetOutputSize(System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_37, L_38);
  11375. V_3 = L_39;
  11376. // byte[] output = new byte[plaintextLength];
  11377. int32_t L_40 = V_3;
  11378. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_41 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_40);
  11379. V_4 = L_41;
  11380. // int outputPos = 0;
  11381. V_5 = 0;
  11382. // byte[] additionalData = GetAdditionalData(seqNo, type, plaintextLength);
  11383. int64_t L_42 = ___seqNo0;
  11384. uint8_t L_43 = ___type1;
  11385. int32_t L_44 = V_3;
  11386. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45;
  11387. L_45 = VirtualFuncInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, int32_t >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetAdditionalData(System.Int64,System.Byte,System.Int32) */, __this, L_42, L_43, L_44);
  11388. V_6 = L_45;
  11389. // AeadParameters parameters = new AeadParameters(null, 8 * macSize, nonce, additionalData);
  11390. int32_t L_46 = __this->get_macSize_3();
  11391. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_0;
  11392. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_6;
  11393. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_49 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
  11394. AeadParameters__ctor_mE2773768F68BC5A4602E213B7901DED949E1900D(L_49, (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)NULL, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_46)), L_47, L_48, /*hidden argument*/NULL);
  11395. V_7 = L_49;
  11396. }
  11397. IL_00fa:
  11398. try
  11399. {// begin try (depth: 1)
  11400. // decryptCipher.Init(false, parameters);
  11401. RuntimeObject* L_50 = __this->get_decryptCipher_6();
  11402. AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_51 = V_7;
  11403. NullCheck(L_50);
  11404. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_50, (bool)0, L_51);
  11405. // outputPos += decryptCipher.ProcessBytes(ciphertext, ciphertextOffset, ciphertextLength, output, outputPos);
  11406. int32_t L_52 = V_5;
  11407. RuntimeObject* L_53 = __this->get_decryptCipher_6();
  11408. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___ciphertext2;
  11409. int32_t L_55 = V_1;
  11410. int32_t L_56 = V_2;
  11411. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = V_4;
  11412. int32_t L_58 = V_5;
  11413. NullCheck(L_53);
  11414. int32_t L_59;
  11415. L_59 = InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_53, L_54, L_55, L_56, L_57, L_58);
  11416. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)L_59));
  11417. // outputPos += decryptCipher.DoFinal(output, outputPos);
  11418. int32_t L_60 = V_5;
  11419. RuntimeObject* L_61 = __this->get_decryptCipher_6();
  11420. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_4;
  11421. int32_t L_63 = V_5;
  11422. NullCheck(L_61);
  11423. int32_t L_64;
  11424. L_64 = InterfaceFuncInvoker2< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher::DoFinal(System.Byte[],System.Int32) */, IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var, L_61, L_62, L_63);
  11425. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)L_64));
  11426. // }
  11427. goto IL_0141;
  11428. }// end try (depth: 1)
  11429. catch(Il2CppExceptionWrapper& e)
  11430. {
  11431. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  11432. {
  11433. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  11434. goto CATCH_0135;
  11435. }
  11436. throw e;
  11437. }
  11438. CATCH_0135:
  11439. {// begin catch(System.Exception)
  11440. // catch (Exception e)
  11441. V_10 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  11442. // throw new TlsFatalAlert(AlertDescription.bad_record_mac, e);
  11443. Exception_t * L_65 = V_10;
  11444. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11445. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_66, (uint8_t)((int32_t)20), L_65, /*hidden argument*/NULL);
  11446. IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
  11447. }// end catch (depth: 1)
  11448. IL_0141:
  11449. {
  11450. // if (outputPos != output.Length)
  11451. int32_t L_67 = V_5;
  11452. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = V_4;
  11453. NullCheck(L_68);
  11454. if ((((int32_t)L_67) == ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length))))))
  11455. {
  11456. goto IL_0151;
  11457. }
  11458. }
  11459. {
  11460. // throw new TlsFatalAlert(AlertDescription.internal_error);
  11461. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_69 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11462. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_69, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  11463. IL2CPP_RAISE_MANAGED_EXCEPTION(L_69, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
  11464. }
  11465. IL_0151:
  11466. {
  11467. // return output;
  11468. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_70 = V_4;
  11469. return L_70;
  11470. }
  11471. }
  11472. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetAdditionalData(System.Int64,System.Byte,System.Int32)
  11473. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsAeadCipher_GetAdditionalData_mB5AEE84EB77473083F2C017DB0355C18FC9F38D1 (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, int64_t ___seqNo0, uint8_t ___type1, int32_t ___len2, const RuntimeMethod* method)
  11474. {
  11475. static bool s_Il2CppMethodInitialized;
  11476. if (!s_Il2CppMethodInitialized)
  11477. {
  11478. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  11479. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  11480. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11481. s_Il2CppMethodInitialized = true;
  11482. }
  11483. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  11484. {
  11485. // byte[] additional_data = new byte[13];
  11486. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)13));
  11487. V_0 = L_0;
  11488. // TlsUtilities.WriteUint64(seqNo, additional_data, 0);
  11489. int64_t L_1 = ___seqNo0;
  11490. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  11491. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11492. TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_1, L_2, 0, /*hidden argument*/NULL);
  11493. // TlsUtilities.WriteUint8(type, additional_data, 8);
  11494. uint8_t L_3 = ___type1;
  11495. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  11496. TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186(L_3, L_4, 8, /*hidden argument*/NULL);
  11497. // TlsUtilities.WriteVersion(context.ServerVersion, additional_data, 9);
  11498. RuntimeObject* L_5 = __this->get_context_2();
  11499. NullCheck(L_5);
  11500. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_6;
  11501. L_6 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_5);
  11502. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  11503. TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_6, L_7, ((int32_t)9), /*hidden argument*/NULL);
  11504. // TlsUtilities.WriteUint16(len, additional_data, 11);
  11505. int32_t L_8 = ___len2;
  11506. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
  11507. TlsUtilities_WriteUint16_mC62EE72A6598A7A7761399F9597312CC5E100CF0(L_8, L_9, ((int32_t)11), /*hidden argument*/NULL);
  11508. // return additional_data;
  11509. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
  11510. return L_10;
  11511. }
  11512. }
  11513. #ifdef __clang__
  11514. #pragma clang diagnostic pop
  11515. #endif
  11516. #ifdef __clang__
  11517. #pragma clang diagnostic push
  11518. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  11519. #pragma clang diagnostic ignored "-Wunused-variable"
  11520. #endif
  11521. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::get_WriteMac()
  11522. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * TlsBlockCipher_get_WriteMac_mC9947E670B1B800AAE665D0EF6A8341141A95656 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, const RuntimeMethod* method)
  11523. {
  11524. {
  11525. // get { return mWriteMac; }
  11526. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_mWriteMac_6();
  11527. return L_0;
  11528. }
  11529. }
  11530. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::get_ReadMac()
  11531. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * TlsBlockCipher_get_ReadMac_m07E74EFA791F6B97F633E2977108171F2D28AC54 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, const RuntimeMethod* method)
  11532. {
  11533. {
  11534. // get { return mReadMac; }
  11535. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_mReadMac_7();
  11536. return L_0;
  11537. }
  11538. }
  11539. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Int32)
  11540. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsBlockCipher__ctor_mFF4377D1F46CE5D20AE89B4EFDDF99C372CC3A08 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteCipher1, RuntimeObject* ___serverWriteCipher2, RuntimeObject* ___clientWriteDigest3, RuntimeObject* ___serverWriteDigest4, int32_t ___cipherKeySize5, const RuntimeMethod* method)
  11541. {
  11542. static bool s_Il2CppMethodInitialized;
  11543. if (!s_Il2CppMethodInitialized)
  11544. {
  11545. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  11546. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  11547. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
  11548. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  11549. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
  11550. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  11551. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11552. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  11553. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  11554. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11555. s_Il2CppMethodInitialized = true;
  11556. }
  11557. int32_t V_0 = 0;
  11558. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  11559. int32_t V_2 = 0;
  11560. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_3 = NULL;
  11561. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_4 = NULL;
  11562. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_5 = NULL;
  11563. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_6 = NULL;
  11564. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_7 = NULL;
  11565. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_8 = NULL;
  11566. RuntimeObject* V_9 = NULL;
  11567. RuntimeObject* V_10 = NULL;
  11568. {
  11569. // public TlsBlockCipher(TlsContext context, IBlockCipher clientWriteCipher, IBlockCipher serverWriteCipher,
  11570. // IDigest clientWriteDigest, IDigest serverWriteDigest, int cipherKeySize)
  11571. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  11572. // this.context = context;
  11573. RuntimeObject* L_0 = ___context0;
  11574. __this->set_context_0(L_0);
  11575. // this.randomData = new byte[256];
  11576. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
  11577. __this->set_randomData_1(L_1);
  11578. // context.NonceRandomGenerator.NextBytes(randomData);
  11579. RuntimeObject* L_2 = ___context0;
  11580. NullCheck(L_2);
  11581. RuntimeObject* L_3;
  11582. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_NonceRandomGenerator() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  11583. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = __this->get_randomData_1();
  11584. NullCheck(L_3);
  11585. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator::NextBytes(System.Byte[]) */, IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var, L_3, L_4);
  11586. // this.useExplicitIV = TlsUtilities.IsTlsV11(context);
  11587. RuntimeObject* L_5 = ___context0;
  11588. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11589. bool L_6;
  11590. L_6 = TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B(L_5, /*hidden argument*/NULL);
  11591. __this->set_useExplicitIV_2(L_6);
  11592. // this.encryptThenMac = context.SecurityParameters.encryptThenMac;
  11593. RuntimeObject* L_7 = ___context0;
  11594. NullCheck(L_7);
  11595. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8;
  11596. L_8 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_7);
  11597. NullCheck(L_8);
  11598. bool L_9 = L_8->get_encryptThenMac_13();
  11599. __this->set_encryptThenMac_3(L_9);
  11600. // int key_block_size = (2 * cipherKeySize) + clientWriteDigest.GetDigestSize()
  11601. // + serverWriteDigest.GetDigestSize();
  11602. int32_t L_10 = ___cipherKeySize5;
  11603. RuntimeObject* L_11 = ___clientWriteDigest3;
  11604. NullCheck(L_11);
  11605. int32_t L_12;
  11606. L_12 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_11);
  11607. RuntimeObject* L_13 = ___serverWriteDigest4;
  11608. NullCheck(L_13);
  11609. int32_t L_14;
  11610. L_14 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_13);
  11611. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)2, (int32_t)L_10)), (int32_t)L_12)), (int32_t)L_14));
  11612. // if (!useExplicitIV)
  11613. bool L_15 = __this->get_useExplicitIV_2();
  11614. if (L_15)
  11615. {
  11616. goto IL_0078;
  11617. }
  11618. }
  11619. {
  11620. // key_block_size += clientWriteCipher.GetBlockSize() + serverWriteCipher.GetBlockSize();
  11621. int32_t L_16 = V_0;
  11622. RuntimeObject* L_17 = ___clientWriteCipher1;
  11623. NullCheck(L_17);
  11624. int32_t L_18;
  11625. L_18 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_17);
  11626. RuntimeObject* L_19 = ___serverWriteCipher2;
  11627. NullCheck(L_19);
  11628. int32_t L_20;
  11629. L_20 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_19);
  11630. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)L_20))));
  11631. }
  11632. IL_0078:
  11633. {
  11634. // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
  11635. RuntimeObject* L_21 = ___context0;
  11636. int32_t L_22 = V_0;
  11637. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  11638. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
  11639. L_23 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_21, L_22, /*hidden argument*/NULL);
  11640. V_1 = L_23;
  11641. // int offset = 0;
  11642. V_2 = 0;
  11643. // TlsMac clientWriteMac = new TlsMac(context, clientWriteDigest, key_block, offset,
  11644. // clientWriteDigest.GetDigestSize());
  11645. RuntimeObject* L_24 = ___context0;
  11646. RuntimeObject* L_25 = ___clientWriteDigest3;
  11647. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = V_1;
  11648. int32_t L_27 = V_2;
  11649. RuntimeObject* L_28 = ___clientWriteDigest3;
  11650. NullCheck(L_28);
  11651. int32_t L_29;
  11652. L_29 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_28);
  11653. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_30 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  11654. TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_30, L_24, L_25, L_26, L_27, L_29, /*hidden argument*/NULL);
  11655. V_3 = L_30;
  11656. // offset += clientWriteDigest.GetDigestSize();
  11657. int32_t L_31 = V_2;
  11658. RuntimeObject* L_32 = ___clientWriteDigest3;
  11659. NullCheck(L_32);
  11660. int32_t L_33;
  11661. L_33 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_32);
  11662. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_33));
  11663. // TlsMac serverWriteMac = new TlsMac(context, serverWriteDigest, key_block, offset,
  11664. // serverWriteDigest.GetDigestSize());
  11665. RuntimeObject* L_34 = ___context0;
  11666. RuntimeObject* L_35 = ___serverWriteDigest4;
  11667. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_1;
  11668. int32_t L_37 = V_2;
  11669. RuntimeObject* L_38 = ___serverWriteDigest4;
  11670. NullCheck(L_38);
  11671. int32_t L_39;
  11672. L_39 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_38);
  11673. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_40 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  11674. TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_40, L_34, L_35, L_36, L_37, L_39, /*hidden argument*/NULL);
  11675. V_4 = L_40;
  11676. // offset += serverWriteDigest.GetDigestSize();
  11677. int32_t L_41 = V_2;
  11678. RuntimeObject* L_42 = ___serverWriteDigest4;
  11679. NullCheck(L_42);
  11680. int32_t L_43;
  11681. L_43 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_42);
  11682. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)L_43));
  11683. // KeyParameter client_write_key = new KeyParameter(key_block, offset, cipherKeySize);
  11684. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_44 = V_1;
  11685. int32_t L_45 = V_2;
  11686. int32_t L_46 = ___cipherKeySize5;
  11687. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_47 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  11688. KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_47, L_44, L_45, L_46, /*hidden argument*/NULL);
  11689. V_5 = L_47;
  11690. // offset += cipherKeySize;
  11691. int32_t L_48 = V_2;
  11692. int32_t L_49 = ___cipherKeySize5;
  11693. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)L_49));
  11694. // KeyParameter server_write_key = new KeyParameter(key_block, offset, cipherKeySize);
  11695. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = V_1;
  11696. int32_t L_51 = V_2;
  11697. int32_t L_52 = ___cipherKeySize5;
  11698. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_53 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  11699. KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_53, L_50, L_51, L_52, /*hidden argument*/NULL);
  11700. V_6 = L_53;
  11701. // offset += cipherKeySize;
  11702. int32_t L_54 = V_2;
  11703. int32_t L_55 = ___cipherKeySize5;
  11704. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)L_55));
  11705. // if (useExplicitIV)
  11706. bool L_56 = __this->get_useExplicitIV_2();
  11707. if (!L_56)
  11708. {
  11709. goto IL_00ff;
  11710. }
  11711. }
  11712. {
  11713. // client_write_IV = new byte[clientWriteCipher.GetBlockSize()];
  11714. RuntimeObject* L_57 = ___clientWriteCipher1;
  11715. NullCheck(L_57);
  11716. int32_t L_58;
  11717. L_58 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_57);
  11718. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_58);
  11719. V_7 = L_59;
  11720. // server_write_IV = new byte[serverWriteCipher.GetBlockSize()];
  11721. RuntimeObject* L_60 = ___serverWriteCipher2;
  11722. NullCheck(L_60);
  11723. int32_t L_61;
  11724. L_61 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_60);
  11725. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_61);
  11726. V_8 = L_62;
  11727. // }
  11728. goto IL_0133;
  11729. }
  11730. IL_00ff:
  11731. {
  11732. // client_write_IV = Arrays.CopyOfRange(key_block, offset, offset + clientWriteCipher.GetBlockSize());
  11733. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_63 = V_1;
  11734. int32_t L_64 = V_2;
  11735. int32_t L_65 = V_2;
  11736. RuntimeObject* L_66 = ___clientWriteCipher1;
  11737. NullCheck(L_66);
  11738. int32_t L_67;
  11739. L_67 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_66);
  11740. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  11741. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68;
  11742. L_68 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_63, L_64, ((int32_t)il2cpp_codegen_add((int32_t)L_65, (int32_t)L_67)), /*hidden argument*/NULL);
  11743. V_7 = L_68;
  11744. // offset += clientWriteCipher.GetBlockSize();
  11745. int32_t L_69 = V_2;
  11746. RuntimeObject* L_70 = ___clientWriteCipher1;
  11747. NullCheck(L_70);
  11748. int32_t L_71;
  11749. L_71 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_70);
  11750. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)L_71));
  11751. // server_write_IV = Arrays.CopyOfRange(key_block, offset, offset + serverWriteCipher.GetBlockSize());
  11752. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_72 = V_1;
  11753. int32_t L_73 = V_2;
  11754. int32_t L_74 = V_2;
  11755. RuntimeObject* L_75 = ___serverWriteCipher2;
  11756. NullCheck(L_75);
  11757. int32_t L_76;
  11758. L_76 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_75);
  11759. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_77;
  11760. L_77 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_72, L_73, ((int32_t)il2cpp_codegen_add((int32_t)L_74, (int32_t)L_76)), /*hidden argument*/NULL);
  11761. V_8 = L_77;
  11762. // offset += serverWriteCipher.GetBlockSize();
  11763. int32_t L_78 = V_2;
  11764. RuntimeObject* L_79 = ___serverWriteCipher2;
  11765. NullCheck(L_79);
  11766. int32_t L_80;
  11767. L_80 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_79);
  11768. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)L_80));
  11769. }
  11770. IL_0133:
  11771. {
  11772. // if (offset != key_block_size)
  11773. int32_t L_81 = V_2;
  11774. int32_t L_82 = V_0;
  11775. if ((((int32_t)L_81) == ((int32_t)L_82)))
  11776. {
  11777. goto IL_013f;
  11778. }
  11779. }
  11780. {
  11781. // throw new TlsFatalAlert(AlertDescription.internal_error);
  11782. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  11783. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  11784. IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher__ctor_mFF4377D1F46CE5D20AE89B4EFDDF99C372CC3A08_RuntimeMethod_var)));
  11785. }
  11786. IL_013f:
  11787. {
  11788. // if (context.IsServer)
  11789. RuntimeObject* L_84 = ___context0;
  11790. NullCheck(L_84);
  11791. bool L_85;
  11792. L_85 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_84);
  11793. if (!L_85)
  11794. {
  11795. goto IL_017c;
  11796. }
  11797. }
  11798. {
  11799. // this.mWriteMac = serverWriteMac;
  11800. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_86 = V_4;
  11801. __this->set_mWriteMac_6(L_86);
  11802. // this.mReadMac = clientWriteMac;
  11803. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_87 = V_3;
  11804. __this->set_mReadMac_7(L_87);
  11805. // this.encryptCipher = serverWriteCipher;
  11806. RuntimeObject* L_88 = ___serverWriteCipher2;
  11807. __this->set_encryptCipher_4(L_88);
  11808. // this.decryptCipher = clientWriteCipher;
  11809. RuntimeObject* L_89 = ___clientWriteCipher1;
  11810. __this->set_decryptCipher_5(L_89);
  11811. // encryptParams = new ParametersWithIV(server_write_key, server_write_IV);
  11812. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_90 = V_6;
  11813. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_91 = V_8;
  11814. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_92 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11815. ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_92, L_90, L_91, /*hidden argument*/NULL);
  11816. V_9 = L_92;
  11817. // decryptParams = new ParametersWithIV(client_write_key, client_write_IV);
  11818. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_93 = V_5;
  11819. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = V_7;
  11820. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_95 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11821. ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_95, L_93, L_94, /*hidden argument*/NULL);
  11822. V_10 = L_95;
  11823. // }
  11824. goto IL_01af;
  11825. }
  11826. IL_017c:
  11827. {
  11828. // this.mWriteMac = clientWriteMac;
  11829. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_96 = V_3;
  11830. __this->set_mWriteMac_6(L_96);
  11831. // this.mReadMac = serverWriteMac;
  11832. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_97 = V_4;
  11833. __this->set_mReadMac_7(L_97);
  11834. // this.encryptCipher = clientWriteCipher;
  11835. RuntimeObject* L_98 = ___clientWriteCipher1;
  11836. __this->set_encryptCipher_4(L_98);
  11837. // this.decryptCipher = serverWriteCipher;
  11838. RuntimeObject* L_99 = ___serverWriteCipher2;
  11839. __this->set_decryptCipher_5(L_99);
  11840. // encryptParams = new ParametersWithIV(client_write_key, client_write_IV);
  11841. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_100 = V_5;
  11842. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_101 = V_7;
  11843. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_102 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11844. ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_102, L_100, L_101, /*hidden argument*/NULL);
  11845. V_9 = L_102;
  11846. // decryptParams = new ParametersWithIV(server_write_key, server_write_IV);
  11847. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_103 = V_6;
  11848. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_104 = V_8;
  11849. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_105 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11850. ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_105, L_103, L_104, /*hidden argument*/NULL);
  11851. V_10 = L_105;
  11852. }
  11853. IL_01af:
  11854. {
  11855. // this.encryptCipher.Init(true, encryptParams);
  11856. RuntimeObject* L_106 = __this->get_encryptCipher_4();
  11857. RuntimeObject* L_107 = V_9;
  11858. NullCheck(L_106);
  11859. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_106, (bool)1, L_107);
  11860. // this.decryptCipher.Init(false, decryptParams);
  11861. RuntimeObject* L_108 = __this->get_decryptCipher_5();
  11862. RuntimeObject* L_109 = V_10;
  11863. NullCheck(L_108);
  11864. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_108, (bool)0, L_109);
  11865. // }
  11866. return;
  11867. }
  11868. }
  11869. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::GetPlaintextLimit(System.Int32)
  11870. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_GetPlaintextLimit_mC77AE41C568572152EF0B405E02FFE740F6A8739 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
  11871. {
  11872. static bool s_Il2CppMethodInitialized;
  11873. if (!s_Il2CppMethodInitialized)
  11874. {
  11875. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
  11876. s_Il2CppMethodInitialized = true;
  11877. }
  11878. int32_t V_0 = 0;
  11879. int32_t V_1 = 0;
  11880. int32_t V_2 = 0;
  11881. {
  11882. // int blockSize = encryptCipher.GetBlockSize();
  11883. RuntimeObject* L_0 = __this->get_encryptCipher_4();
  11884. NullCheck(L_0);
  11885. int32_t L_1;
  11886. L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
  11887. V_0 = L_1;
  11888. // int macSize = mWriteMac.Size;
  11889. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mWriteMac_6();
  11890. NullCheck(L_2);
  11891. int32_t L_3;
  11892. L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
  11893. V_1 = L_3;
  11894. // int plaintextLimit = ciphertextLimit;
  11895. int32_t L_4 = ___ciphertextLimit0;
  11896. V_2 = L_4;
  11897. // if (useExplicitIV)
  11898. bool L_5 = __this->get_useExplicitIV_2();
  11899. if (!L_5)
  11900. {
  11901. goto IL_0026;
  11902. }
  11903. }
  11904. {
  11905. // plaintextLimit -= blockSize;
  11906. int32_t L_6 = V_2;
  11907. int32_t L_7 = V_0;
  11908. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7));
  11909. }
  11910. IL_0026:
  11911. {
  11912. // if (encryptThenMac)
  11913. bool L_8 = __this->get_encryptThenMac_3();
  11914. if (!L_8)
  11915. {
  11916. goto IL_003a;
  11917. }
  11918. }
  11919. {
  11920. // plaintextLimit -= macSize;
  11921. int32_t L_9 = V_2;
  11922. int32_t L_10 = V_1;
  11923. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10));
  11924. // plaintextLimit -= plaintextLimit % blockSize;
  11925. int32_t L_11 = V_2;
  11926. int32_t L_12 = V_2;
  11927. int32_t L_13 = V_0;
  11928. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)((int32_t)L_12%(int32_t)L_13))));
  11929. // }
  11930. goto IL_0044;
  11931. }
  11932. IL_003a:
  11933. {
  11934. // plaintextLimit -= plaintextLimit % blockSize;
  11935. int32_t L_14 = V_2;
  11936. int32_t L_15 = V_2;
  11937. int32_t L_16 = V_0;
  11938. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)((int32_t)((int32_t)L_15%(int32_t)L_16))));
  11939. // plaintextLimit -= macSize;
  11940. int32_t L_17 = V_2;
  11941. int32_t L_18 = V_1;
  11942. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18));
  11943. }
  11944. IL_0044:
  11945. {
  11946. // --plaintextLimit;
  11947. int32_t L_19 = V_2;
  11948. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)1));
  11949. // return plaintextLimit;
  11950. int32_t L_20 = V_2;
  11951. return L_20;
  11952. }
  11953. }
  11954. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  11955. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsBlockCipher_EncodePlaintext_m1CD2EAC266A8D49131CE78086F9074662AC929B4 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___plaintext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  11956. {
  11957. static bool s_Il2CppMethodInitialized;
  11958. if (!s_Il2CppMethodInitialized)
  11959. {
  11960. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var);
  11961. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  11962. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
  11963. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
  11964. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  11965. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  11966. s_Il2CppMethodInitialized = true;
  11967. }
  11968. int32_t V_0 = 0;
  11969. int32_t V_1 = 0;
  11970. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_2 = NULL;
  11971. int32_t V_3 = 0;
  11972. int32_t V_4 = 0;
  11973. int32_t V_5 = 0;
  11974. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  11975. int32_t V_7 = 0;
  11976. int32_t V_8 = 0;
  11977. int32_t V_9 = 0;
  11978. int32_t V_10 = 0;
  11979. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_11 = NULL;
  11980. int32_t V_12 = 0;
  11981. int32_t V_13 = 0;
  11982. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_14 = NULL;
  11983. {
  11984. // int blockSize = encryptCipher.GetBlockSize();
  11985. RuntimeObject* L_0 = __this->get_encryptCipher_4();
  11986. NullCheck(L_0);
  11987. int32_t L_1;
  11988. L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
  11989. V_0 = L_1;
  11990. // int macSize = mWriteMac.Size;
  11991. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mWriteMac_6();
  11992. NullCheck(L_2);
  11993. int32_t L_3;
  11994. L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
  11995. V_1 = L_3;
  11996. // ProtocolVersion version = context.ServerVersion;
  11997. RuntimeObject* L_4 = __this->get_context_0();
  11998. NullCheck(L_4);
  11999. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
  12000. L_5 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_4);
  12001. V_2 = L_5;
  12002. // int enc_input_length = len;
  12003. int32_t L_6 = ___len4;
  12004. V_3 = L_6;
  12005. // if (!encryptThenMac)
  12006. bool L_7 = __this->get_encryptThenMac_3();
  12007. if (L_7)
  12008. {
  12009. goto IL_0033;
  12010. }
  12011. }
  12012. {
  12013. // enc_input_length += macSize;
  12014. int32_t L_8 = V_3;
  12015. int32_t L_9 = V_1;
  12016. V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9));
  12017. }
  12018. IL_0033:
  12019. {
  12020. // int padding_length = blockSize - 1 - (enc_input_length % blockSize);
  12021. int32_t L_10 = V_0;
  12022. int32_t L_11 = V_3;
  12023. int32_t L_12 = V_0;
  12024. V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)((int32_t)L_11%(int32_t)L_12))));
  12025. // if (encryptThenMac || !context.SecurityParameters.truncatedHMac)
  12026. bool L_13 = __this->get_encryptThenMac_3();
  12027. if (L_13)
  12028. {
  12029. goto IL_0056;
  12030. }
  12031. }
  12032. {
  12033. RuntimeObject* L_14 = __this->get_context_0();
  12034. NullCheck(L_14);
  12035. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15;
  12036. L_15 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_14);
  12037. NullCheck(L_15);
  12038. bool L_16 = L_15->get_truncatedHMac_12();
  12039. if (L_16)
  12040. {
  12041. goto IL_0090;
  12042. }
  12043. }
  12044. IL_0056:
  12045. {
  12046. // if (!version.IsDtls && !version.IsSsl)
  12047. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_17 = V_2;
  12048. NullCheck(L_17);
  12049. bool L_18;
  12050. L_18 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_17, /*hidden argument*/NULL);
  12051. if (L_18)
  12052. {
  12053. goto IL_0090;
  12054. }
  12055. }
  12056. {
  12057. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_19 = V_2;
  12058. NullCheck(L_19);
  12059. bool L_20;
  12060. L_20 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_19, /*hidden argument*/NULL);
  12061. if (L_20)
  12062. {
  12063. goto IL_0090;
  12064. }
  12065. }
  12066. {
  12067. // int maxExtraPadBlocks = (255 - padding_length) / blockSize;
  12068. int32_t L_21 = V_4;
  12069. int32_t L_22 = V_0;
  12070. V_9 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)255), (int32_t)L_21))/(int32_t)L_22));
  12071. // int actualExtraPadBlocks = ChooseExtraPadBlocks(context.SecureRandom, maxExtraPadBlocks);
  12072. RuntimeObject* L_23 = __this->get_context_0();
  12073. NullCheck(L_23);
  12074. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_24;
  12075. L_24 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_23);
  12076. int32_t L_25 = V_9;
  12077. int32_t L_26;
  12078. L_26 = VirtualFuncInvoker2< int32_t, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 *, int32_t >::Invoke(13 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::ChooseExtraPadBlocks(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Int32) */, __this, L_24, L_25);
  12079. V_10 = L_26;
  12080. // padding_length += actualExtraPadBlocks * blockSize;
  12081. int32_t L_27 = V_4;
  12082. int32_t L_28 = V_10;
  12083. int32_t L_29 = V_0;
  12084. V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)L_29))));
  12085. }
  12086. IL_0090:
  12087. {
  12088. // int totalSize = len + macSize + padding_length + 1;
  12089. int32_t L_30 = ___len4;
  12090. int32_t L_31 = V_1;
  12091. int32_t L_32 = V_4;
  12092. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)L_31)), (int32_t)L_32)), (int32_t)1));
  12093. // if (useExplicitIV)
  12094. bool L_33 = __this->get_useExplicitIV_2();
  12095. if (!L_33)
  12096. {
  12097. goto IL_00a9;
  12098. }
  12099. }
  12100. {
  12101. // totalSize += blockSize;
  12102. int32_t L_34 = V_5;
  12103. int32_t L_35 = V_0;
  12104. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35));
  12105. }
  12106. IL_00a9:
  12107. {
  12108. // byte[] outBuf = new byte[totalSize];
  12109. int32_t L_36 = V_5;
  12110. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_37 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_36);
  12111. V_6 = L_37;
  12112. // int outOff = 0;
  12113. V_7 = 0;
  12114. // if (useExplicitIV)
  12115. bool L_38 = __this->get_useExplicitIV_2();
  12116. if (!L_38)
  12117. {
  12118. goto IL_0121;
  12119. }
  12120. }
  12121. {
  12122. // if (explicitIV == null || explicitIV.Length != blockSize) Array.Resize(ref explicitIV, blockSize);
  12123. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = __this->get_explicitIV_8();
  12124. if (!L_39)
  12125. {
  12126. goto IL_00d0;
  12127. }
  12128. }
  12129. {
  12130. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_40 = __this->get_explicitIV_8();
  12131. NullCheck(L_40);
  12132. int32_t L_41 = V_0;
  12133. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length)))) == ((int32_t)L_41)))
  12134. {
  12135. goto IL_00dc;
  12136. }
  12137. }
  12138. IL_00d0:
  12139. {
  12140. // if (explicitIV == null || explicitIV.Length != blockSize) Array.Resize(ref explicitIV, blockSize);
  12141. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** L_42 = __this->get_address_of_explicitIV_8();
  12142. int32_t L_43 = V_0;
  12143. Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726**)L_42, L_43, /*hidden argument*/Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var);
  12144. }
  12145. IL_00dc:
  12146. {
  12147. // context.NonceRandomGenerator.NextBytes(explicitIV);
  12148. RuntimeObject* L_44 = __this->get_context_0();
  12149. NullCheck(L_44);
  12150. RuntimeObject* L_45;
  12151. L_45 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_NonceRandomGenerator() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_44);
  12152. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46 = __this->get_explicitIV_8();
  12153. NullCheck(L_45);
  12154. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator::NextBytes(System.Byte[]) */, IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var, L_45, L_46);
  12155. // encryptCipher.Init(true, new ParametersWithIV(null, explicitIV));
  12156. RuntimeObject* L_47 = __this->get_encryptCipher_4();
  12157. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = __this->get_explicitIV_8();
  12158. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_49 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  12159. ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_49, (RuntimeObject*)NULL, L_48, /*hidden argument*/NULL);
  12160. NullCheck(L_47);
  12161. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_47, (bool)1, L_49);
  12162. // Array.Copy(explicitIV, 0, outBuf, outOff, blockSize);
  12163. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = __this->get_explicitIV_8();
  12164. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_51 = V_6;
  12165. int32_t L_52 = V_7;
  12166. int32_t L_53 = V_0;
  12167. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_50, 0, (RuntimeArray *)(RuntimeArray *)L_51, L_52, L_53, /*hidden argument*/NULL);
  12168. // outOff += blockSize;
  12169. int32_t L_54 = V_7;
  12170. int32_t L_55 = V_0;
  12171. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)L_55));
  12172. }
  12173. IL_0121:
  12174. {
  12175. // int blocks_start = outOff;
  12176. int32_t L_56 = V_7;
  12177. V_8 = L_56;
  12178. // Array.Copy(plaintext, offset, outBuf, outOff, len);
  12179. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = ___plaintext2;
  12180. int32_t L_58 = ___offset3;
  12181. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = V_6;
  12182. int32_t L_60 = V_7;
  12183. int32_t L_61 = ___len4;
  12184. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_57, L_58, (RuntimeArray *)(RuntimeArray *)L_59, L_60, L_61, /*hidden argument*/NULL);
  12185. // outOff += len;
  12186. int32_t L_62 = V_7;
  12187. int32_t L_63 = ___len4;
  12188. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_62, (int32_t)L_63));
  12189. // if (!encryptThenMac)
  12190. bool L_64 = __this->get_encryptThenMac_3();
  12191. if (L_64)
  12192. {
  12193. goto IL_016f;
  12194. }
  12195. }
  12196. {
  12197. // byte[] mac = mWriteMac.CalculateMac(seqNo, type, plaintext, offset, len);
  12198. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_65 = __this->get_mWriteMac_6();
  12199. int64_t L_66 = ___seqNo0;
  12200. uint8_t L_67 = ___type1;
  12201. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = ___plaintext2;
  12202. int32_t L_69 = ___offset3;
  12203. int32_t L_70 = ___len4;
  12204. NullCheck(L_65);
  12205. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_71;
  12206. L_71 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, L_65, L_66, L_67, L_68, L_69, L_70);
  12207. V_11 = L_71;
  12208. // Array.Copy(mac, 0, outBuf, outOff, mac.Length);
  12209. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_72 = V_11;
  12210. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_73 = V_6;
  12211. int32_t L_74 = V_7;
  12212. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_75 = V_11;
  12213. NullCheck(L_75);
  12214. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_72, 0, (RuntimeArray *)(RuntimeArray *)L_73, L_74, ((int32_t)((int32_t)(((RuntimeArray*)L_75)->max_length))), /*hidden argument*/NULL);
  12215. // outOff += mac.Length;
  12216. int32_t L_76 = V_7;
  12217. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_77 = V_11;
  12218. NullCheck(L_77);
  12219. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_76, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_77)->max_length)))));
  12220. }
  12221. IL_016f:
  12222. {
  12223. // for (int i = 0; i <= padding_length; i++)
  12224. V_12 = 0;
  12225. goto IL_0187;
  12226. }
  12227. IL_0174:
  12228. {
  12229. // outBuf[outOff++] = (byte)padding_length;
  12230. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_78 = V_6;
  12231. int32_t L_79 = V_7;
  12232. int32_t L_80 = L_79;
  12233. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_80, (int32_t)1));
  12234. int32_t L_81 = V_4;
  12235. NullCheck(L_78);
  12236. (L_78)->SetAt(static_cast<il2cpp_array_size_t>(L_80), (uint8_t)((int32_t)((uint8_t)L_81)));
  12237. // for (int i = 0; i <= padding_length; i++)
  12238. int32_t L_82 = V_12;
  12239. V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)1));
  12240. }
  12241. IL_0187:
  12242. {
  12243. // for (int i = 0; i <= padding_length; i++)
  12244. int32_t L_83 = V_12;
  12245. int32_t L_84 = V_4;
  12246. if ((((int32_t)L_83) <= ((int32_t)L_84)))
  12247. {
  12248. goto IL_0174;
  12249. }
  12250. }
  12251. {
  12252. // for (int i = blocks_start; i < outOff; i += blockSize)
  12253. int32_t L_85 = V_8;
  12254. V_13 = L_85;
  12255. goto IL_01ad;
  12256. }
  12257. IL_0193:
  12258. {
  12259. // encryptCipher.ProcessBlock(outBuf, i, outBuf, i);
  12260. RuntimeObject* L_86 = __this->get_encryptCipher_4();
  12261. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_87 = V_6;
  12262. int32_t L_88 = V_13;
  12263. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_89 = V_6;
  12264. int32_t L_90 = V_13;
  12265. NullCheck(L_86);
  12266. int32_t L_91;
  12267. L_91 = InterfaceFuncInvoker4< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(4 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_86, L_87, L_88, L_89, L_90);
  12268. // for (int i = blocks_start; i < outOff; i += blockSize)
  12269. int32_t L_92 = V_13;
  12270. int32_t L_93 = V_0;
  12271. V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_92, (int32_t)L_93));
  12272. }
  12273. IL_01ad:
  12274. {
  12275. // for (int i = blocks_start; i < outOff; i += blockSize)
  12276. int32_t L_94 = V_13;
  12277. int32_t L_95 = V_7;
  12278. if ((((int32_t)L_94) < ((int32_t)L_95)))
  12279. {
  12280. goto IL_0193;
  12281. }
  12282. }
  12283. {
  12284. // if (encryptThenMac)
  12285. bool L_96 = __this->get_encryptThenMac_3();
  12286. if (!L_96)
  12287. {
  12288. goto IL_01e8;
  12289. }
  12290. }
  12291. {
  12292. // byte[] mac = mWriteMac.CalculateMac(seqNo, type, outBuf, 0, outOff);
  12293. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_97 = __this->get_mWriteMac_6();
  12294. int64_t L_98 = ___seqNo0;
  12295. uint8_t L_99 = ___type1;
  12296. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_100 = V_6;
  12297. int32_t L_101 = V_7;
  12298. NullCheck(L_97);
  12299. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_102;
  12300. L_102 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, L_97, L_98, L_99, L_100, 0, L_101);
  12301. V_14 = L_102;
  12302. // Array.Copy(mac, 0, outBuf, outOff, mac.Length);
  12303. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_103 = V_14;
  12304. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_104 = V_6;
  12305. int32_t L_105 = V_7;
  12306. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_106 = V_14;
  12307. NullCheck(L_106);
  12308. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_103, 0, (RuntimeArray *)(RuntimeArray *)L_104, L_105, ((int32_t)((int32_t)(((RuntimeArray*)L_106)->max_length))), /*hidden argument*/NULL);
  12309. // outOff += mac.Length;
  12310. int32_t L_107 = V_7;
  12311. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_108 = V_14;
  12312. NullCheck(L_108);
  12313. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_107, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_108)->max_length)))));
  12314. }
  12315. IL_01e8:
  12316. {
  12317. // return outBuf;
  12318. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_109 = V_6;
  12319. return L_109;
  12320. }
  12321. }
  12322. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  12323. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ciphertext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  12324. {
  12325. static bool s_Il2CppMethodInitialized;
  12326. if (!s_Il2CppMethodInitialized)
  12327. {
  12328. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  12329. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
  12330. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  12331. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  12332. s_Il2CppMethodInitialized = true;
  12333. }
  12334. int32_t V_0 = 0;
  12335. int32_t V_1 = 0;
  12336. int32_t V_2 = 0;
  12337. int32_t V_3 = 0;
  12338. int32_t V_4 = 0;
  12339. bool V_5 = false;
  12340. int32_t V_6 = 0;
  12341. int32_t V_7 = 0;
  12342. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_8 = NULL;
  12343. int32_t V_9 = 0;
  12344. int32_t V_10 = 0;
  12345. int32_t V_11 = 0;
  12346. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_12 = NULL;
  12347. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_13 = NULL;
  12348. int32_t G_B21_0 = 0;
  12349. int32_t G_B21_1 = 0;
  12350. int32_t G_B21_2 = 0;
  12351. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B21_3 = NULL;
  12352. TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B21_4 = NULL;
  12353. int32_t G_B20_0 = 0;
  12354. int32_t G_B20_1 = 0;
  12355. int32_t G_B20_2 = 0;
  12356. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B20_3 = NULL;
  12357. TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B20_4 = NULL;
  12358. int32_t G_B22_0 = 0;
  12359. int32_t G_B22_1 = 0;
  12360. int32_t G_B22_2 = 0;
  12361. int32_t G_B22_3 = 0;
  12362. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B22_4 = NULL;
  12363. TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B22_5 = NULL;
  12364. {
  12365. // int blockSize = decryptCipher.GetBlockSize();
  12366. RuntimeObject* L_0 = __this->get_decryptCipher_5();
  12367. NullCheck(L_0);
  12368. int32_t L_1;
  12369. L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
  12370. V_0 = L_1;
  12371. // int macSize = mReadMac.Size;
  12372. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mReadMac_7();
  12373. NullCheck(L_2);
  12374. int32_t L_3;
  12375. L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
  12376. V_1 = L_3;
  12377. // int minLen = blockSize;
  12378. int32_t L_4 = V_0;
  12379. V_2 = L_4;
  12380. // if (encryptThenMac)
  12381. bool L_5 = __this->get_encryptThenMac_3();
  12382. if (!L_5)
  12383. {
  12384. goto IL_0028;
  12385. }
  12386. }
  12387. {
  12388. // minLen += macSize;
  12389. int32_t L_6 = V_2;
  12390. int32_t L_7 = V_1;
  12391. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_7));
  12392. // }
  12393. goto IL_0032;
  12394. }
  12395. IL_0028:
  12396. {
  12397. // minLen = System.Math.Max(minLen, macSize + 1);
  12398. int32_t L_8 = V_2;
  12399. int32_t L_9 = V_1;
  12400. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  12401. int32_t L_10;
  12402. L_10 = Math_Max_mD8AA27386BF012C65303FCDEA041B0CC65056E7B(L_8, ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)), /*hidden argument*/NULL);
  12403. V_2 = L_10;
  12404. }
  12405. IL_0032:
  12406. {
  12407. // if (useExplicitIV)
  12408. bool L_11 = __this->get_useExplicitIV_2();
  12409. if (!L_11)
  12410. {
  12411. goto IL_003e;
  12412. }
  12413. }
  12414. {
  12415. // minLen += blockSize;
  12416. int32_t L_12 = V_2;
  12417. int32_t L_13 = V_0;
  12418. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13));
  12419. }
  12420. IL_003e:
  12421. {
  12422. // if (len < minLen)
  12423. int32_t L_14 = ___len4;
  12424. int32_t L_15 = V_2;
  12425. if ((((int32_t)L_14) >= ((int32_t)L_15)))
  12426. {
  12427. goto IL_004b;
  12428. }
  12429. }
  12430. {
  12431. // throw new TlsFatalAlert(AlertDescription.decode_error);
  12432. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_16 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  12433. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_16, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  12434. IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
  12435. }
  12436. IL_004b:
  12437. {
  12438. // int blocks_length = len;
  12439. int32_t L_17 = ___len4;
  12440. V_3 = L_17;
  12441. // if (encryptThenMac)
  12442. bool L_18 = __this->get_encryptThenMac_3();
  12443. if (!L_18)
  12444. {
  12445. goto IL_005a;
  12446. }
  12447. }
  12448. {
  12449. // blocks_length -= macSize;
  12450. int32_t L_19 = V_3;
  12451. int32_t L_20 = V_1;
  12452. V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)L_20));
  12453. }
  12454. IL_005a:
  12455. {
  12456. // if (blocks_length % blockSize != 0)
  12457. int32_t L_21 = V_3;
  12458. int32_t L_22 = V_0;
  12459. if (!((int32_t)((int32_t)L_21%(int32_t)L_22)))
  12460. {
  12461. goto IL_0067;
  12462. }
  12463. }
  12464. {
  12465. // throw new TlsFatalAlert(AlertDescription.decryption_failed);
  12466. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  12467. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)21), /*hidden argument*/NULL);
  12468. IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
  12469. }
  12470. IL_0067:
  12471. {
  12472. // if (encryptThenMac)
  12473. bool L_24 = __this->get_encryptThenMac_3();
  12474. if (!L_24)
  12475. {
  12476. goto IL_00ac;
  12477. }
  12478. }
  12479. {
  12480. // int end = offset + len;
  12481. int32_t L_25 = ___offset3;
  12482. int32_t L_26 = ___len4;
  12483. V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26));
  12484. // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, end - macSize, end);
  12485. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = ___ciphertext2;
  12486. int32_t L_28 = V_7;
  12487. int32_t L_29 = V_1;
  12488. int32_t L_30 = V_7;
  12489. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  12490. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
  12491. L_31 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_27, ((int32_t)il2cpp_codegen_subtract((int32_t)L_28, (int32_t)L_29)), L_30, /*hidden argument*/NULL);
  12492. V_8 = L_31;
  12493. // byte[] calculatedMac = mReadMac.CalculateMac(seqNo, type, ciphertext, offset, len - macSize);
  12494. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_32 = __this->get_mReadMac_7();
  12495. int64_t L_33 = ___seqNo0;
  12496. uint8_t L_34 = ___type1;
  12497. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35 = ___ciphertext2;
  12498. int32_t L_36 = ___offset3;
  12499. int32_t L_37 = ___len4;
  12500. int32_t L_38 = V_1;
  12501. NullCheck(L_32);
  12502. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39;
  12503. L_39 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, L_32, L_33, L_34, L_35, L_36, ((int32_t)il2cpp_codegen_subtract((int32_t)L_37, (int32_t)L_38)));
  12504. // bool badMacEtm = !Arrays.ConstantTimeAreEqual(calculatedMac, receivedMac);
  12505. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_40 = V_8;
  12506. bool L_41;
  12507. L_41 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_39, L_40, /*hidden argument*/NULL);
  12508. // if (badMacEtm)
  12509. if (!((((int32_t)L_41) == ((int32_t)0))? 1 : 0))
  12510. {
  12511. goto IL_00ac;
  12512. }
  12513. }
  12514. {
  12515. // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
  12516. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_42 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  12517. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_42, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
  12518. IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
  12519. }
  12520. IL_00ac:
  12521. {
  12522. // if (useExplicitIV)
  12523. bool L_43 = __this->get_useExplicitIV_2();
  12524. if (!L_43)
  12525. {
  12526. goto IL_00d4;
  12527. }
  12528. }
  12529. {
  12530. // decryptCipher.Init(false, new ParametersWithIV(null, ciphertext, offset, blockSize));
  12531. RuntimeObject* L_44 = __this->get_decryptCipher_5();
  12532. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45 = ___ciphertext2;
  12533. int32_t L_46 = ___offset3;
  12534. int32_t L_47 = V_0;
  12535. ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_48 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
  12536. ParametersWithIV__ctor_m012DD2304E0C24B39AD257B371C1A8285EC533FE(L_48, (RuntimeObject*)NULL, L_45, L_46, L_47, /*hidden argument*/NULL);
  12537. NullCheck(L_44);
  12538. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_44, (bool)0, L_48);
  12539. // offset += blockSize;
  12540. int32_t L_49 = ___offset3;
  12541. int32_t L_50 = V_0;
  12542. ___offset3 = ((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)L_50));
  12543. // blocks_length -= blockSize;
  12544. int32_t L_51 = V_3;
  12545. int32_t L_52 = V_0;
  12546. V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)L_52));
  12547. }
  12548. IL_00d4:
  12549. {
  12550. // for (int i = 0; i < blocks_length; i += blockSize)
  12551. V_9 = 0;
  12552. goto IL_00f7;
  12553. }
  12554. IL_00d9:
  12555. {
  12556. // decryptCipher.ProcessBlock(ciphertext, offset + i, ciphertext, offset + i);
  12557. RuntimeObject* L_53 = __this->get_decryptCipher_5();
  12558. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___ciphertext2;
  12559. int32_t L_55 = ___offset3;
  12560. int32_t L_56 = V_9;
  12561. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = ___ciphertext2;
  12562. int32_t L_58 = ___offset3;
  12563. int32_t L_59 = V_9;
  12564. NullCheck(L_53);
  12565. int32_t L_60;
  12566. L_60 = InterfaceFuncInvoker4< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(4 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::ProcessBlock(System.Byte[],System.Int32,System.Byte[],System.Int32) */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_53, L_54, ((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)L_56)), L_57, ((int32_t)il2cpp_codegen_add((int32_t)L_58, (int32_t)L_59)));
  12567. // for (int i = 0; i < blocks_length; i += blockSize)
  12568. int32_t L_61 = V_9;
  12569. int32_t L_62 = V_0;
  12570. V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)L_62));
  12571. }
  12572. IL_00f7:
  12573. {
  12574. // for (int i = 0; i < blocks_length; i += blockSize)
  12575. int32_t L_63 = V_9;
  12576. int32_t L_64 = V_3;
  12577. if ((((int32_t)L_63) < ((int32_t)L_64)))
  12578. {
  12579. goto IL_00d9;
  12580. }
  12581. }
  12582. {
  12583. // int totalPad = CheckPaddingConstantTime(ciphertext, offset, blocks_length, blockSize, encryptThenMac ? 0 : macSize);
  12584. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_65 = ___ciphertext2;
  12585. int32_t L_66 = ___offset3;
  12586. int32_t L_67 = V_3;
  12587. int32_t L_68 = V_0;
  12588. bool L_69 = __this->get_encryptThenMac_3();
  12589. G_B20_0 = L_68;
  12590. G_B20_1 = L_67;
  12591. G_B20_2 = L_66;
  12592. G_B20_3 = L_65;
  12593. G_B20_4 = __this;
  12594. if (L_69)
  12595. {
  12596. G_B21_0 = L_68;
  12597. G_B21_1 = L_67;
  12598. G_B21_2 = L_66;
  12599. G_B21_3 = L_65;
  12600. G_B21_4 = __this;
  12601. goto IL_010d;
  12602. }
  12603. }
  12604. {
  12605. int32_t L_70 = V_1;
  12606. G_B22_0 = L_70;
  12607. G_B22_1 = G_B20_0;
  12608. G_B22_2 = G_B20_1;
  12609. G_B22_3 = G_B20_2;
  12610. G_B22_4 = G_B20_3;
  12611. G_B22_5 = G_B20_4;
  12612. goto IL_010e;
  12613. }
  12614. IL_010d:
  12615. {
  12616. G_B22_0 = 0;
  12617. G_B22_1 = G_B21_0;
  12618. G_B22_2 = G_B21_1;
  12619. G_B22_3 = G_B21_2;
  12620. G_B22_4 = G_B21_3;
  12621. G_B22_5 = G_B21_4;
  12622. }
  12623. IL_010e:
  12624. {
  12625. NullCheck(G_B22_5);
  12626. int32_t L_71;
  12627. L_71 = VirtualFuncInvoker5< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t, int32_t, int32_t >::Invoke(12 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::CheckPaddingConstantTime(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32) */, G_B22_5, G_B22_4, G_B22_3, G_B22_2, G_B22_1, G_B22_0);
  12628. V_4 = L_71;
  12629. // bool badMac = (totalPad == 0);
  12630. int32_t L_72 = V_4;
  12631. V_5 = (bool)((((int32_t)L_72) == ((int32_t)0))? 1 : 0);
  12632. // int dec_output_length = blocks_length - totalPad;
  12633. int32_t L_73 = V_3;
  12634. int32_t L_74 = V_4;
  12635. V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_73, (int32_t)L_74));
  12636. // if (!encryptThenMac)
  12637. bool L_75 = __this->get_encryptThenMac_3();
  12638. if (L_75)
  12639. {
  12640. goto IL_0177;
  12641. }
  12642. }
  12643. {
  12644. // dec_output_length -= macSize;
  12645. int32_t L_76 = V_6;
  12646. int32_t L_77 = V_1;
  12647. V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_76, (int32_t)L_77));
  12648. // int macInputLen = dec_output_length;
  12649. int32_t L_78 = V_6;
  12650. V_10 = L_78;
  12651. // int macOff = offset + macInputLen;
  12652. int32_t L_79 = ___offset3;
  12653. int32_t L_80 = V_10;
  12654. V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_79, (int32_t)L_80));
  12655. // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, macOff, macOff + macSize);
  12656. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_81 = ___ciphertext2;
  12657. int32_t L_82 = V_11;
  12658. int32_t L_83 = V_11;
  12659. int32_t L_84 = V_1;
  12660. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  12661. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_85;
  12662. L_85 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_81, L_82, ((int32_t)il2cpp_codegen_add((int32_t)L_83, (int32_t)L_84)), /*hidden argument*/NULL);
  12663. V_12 = L_85;
  12664. // byte[] calculatedMac = mReadMac.CalculateMacConstantTime(seqNo, type, ciphertext, offset, macInputLen,
  12665. // blocks_length - macSize, randomData);
  12666. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_86 = __this->get_mReadMac_7();
  12667. int64_t L_87 = ___seqNo0;
  12668. uint8_t L_88 = ___type1;
  12669. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_89 = ___ciphertext2;
  12670. int32_t L_90 = ___offset3;
  12671. int32_t L_91 = V_10;
  12672. int32_t L_92 = V_3;
  12673. int32_t L_93 = V_1;
  12674. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = __this->get_randomData_1();
  12675. NullCheck(L_86);
  12676. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_95;
  12677. L_95 = VirtualFuncInvoker7< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t, int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(7 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMacConstantTime(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32,System.Int32,System.Byte[]) */, L_86, L_87, L_88, L_89, L_90, L_91, ((int32_t)il2cpp_codegen_subtract((int32_t)L_92, (int32_t)L_93)), L_94);
  12678. V_13 = L_95;
  12679. // badMac |= !Arrays.ConstantTimeAreEqual(calculatedMac, receivedMac);
  12680. bool L_96 = V_5;
  12681. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_97 = V_13;
  12682. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_98 = V_12;
  12683. bool L_99;
  12684. L_99 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_97, L_98, /*hidden argument*/NULL);
  12685. V_5 = (bool)((int32_t)((int32_t)L_96|(int32_t)((((int32_t)L_99) == ((int32_t)0))? 1 : 0)));
  12686. }
  12687. IL_0177:
  12688. {
  12689. // if (badMac)
  12690. bool L_100 = V_5;
  12691. if (!L_100)
  12692. {
  12693. goto IL_0183;
  12694. }
  12695. }
  12696. {
  12697. // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
  12698. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_101 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  12699. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_101, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
  12700. IL2CPP_RAISE_MANAGED_EXCEPTION(L_101, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
  12701. }
  12702. IL_0183:
  12703. {
  12704. // return Arrays.CopyOfRange(ciphertext, offset, offset + dec_output_length);
  12705. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_102 = ___ciphertext2;
  12706. int32_t L_103 = ___offset3;
  12707. int32_t L_104 = ___offset3;
  12708. int32_t L_105 = V_6;
  12709. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  12710. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_106;
  12711. L_106 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_102, L_103, ((int32_t)il2cpp_codegen_add((int32_t)L_104, (int32_t)L_105)), /*hidden argument*/NULL);
  12712. return L_106;
  12713. }
  12714. }
  12715. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::CheckPaddingConstantTime(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32)
  12716. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_CheckPaddingConstantTime_mF7F07FEE6F939CE80F57EF6C9C83901B5182923C (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, int32_t ___blockSize3, int32_t ___macSize4, const RuntimeMethod* method)
  12717. {
  12718. static bool s_Il2CppMethodInitialized;
  12719. if (!s_Il2CppMethodInitialized)
  12720. {
  12721. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  12722. s_Il2CppMethodInitialized = true;
  12723. }
  12724. int32_t V_0 = 0;
  12725. uint8_t V_1 = 0x0;
  12726. int32_t V_2 = 0;
  12727. int32_t V_3 = 0;
  12728. uint8_t V_4 = 0x0;
  12729. int32_t V_5 = 0;
  12730. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  12731. {
  12732. // int end = off + len;
  12733. int32_t L_0 = ___off1;
  12734. int32_t L_1 = ___len2;
  12735. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1));
  12736. // byte lastByte = buf[end - 1];
  12737. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf0;
  12738. int32_t L_3 = V_0;
  12739. NullCheck(L_2);
  12740. int32_t L_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1));
  12741. uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  12742. V_1 = L_5;
  12743. // int padlen = lastByte & 0xff;
  12744. uint8_t L_6 = V_1;
  12745. // int totalPad = padlen + 1;
  12746. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_6&(int32_t)((int32_t)255))), (int32_t)1));
  12747. // int dummyIndex = 0;
  12748. V_3 = 0;
  12749. // byte padDiff = 0;
  12750. V_4 = (uint8_t)0;
  12751. // if ((TlsUtilities.IsSsl(context) && totalPad > blockSize) || (macSize + totalPad > len))
  12752. RuntimeObject* L_7 = __this->get_context_0();
  12753. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  12754. bool L_8;
  12755. L_8 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_7, /*hidden argument*/NULL);
  12756. if (!L_8)
  12757. {
  12758. goto IL_002b;
  12759. }
  12760. }
  12761. {
  12762. int32_t L_9 = V_2;
  12763. int32_t L_10 = ___blockSize3;
  12764. if ((((int32_t)L_9) > ((int32_t)L_10)))
  12765. {
  12766. goto IL_0032;
  12767. }
  12768. }
  12769. IL_002b:
  12770. {
  12771. int32_t L_11 = ___macSize4;
  12772. int32_t L_12 = V_2;
  12773. int32_t L_13 = ___len2;
  12774. if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12))) <= ((int32_t)L_13)))
  12775. {
  12776. goto IL_0036;
  12777. }
  12778. }
  12779. IL_0032:
  12780. {
  12781. // totalPad = 0;
  12782. V_2 = 0;
  12783. // }
  12784. goto IL_005a;
  12785. }
  12786. IL_0036:
  12787. {
  12788. // int padPos = end - totalPad;
  12789. int32_t L_14 = V_0;
  12790. int32_t L_15 = V_2;
  12791. V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)L_15));
  12792. }
  12793. IL_003b:
  12794. {
  12795. // padDiff |= (byte)(buf[padPos++] ^ lastByte);
  12796. uint8_t L_16 = V_4;
  12797. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___buf0;
  12798. int32_t L_18 = V_5;
  12799. int32_t L_19 = L_18;
  12800. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
  12801. NullCheck(L_17);
  12802. int32_t L_20 = L_19;
  12803. uint8_t L_21 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
  12804. uint8_t L_22 = V_1;
  12805. V_4 = (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_16|(int32_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_21^(int32_t)L_22))))))));
  12806. // while (padPos < end);
  12807. int32_t L_23 = V_5;
  12808. int32_t L_24 = V_0;
  12809. if ((((int32_t)L_23) < ((int32_t)L_24)))
  12810. {
  12811. goto IL_003b;
  12812. }
  12813. }
  12814. {
  12815. // dummyIndex = totalPad;
  12816. int32_t L_25 = V_2;
  12817. V_3 = L_25;
  12818. // if (padDiff != 0)
  12819. uint8_t L_26 = V_4;
  12820. if (!L_26)
  12821. {
  12822. goto IL_005a;
  12823. }
  12824. }
  12825. {
  12826. // totalPad = 0;
  12827. V_2 = 0;
  12828. }
  12829. IL_005a:
  12830. {
  12831. // byte[] dummyPad = randomData;
  12832. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = __this->get_randomData_1();
  12833. V_6 = L_27;
  12834. goto IL_0075;
  12835. }
  12836. IL_0064:
  12837. {
  12838. // padDiff |= (byte)(dummyPad[dummyIndex++] ^ lastByte);
  12839. uint8_t L_28 = V_4;
  12840. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = V_6;
  12841. int32_t L_30 = V_3;
  12842. int32_t L_31 = L_30;
  12843. V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)1));
  12844. NullCheck(L_29);
  12845. int32_t L_32 = L_31;
  12846. uint8_t L_33 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
  12847. uint8_t L_34 = V_1;
  12848. V_4 = (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_28|(int32_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_33^(int32_t)L_34))))))));
  12849. }
  12850. IL_0075:
  12851. {
  12852. // while (dummyIndex < 256)
  12853. int32_t L_35 = V_3;
  12854. if ((((int32_t)L_35) < ((int32_t)((int32_t)256))))
  12855. {
  12856. goto IL_0064;
  12857. }
  12858. }
  12859. {
  12860. // dummyPad[0] ^= padDiff;
  12861. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_6;
  12862. NullCheck(L_36);
  12863. uint8_t* L_37 = ((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
  12864. int32_t L_38 = *((uint8_t*)L_37);
  12865. uint8_t L_39 = V_4;
  12866. *((int8_t*)L_37) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_38^(int32_t)L_39))));
  12867. // return totalPad;
  12868. int32_t L_40 = V_2;
  12869. return L_40;
  12870. }
  12871. }
  12872. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::ChooseExtraPadBlocks(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Int32)
  12873. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_ChooseExtraPadBlocks_m2A1FBEBBB4A2587D3B270AE6FE2DBB3BC3E4B5EF (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___r0, int32_t ___max1, const RuntimeMethod* method)
  12874. {
  12875. static bool s_Il2CppMethodInitialized;
  12876. if (!s_Il2CppMethodInitialized)
  12877. {
  12878. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  12879. s_Il2CppMethodInitialized = true;
  12880. }
  12881. int32_t V_0 = 0;
  12882. {
  12883. // int x = r.NextInt();
  12884. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___r0;
  12885. NullCheck(L_0);
  12886. int32_t L_1;
  12887. L_1 = VirtualFuncInvoker0< int32_t >::Invoke(14 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::NextInt() */, L_0);
  12888. V_0 = L_1;
  12889. // int n = LowestBitSet(x);
  12890. int32_t L_2 = V_0;
  12891. int32_t L_3;
  12892. L_3 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(14 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::LowestBitSet(System.Int32) */, __this, L_2);
  12893. // return System.Math.Min(n, max);
  12894. int32_t L_4 = ___max1;
  12895. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  12896. int32_t L_5;
  12897. L_5 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_3, L_4, /*hidden argument*/NULL);
  12898. return L_5;
  12899. }
  12900. }
  12901. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::LowestBitSet(System.Int32)
  12902. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_LowestBitSet_mFC7EF05D39240E3905F67D71278F33C26C7AD298 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int32_t ___x0, const RuntimeMethod* method)
  12903. {
  12904. uint32_t V_0 = 0;
  12905. int32_t V_1 = 0;
  12906. {
  12907. // if (x == 0)
  12908. int32_t L_0 = ___x0;
  12909. if (L_0)
  12910. {
  12911. goto IL_0006;
  12912. }
  12913. }
  12914. {
  12915. // return 32;
  12916. return ((int32_t)32);
  12917. }
  12918. IL_0006:
  12919. {
  12920. // uint ux = (uint)x;
  12921. int32_t L_1 = ___x0;
  12922. V_0 = L_1;
  12923. // int n = 0;
  12924. V_1 = 0;
  12925. goto IL_0014;
  12926. }
  12927. IL_000c:
  12928. {
  12929. // ++n;
  12930. int32_t L_2 = V_1;
  12931. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
  12932. // ux >>= 1;
  12933. uint32_t L_3 = V_0;
  12934. V_0 = ((int32_t)((uint32_t)L_3>>1));
  12935. }
  12936. IL_0014:
  12937. {
  12938. // while ((ux & 1U) == 0)
  12939. uint32_t L_4 = V_0;
  12940. if (!((int32_t)((int32_t)L_4&(int32_t)1)))
  12941. {
  12942. goto IL_000c;
  12943. }
  12944. }
  12945. {
  12946. // return n;
  12947. int32_t L_5 = V_1;
  12948. return L_5;
  12949. }
  12950. }
  12951. #ifdef __clang__
  12952. #pragma clang diagnostic pop
  12953. #endif
  12954. #ifdef __clang__
  12955. #pragma clang diagnostic push
  12956. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12957. #pragma clang diagnostic ignored "-Wunused-variable"
  12958. #endif
  12959. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  12960. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method)
  12961. {
  12962. static bool s_Il2CppMethodInitialized;
  12963. if (!s_Il2CppMethodInitialized)
  12964. {
  12965. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
  12966. s_Il2CppMethodInitialized = true;
  12967. }
  12968. {
  12969. // : base(secureRandom, securityParameters)
  12970. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
  12971. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1 = ___securityParameters1;
  12972. IL2CPP_RUNTIME_CLASS_INIT(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
  12973. AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A(__this, L_0, L_1, /*hidden argument*/NULL);
  12974. // }
  12975. return;
  12976. }
  12977. }
  12978. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::get_IsServer()
  12979. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsClientContextImpl_get_IsServer_m699D596512D7D53E68BA3263757A9AF2ED3025C0 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, const RuntimeMethod* method)
  12980. {
  12981. {
  12982. // get { return false; }
  12983. return (bool)0;
  12984. }
  12985. }
  12986. #ifdef __clang__
  12987. #pragma clang diagnostic pop
  12988. #endif
  12989. #ifdef __clang__
  12990. #pragma clang diagnostic push
  12991. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  12992. #pragma clang diagnostic ignored "-Wunused-variable"
  12993. #endif
  12994. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  12995. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_m917AFA9DB080FE0BF9AF1CCD67C2AA47D11CCCFF (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
  12996. {
  12997. {
  12998. // : base(stream, secureRandom)
  12999. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
  13000. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_1 = ___secureRandom1;
  13001. TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221(__this, L_0, L_1, /*hidden argument*/NULL);
  13002. // }
  13003. return;
  13004. }
  13005. }
  13006. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  13007. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method)
  13008. {
  13009. {
  13010. // : base(input, output, secureRandom)
  13011. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  13012. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
  13013. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
  13014. TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
  13015. // }
  13016. return;
  13017. }
  13018. }
  13019. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  13020. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_m520312DDE5231563E92A71C44021FBCD822B0A86 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
  13021. {
  13022. {
  13023. // : base(secureRandom)
  13024. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
  13025. TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE(__this, L_0, /*hidden argument*/NULL);
  13026. // }
  13027. return;
  13028. }
  13029. }
  13030. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::Connect(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient)
  13031. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, RuntimeObject* ___tlsClient0, const RuntimeMethod* method)
  13032. {
  13033. static bool s_Il2CppMethodInitialized;
  13034. if (!s_Il2CppMethodInitialized)
  13035. {
  13036. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
  13037. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var);
  13038. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  13039. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  13040. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
  13041. s_Il2CppMethodInitialized = true;
  13042. }
  13043. RuntimeObject* V_0 = NULL;
  13044. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * V_1 = NULL;
  13045. {
  13046. // if (tlsClient == null)
  13047. RuntimeObject* L_0 = ___tlsClient0;
  13048. if (L_0)
  13049. {
  13050. goto IL_000e;
  13051. }
  13052. }
  13053. {
  13054. // throw new ArgumentNullException("tlsClient");
  13055. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  13056. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9321FD50B206A4430EA7A890E40061232A9C2BD2)), /*hidden argument*/NULL);
  13057. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var)));
  13058. }
  13059. IL_000e:
  13060. {
  13061. // if (this.mTlsClient != null)
  13062. RuntimeObject* L_2 = __this->get_mTlsClient_49();
  13063. if (!L_2)
  13064. {
  13065. goto IL_0021;
  13066. }
  13067. }
  13068. {
  13069. // throw new InvalidOperationException("'Connect' can only be called once");
  13070. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  13071. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral91EB9A41A3555C40AF9D99A5C03E2C5EE594DA43)), /*hidden argument*/NULL);
  13072. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var)));
  13073. }
  13074. IL_0021:
  13075. {
  13076. // this.mTlsClient = tlsClient;
  13077. RuntimeObject* L_4 = ___tlsClient0;
  13078. __this->set_mTlsClient_49(L_4);
  13079. // this.mSecurityParameters = new SecurityParameters();
  13080. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 *)il2cpp_codegen_object_new(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
  13081. SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19(L_5, /*hidden argument*/NULL);
  13082. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecurityParameters_34(L_5);
  13083. // this.mSecurityParameters.entity = ConnectionEnd.client;
  13084. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13085. NullCheck(L_6);
  13086. L_6->set_entity_0(1);
  13087. // this.mTlsClientContext = new TlsClientContextImpl(mSecureRandom, mSecurityParameters);
  13088. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRandom_24();
  13089. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13090. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_9 = (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF *)il2cpp_codegen_object_new(TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var);
  13091. TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381(L_9, L_7, L_8, /*hidden argument*/NULL);
  13092. __this->set_mTlsClientContext_50(L_9);
  13093. // this.mSecurityParameters.clientRandom = CreateRandomBlock(tlsClient.ShouldUseGmtUnixTime(),
  13094. // mTlsClientContext.NonceRandomGenerator);
  13095. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13096. RuntimeObject* L_11 = ___tlsClient0;
  13097. NullCheck(L_11);
  13098. bool L_12;
  13099. L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::ShouldUseGmtUnixTime() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_11);
  13100. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_13 = __this->get_mTlsClientContext_50();
  13101. NullCheck(L_13);
  13102. RuntimeObject* L_14;
  13103. L_14 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(14 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::get_NonceRandomGenerator() */, L_13);
  13104. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
  13105. L_15 = TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63(L_12, L_14, /*hidden argument*/NULL);
  13106. NullCheck(L_10);
  13107. L_10->set_clientRandom_6(L_15);
  13108. // this.mTlsClient.Init(mTlsClientContext);
  13109. RuntimeObject* L_16 = __this->get_mTlsClient_49();
  13110. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_17 = __this->get_mTlsClientContext_50();
  13111. NullCheck(L_16);
  13112. InterfaceActionInvoker1< RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContext) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_16, L_17);
  13113. // this.mRecordStream.Init(mTlsClientContext);
  13114. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13115. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_19 = __this->get_mTlsClientContext_50();
  13116. NullCheck(L_18);
  13117. RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF(L_18, L_19, /*hidden argument*/NULL);
  13118. // TlsSession sessionToResume = tlsClient.GetSessionToResume();
  13119. RuntimeObject* L_20 = ___tlsClient0;
  13120. NullCheck(L_20);
  13121. RuntimeObject* L_21;
  13122. L_21 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(3 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetSessionToResume() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_20);
  13123. V_0 = L_21;
  13124. // if (sessionToResume != null && sessionToResume.IsResumable)
  13125. RuntimeObject* L_22 = V_0;
  13126. if (!L_22)
  13127. {
  13128. goto IL_00cb;
  13129. }
  13130. }
  13131. {
  13132. RuntimeObject* L_23 = V_0;
  13133. NullCheck(L_23);
  13134. bool L_24;
  13135. L_24 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::get_IsResumable() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_23);
  13136. if (!L_24)
  13137. {
  13138. goto IL_00cb;
  13139. }
  13140. }
  13141. {
  13142. // SessionParameters sessionParameters = sessionToResume.ExportSessionParameters();
  13143. RuntimeObject* L_25 = V_0;
  13144. NullCheck(L_25);
  13145. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_26;
  13146. L_26 = InterfaceFuncInvoker0< SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::ExportSessionParameters() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_25);
  13147. V_1 = L_26;
  13148. // if (sessionParameters != null && sessionParameters.IsExtendedMasterSecret)
  13149. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_27 = V_1;
  13150. if (!L_27)
  13151. {
  13152. goto IL_00cb;
  13153. }
  13154. }
  13155. {
  13156. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_28 = V_1;
  13157. NullCheck(L_28);
  13158. bool L_29;
  13159. L_29 = SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline(L_28, /*hidden argument*/NULL);
  13160. if (!L_29)
  13161. {
  13162. goto IL_00cb;
  13163. }
  13164. }
  13165. {
  13166. // this.mTlsSession = sessionToResume;
  13167. RuntimeObject* L_30 = V_0;
  13168. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mTlsSession_32(L_30);
  13169. // this.mSessionParameters = sessionParameters;
  13170. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_31 = V_1;
  13171. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSessionParameters_33(L_31);
  13172. }
  13173. IL_00cb:
  13174. {
  13175. // SendClientHelloMessage();
  13176. VirtualActionInvoker0::Invoke(54 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientHelloMessage() */, __this);
  13177. // this.mConnectionState = CS_CLIENT_HELLO;
  13178. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)1);
  13179. // BlockForHandshake();
  13180. VirtualActionInvoker0::Invoke(17 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake() */, __this);
  13181. // }
  13182. return;
  13183. }
  13184. }
  13185. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::CleanupHandshake()
  13186. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_CleanupHandshake_m99DDD9FAF271C3B892812996B5DA4DB261DEE576 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  13187. {
  13188. {
  13189. // base.CleanupHandshake();
  13190. TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B(__this, /*hidden argument*/NULL);
  13191. // this.mSelectedSessionID = null;
  13192. __this->set_mSelectedSessionID_51((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
  13193. // this.mKeyExchange = null;
  13194. __this->set_mKeyExchange_52((RuntimeObject*)NULL);
  13195. // this.mAuthentication = null;
  13196. __this->set_mAuthentication_53((RuntimeObject*)NULL);
  13197. // this.mCertificateStatus = null;
  13198. __this->set_mCertificateStatus_54((CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 *)NULL);
  13199. // this.mCertificateRequest = null;
  13200. __this->set_mCertificateRequest_55((CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 *)NULL);
  13201. // }
  13202. return;
  13203. }
  13204. }
  13205. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_Context()
  13206. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsClientProtocol_get_Context_mC6135834A40238397D9CC0621C3842982B8D1F93 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  13207. {
  13208. {
  13209. // get { return mTlsClientContext; }
  13210. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_0 = __this->get_mTlsClientContext_50();
  13211. return L_0;
  13212. }
  13213. }
  13214. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_ContextAdmin()
  13215. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * TlsClientProtocol_get_ContextAdmin_m4D4393A1CCA945136E4532E7ED5C4181C9F1CF97 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  13216. {
  13217. {
  13218. // get { return mTlsClientContext; }
  13219. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_0 = __this->get_mTlsClientContext_50();
  13220. return L_0;
  13221. }
  13222. }
  13223. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_Peer()
  13224. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsClientProtocol_get_Peer_mD616B590B55EEF8CB334A74FC618B2003FBFD748 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  13225. {
  13226. {
  13227. // get { return mTlsClient; }
  13228. RuntimeObject* L_0 = __this->get_mTlsClient_49();
  13229. return L_0;
  13230. }
  13231. }
  13232. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleHandshakeMessage(System.Byte,System.IO.MemoryStream)
  13233. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, uint8_t ___type0, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf1, const RuntimeMethod* method)
  13234. {
  13235. static bool s_Il2CppMethodInitialized;
  13236. if (!s_Il2CppMethodInitialized)
  13237. {
  13238. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  13239. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  13240. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  13241. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var);
  13242. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  13243. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  13244. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
  13245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  13246. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  13247. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
  13248. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  13249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  13250. s_Il2CppMethodInitialized = true;
  13251. }
  13252. int16_t V_0 = 0;
  13253. RuntimeObject* V_1 = NULL;
  13254. RuntimeObject* V_2 = NULL;
  13255. RuntimeObject* V_3 = NULL;
  13256. RuntimeObject* V_4 = NULL;
  13257. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * V_5 = NULL;
  13258. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
  13259. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_7 = NULL;
  13260. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_8 = NULL;
  13261. {
  13262. // if (this.mResumedSession)
  13263. bool L_0 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  13264. if (!L_0)
  13265. {
  13266. goto IL_0048;
  13267. }
  13268. }
  13269. {
  13270. // if (type != HandshakeType.finished || this.mConnectionState != CS_SERVER_HELLO)
  13271. uint8_t L_1 = ___type0;
  13272. if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)20)))))
  13273. {
  13274. goto IL_0016;
  13275. }
  13276. }
  13277. {
  13278. int16_t L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13279. if ((((int32_t)L_2) == ((int32_t)2)))
  13280. {
  13281. goto IL_001e;
  13282. }
  13283. }
  13284. IL_0016:
  13285. {
  13286. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13287. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13288. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13289. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13290. }
  13291. IL_001e:
  13292. {
  13293. // ProcessFinishedMessage(buf);
  13294. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___buf1;
  13295. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_4);
  13296. // this.mConnectionState = CS_SERVER_FINISHED;
  13297. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
  13298. // SendChangeCipherSpecMessage();
  13299. VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
  13300. // SendFinishedMessage();
  13301. VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
  13302. // this.mConnectionState = CS_CLIENT_FINISHED;
  13303. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
  13304. // CompleteHandshake();
  13305. VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
  13306. // return;
  13307. return;
  13308. }
  13309. IL_0048:
  13310. {
  13311. uint8_t L_5 = ___type0;
  13312. switch (L_5)
  13313. {
  13314. case 0:
  13315. {
  13316. goto IL_05a8;
  13317. }
  13318. case 1:
  13319. {
  13320. goto IL_05bf;
  13321. }
  13322. case 2:
  13323. {
  13324. goto IL_01c4;
  13325. }
  13326. case 3:
  13327. {
  13328. goto IL_05bf;
  13329. }
  13330. case 4:
  13331. {
  13332. goto IL_056e;
  13333. }
  13334. case 5:
  13335. {
  13336. goto IL_05bf;
  13337. }
  13338. case 6:
  13339. {
  13340. goto IL_05bf;
  13341. }
  13342. case 7:
  13343. {
  13344. goto IL_05bf;
  13345. }
  13346. case 8:
  13347. {
  13348. goto IL_05bf;
  13349. }
  13350. case 9:
  13351. {
  13352. goto IL_05bf;
  13353. }
  13354. case 10:
  13355. {
  13356. goto IL_05bf;
  13357. }
  13358. case 11:
  13359. {
  13360. goto IL_00b3;
  13361. }
  13362. case 12:
  13363. {
  13364. goto IL_048b;
  13365. }
  13366. case 13:
  13367. {
  13368. goto IL_04e7;
  13369. }
  13370. case 14:
  13371. {
  13372. goto IL_027f;
  13373. }
  13374. case 15:
  13375. {
  13376. goto IL_05bf;
  13377. }
  13378. case 16:
  13379. {
  13380. goto IL_05bf;
  13381. }
  13382. case 17:
  13383. {
  13384. goto IL_05bf;
  13385. }
  13386. case 18:
  13387. {
  13388. goto IL_05bf;
  13389. }
  13390. case 19:
  13391. {
  13392. goto IL_05bf;
  13393. }
  13394. case 20:
  13395. {
  13396. goto IL_017e;
  13397. }
  13398. case 21:
  13399. {
  13400. goto IL_05bf;
  13401. }
  13402. case 22:
  13403. {
  13404. goto IL_0143;
  13405. }
  13406. case 23:
  13407. {
  13408. goto IL_0261;
  13409. }
  13410. }
  13411. }
  13412. {
  13413. goto IL_05bf;
  13414. }
  13415. IL_00b3:
  13416. {
  13417. // switch (this.mConnectionState)
  13418. int16_t L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13419. V_0 = L_6;
  13420. int16_t L_7 = V_0;
  13421. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)2))) <= ((uint32_t)1))))
  13422. {
  13423. goto IL_0133;
  13424. }
  13425. }
  13426. {
  13427. // if (this.mConnectionState == CS_SERVER_HELLO)
  13428. int16_t L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13429. if ((!(((uint32_t)L_8) == ((uint32_t)2))))
  13430. {
  13431. goto IL_00d0;
  13432. }
  13433. }
  13434. {
  13435. // HandleSupplementalData(null);
  13436. VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
  13437. }
  13438. IL_00d0:
  13439. {
  13440. // this.mPeerCertificate = Certificate.Parse(buf);
  13441. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = ___buf1;
  13442. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  13443. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_10;
  13444. L_10 = Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E(L_9, /*hidden argument*/NULL);
  13445. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mPeerCertificate_35(L_10);
  13446. // AssertEmpty(buf);
  13447. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_11 = ___buf1;
  13448. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_11, /*hidden argument*/NULL);
  13449. // if (this.mPeerCertificate == null || this.mPeerCertificate.IsEmpty)
  13450. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  13451. if (!L_12)
  13452. {
  13453. goto IL_00f7;
  13454. }
  13455. }
  13456. {
  13457. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_13 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  13458. NullCheck(L_13);
  13459. bool L_14;
  13460. L_14 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_13);
  13461. if (!L_14)
  13462. {
  13463. goto IL_00fe;
  13464. }
  13465. }
  13466. IL_00f7:
  13467. {
  13468. // this.mAllowCertificateStatus = false;
  13469. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mAllowCertificateStatus_44((bool)0);
  13470. }
  13471. IL_00fe:
  13472. {
  13473. // this.mKeyExchange.ProcessServerCertificate(this.mPeerCertificate);
  13474. RuntimeObject* L_15 = __this->get_mKeyExchange_52();
  13475. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_16 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  13476. NullCheck(L_15);
  13477. InterfaceActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_15, L_16);
  13478. // this.mAuthentication = mTlsClient.GetAuthentication();
  13479. RuntimeObject* L_17 = __this->get_mTlsClient_49();
  13480. NullCheck(L_17);
  13481. RuntimeObject* L_18;
  13482. L_18 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(17 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetAuthentication() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_17);
  13483. __this->set_mAuthentication_53(L_18);
  13484. // this.mAuthentication.NotifyServerCertificate(this.mPeerCertificate);
  13485. RuntimeObject* L_19 = __this->get_mAuthentication_53();
  13486. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_20 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  13487. NullCheck(L_19);
  13488. InterfaceActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication::NotifyServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var, L_19, L_20);
  13489. // break;
  13490. goto IL_013b;
  13491. }
  13492. IL_0133:
  13493. {
  13494. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13495. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_21 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13496. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_21, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13497. IL2CPP_RAISE_MANAGED_EXCEPTION(L_21, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13498. }
  13499. IL_013b:
  13500. {
  13501. // this.mConnectionState = CS_SERVER_CERTIFICATE;
  13502. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)4);
  13503. // break;
  13504. return;
  13505. }
  13506. IL_0143:
  13507. {
  13508. // switch (this.mConnectionState)
  13509. int16_t L_22 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13510. if ((!(((uint32_t)L_22) == ((uint32_t)4))))
  13511. {
  13512. goto IL_0176;
  13513. }
  13514. }
  13515. {
  13516. // if (!this.mAllowCertificateStatus)
  13517. bool L_23 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mAllowCertificateStatus_44();
  13518. if (L_23)
  13519. {
  13520. goto IL_015c;
  13521. }
  13522. }
  13523. {
  13524. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13525. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_24 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13526. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_24, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13527. IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13528. }
  13529. IL_015c:
  13530. {
  13531. // this.mCertificateStatus = CertificateStatus.Parse(buf);
  13532. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf1;
  13533. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_26;
  13534. L_26 = CertificateStatus_Parse_m2E7ED817E49DDC573BD274BB7DCF042C6CE5294A(L_25, /*hidden argument*/NULL);
  13535. __this->set_mCertificateStatus_54(L_26);
  13536. // AssertEmpty(buf);
  13537. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_27 = ___buf1;
  13538. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_27, /*hidden argument*/NULL);
  13539. // this.mConnectionState = CS_CERTIFICATE_STATUS;
  13540. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)5);
  13541. // break;
  13542. return;
  13543. }
  13544. IL_0176:
  13545. {
  13546. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13547. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13548. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13549. IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13550. }
  13551. IL_017e:
  13552. {
  13553. // switch (this.mConnectionState)
  13554. int16_t L_29 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13555. V_0 = L_29;
  13556. int16_t L_30 = V_0;
  13557. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)((int32_t)13)))) <= ((uint32_t)1))))
  13558. {
  13559. goto IL_01bc;
  13560. }
  13561. }
  13562. {
  13563. // if (this.mConnectionState == CS_CLIENT_FINISHED && this.mExpectSessionTicket)
  13564. int16_t L_31 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13565. if ((!(((uint32_t)L_31) == ((uint32_t)((int32_t)13)))))
  13566. {
  13567. goto IL_01a6;
  13568. }
  13569. }
  13570. {
  13571. bool L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
  13572. if (!L_32)
  13573. {
  13574. goto IL_01a6;
  13575. }
  13576. }
  13577. {
  13578. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13579. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_33 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13580. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_33, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13581. IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13582. }
  13583. IL_01a6:
  13584. {
  13585. // ProcessFinishedMessage(buf);
  13586. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_34 = ___buf1;
  13587. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_34);
  13588. // this.mConnectionState = CS_SERVER_FINISHED;
  13589. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
  13590. // CompleteHandshake();
  13591. VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
  13592. // break;
  13593. return;
  13594. }
  13595. IL_01bc:
  13596. {
  13597. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13598. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13599. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_35, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13600. IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13601. }
  13602. IL_01c4:
  13603. {
  13604. // switch (this.mConnectionState)
  13605. int16_t L_36 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13606. if ((!(((uint32_t)L_36) == ((uint32_t)1))))
  13607. {
  13608. goto IL_0259;
  13609. }
  13610. }
  13611. {
  13612. // ReceiveServerHelloMessage(buf);
  13613. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_37 = ___buf1;
  13614. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(52 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveServerHelloMessage(System.IO.MemoryStream) */, __this, L_37);
  13615. // this.mConnectionState = CS_SERVER_HELLO;
  13616. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)2);
  13617. // this.mRecordStream.NotifyHelloComplete();
  13618. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_38 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13619. NullCheck(L_38);
  13620. RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD(L_38, /*hidden argument*/NULL);
  13621. // ApplyMaxFragmentLengthExtension();
  13622. VirtualActionInvoker0::Invoke(14 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension() */, __this);
  13623. // if (this.mResumedSession)
  13624. bool L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  13625. if (!L_39)
  13626. {
  13627. goto IL_0234;
  13628. }
  13629. }
  13630. {
  13631. // this.mSecurityParameters.masterSecret = Arrays.Clone(this.mSessionParameters.MasterSecret);
  13632. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_40 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13633. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_41 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  13634. NullCheck(L_41);
  13635. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_42;
  13636. L_42 = SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline(L_41, /*hidden argument*/NULL);
  13637. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  13638. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_43;
  13639. L_43 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_42, /*hidden argument*/NULL);
  13640. NullCheck(L_40);
  13641. L_40->set_masterSecret_5(L_43);
  13642. // this.mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
  13643. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_44 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13644. RuntimeObject* L_45;
  13645. L_45 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  13646. NullCheck(L_45);
  13647. RuntimeObject* L_46;
  13648. L_46 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(3 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCompression() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_45);
  13649. RuntimeObject* L_47;
  13650. L_47 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  13651. NullCheck(L_47);
  13652. RuntimeObject* L_48;
  13653. L_48 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCipher() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_47);
  13654. NullCheck(L_44);
  13655. RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_44, L_46, L_48, /*hidden argument*/NULL);
  13656. // }
  13657. return;
  13658. }
  13659. IL_0234:
  13660. {
  13661. // InvalidateSession();
  13662. VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
  13663. // if (this.mSelectedSessionID.Length > 0)
  13664. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_49 = __this->get_mSelectedSessionID_51();
  13665. NullCheck(L_49);
  13666. if (!(((RuntimeArray*)L_49)->max_length))
  13667. {
  13668. goto IL_05c7;
  13669. }
  13670. }
  13671. {
  13672. // this.mTlsSession = new TlsSessionImpl(this.mSelectedSessionID, null);
  13673. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = __this->get_mSelectedSessionID_51();
  13674. TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * L_51 = (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 *)il2cpp_codegen_object_new(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
  13675. TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B(L_51, L_50, (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D *)NULL, /*hidden argument*/NULL);
  13676. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mTlsSession_32(L_51);
  13677. // break;
  13678. return;
  13679. }
  13680. IL_0259:
  13681. {
  13682. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13683. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_52 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13684. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_52, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13685. IL2CPP_RAISE_MANAGED_EXCEPTION(L_52, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13686. }
  13687. IL_0261:
  13688. {
  13689. // switch (this.mConnectionState)
  13690. int16_t L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13691. if ((!(((uint32_t)L_53) == ((uint32_t)2))))
  13692. {
  13693. goto IL_0277;
  13694. }
  13695. }
  13696. {
  13697. // HandleSupplementalData(ReadSupplementalDataMessage(buf));
  13698. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_54 = ___buf1;
  13699. RuntimeObject* L_55;
  13700. L_55 = TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F(L_54, /*hidden argument*/NULL);
  13701. VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, L_55);
  13702. // break;
  13703. return;
  13704. }
  13705. IL_0277:
  13706. {
  13707. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  13708. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_56 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  13709. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_56, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  13710. IL2CPP_RAISE_MANAGED_EXCEPTION(L_56, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  13711. }
  13712. IL_027f:
  13713. {
  13714. // switch (this.mConnectionState)
  13715. int16_t L_57 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13716. V_0 = L_57;
  13717. int16_t L_58 = V_0;
  13718. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)2))) <= ((uint32_t)5))))
  13719. {
  13720. goto IL_047a;
  13721. }
  13722. }
  13723. {
  13724. // if (mConnectionState < CS_SERVER_SUPPLEMENTAL_DATA)
  13725. int16_t L_59 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13726. if ((((int32_t)L_59) >= ((int32_t)3)))
  13727. {
  13728. goto IL_029f;
  13729. }
  13730. }
  13731. {
  13732. // HandleSupplementalData(null);
  13733. VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
  13734. }
  13735. IL_029f:
  13736. {
  13737. // if (mConnectionState < CS_SERVER_CERTIFICATE)
  13738. int16_t L_60 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13739. if ((((int32_t)L_60) >= ((int32_t)4)))
  13740. {
  13741. goto IL_02ba;
  13742. }
  13743. }
  13744. {
  13745. // this.mKeyExchange.SkipServerCredentials();
  13746. RuntimeObject* L_61 = __this->get_mKeyExchange_52();
  13747. NullCheck(L_61);
  13748. InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_61);
  13749. // this.mAuthentication = null;
  13750. __this->set_mAuthentication_53((RuntimeObject*)NULL);
  13751. }
  13752. IL_02ba:
  13753. {
  13754. // if (mConnectionState < CS_SERVER_KEY_EXCHANGE)
  13755. int16_t L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  13756. if ((((int32_t)L_62) >= ((int32_t)6)))
  13757. {
  13758. goto IL_02ce;
  13759. }
  13760. }
  13761. {
  13762. // this.mKeyExchange.SkipServerKeyExchange();
  13763. RuntimeObject* L_63 = __this->get_mKeyExchange_52();
  13764. NullCheck(L_63);
  13765. InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_63);
  13766. }
  13767. IL_02ce:
  13768. {
  13769. // AssertEmpty(buf);
  13770. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_64 = ___buf1;
  13771. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_64, /*hidden argument*/NULL);
  13772. // this.mConnectionState = CS_SERVER_HELLO_DONE;
  13773. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)8);
  13774. // this.mRecordStream.HandshakeHash.SealHashAlgorithms();
  13775. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_65 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13776. NullCheck(L_65);
  13777. RuntimeObject* L_66;
  13778. L_66 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_65, /*hidden argument*/NULL);
  13779. NullCheck(L_66);
  13780. InterfaceActionInvoker0::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::SealHashAlgorithms() */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_66);
  13781. // IList clientSupplementalData = mTlsClient.GetClientSupplementalData();
  13782. RuntimeObject* L_67 = __this->get_mTlsClient_49();
  13783. NullCheck(L_67);
  13784. RuntimeObject* L_68;
  13785. L_68 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(18 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetClientSupplementalData() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_67);
  13786. V_1 = L_68;
  13787. // if (clientSupplementalData != null)
  13788. RuntimeObject* L_69 = V_1;
  13789. if (!L_69)
  13790. {
  13791. goto IL_0301;
  13792. }
  13793. }
  13794. {
  13795. // SendSupplementalDataMessage(clientSupplementalData);
  13796. RuntimeObject* L_70 = V_1;
  13797. VirtualActionInvoker1< RuntimeObject* >::Invoke(42 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList) */, __this, L_70);
  13798. }
  13799. IL_0301:
  13800. {
  13801. // this.mConnectionState = CS_CLIENT_SUPPLEMENTAL_DATA;
  13802. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)9));
  13803. // TlsCredentials clientCreds = null;
  13804. V_2 = (RuntimeObject*)NULL;
  13805. // if (mCertificateRequest == null)
  13806. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_71 = __this->get_mCertificateRequest_55();
  13807. if (L_71)
  13808. {
  13809. goto IL_0320;
  13810. }
  13811. }
  13812. {
  13813. // this.mKeyExchange.SkipClientCredentials();
  13814. RuntimeObject* L_72 = __this->get_mKeyExchange_52();
  13815. NullCheck(L_72);
  13816. InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_72);
  13817. // }
  13818. goto IL_036b;
  13819. }
  13820. IL_0320:
  13821. {
  13822. // clientCreds = this.mAuthentication.GetClientCredentials(Context, mCertificateRequest);
  13823. RuntimeObject* L_73 = __this->get_mAuthentication_53();
  13824. RuntimeObject* L_74;
  13825. L_74 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13826. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_75 = __this->get_mCertificateRequest_55();
  13827. NullCheck(L_73);
  13828. RuntimeObject* L_76;
  13829. L_76 = InterfaceFuncInvoker2< RuntimeObject*, RuntimeObject*, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication::GetClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest) */, TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var, L_73, L_74, L_75);
  13830. V_2 = L_76;
  13831. // if (clientCreds == null)
  13832. RuntimeObject* L_77 = V_2;
  13833. if (L_77)
  13834. {
  13835. goto IL_0353;
  13836. }
  13837. }
  13838. {
  13839. // this.mKeyExchange.SkipClientCredentials();
  13840. RuntimeObject* L_78 = __this->get_mKeyExchange_52();
  13841. NullCheck(L_78);
  13842. InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_78);
  13843. // SendCertificateMessage(Certificate.EmptyChain);
  13844. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  13845. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_79 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
  13846. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(39 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendCertificateMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_79);
  13847. // }
  13848. goto IL_036b;
  13849. }
  13850. IL_0353:
  13851. {
  13852. // this.mKeyExchange.ProcessClientCredentials(clientCreds);
  13853. RuntimeObject* L_80 = __this->get_mKeyExchange_52();
  13854. RuntimeObject* L_81 = V_2;
  13855. NullCheck(L_80);
  13856. InterfaceActionInvoker1< RuntimeObject* >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_80, L_81);
  13857. // SendCertificateMessage(clientCreds.Certificate);
  13858. RuntimeObject* L_82 = V_2;
  13859. NullCheck(L_82);
  13860. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_83;
  13861. L_83 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_82);
  13862. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(39 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendCertificateMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_83);
  13863. }
  13864. IL_036b:
  13865. {
  13866. // this.mConnectionState = CS_CLIENT_CERTIFICATE;
  13867. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
  13868. // SendClientKeyExchangeMessage();
  13869. VirtualActionInvoker0::Invoke(55 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientKeyExchangeMessage() */, __this);
  13870. // this.mConnectionState = CS_CLIENT_KEY_EXCHANGE;
  13871. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)11));
  13872. // if (TlsUtilities.IsSsl(Context))
  13873. RuntimeObject* L_84;
  13874. L_84 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13875. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  13876. bool L_85;
  13877. L_85 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_84, /*hidden argument*/NULL);
  13878. if (!L_85)
  13879. {
  13880. goto IL_039f;
  13881. }
  13882. }
  13883. {
  13884. // EstablishMasterSecret(Context, mKeyExchange);
  13885. RuntimeObject* L_86;
  13886. L_86 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13887. RuntimeObject* L_87 = __this->get_mKeyExchange_52();
  13888. TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_86, L_87, /*hidden argument*/NULL);
  13889. }
  13890. IL_039f:
  13891. {
  13892. // TlsHandshakeHash prepareFinishHash = mRecordStream.PrepareToFinish();
  13893. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_88 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13894. NullCheck(L_88);
  13895. RuntimeObject* L_89;
  13896. L_89 = RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0(L_88, /*hidden argument*/NULL);
  13897. V_3 = L_89;
  13898. // this.mSecurityParameters.sessionHash = GetCurrentPrfHash(Context, prepareFinishHash, null);
  13899. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_90 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13900. RuntimeObject* L_91;
  13901. L_91 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13902. RuntimeObject* L_92 = V_3;
  13903. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_93;
  13904. L_93 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_91, L_92, (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL, /*hidden argument*/NULL);
  13905. NullCheck(L_90);
  13906. L_90->set_sessionHash_8(L_93);
  13907. // if (!TlsUtilities.IsSsl(Context))
  13908. RuntimeObject* L_94;
  13909. L_94 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13910. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  13911. bool L_95;
  13912. L_95 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_94, /*hidden argument*/NULL);
  13913. if (L_95)
  13914. {
  13915. goto IL_03e1;
  13916. }
  13917. }
  13918. {
  13919. // EstablishMasterSecret(Context, mKeyExchange);
  13920. RuntimeObject* L_96;
  13921. L_96 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13922. RuntimeObject* L_97 = __this->get_mKeyExchange_52();
  13923. TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_96, L_97, /*hidden argument*/NULL);
  13924. }
  13925. IL_03e1:
  13926. {
  13927. // mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
  13928. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_98 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  13929. RuntimeObject* L_99;
  13930. L_99 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  13931. NullCheck(L_99);
  13932. RuntimeObject* L_100;
  13933. L_100 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(3 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCompression() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_99);
  13934. RuntimeObject* L_101;
  13935. L_101 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  13936. NullCheck(L_101);
  13937. RuntimeObject* L_102;
  13938. L_102 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCipher() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_101);
  13939. NullCheck(L_98);
  13940. RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_98, L_100, L_102, /*hidden argument*/NULL);
  13941. // if (clientCreds != null && clientCreds is TlsSignerCredentials)
  13942. RuntimeObject* L_103 = V_2;
  13943. if (!L_103)
  13944. {
  13945. goto IL_046c;
  13946. }
  13947. }
  13948. {
  13949. RuntimeObject* L_104 = V_2;
  13950. if (!((RuntimeObject*)IsInst((RuntimeObject*)L_104, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  13951. {
  13952. goto IL_046c;
  13953. }
  13954. }
  13955. {
  13956. // TlsSignerCredentials signerCredentials = (TlsSignerCredentials)clientCreds;
  13957. RuntimeObject* L_105 = V_2;
  13958. V_4 = ((RuntimeObject*)Castclass((RuntimeObject*)L_105, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var));
  13959. // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
  13960. // Context, signerCredentials);
  13961. RuntimeObject* L_106;
  13962. L_106 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  13963. RuntimeObject* L_107 = V_4;
  13964. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  13965. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_108;
  13966. L_108 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_106, L_107, /*hidden argument*/NULL);
  13967. V_5 = L_108;
  13968. // if (signatureAndHashAlgorithm == null)
  13969. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_109 = V_5;
  13970. if (L_109)
  13971. {
  13972. goto IL_0437;
  13973. }
  13974. }
  13975. {
  13976. // hash = mSecurityParameters.SessionHash;
  13977. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_110 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  13978. NullCheck(L_110);
  13979. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_111;
  13980. L_111 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(13 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SessionHash() */, L_110);
  13981. V_6 = L_111;
  13982. // }
  13983. goto IL_0446;
  13984. }
  13985. IL_0437:
  13986. {
  13987. // hash = prepareFinishHash.GetFinalHash(signatureAndHashAlgorithm.Hash);
  13988. RuntimeObject* L_112 = V_3;
  13989. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_113 = V_5;
  13990. NullCheck(L_113);
  13991. uint8_t L_114;
  13992. L_114 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_113);
  13993. NullCheck(L_112);
  13994. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_115;
  13995. L_115 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, uint8_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::GetFinalHash(System.Byte) */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_112, L_114);
  13996. V_6 = L_115;
  13997. }
  13998. IL_0446:
  13999. {
  14000. // byte[] signature = signerCredentials.GenerateCertificateSignature(hash);
  14001. RuntimeObject* L_116 = V_4;
  14002. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_117 = V_6;
  14003. NullCheck(L_116);
  14004. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_118;
  14005. L_118 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials::GenerateCertificateSignature(System.Byte[]) */, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var, L_116, L_117);
  14006. V_7 = L_118;
  14007. // DigitallySigned certificateVerify = new DigitallySigned(signatureAndHashAlgorithm, signature);
  14008. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_119 = V_5;
  14009. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_120 = V_7;
  14010. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_121 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  14011. DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_121, L_119, L_120, /*hidden argument*/NULL);
  14012. V_8 = L_121;
  14013. // SendCertificateVerifyMessage(certificateVerify);
  14014. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_122 = V_8;
  14015. VirtualActionInvoker1< DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * >::Invoke(53 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendCertificateVerifyMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned) */, __this, L_122);
  14016. // this.mConnectionState = CS_CERTIFICATE_VERIFY;
  14017. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)12));
  14018. }
  14019. IL_046c:
  14020. {
  14021. // SendChangeCipherSpecMessage();
  14022. VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
  14023. // SendFinishedMessage();
  14024. VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
  14025. // break;
  14026. goto IL_0482;
  14027. }
  14028. IL_047a:
  14029. {
  14030. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14031. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_123 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14032. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_123, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14033. IL2CPP_RAISE_MANAGED_EXCEPTION(L_123, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14034. }
  14035. IL_0482:
  14036. {
  14037. // this.mConnectionState = CS_CLIENT_FINISHED;
  14038. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
  14039. // break;
  14040. return;
  14041. }
  14042. IL_048b:
  14043. {
  14044. // switch (this.mConnectionState)
  14045. int16_t L_124 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14046. V_0 = L_124;
  14047. int16_t L_125 = V_0;
  14048. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_125, (int32_t)2))) <= ((uint32_t)3))))
  14049. {
  14050. goto IL_04d7;
  14051. }
  14052. }
  14053. {
  14054. // if (mConnectionState < CS_SERVER_SUPPLEMENTAL_DATA)
  14055. int16_t L_126 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14056. if ((((int32_t)L_126) >= ((int32_t)3)))
  14057. {
  14058. goto IL_04a8;
  14059. }
  14060. }
  14061. {
  14062. // HandleSupplementalData(null);
  14063. VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
  14064. }
  14065. IL_04a8:
  14066. {
  14067. // if (mConnectionState < CS_SERVER_CERTIFICATE)
  14068. int16_t L_127 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14069. if ((((int32_t)L_127) >= ((int32_t)4)))
  14070. {
  14071. goto IL_04c3;
  14072. }
  14073. }
  14074. {
  14075. // this.mKeyExchange.SkipServerCredentials();
  14076. RuntimeObject* L_128 = __this->get_mKeyExchange_52();
  14077. NullCheck(L_128);
  14078. InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_128);
  14079. // this.mAuthentication = null;
  14080. __this->set_mAuthentication_53((RuntimeObject*)NULL);
  14081. }
  14082. IL_04c3:
  14083. {
  14084. // this.mKeyExchange.ProcessServerKeyExchange(buf);
  14085. RuntimeObject* L_129 = __this->get_mKeyExchange_52();
  14086. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_130 = ___buf1;
  14087. NullCheck(L_129);
  14088. InterfaceActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessServerKeyExchange(System.IO.Stream) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_129, L_130);
  14089. // AssertEmpty(buf);
  14090. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_131 = ___buf1;
  14091. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_131, /*hidden argument*/NULL);
  14092. // break;
  14093. goto IL_04df;
  14094. }
  14095. IL_04d7:
  14096. {
  14097. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14098. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_132 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14099. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_132, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14100. IL2CPP_RAISE_MANAGED_EXCEPTION(L_132, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14101. }
  14102. IL_04df:
  14103. {
  14104. // this.mConnectionState = CS_SERVER_KEY_EXCHANGE;
  14105. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)6);
  14106. // break;
  14107. return;
  14108. }
  14109. IL_04e7:
  14110. {
  14111. // switch (this.mConnectionState)
  14112. int16_t L_133 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14113. V_0 = L_133;
  14114. int16_t L_134 = V_0;
  14115. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_134, (int32_t)4))) <= ((uint32_t)2))))
  14116. {
  14117. goto IL_055e;
  14118. }
  14119. }
  14120. {
  14121. // if (this.mConnectionState != CS_SERVER_KEY_EXCHANGE)
  14122. int16_t L_135 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14123. if ((((int32_t)L_135) == ((int32_t)6)))
  14124. {
  14125. goto IL_0508;
  14126. }
  14127. }
  14128. {
  14129. // this.mKeyExchange.SkipServerKeyExchange();
  14130. RuntimeObject* L_136 = __this->get_mKeyExchange_52();
  14131. NullCheck(L_136);
  14132. InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_136);
  14133. }
  14134. IL_0508:
  14135. {
  14136. // if (this.mAuthentication == null)
  14137. RuntimeObject* L_137 = __this->get_mAuthentication_53();
  14138. if (L_137)
  14139. {
  14140. goto IL_0518;
  14141. }
  14142. }
  14143. {
  14144. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  14145. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_138 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14146. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_138, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  14147. IL2CPP_RAISE_MANAGED_EXCEPTION(L_138, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14148. }
  14149. IL_0518:
  14150. {
  14151. // this.mCertificateRequest = CertificateRequest.Parse(Context, buf);
  14152. RuntimeObject* L_139;
  14153. L_139 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  14154. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_140 = ___buf1;
  14155. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_141;
  14156. L_141 = CertificateRequest_Parse_mABE3254963813337F0FB55BB7B2A630BF829A9B8(L_139, L_140, /*hidden argument*/NULL);
  14157. __this->set_mCertificateRequest_55(L_141);
  14158. // AssertEmpty(buf);
  14159. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_142 = ___buf1;
  14160. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_142, /*hidden argument*/NULL);
  14161. // this.mKeyExchange.ValidateCertificateRequest(this.mCertificateRequest);
  14162. RuntimeObject* L_143 = __this->get_mKeyExchange_52();
  14163. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_144 = __this->get_mCertificateRequest_55();
  14164. NullCheck(L_143);
  14165. InterfaceActionInvoker1< CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_143, L_144);
  14166. // TlsUtilities.TrackHashAlgorithms(this.mRecordStream.HandshakeHash,
  14167. // this.mCertificateRequest.SupportedSignatureAlgorithms);
  14168. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_145 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  14169. NullCheck(L_145);
  14170. RuntimeObject* L_146;
  14171. L_146 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_145, /*hidden argument*/NULL);
  14172. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_147 = __this->get_mCertificateRequest_55();
  14173. NullCheck(L_147);
  14174. RuntimeObject* L_148;
  14175. L_148 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_147);
  14176. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14177. TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B(L_146, L_148, /*hidden argument*/NULL);
  14178. // break;
  14179. goto IL_0566;
  14180. }
  14181. IL_055e:
  14182. {
  14183. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14184. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_149 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14185. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_149, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14186. IL2CPP_RAISE_MANAGED_EXCEPTION(L_149, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14187. }
  14188. IL_0566:
  14189. {
  14190. // this.mConnectionState = CS_CERTIFICATE_REQUEST;
  14191. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)7);
  14192. // break;
  14193. return;
  14194. }
  14195. IL_056e:
  14196. {
  14197. // switch (this.mConnectionState)
  14198. int16_t L_150 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14199. if ((!(((uint32_t)L_150) == ((uint32_t)((int32_t)13)))))
  14200. {
  14201. goto IL_0597;
  14202. }
  14203. }
  14204. {
  14205. // if (!this.mExpectSessionTicket)
  14206. bool L_151 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
  14207. if (L_151)
  14208. {
  14209. goto IL_0588;
  14210. }
  14211. }
  14212. {
  14213. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14214. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_152 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14215. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_152, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14216. IL2CPP_RAISE_MANAGED_EXCEPTION(L_152, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14217. }
  14218. IL_0588:
  14219. {
  14220. // InvalidateSession();
  14221. VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
  14222. // ReceiveNewSessionTicketMessage(buf);
  14223. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_153 = ___buf1;
  14224. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(51 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveNewSessionTicketMessage(System.IO.MemoryStream) */, __this, L_153);
  14225. // break;
  14226. goto IL_059f;
  14227. }
  14228. IL_0597:
  14229. {
  14230. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14231. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_154 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14232. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_154, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14233. IL2CPP_RAISE_MANAGED_EXCEPTION(L_154, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14234. }
  14235. IL_059f:
  14236. {
  14237. // this.mConnectionState = CS_SERVER_SESSION_TICKET;
  14238. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)14));
  14239. // break;
  14240. return;
  14241. }
  14242. IL_05a8:
  14243. {
  14244. // AssertEmpty(buf);
  14245. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_155 = ___buf1;
  14246. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_155, /*hidden argument*/NULL);
  14247. // if (this.mConnectionState == CS_END)
  14248. int16_t L_156 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  14249. if ((!(((uint32_t)L_156) == ((uint32_t)((int32_t)16)))))
  14250. {
  14251. goto IL_05c7;
  14252. }
  14253. }
  14254. {
  14255. // RefuseRenegotiation();
  14256. VirtualActionInvoker0::Invoke(48 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation() */, __this);
  14257. // break;
  14258. return;
  14259. }
  14260. IL_05bf:
  14261. {
  14262. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  14263. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_157 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14264. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_157, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  14265. IL2CPP_RAISE_MANAGED_EXCEPTION(L_157, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
  14266. }
  14267. IL_05c7:
  14268. {
  14269. // }
  14270. return;
  14271. }
  14272. }
  14273. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList)
  14274. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_HandleSupplementalData_m2504C8F11CB09A3B54102FD703FD9CF633C3CCDD (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, RuntimeObject* ___serverSupplementalData0, const RuntimeMethod* method)
  14275. {
  14276. static bool s_Il2CppMethodInitialized;
  14277. if (!s_Il2CppMethodInitialized)
  14278. {
  14279. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  14280. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  14281. s_Il2CppMethodInitialized = true;
  14282. }
  14283. {
  14284. // this.mTlsClient.ProcessServerSupplementalData(serverSupplementalData);
  14285. RuntimeObject* L_0 = __this->get_mTlsClient_49();
  14286. RuntimeObject* L_1 = ___serverSupplementalData0;
  14287. NullCheck(L_0);
  14288. InterfaceActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::ProcessServerSupplementalData(System.Collections.IList) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_0, L_1);
  14289. // this.mConnectionState = CS_SERVER_SUPPLEMENTAL_DATA;
  14290. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)3);
  14291. // this.mKeyExchange = mTlsClient.GetKeyExchange();
  14292. RuntimeObject* L_2 = __this->get_mTlsClient_49();
  14293. NullCheck(L_2);
  14294. RuntimeObject* L_3;
  14295. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(16 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetKeyExchange() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_2);
  14296. __this->set_mKeyExchange_52(L_3);
  14297. // this.mKeyExchange.Init(Context);
  14298. RuntimeObject* L_4 = __this->get_mKeyExchange_52();
  14299. RuntimeObject* L_5;
  14300. L_5 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  14301. NullCheck(L_4);
  14302. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_4, L_5);
  14303. // }
  14304. return;
  14305. }
  14306. }
  14307. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveNewSessionTicketMessage(System.IO.MemoryStream)
  14308. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_ReceiveNewSessionTicketMessage_m41751DED6CE551D5EAEC324E6FD61BD87980CD2B (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  14309. {
  14310. static bool s_Il2CppMethodInitialized;
  14311. if (!s_Il2CppMethodInitialized)
  14312. {
  14313. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  14314. s_Il2CppMethodInitialized = true;
  14315. }
  14316. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * V_0 = NULL;
  14317. {
  14318. // NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf);
  14319. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
  14320. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_1;
  14321. L_1 = NewSessionTicket_Parse_m985C0731F622795A38B7F7938D7949EADA0E5091(L_0, /*hidden argument*/NULL);
  14322. V_0 = L_1;
  14323. // AssertEmpty(buf);
  14324. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
  14325. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
  14326. // mTlsClient.NotifyNewSessionTicket(newSessionTicket);
  14327. RuntimeObject* L_3 = __this->get_mTlsClient_49();
  14328. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_4 = V_0;
  14329. NullCheck(L_3);
  14330. InterfaceActionInvoker1< NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * >::Invoke(19 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::NotifyNewSessionTicket(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_3, L_4);
  14331. // }
  14332. return;
  14333. }
  14334. }
  14335. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveServerHelloMessage(System.IO.MemoryStream)
  14336. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  14337. {
  14338. static bool s_Il2CppMethodInitialized;
  14339. if (!s_Il2CppMethodInitialized)
  14340. {
  14341. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  14342. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var);
  14343. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  14344. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
  14345. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
  14346. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
  14347. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  14348. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  14349. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  14350. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  14351. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
  14352. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14353. s_Il2CppMethodInitialized = true;
  14354. }
  14355. int32_t V_0 = 0;
  14356. uint8_t V_1 = 0x0;
  14357. RuntimeObject* V_2 = NULL;
  14358. RuntimeObject* V_3 = NULL;
  14359. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_4 = NULL;
  14360. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_5 = NULL;
  14361. RuntimeObject* V_6 = NULL;
  14362. int32_t V_7 = 0;
  14363. RuntimeObject* V_8 = NULL;
  14364. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_9 = NULL;
  14365. bool V_10 = false;
  14366. Exception_t * __last_unhandled_exception = 0;
  14367. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  14368. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B11_0 = NULL;
  14369. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B9_0 = NULL;
  14370. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B10_0 = NULL;
  14371. int32_t G_B12_0 = 0;
  14372. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B12_1 = NULL;
  14373. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B21_0 = NULL;
  14374. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B20_0 = NULL;
  14375. int32_t G_B22_0 = 0;
  14376. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B22_1 = NULL;
  14377. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B53_0 = NULL;
  14378. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B52_0 = NULL;
  14379. int32_t G_B54_0 = 0;
  14380. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B54_1 = NULL;
  14381. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B56_0 = NULL;
  14382. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B55_0 = NULL;
  14383. int32_t G_B57_0 = 0;
  14384. TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B57_1 = NULL;
  14385. {
  14386. // ProtocolVersion server_version = TlsUtilities.ReadVersion(buf);
  14387. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
  14388. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14389. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
  14390. L_1 = TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A(L_0, /*hidden argument*/NULL);
  14391. V_4 = L_1;
  14392. // if (server_version.IsDtls)
  14393. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2 = V_4;
  14394. NullCheck(L_2);
  14395. bool L_3;
  14396. L_3 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_2, /*hidden argument*/NULL);
  14397. if (!L_3)
  14398. {
  14399. goto IL_0019;
  14400. }
  14401. }
  14402. {
  14403. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14404. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14405. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14406. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14407. }
  14408. IL_0019:
  14409. {
  14410. // if (!server_version.Equals(this.mRecordStream.ReadVersion))
  14411. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5 = V_4;
  14412. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  14413. NullCheck(L_6);
  14414. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_7;
  14415. L_7 = RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline(L_6, /*hidden argument*/NULL);
  14416. NullCheck(L_5);
  14417. bool L_8;
  14418. L_8 = ProtocolVersion_Equals_m55E637B40AF820E0B35ABA84E0B40FDA2FE6D211(L_5, L_7, /*hidden argument*/NULL);
  14419. if (L_8)
  14420. {
  14421. goto IL_0035;
  14422. }
  14423. }
  14424. {
  14425. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14426. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_9 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14427. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_9, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14428. IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14429. }
  14430. IL_0035:
  14431. {
  14432. // ProtocolVersion client_version = Context.ClientVersion;
  14433. RuntimeObject* L_10;
  14434. L_10 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  14435. NullCheck(L_10);
  14436. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_11;
  14437. L_11 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ClientVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_10);
  14438. V_5 = L_11;
  14439. // if (!server_version.IsEqualOrEarlierVersionOf(client_version))
  14440. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_12 = V_4;
  14441. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_13 = V_5;
  14442. NullCheck(L_12);
  14443. bool L_14;
  14444. L_14 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_12, L_13, /*hidden argument*/NULL);
  14445. if (L_14)
  14446. {
  14447. goto IL_0055;
  14448. }
  14449. }
  14450. {
  14451. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14452. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_15 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14453. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_15, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14454. IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14455. }
  14456. IL_0055:
  14457. {
  14458. // this.mRecordStream.SetWriteVersion(server_version);
  14459. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_16 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  14460. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_17 = V_4;
  14461. NullCheck(L_16);
  14462. RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_16, L_17, /*hidden argument*/NULL);
  14463. // ContextAdmin.SetServerVersion(server_version);
  14464. AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_18;
  14465. L_18 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
  14466. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_19 = V_4;
  14467. NullCheck(L_18);
  14468. VirtualActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(21 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::SetServerVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, L_18, L_19);
  14469. // this.mTlsClient.NotifyServerVersion(server_version);
  14470. RuntimeObject* L_20 = __this->get_mTlsClient_49();
  14471. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_21 = V_4;
  14472. NullCheck(L_20);
  14473. InterfaceActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::NotifyServerVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_20, L_21);
  14474. // this.mSecurityParameters.serverRandom = TlsUtilities.ReadFully(32, buf);
  14475. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14476. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_23 = ___buf0;
  14477. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14478. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
  14479. L_24 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)32), L_23, /*hidden argument*/NULL);
  14480. NullCheck(L_22);
  14481. L_22->set_serverRandom_7(L_24);
  14482. // this.mSelectedSessionID = TlsUtilities.ReadOpaque8(buf);
  14483. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf0;
  14484. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
  14485. L_26 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_25, /*hidden argument*/NULL);
  14486. __this->set_mSelectedSessionID_51(L_26);
  14487. // if (this.mSelectedSessionID.Length > 32)
  14488. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = __this->get_mSelectedSessionID_51();
  14489. NullCheck(L_27);
  14490. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))) <= ((int32_t)((int32_t)32))))
  14491. {
  14492. goto IL_00af;
  14493. }
  14494. }
  14495. {
  14496. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14497. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14498. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14499. IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14500. }
  14501. IL_00af:
  14502. {
  14503. // this.mTlsClient.NotifySessionID(this.mSelectedSessionID);
  14504. RuntimeObject* L_29 = __this->get_mTlsClient_49();
  14505. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = __this->get_mSelectedSessionID_51();
  14506. NullCheck(L_29);
  14507. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::NotifySessionID(System.Byte[]) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_29, L_30);
  14508. // this.mResumedSession = this.mSelectedSessionID.Length > 0 && this.mTlsSession != null
  14509. // && Arrays.AreEqual(this.mSelectedSessionID, this.mTlsSession.SessionID);
  14510. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = __this->get_mSelectedSessionID_51();
  14511. NullCheck(L_31);
  14512. G_B9_0 = __this;
  14513. if (!(((RuntimeArray*)L_31)->max_length))
  14514. {
  14515. G_B11_0 = __this;
  14516. goto IL_00ea;
  14517. }
  14518. }
  14519. {
  14520. RuntimeObject* L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
  14521. G_B10_0 = G_B9_0;
  14522. if (!L_32)
  14523. {
  14524. G_B11_0 = G_B9_0;
  14525. goto IL_00ea;
  14526. }
  14527. }
  14528. {
  14529. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = __this->get_mSelectedSessionID_51();
  14530. RuntimeObject* L_34 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
  14531. NullCheck(L_34);
  14532. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
  14533. L_35 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(1 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::get_SessionID() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_34);
  14534. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  14535. bool L_36;
  14536. L_36 = Arrays_AreEqual_mA5503C81863BC5B4F26A66569A45A9B855ED2246(L_33, L_35, /*hidden argument*/NULL);
  14537. G_B12_0 = ((int32_t)(L_36));
  14538. G_B12_1 = G_B10_0;
  14539. goto IL_00eb;
  14540. }
  14541. IL_00ea:
  14542. {
  14543. G_B12_0 = 0;
  14544. G_B12_1 = G_B11_0;
  14545. }
  14546. IL_00eb:
  14547. {
  14548. NullCheck(G_B12_1);
  14549. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B12_1)->set_mResumedSession_41((bool)G_B12_0);
  14550. // int selectedCipherSuite = TlsUtilities.ReadUint16(buf);
  14551. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_37 = ___buf0;
  14552. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14553. int32_t L_38;
  14554. L_38 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_37, /*hidden argument*/NULL);
  14555. V_0 = L_38;
  14556. // if (!Arrays.Contains(this.mOfferedCipherSuites, selectedCipherSuite)
  14557. // || selectedCipherSuite == CipherSuite.TLS_NULL_WITH_NULL_NULL
  14558. // || CipherSuite.IsScsv(selectedCipherSuite)
  14559. // || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, Context.ServerVersion))
  14560. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  14561. int32_t L_40 = V_0;
  14562. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  14563. bool L_41;
  14564. L_41 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_39, L_40, /*hidden argument*/NULL);
  14565. if (!L_41)
  14566. {
  14567. goto IL_0123;
  14568. }
  14569. }
  14570. {
  14571. int32_t L_42 = V_0;
  14572. if (!L_42)
  14573. {
  14574. goto IL_0123;
  14575. }
  14576. }
  14577. {
  14578. int32_t L_43 = V_0;
  14579. bool L_44;
  14580. L_44 = CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD(L_43, /*hidden argument*/NULL);
  14581. if (L_44)
  14582. {
  14583. goto IL_0123;
  14584. }
  14585. }
  14586. {
  14587. int32_t L_45 = V_0;
  14588. RuntimeObject* L_46;
  14589. L_46 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  14590. NullCheck(L_46);
  14591. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_47;
  14592. L_47 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_46);
  14593. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14594. bool L_48;
  14595. L_48 = TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182(L_45, L_47, /*hidden argument*/NULL);
  14596. if (L_48)
  14597. {
  14598. goto IL_012b;
  14599. }
  14600. }
  14601. IL_0123:
  14602. {
  14603. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14604. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_49 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14605. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_49, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14606. IL2CPP_RAISE_MANAGED_EXCEPTION(L_49, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14607. }
  14608. IL_012b:
  14609. {
  14610. // this.mTlsClient.NotifySelectedCipherSuite(selectedCipherSuite);
  14611. RuntimeObject* L_50 = __this->get_mTlsClient_49();
  14612. int32_t L_51 = V_0;
  14613. NullCheck(L_50);
  14614. InterfaceActionInvoker1< int32_t >::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::NotifySelectedCipherSuite(System.Int32) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_50, L_51);
  14615. // byte selectedCompressionMethod = TlsUtilities.ReadUint8(buf);
  14616. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_52 = ___buf0;
  14617. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14618. uint8_t L_53;
  14619. L_53 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_52, /*hidden argument*/NULL);
  14620. V_1 = L_53;
  14621. // if (!Arrays.Contains(this.mOfferedCompressionMethods, selectedCompressionMethod))
  14622. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
  14623. uint8_t L_55 = V_1;
  14624. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  14625. bool L_56;
  14626. L_56 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_54, L_55, /*hidden argument*/NULL);
  14627. if (L_56)
  14628. {
  14629. goto IL_0154;
  14630. }
  14631. }
  14632. {
  14633. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14634. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_57 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14635. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_57, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14636. IL2CPP_RAISE_MANAGED_EXCEPTION(L_57, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14637. }
  14638. IL_0154:
  14639. {
  14640. // this.mTlsClient.NotifySelectedCompressionMethod(selectedCompressionMethod);
  14641. RuntimeObject* L_58 = __this->get_mTlsClient_49();
  14642. uint8_t L_59 = V_1;
  14643. NullCheck(L_58);
  14644. InterfaceActionInvoker1< uint8_t >::Invoke(13 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::NotifySelectedCompressionMethod(System.Byte) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_58, L_59);
  14645. // this.mServerExtensions = ReadExtensions(buf);
  14646. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_60 = ___buf0;
  14647. RuntimeObject* L_61;
  14648. L_61 = TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649(L_60, /*hidden argument*/NULL);
  14649. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mServerExtensions_39(L_61);
  14650. // this.mSecurityParameters.extendedMasterSecret = !TlsUtilities.IsSsl(mTlsClientContext)
  14651. // && TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mServerExtensions);
  14652. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14653. TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_63 = __this->get_mTlsClientContext_50();
  14654. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14655. bool L_64;
  14656. L_64 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_63, /*hidden argument*/NULL);
  14657. G_B20_0 = L_62;
  14658. if (L_64)
  14659. {
  14660. G_B21_0 = L_62;
  14661. goto IL_018c;
  14662. }
  14663. }
  14664. {
  14665. RuntimeObject* L_65 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  14666. bool L_66;
  14667. L_66 = TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215(L_65, /*hidden argument*/NULL);
  14668. G_B22_0 = ((int32_t)(L_66));
  14669. G_B22_1 = G_B20_0;
  14670. goto IL_018d;
  14671. }
  14672. IL_018c:
  14673. {
  14674. G_B22_0 = 0;
  14675. G_B22_1 = G_B21_0;
  14676. }
  14677. IL_018d:
  14678. {
  14679. NullCheck(G_B22_1);
  14680. G_B22_1->set_extendedMasterSecret_14((bool)G_B22_0);
  14681. // if (!mSecurityParameters.IsExtendedMasterSecret
  14682. // && (mResumedSession || mTlsClient.RequiresExtendedMasterSecret()))
  14683. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14684. NullCheck(L_67);
  14685. bool L_68;
  14686. L_68 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_67);
  14687. if (L_68)
  14688. {
  14689. goto IL_01bc;
  14690. }
  14691. }
  14692. {
  14693. bool L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  14694. if (L_69)
  14695. {
  14696. goto IL_01b4;
  14697. }
  14698. }
  14699. {
  14700. RuntimeObject* L_70 = __this->get_mTlsClient_49();
  14701. NullCheck(L_70);
  14702. bool L_71;
  14703. L_71 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::RequiresExtendedMasterSecret() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_70);
  14704. if (!L_71)
  14705. {
  14706. goto IL_01bc;
  14707. }
  14708. }
  14709. IL_01b4:
  14710. {
  14711. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  14712. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_72 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14713. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_72, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  14714. IL2CPP_RAISE_MANAGED_EXCEPTION(L_72, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14715. }
  14716. IL_01bc:
  14717. {
  14718. // if (this.mServerExtensions != null)
  14719. RuntimeObject* L_73 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  14720. if (!L_73)
  14721. {
  14722. goto IL_022d;
  14723. }
  14724. }
  14725. {
  14726. // foreach (int extType in this.mServerExtensions.Keys)
  14727. RuntimeObject* L_74 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  14728. NullCheck(L_74);
  14729. RuntimeObject* L_75;
  14730. L_75 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Collections.ICollection System.Collections.IDictionary::get_Keys() */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_74);
  14731. NullCheck(L_75);
  14732. RuntimeObject* L_76;
  14733. L_76 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_75);
  14734. V_6 = L_76;
  14735. }
  14736. IL_01d6:
  14737. try
  14738. {// begin try (depth: 1)
  14739. {
  14740. goto IL_020d;
  14741. }
  14742. IL_01d8:
  14743. {
  14744. // foreach (int extType in this.mServerExtensions.Keys)
  14745. RuntimeObject* L_77 = V_6;
  14746. NullCheck(L_77);
  14747. RuntimeObject * L_78;
  14748. L_78 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_77);
  14749. V_7 = ((*(int32_t*)((int32_t*)UnBox(L_78, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))));
  14750. // if (extType == ExtensionType.renegotiation_info)
  14751. int32_t L_79 = V_7;
  14752. if ((((int32_t)L_79) == ((int32_t)((int32_t)65281))))
  14753. {
  14754. goto IL_020d;
  14755. }
  14756. }
  14757. IL_01ef:
  14758. {
  14759. // if (null == TlsUtilities.GetExtensionData(this.mClientExtensions, extType))
  14760. RuntimeObject* L_80 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  14761. int32_t L_81 = V_7;
  14762. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14763. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_82;
  14764. L_82 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_80, L_81, /*hidden argument*/NULL);
  14765. if (L_82)
  14766. {
  14767. goto IL_0206;
  14768. }
  14769. }
  14770. IL_01fe:
  14771. {
  14772. // throw new TlsFatalAlert(AlertDescription.unsupported_extension);
  14773. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14774. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)110), /*hidden argument*/NULL);
  14775. IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14776. }
  14777. IL_0206:
  14778. {
  14779. // if (this.mResumedSession)
  14780. bool L_84 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  14781. }
  14782. IL_020d:
  14783. {
  14784. // foreach (int extType in this.mServerExtensions.Keys)
  14785. RuntimeObject* L_85 = V_6;
  14786. NullCheck(L_85);
  14787. bool L_86;
  14788. L_86 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_85);
  14789. if (L_86)
  14790. {
  14791. goto IL_01d8;
  14792. }
  14793. }
  14794. IL_0216:
  14795. {
  14796. IL2CPP_LEAVE(0x22D, FINALLY_0218);
  14797. }
  14798. }// end try (depth: 1)
  14799. catch(Il2CppExceptionWrapper& e)
  14800. {
  14801. __last_unhandled_exception = (Exception_t *)e.ex;
  14802. goto FINALLY_0218;
  14803. }
  14804. FINALLY_0218:
  14805. {// begin finally (depth: 1)
  14806. {
  14807. RuntimeObject* L_87 = V_6;
  14808. V_8 = ((RuntimeObject*)IsInst((RuntimeObject*)L_87, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
  14809. RuntimeObject* L_88 = V_8;
  14810. if (!L_88)
  14811. {
  14812. goto IL_022c;
  14813. }
  14814. }
  14815. IL_0225:
  14816. {
  14817. RuntimeObject* L_89 = V_8;
  14818. NullCheck(L_89);
  14819. InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_89);
  14820. }
  14821. IL_022c:
  14822. {
  14823. IL2CPP_END_FINALLY(536)
  14824. }
  14825. }// end finally (depth: 1)
  14826. IL2CPP_CLEANUP(536)
  14827. {
  14828. IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
  14829. IL2CPP_JUMP_TBL(0x22D, IL_022d)
  14830. }
  14831. IL_022d:
  14832. {
  14833. // byte[] renegExtData = TlsUtilities.GetExtensionData(this.mServerExtensions, ExtensionType.renegotiation_info);
  14834. RuntimeObject* L_90 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  14835. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14836. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_91;
  14837. L_91 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_90, ((int32_t)65281), /*hidden argument*/NULL);
  14838. V_9 = L_91;
  14839. // if (renegExtData != null)
  14840. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_92 = V_9;
  14841. if (!L_92)
  14842. {
  14843. goto IL_0265;
  14844. }
  14845. }
  14846. {
  14847. // this.mSecureRenegotiation = true;
  14848. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
  14849. // if (!Arrays.ConstantTimeAreEqual(renegExtData, CreateRenegotiationInfo(TlsUtilities.EmptyBytes)))
  14850. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_93 = V_9;
  14851. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14852. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  14853. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_95;
  14854. L_95 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_94, /*hidden argument*/NULL);
  14855. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  14856. bool L_96;
  14857. L_96 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_93, L_95, /*hidden argument*/NULL);
  14858. if (L_96)
  14859. {
  14860. goto IL_0265;
  14861. }
  14862. }
  14863. {
  14864. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  14865. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_97 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14866. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_97, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  14867. IL2CPP_RAISE_MANAGED_EXCEPTION(L_97, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14868. }
  14869. IL_0265:
  14870. {
  14871. // this.mTlsClient.NotifySecureRenegotiation(this.mSecureRenegotiation);
  14872. RuntimeObject* L_98 = __this->get_mTlsClient_49();
  14873. bool L_99 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
  14874. NullCheck(L_98);
  14875. InterfaceActionInvoker1< bool >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifySecureRenegotiation(System.Boolean) */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_98, L_99);
  14876. // IDictionary sessionClientExtensions = mClientExtensions, sessionServerExtensions = mServerExtensions;
  14877. RuntimeObject* L_100 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  14878. V_2 = L_100;
  14879. // IDictionary sessionClientExtensions = mClientExtensions, sessionServerExtensions = mServerExtensions;
  14880. RuntimeObject* L_101 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  14881. V_3 = L_101;
  14882. // if (this.mResumedSession)
  14883. bool L_102 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  14884. if (!L_102)
  14885. {
  14886. goto IL_02be;
  14887. }
  14888. }
  14889. {
  14890. // if (selectedCipherSuite != this.mSessionParameters.CipherSuite
  14891. // || selectedCompressionMethod != this.mSessionParameters.CompressionAlgorithm)
  14892. int32_t L_103 = V_0;
  14893. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_104 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  14894. NullCheck(L_104);
  14895. int32_t L_105;
  14896. L_105 = SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline(L_104, /*hidden argument*/NULL);
  14897. if ((!(((uint32_t)L_103) == ((uint32_t)L_105))))
  14898. {
  14899. goto IL_02a8;
  14900. }
  14901. }
  14902. {
  14903. uint8_t L_106 = V_1;
  14904. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_107 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  14905. NullCheck(L_107);
  14906. uint8_t L_108;
  14907. L_108 = SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline(L_107, /*hidden argument*/NULL);
  14908. if ((((int32_t)L_106) == ((int32_t)L_108)))
  14909. {
  14910. goto IL_02b0;
  14911. }
  14912. }
  14913. IL_02a8:
  14914. {
  14915. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14916. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_109 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14917. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_109, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14918. IL2CPP_RAISE_MANAGED_EXCEPTION(L_109, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14919. }
  14920. IL_02b0:
  14921. {
  14922. // sessionClientExtensions = null;
  14923. V_2 = (RuntimeObject*)NULL;
  14924. // sessionServerExtensions = this.mSessionParameters.ReadServerExtensions();
  14925. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_110 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  14926. NullCheck(L_110);
  14927. RuntimeObject* L_111;
  14928. L_111 = SessionParameters_ReadServerExtensions_m3268BAA375F8300339532D185707C59BCB4184B4(L_110, /*hidden argument*/NULL);
  14929. V_3 = L_111;
  14930. }
  14931. IL_02be:
  14932. {
  14933. // this.mSecurityParameters.cipherSuite = selectedCipherSuite;
  14934. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_112 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14935. int32_t L_113 = V_0;
  14936. NullCheck(L_112);
  14937. L_112->set_cipherSuite_1(L_113);
  14938. // this.mSecurityParameters.compressionAlgorithm = selectedCompressionMethod;
  14939. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_114 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14940. uint8_t L_115 = V_1;
  14941. NullCheck(L_114);
  14942. L_114->set_compressionAlgorithm_2(L_115);
  14943. // if (sessionServerExtensions != null && sessionServerExtensions.Count > 0)
  14944. RuntimeObject* L_116 = V_3;
  14945. if (!L_116)
  14946. {
  14947. goto IL_036c;
  14948. }
  14949. }
  14950. {
  14951. RuntimeObject* L_117 = V_3;
  14952. NullCheck(L_117);
  14953. int32_t L_118;
  14954. L_118 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var, L_117);
  14955. if ((((int32_t)L_118) <= ((int32_t)0)))
  14956. {
  14957. goto IL_036c;
  14958. }
  14959. }
  14960. {
  14961. // bool serverSentEncryptThenMAC = TlsExtensionsUtilities.HasEncryptThenMacExtension(sessionServerExtensions);
  14962. RuntimeObject* L_119 = V_3;
  14963. bool L_120;
  14964. L_120 = TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B(L_119, /*hidden argument*/NULL);
  14965. V_10 = L_120;
  14966. // if (serverSentEncryptThenMAC && !TlsUtilities.IsBlockCipherSuite(selectedCipherSuite))
  14967. bool L_121 = V_10;
  14968. if (!L_121)
  14969. {
  14970. goto IL_0304;
  14971. }
  14972. }
  14973. {
  14974. int32_t L_122 = V_0;
  14975. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  14976. bool L_123;
  14977. L_123 = TlsUtilities_IsBlockCipherSuite_mA273B0389EC7649C39401F777D6C94AC077AC749(L_122, /*hidden argument*/NULL);
  14978. if (L_123)
  14979. {
  14980. goto IL_0304;
  14981. }
  14982. }
  14983. {
  14984. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  14985. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_124 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  14986. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_124, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  14987. IL2CPP_RAISE_MANAGED_EXCEPTION(L_124, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
  14988. }
  14989. IL_0304:
  14990. {
  14991. // this.mSecurityParameters.encryptThenMac = serverSentEncryptThenMAC;
  14992. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_125 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14993. bool L_126 = V_10;
  14994. NullCheck(L_125);
  14995. L_125->set_encryptThenMac_13(L_126);
  14996. // this.mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(sessionClientExtensions,
  14997. // sessionServerExtensions, AlertDescription.illegal_parameter);
  14998. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_127 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  14999. RuntimeObject* L_128 = V_2;
  15000. RuntimeObject* L_129 = V_3;
  15001. int16_t L_130;
  15002. L_130 = VirtualFuncInvoker3< int16_t, RuntimeObject*, RuntimeObject*, uint8_t >::Invoke(47 /* System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessMaxFragmentLengthExtension(System.Collections.IDictionary,System.Collections.IDictionary,System.Byte) */, __this, L_128, L_129, (uint8_t)((int32_t)47));
  15003. NullCheck(L_127);
  15004. L_127->set_maxFragmentLength_11(L_130);
  15005. // this.mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(sessionServerExtensions);
  15006. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_131 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  15007. RuntimeObject* L_132 = V_3;
  15008. bool L_133;
  15009. L_133 = TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F(L_132, /*hidden argument*/NULL);
  15010. NullCheck(L_131);
  15011. L_131->set_truncatedHMac_12(L_133);
  15012. // this.mAllowCertificateStatus = !this.mResumedSession
  15013. // && TlsUtilities.HasExpectedEmptyExtensionData(sessionServerExtensions, ExtensionType.status_request,
  15014. // AlertDescription.illegal_parameter);
  15015. bool L_134 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  15016. G_B52_0 = __this;
  15017. if (L_134)
  15018. {
  15019. G_B53_0 = __this;
  15020. goto IL_034b;
  15021. }
  15022. }
  15023. {
  15024. RuntimeObject* L_135 = V_3;
  15025. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15026. bool L_136;
  15027. L_136 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_135, 5, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  15028. G_B54_0 = ((int32_t)(L_136));
  15029. G_B54_1 = G_B52_0;
  15030. goto IL_034c;
  15031. }
  15032. IL_034b:
  15033. {
  15034. G_B54_0 = 0;
  15035. G_B54_1 = G_B53_0;
  15036. }
  15037. IL_034c:
  15038. {
  15039. NullCheck(G_B54_1);
  15040. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B54_1)->set_mAllowCertificateStatus_44((bool)G_B54_0);
  15041. // this.mExpectSessionTicket = !this.mResumedSession
  15042. // && TlsUtilities.HasExpectedEmptyExtensionData(sessionServerExtensions, ExtensionType.session_ticket,
  15043. // AlertDescription.illegal_parameter);
  15044. bool L_137 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  15045. G_B55_0 = __this;
  15046. if (L_137)
  15047. {
  15048. G_B56_0 = __this;
  15049. goto IL_0366;
  15050. }
  15051. }
  15052. {
  15053. RuntimeObject* L_138 = V_3;
  15054. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15055. bool L_139;
  15056. L_139 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_138, ((int32_t)35), (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  15057. G_B57_0 = ((int32_t)(L_139));
  15058. G_B57_1 = G_B55_0;
  15059. goto IL_0367;
  15060. }
  15061. IL_0366:
  15062. {
  15063. G_B57_0 = 0;
  15064. G_B57_1 = G_B56_0;
  15065. }
  15066. IL_0367:
  15067. {
  15068. NullCheck(G_B57_1);
  15069. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B57_1)->set_mExpectSessionTicket_45((bool)G_B57_0);
  15070. }
  15071. IL_036c:
  15072. {
  15073. // if (sessionClientExtensions != null)
  15074. RuntimeObject* L_140 = V_2;
  15075. if (!L_140)
  15076. {
  15077. goto IL_037b;
  15078. }
  15079. }
  15080. {
  15081. // this.mTlsClient.ProcessServerExtensions(sessionServerExtensions);
  15082. RuntimeObject* L_141 = __this->get_mTlsClient_49();
  15083. RuntimeObject* L_142 = V_3;
  15084. NullCheck(L_141);
  15085. InterfaceActionInvoker1< RuntimeObject* >::Invoke(14 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::ProcessServerExtensions(System.Collections.IDictionary) */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_141, L_142);
  15086. }
  15087. IL_037b:
  15088. {
  15089. // this.mSecurityParameters.prfAlgorithm = GetPrfAlgorithm(Context, this.mSecurityParameters.CipherSuite);
  15090. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_143 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  15091. RuntimeObject* L_144;
  15092. L_144 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  15093. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_145 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  15094. NullCheck(L_145);
  15095. int32_t L_146;
  15096. L_146 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_145);
  15097. int32_t L_147;
  15098. L_147 = TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3(L_144, L_146, /*hidden argument*/NULL);
  15099. NullCheck(L_143);
  15100. L_143->set_prfAlgorithm_3(L_147);
  15101. // this.mSecurityParameters.verifyDataLength = 12;
  15102. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_148 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  15103. NullCheck(L_148);
  15104. L_148->set_verifyDataLength_4(((int32_t)12));
  15105. // }
  15106. return;
  15107. }
  15108. }
  15109. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendCertificateVerifyMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned)
  15110. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendCertificateVerifyMessage_mB4C3502F2ECFF05D4F7A4B31D1041D6A7FC04B97 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * ___certificateVerify0, const RuntimeMethod* method)
  15111. {
  15112. static bool s_Il2CppMethodInitialized;
  15113. if (!s_Il2CppMethodInitialized)
  15114. {
  15115. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15116. s_Il2CppMethodInitialized = true;
  15117. }
  15118. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  15119. {
  15120. // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_verify);
  15121. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15122. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
  15123. V_0 = L_0;
  15124. // certificateVerify.Encode(message);
  15125. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_1 = ___certificateVerify0;
  15126. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
  15127. NullCheck(L_1);
  15128. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_1, L_2);
  15129. // message.WriteToRecordStream(this);
  15130. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
  15131. NullCheck(L_3);
  15132. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
  15133. // }
  15134. return;
  15135. }
  15136. }
  15137. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientHelloMessage()
  15138. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  15139. {
  15140. static bool s_Il2CppMethodInitialized;
  15141. if (!s_Il2CppMethodInitialized)
  15142. {
  15143. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15144. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15145. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
  15146. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
  15147. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15148. s_Il2CppMethodInitialized = true;
  15149. }
  15150. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
  15151. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  15152. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_2 = NULL;
  15153. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  15154. bool V_4 = false;
  15155. bool G_B12_0 = false;
  15156. bool G_B7_0 = false;
  15157. bool G_B8_0 = false;
  15158. bool G_B11_0 = false;
  15159. bool G_B9_0 = false;
  15160. bool G_B10_0 = false;
  15161. bool G_B14_0 = false;
  15162. bool G_B13_0 = false;
  15163. bool G_B16_0 = false;
  15164. bool G_B15_0 = false;
  15165. {
  15166. // this.mRecordStream.SetWriteVersion(this.mTlsClient.ClientHelloRecordLayerVersion);
  15167. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  15168. RuntimeObject* L_1 = __this->get_mTlsClient_49();
  15169. NullCheck(L_1);
  15170. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2;
  15171. L_2 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::get_ClientHelloRecordLayerVersion() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_1);
  15172. NullCheck(L_0);
  15173. RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_0, L_2, /*hidden argument*/NULL);
  15174. // ProtocolVersion client_version = this.mTlsClient.ClientVersion;
  15175. RuntimeObject* L_3 = __this->get_mTlsClient_49();
  15176. NullCheck(L_3);
  15177. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_4;
  15178. L_4 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::get_ClientVersion() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_3);
  15179. V_0 = L_4;
  15180. // if (client_version.IsDtls)
  15181. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5 = V_0;
  15182. NullCheck(L_5);
  15183. bool L_6;
  15184. L_6 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_5, /*hidden argument*/NULL);
  15185. if (!L_6)
  15186. {
  15187. goto IL_0032;
  15188. }
  15189. }
  15190. {
  15191. // throw new TlsFatalAlert(AlertDescription.internal_error);
  15192. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15193. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  15194. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A_RuntimeMethod_var)));
  15195. }
  15196. IL_0032:
  15197. {
  15198. // ContextAdmin.SetClientVersion(client_version);
  15199. AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_8;
  15200. L_8 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
  15201. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_9 = V_0;
  15202. NullCheck(L_8);
  15203. VirtualActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(19 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::SetClientVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, L_8, L_9);
  15204. // byte[] session_id = TlsUtilities.EmptyBytes;
  15205. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15206. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  15207. V_1 = L_10;
  15208. // if (this.mTlsSession != null)
  15209. RuntimeObject* L_11 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
  15210. if (!L_11)
  15211. {
  15212. goto IL_0068;
  15213. }
  15214. }
  15215. {
  15216. // session_id = this.mTlsSession.SessionID;
  15217. RuntimeObject* L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
  15218. NullCheck(L_12);
  15219. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
  15220. L_13 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(1 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::get_SessionID() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_12);
  15221. V_1 = L_13;
  15222. // if (session_id == null || session_id.Length > 32)
  15223. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_1;
  15224. if (!L_14)
  15225. {
  15226. goto IL_0062;
  15227. }
  15228. }
  15229. {
  15230. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_1;
  15231. NullCheck(L_15);
  15232. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))) <= ((int32_t)((int32_t)32))))
  15233. {
  15234. goto IL_0068;
  15235. }
  15236. }
  15237. IL_0062:
  15238. {
  15239. // session_id = TlsUtilities.EmptyBytes;
  15240. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15241. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  15242. V_1 = L_16;
  15243. }
  15244. IL_0068:
  15245. {
  15246. // bool fallback = this.mTlsClient.IsFallback;
  15247. RuntimeObject* L_17 = __this->get_mTlsClient_49();
  15248. NullCheck(L_17);
  15249. bool L_18;
  15250. L_18 = InterfaceFuncInvoker0< bool >::Invoke(6 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::get_IsFallback() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_17);
  15251. // this.mOfferedCipherSuites = this.mTlsClient.GetCipherSuites();
  15252. RuntimeObject* L_19 = __this->get_mTlsClient_49();
  15253. NullCheck(L_19);
  15254. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_20;
  15255. L_20 = InterfaceFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(7 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetCipherSuites() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_19);
  15256. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_20);
  15257. // this.mOfferedCompressionMethods = this.mTlsClient.GetCompressionMethods();
  15258. RuntimeObject* L_21 = __this->get_mTlsClient_49();
  15259. NullCheck(L_21);
  15260. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22;
  15261. L_22 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(8 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetCompressionMethods() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_21);
  15262. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCompressionMethods_37(L_22);
  15263. // if (session_id.Length > 0 && this.mSessionParameters != null)
  15264. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_1;
  15265. NullCheck(L_23);
  15266. G_B7_0 = L_18;
  15267. if (!(((RuntimeArray*)L_23)->max_length))
  15268. {
  15269. G_B12_0 = L_18;
  15270. goto IL_00e4;
  15271. }
  15272. }
  15273. {
  15274. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_24 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  15275. G_B8_0 = G_B7_0;
  15276. if (!L_24)
  15277. {
  15278. G_B12_0 = G_B7_0;
  15279. goto IL_00e4;
  15280. }
  15281. }
  15282. {
  15283. // if (!mSessionParameters.IsExtendedMasterSecret
  15284. // || !Arrays.Contains(this.mOfferedCipherSuites, mSessionParameters.CipherSuite)
  15285. // || !Arrays.Contains(this.mOfferedCompressionMethods, mSessionParameters.CompressionAlgorithm))
  15286. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_25 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  15287. NullCheck(L_25);
  15288. bool L_26;
  15289. L_26 = SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline(L_25, /*hidden argument*/NULL);
  15290. G_B9_0 = G_B8_0;
  15291. if (!L_26)
  15292. {
  15293. G_B11_0 = G_B8_0;
  15294. goto IL_00de;
  15295. }
  15296. }
  15297. {
  15298. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_27 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15299. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_28 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  15300. NullCheck(L_28);
  15301. int32_t L_29;
  15302. L_29 = SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline(L_28, /*hidden argument*/NULL);
  15303. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15304. bool L_30;
  15305. L_30 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_27, L_29, /*hidden argument*/NULL);
  15306. G_B10_0 = G_B9_0;
  15307. if (!L_30)
  15308. {
  15309. G_B11_0 = G_B9_0;
  15310. goto IL_00de;
  15311. }
  15312. }
  15313. {
  15314. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
  15315. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
  15316. NullCheck(L_32);
  15317. uint8_t L_33;
  15318. L_33 = SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline(L_32, /*hidden argument*/NULL);
  15319. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15320. bool L_34;
  15321. L_34 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_31, L_33, /*hidden argument*/NULL);
  15322. G_B11_0 = G_B10_0;
  15323. if (L_34)
  15324. {
  15325. G_B12_0 = G_B10_0;
  15326. goto IL_00e4;
  15327. }
  15328. }
  15329. IL_00de:
  15330. {
  15331. // session_id = TlsUtilities.EmptyBytes;
  15332. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15333. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  15334. V_1 = L_35;
  15335. G_B12_0 = G_B11_0;
  15336. }
  15337. IL_00e4:
  15338. {
  15339. // this.mClientExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(this.mTlsClient.GetClientExtensions());
  15340. RuntimeObject* L_36 = __this->get_mTlsClient_49();
  15341. NullCheck(L_36);
  15342. RuntimeObject* L_37;
  15343. L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(9 /* System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetClientExtensions() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_36);
  15344. RuntimeObject* L_38;
  15345. L_38 = TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963(L_37, /*hidden argument*/NULL);
  15346. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mClientExtensions_38(L_38);
  15347. // if (!client_version.IsSsl)
  15348. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_39 = V_0;
  15349. NullCheck(L_39);
  15350. bool L_40;
  15351. L_40 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_39, /*hidden argument*/NULL);
  15352. G_B13_0 = G_B12_0;
  15353. if (L_40)
  15354. {
  15355. G_B14_0 = G_B12_0;
  15356. goto IL_010d;
  15357. }
  15358. }
  15359. {
  15360. // TlsExtensionsUtilities.AddExtendedMasterSecretExtension(this.mClientExtensions);
  15361. RuntimeObject* L_41 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  15362. TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1(L_41, /*hidden argument*/NULL);
  15363. G_B14_0 = G_B13_0;
  15364. }
  15365. IL_010d:
  15366. {
  15367. // HandshakeMessage message = new HandshakeMessage(HandshakeType.client_hello);
  15368. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_42 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15369. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_42, (uint8_t)1, /*hidden argument*/NULL);
  15370. V_2 = L_42;
  15371. // TlsUtilities.WriteVersion(client_version, message);
  15372. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_43 = V_0;
  15373. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_44 = V_2;
  15374. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15375. TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509(L_43, L_44, /*hidden argument*/NULL);
  15376. // message.Write(this.mSecurityParameters.ClientRandom);
  15377. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_45 = V_2;
  15378. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_46 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  15379. NullCheck(L_46);
  15380. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47;
  15381. L_47 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(11 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_ClientRandom() */, L_46);
  15382. NullCheck(L_45);
  15383. HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_45, L_47, /*hidden argument*/NULL);
  15384. // TlsUtilities.WriteOpaque8(session_id, message);
  15385. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_1;
  15386. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_49 = V_2;
  15387. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_48, L_49, /*hidden argument*/NULL);
  15388. // byte[] renegExtData = TlsUtilities.GetExtensionData(mClientExtensions, ExtensionType.renegotiation_info);
  15389. RuntimeObject* L_50 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  15390. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_51;
  15391. L_51 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_50, ((int32_t)65281), /*hidden argument*/NULL);
  15392. V_3 = L_51;
  15393. // bool noRenegExt = (null == renegExtData);
  15394. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_52 = V_3;
  15395. // bool noRenegScsv = !Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV);
  15396. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15397. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15398. bool L_54;
  15399. L_54 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_53, ((int32_t)255), /*hidden argument*/NULL);
  15400. V_4 = (bool)((((int32_t)L_54) == ((int32_t)0))? 1 : 0);
  15401. // if (noRenegExt && noRenegScsv)
  15402. bool L_55 = V_4;
  15403. G_B15_0 = G_B14_0;
  15404. if (!((int32_t)((int32_t)((((RuntimeObject*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)L_52) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)&(int32_t)L_55)))
  15405. {
  15406. G_B16_0 = G_B14_0;
  15407. goto IL_0178;
  15408. }
  15409. }
  15410. {
  15411. // this.mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV);
  15412. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_56 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15413. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15414. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_57;
  15415. L_57 = Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1(L_56, ((int32_t)255), /*hidden argument*/NULL);
  15416. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_57);
  15417. G_B16_0 = G_B15_0;
  15418. }
  15419. IL_0178:
  15420. {
  15421. // if (fallback && !Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV))
  15422. if (!G_B16_0)
  15423. {
  15424. goto IL_01a2;
  15425. }
  15426. }
  15427. {
  15428. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_58 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15429. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15430. bool L_59;
  15431. L_59 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_58, ((int32_t)22016), /*hidden argument*/NULL);
  15432. if (L_59)
  15433. {
  15434. goto IL_01a2;
  15435. }
  15436. }
  15437. {
  15438. // this.mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV);
  15439. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_60 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15440. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  15441. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_61;
  15442. L_61 = Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1(L_60, ((int32_t)22016), /*hidden argument*/NULL);
  15443. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_61);
  15444. }
  15445. IL_01a2:
  15446. {
  15447. // TlsUtilities.WriteUint16ArrayWithUint16Length(mOfferedCipherSuites, message);
  15448. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  15449. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_63 = V_2;
  15450. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15451. TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31(L_62, L_63, /*hidden argument*/NULL);
  15452. // TlsUtilities.WriteUint8ArrayWithUint8Length(mOfferedCompressionMethods, message);
  15453. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_64 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
  15454. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_65 = V_2;
  15455. TlsUtilities_WriteUint8ArrayWithUint8Length_m4BCED1420A9E340771B44AF47A7ACF67CE255EC5(L_64, L_65, /*hidden argument*/NULL);
  15456. // WriteExtensions(message, mClientExtensions);
  15457. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_66 = V_2;
  15458. RuntimeObject* L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  15459. TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0(L_66, L_67, /*hidden argument*/NULL);
  15460. // message.WriteToRecordStream(this);
  15461. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_68 = V_2;
  15462. NullCheck(L_68);
  15463. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_68, __this, /*hidden argument*/NULL);
  15464. // }
  15465. return;
  15466. }
  15467. }
  15468. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientKeyExchangeMessage()
  15469. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendClientKeyExchangeMessage_m82988729DBEA67D62C30B06A2BFC70098726ED51 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
  15470. {
  15471. static bool s_Il2CppMethodInitialized;
  15472. if (!s_Il2CppMethodInitialized)
  15473. {
  15474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15475. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  15476. s_Il2CppMethodInitialized = true;
  15477. }
  15478. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  15479. {
  15480. // HandshakeMessage message = new HandshakeMessage(HandshakeType.client_key_exchange);
  15481. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  15482. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)16), /*hidden argument*/NULL);
  15483. V_0 = L_0;
  15484. // this.mKeyExchange.GenerateClientKeyExchange(message);
  15485. RuntimeObject* L_1 = __this->get_mKeyExchange_52();
  15486. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
  15487. NullCheck(L_1);
  15488. InterfaceActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::GenerateClientKeyExchange(System.IO.Stream) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_1, L_2);
  15489. // message.WriteToRecordStream(this);
  15490. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
  15491. NullCheck(L_3);
  15492. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
  15493. // }
  15494. return;
  15495. }
  15496. }
  15497. #ifdef __clang__
  15498. #pragma clang diagnostic pop
  15499. #endif
  15500. #ifdef __clang__
  15501. #pragma clang diagnostic push
  15502. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  15503. #pragma clang diagnostic ignored "-Wunused-variable"
  15504. #endif
  15505. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  15506. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange__ctor_mA5843A2B0B1506BABBFF9D74DDA3FDBB526DFBFE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters2, const RuntimeMethod* method)
  15507. {
  15508. static bool s_Il2CppMethodInitialized;
  15509. if (!s_Il2CppMethodInitialized)
  15510. {
  15511. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  15512. s_Il2CppMethodInitialized = true;
  15513. }
  15514. {
  15515. // : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters)
  15516. int32_t L_0 = ___keyExchange0;
  15517. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  15518. DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_2 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  15519. DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_2, /*hidden argument*/NULL);
  15520. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters2;
  15521. TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
  15522. // }
  15523. return;
  15524. }
  15525. }
  15526. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  15527. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___dhVerifier2, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters3, const RuntimeMethod* method)
  15528. {
  15529. static bool s_Il2CppMethodInitialized;
  15530. if (!s_Il2CppMethodInitialized)
  15531. {
  15532. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var);
  15533. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
  15534. s_Il2CppMethodInitialized = true;
  15535. }
  15536. {
  15537. // : base(keyExchange, supportedSignatureAlgorithms)
  15538. int32_t L_0 = ___keyExchange0;
  15539. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  15540. AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
  15541. int32_t L_2 = ___keyExchange0;
  15542. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)3)))
  15543. {
  15544. case 0:
  15545. {
  15546. goto IL_004c;
  15547. }
  15548. case 1:
  15549. {
  15550. goto IL_0059;
  15551. }
  15552. case 2:
  15553. {
  15554. goto IL_003f;
  15555. }
  15556. case 3:
  15557. {
  15558. goto IL_0059;
  15559. }
  15560. case 4:
  15561. {
  15562. goto IL_0036;
  15563. }
  15564. case 5:
  15565. {
  15566. goto IL_0059;
  15567. }
  15568. case 6:
  15569. {
  15570. goto IL_0036;
  15571. }
  15572. case 7:
  15573. {
  15574. goto IL_0059;
  15575. }
  15576. case 8:
  15577. {
  15578. goto IL_0036;
  15579. }
  15580. }
  15581. }
  15582. {
  15583. goto IL_0059;
  15584. }
  15585. IL_0036:
  15586. {
  15587. // this.mTlsSigner = null;
  15588. __this->set_mTlsSigner_3((RuntimeObject*)NULL);
  15589. // break;
  15590. goto IL_0064;
  15591. }
  15592. IL_003f:
  15593. {
  15594. // this.mTlsSigner = new TlsRsaSigner();
  15595. TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * L_3 = (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 *)il2cpp_codegen_object_new(TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
  15596. TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019(L_3, /*hidden argument*/NULL);
  15597. __this->set_mTlsSigner_3(L_3);
  15598. // break;
  15599. goto IL_0064;
  15600. }
  15601. IL_004c:
  15602. {
  15603. // this.mTlsSigner = new TlsDssSigner();
  15604. TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * L_4 = (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 *)il2cpp_codegen_object_new(TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var);
  15605. TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588(L_4, /*hidden argument*/NULL);
  15606. __this->set_mTlsSigner_3(L_4);
  15607. // break;
  15608. goto IL_0064;
  15609. }
  15610. IL_0059:
  15611. {
  15612. // throw new InvalidOperationException("unsupported key exchange algorithm");
  15613. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  15614. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
  15615. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3_RuntimeMethod_var)));
  15616. }
  15617. IL_0064:
  15618. {
  15619. // this.mDHVerifier = dhVerifier;
  15620. RuntimeObject* L_6 = ___dhVerifier2;
  15621. __this->set_mDHVerifier_4(L_6);
  15622. // this.mDHParameters = dhParameters;
  15623. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = ___dhParameters3;
  15624. __this->set_mDHParameters_5(L_7);
  15625. // }
  15626. return;
  15627. }
  15628. }
  15629. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  15630. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_Init_m8F14C12A073CDAFD733D6FCAD7A1D22FFB49BB87 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
  15631. {
  15632. static bool s_Il2CppMethodInitialized;
  15633. if (!s_Il2CppMethodInitialized)
  15634. {
  15635. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  15636. s_Il2CppMethodInitialized = true;
  15637. }
  15638. {
  15639. // base.Init(context);
  15640. RuntimeObject* L_0 = ___context0;
  15641. AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD(__this, L_0, /*hidden argument*/NULL);
  15642. // if (this.mTlsSigner != null)
  15643. RuntimeObject* L_1 = __this->get_mTlsSigner_3();
  15644. if (!L_1)
  15645. {
  15646. goto IL_001b;
  15647. }
  15648. }
  15649. {
  15650. // this.mTlsSigner.Init(context);
  15651. RuntimeObject* L_2 = __this->get_mTlsSigner_3();
  15652. RuntimeObject* L_3 = ___context0;
  15653. NullCheck(L_2);
  15654. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_2, L_3);
  15655. }
  15656. IL_001b:
  15657. {
  15658. // }
  15659. return;
  15660. }
  15661. }
  15662. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::SkipServerCredentials()
  15663. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
  15664. {
  15665. {
  15666. // if (mKeyExchange != KeyExchangeAlgorithm.DH_anon)
  15667. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  15668. if ((((int32_t)L_0) == ((int32_t)((int32_t)11))))
  15669. {
  15670. goto IL_0012;
  15671. }
  15672. }
  15673. {
  15674. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  15675. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15676. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  15677. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE_RuntimeMethod_var)));
  15678. }
  15679. IL_0012:
  15680. {
  15681. // }
  15682. return;
  15683. }
  15684. }
  15685. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  15686. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
  15687. {
  15688. static bool s_Il2CppMethodInitialized;
  15689. if (!s_Il2CppMethodInitialized)
  15690. {
  15691. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  15692. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  15693. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15694. s_Il2CppMethodInitialized = true;
  15695. }
  15696. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
  15697. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
  15698. Exception_t * V_2 = NULL;
  15699. InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * V_3 = NULL;
  15700. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  15701. il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
  15702. {
  15703. // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
  15704. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  15705. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
  15706. {
  15707. goto IL_0012;
  15708. }
  15709. }
  15710. {
  15711. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  15712. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15713. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  15714. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
  15715. }
  15716. IL_0012:
  15717. {
  15718. // if (serverCertificate.IsEmpty)
  15719. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
  15720. NullCheck(L_2);
  15721. bool L_3;
  15722. L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
  15723. if (!L_3)
  15724. {
  15725. goto IL_0022;
  15726. }
  15727. }
  15728. {
  15729. // throw new TlsFatalAlert(AlertDescription.bad_certificate);
  15730. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15731. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
  15732. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
  15733. }
  15734. IL_0022:
  15735. {
  15736. // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
  15737. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
  15738. NullCheck(L_5);
  15739. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
  15740. L_6 = VirtualFuncInvoker1< X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 *, int32_t >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::GetCertificateAt(System.Int32) */, L_5, 0);
  15741. V_0 = L_6;
  15742. // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
  15743. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
  15744. NullCheck(L_7);
  15745. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
  15746. L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
  15747. V_1 = L_8;
  15748. }
  15749. IL_0031:
  15750. try
  15751. {// begin try (depth: 1)
  15752. // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
  15753. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
  15754. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
  15755. L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
  15756. __this->set_mServerPublicKey_6(L_10);
  15757. // }
  15758. goto IL_0049;
  15759. }// end try (depth: 1)
  15760. catch(Il2CppExceptionWrapper& e)
  15761. {
  15762. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  15763. {
  15764. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  15765. goto CATCH_003f;
  15766. }
  15767. throw e;
  15768. }
  15769. CATCH_003f:
  15770. {// begin catch(System.Exception)
  15771. // catch (Exception e)
  15772. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  15773. // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
  15774. Exception_t * L_11 = V_2;
  15775. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15776. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
  15777. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
  15778. }// end catch (depth: 1)
  15779. IL_0049:
  15780. {
  15781. // if (mTlsSigner == null)
  15782. RuntimeObject* L_13 = __this->get_mTlsSigner_3();
  15783. if (L_13)
  15784. {
  15785. goto IL_0088;
  15786. }
  15787. }
  15788. IL_0051:
  15789. try
  15790. {// begin try (depth: 1)
  15791. // this.mDHAgreePublicKey = (DHPublicKeyParameters)this.mServerPublicKey;
  15792. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_6();
  15793. __this->set_mDHAgreePublicKey_9(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_14, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
  15794. // this.mDHParameters = mDHAgreePublicKey.Parameters;
  15795. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_15 = __this->get_mDHAgreePublicKey_9();
  15796. NullCheck(L_15);
  15797. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_16;
  15798. L_16 = DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline(L_15, /*hidden argument*/NULL);
  15799. __this->set_mDHParameters_5(L_16);
  15800. // }
  15801. goto IL_007f;
  15802. }// end try (depth: 1)
  15803. catch(Il2CppExceptionWrapper& e)
  15804. {
  15805. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  15806. {
  15807. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  15808. goto CATCH_0075;
  15809. }
  15810. throw e;
  15811. }
  15812. CATCH_0075:
  15813. {// begin catch(System.InvalidCastException)
  15814. // catch (InvalidCastException e)
  15815. V_3 = ((InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *));
  15816. // throw new TlsFatalAlert(AlertDescription.certificate_unknown, e);
  15817. InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * L_17 = V_3;
  15818. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15819. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_18, (uint8_t)((int32_t)46), L_17, /*hidden argument*/NULL);
  15820. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
  15821. }// end catch (depth: 1)
  15822. IL_007f:
  15823. {
  15824. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyAgreement);
  15825. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_19 = V_0;
  15826. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15827. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_19, 8, /*hidden argument*/NULL);
  15828. // }
  15829. goto IL_00ae;
  15830. }
  15831. IL_0088:
  15832. {
  15833. // if (!mTlsSigner.IsValidPublicKey(this.mServerPublicKey))
  15834. RuntimeObject* L_20 = __this->get_mTlsSigner_3();
  15835. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_21 = __this->get_mServerPublicKey_6();
  15836. NullCheck(L_20);
  15837. bool L_22;
  15838. L_22 = InterfaceFuncInvoker1< bool, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(9 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_20, L_21);
  15839. if (L_22)
  15840. {
  15841. goto IL_00a3;
  15842. }
  15843. }
  15844. {
  15845. // throw new TlsFatalAlert(AlertDescription.certificate_unknown);
  15846. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15847. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)46), /*hidden argument*/NULL);
  15848. IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
  15849. }
  15850. IL_00a3:
  15851. {
  15852. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.DigitalSignature);
  15853. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_24 = V_0;
  15854. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  15855. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_24, ((int32_t)128), /*hidden argument*/NULL);
  15856. }
  15857. IL_00ae:
  15858. {
  15859. // base.ProcessServerCertificate(serverCertificate);
  15860. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_25 = ___serverCertificate0;
  15861. AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_25, /*hidden argument*/NULL);
  15862. // }
  15863. return;
  15864. }
  15865. }
  15866. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::get_RequiresServerKeyExchange()
  15867. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHKeyExchange_get_RequiresServerKeyExchange_m7140A4F96ECC2D1698F8422EEE90A2945ED6E38E (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
  15868. {
  15869. int32_t V_0 = 0;
  15870. {
  15871. // switch (mKeyExchange)
  15872. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  15873. V_0 = L_0;
  15874. int32_t L_1 = V_0;
  15875. if ((((int32_t)L_1) == ((int32_t)3)))
  15876. {
  15877. goto IL_0014;
  15878. }
  15879. }
  15880. {
  15881. int32_t L_2 = V_0;
  15882. if ((((int32_t)L_2) == ((int32_t)5)))
  15883. {
  15884. goto IL_0014;
  15885. }
  15886. }
  15887. {
  15888. int32_t L_3 = V_0;
  15889. if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)11)))))
  15890. {
  15891. goto IL_0016;
  15892. }
  15893. }
  15894. IL_0014:
  15895. {
  15896. // return true;
  15897. return (bool)1;
  15898. }
  15899. IL_0016:
  15900. {
  15901. // return false;
  15902. return (bool)0;
  15903. }
  15904. }
  15905. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GenerateServerKeyExchange()
  15906. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHKeyExchange_GenerateServerKeyExchange_m4E38670DEDBE76CDCF34E37799C7068CD213E3CE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
  15907. {
  15908. static bool s_Il2CppMethodInitialized;
  15909. if (!s_Il2CppMethodInitialized)
  15910. {
  15911. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  15912. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  15913. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  15914. s_Il2CppMethodInitialized = true;
  15915. }
  15916. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  15917. {
  15918. // if (!RequiresServerKeyExchange)
  15919. bool L_0;
  15920. L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
  15921. if (L_0)
  15922. {
  15923. goto IL_000a;
  15924. }
  15925. }
  15926. {
  15927. // return null;
  15928. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  15929. }
  15930. IL_000a:
  15931. {
  15932. // MemoryStream buf = new MemoryStream();
  15933. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  15934. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_1, /*hidden argument*/NULL);
  15935. V_0 = L_1;
  15936. // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
  15937. // this.mDHParameters, buf);
  15938. RuntimeObject* L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  15939. NullCheck(L_2);
  15940. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
  15941. L_3 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  15942. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4 = __this->get_mDHParameters_5();
  15943. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  15944. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  15945. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_6;
  15946. L_6 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_3, L_4, L_5, /*hidden argument*/NULL);
  15947. __this->set_mDHAgreePrivateKey_8(L_6);
  15948. // return buf.ToArray();
  15949. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
  15950. NullCheck(L_7);
  15951. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
  15952. L_8 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_7);
  15953. return L_8;
  15954. }
  15955. }
  15956. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
  15957. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  15958. {
  15959. static bool s_Il2CppMethodInitialized;
  15960. if (!s_Il2CppMethodInitialized)
  15961. {
  15962. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  15963. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  15964. s_Il2CppMethodInitialized = true;
  15965. }
  15966. {
  15967. // if (!RequiresServerKeyExchange)
  15968. bool L_0;
  15969. L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
  15970. if (L_0)
  15971. {
  15972. goto IL_0010;
  15973. }
  15974. }
  15975. {
  15976. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  15977. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  15978. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  15979. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F_RuntimeMethod_var)));
  15980. }
  15981. IL_0010:
  15982. {
  15983. // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input);
  15984. RuntimeObject* L_2 = __this->get_mDHVerifier_4();
  15985. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
  15986. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  15987. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4;
  15988. L_4 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_2, L_3, /*hidden argument*/NULL);
  15989. __this->set_mDHParameters_5(L_4);
  15990. // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
  15991. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_5 = ___input0;
  15992. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6;
  15993. L_6 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_5, /*hidden argument*/NULL);
  15994. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = __this->get_mDHParameters_5();
  15995. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_8 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  15996. DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_8, L_6, L_7, /*hidden argument*/NULL);
  15997. __this->set_mDHAgreePublicKey_9(L_8);
  15998. // }
  15999. return;
  16000. }
  16001. }
  16002. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  16003. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  16004. {
  16005. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  16006. int32_t V_1 = 0;
  16007. uint8_t V_2 = 0x0;
  16008. {
  16009. // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
  16010. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  16011. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
  16012. {
  16013. goto IL_0012;
  16014. }
  16015. }
  16016. {
  16017. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  16018. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16019. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  16020. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var)));
  16021. }
  16022. IL_0012:
  16023. {
  16024. // byte[] types = certificateRequest.CertificateTypes;
  16025. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_2 = ___certificateRequest0;
  16026. NullCheck(L_2);
  16027. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  16028. L_3 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_2);
  16029. V_0 = L_3;
  16030. // for (int i = 0; i < types.Length; ++i)
  16031. V_1 = 0;
  16032. goto IL_0038;
  16033. }
  16034. IL_001d:
  16035. {
  16036. // switch (types[i])
  16037. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  16038. int32_t L_5 = V_1;
  16039. NullCheck(L_4);
  16040. int32_t L_6 = L_5;
  16041. uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  16042. V_2 = L_7;
  16043. uint8_t L_8 = V_2;
  16044. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1))) > ((uint32_t)3))))
  16045. {
  16046. goto IL_0034;
  16047. }
  16048. }
  16049. {
  16050. uint8_t L_9 = V_2;
  16051. if ((((int32_t)L_9) == ((int32_t)((int32_t)64))))
  16052. {
  16053. goto IL_0034;
  16054. }
  16055. }
  16056. {
  16057. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  16058. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16059. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  16060. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var)));
  16061. }
  16062. IL_0034:
  16063. {
  16064. // for (int i = 0; i < types.Length; ++i)
  16065. int32_t L_11 = V_1;
  16066. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
  16067. }
  16068. IL_0038:
  16069. {
  16070. // for (int i = 0; i < types.Length; ++i)
  16071. int32_t L_12 = V_1;
  16072. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
  16073. NullCheck(L_13);
  16074. if ((((int32_t)L_12) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))))))
  16075. {
  16076. goto IL_001d;
  16077. }
  16078. }
  16079. {
  16080. // }
  16081. return;
  16082. }
  16083. }
  16084. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  16085. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
  16086. {
  16087. static bool s_Il2CppMethodInitialized;
  16088. if (!s_Il2CppMethodInitialized)
  16089. {
  16090. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
  16091. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  16092. s_Il2CppMethodInitialized = true;
  16093. }
  16094. {
  16095. // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
  16096. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  16097. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
  16098. {
  16099. goto IL_0012;
  16100. }
  16101. }
  16102. {
  16103. // throw new TlsFatalAlert(AlertDescription.internal_error);
  16104. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16105. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  16106. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var)));
  16107. }
  16108. IL_0012:
  16109. {
  16110. // if (clientCredentials is TlsAgreementCredentials)
  16111. RuntimeObject* L_2 = ___clientCredentials0;
  16112. if (!((RuntimeObject*)IsInst((RuntimeObject*)L_2, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)))
  16113. {
  16114. goto IL_0027;
  16115. }
  16116. }
  16117. {
  16118. // this.mAgreementCredentials = (TlsAgreementCredentials)clientCredentials;
  16119. RuntimeObject* L_3 = ___clientCredentials0;
  16120. __this->set_mAgreementCredentials_7(((RuntimeObject*)Castclass((RuntimeObject*)L_3, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)));
  16121. // }
  16122. return;
  16123. }
  16124. IL_0027:
  16125. {
  16126. // else if (clientCredentials is TlsSignerCredentials)
  16127. RuntimeObject* L_4 = ___clientCredentials0;
  16128. if (((RuntimeObject*)IsInst((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  16129. {
  16130. goto IL_0037;
  16131. }
  16132. }
  16133. {
  16134. // throw new TlsFatalAlert(AlertDescription.internal_error);
  16135. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16136. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  16137. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var)));
  16138. }
  16139. IL_0037:
  16140. {
  16141. // }
  16142. return;
  16143. }
  16144. }
  16145. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
  16146. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_GenerateClientKeyExchange_m63D6136C85D59BA0920F243F6A6043803AE56F6A (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  16147. {
  16148. static bool s_Il2CppMethodInitialized;
  16149. if (!s_Il2CppMethodInitialized)
  16150. {
  16151. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  16152. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16153. s_Il2CppMethodInitialized = true;
  16154. }
  16155. {
  16156. // if (mAgreementCredentials == null)
  16157. RuntimeObject* L_0 = __this->get_mAgreementCredentials_7();
  16158. if (L_0)
  16159. {
  16160. goto IL_0025;
  16161. }
  16162. }
  16163. {
  16164. // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
  16165. // mDHParameters, output);
  16166. RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  16167. NullCheck(L_1);
  16168. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
  16169. L_2 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_1);
  16170. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = __this->get_mDHParameters_5();
  16171. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output0;
  16172. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16173. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_5;
  16174. L_5 = TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3(L_2, L_3, L_4, /*hidden argument*/NULL);
  16175. __this->set_mDHAgreePrivateKey_8(L_5);
  16176. }
  16177. IL_0025:
  16178. {
  16179. // }
  16180. return;
  16181. }
  16182. }
  16183. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  16184. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
  16185. {
  16186. {
  16187. // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
  16188. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  16189. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
  16190. {
  16191. goto IL_0012;
  16192. }
  16193. }
  16194. {
  16195. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  16196. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16197. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  16198. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE_RuntimeMethod_var)));
  16199. }
  16200. IL_0012:
  16201. {
  16202. // }
  16203. return;
  16204. }
  16205. }
  16206. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
  16207. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientKeyExchange_m1958B13961E6A0F3ECBD4599F134576FA3FEF28B (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  16208. {
  16209. static bool s_Il2CppMethodInitialized;
  16210. if (!s_Il2CppMethodInitialized)
  16211. {
  16212. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  16213. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16214. s_Il2CppMethodInitialized = true;
  16215. }
  16216. {
  16217. // if (mDHAgreePublicKey != null)
  16218. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_0 = __this->get_mDHAgreePublicKey_9();
  16219. if (!L_0)
  16220. {
  16221. goto IL_0009;
  16222. }
  16223. }
  16224. {
  16225. // return;
  16226. return;
  16227. }
  16228. IL_0009:
  16229. {
  16230. // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
  16231. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input0;
  16232. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16233. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2;
  16234. L_2 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_1, /*hidden argument*/NULL);
  16235. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = __this->get_mDHParameters_5();
  16236. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_4 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  16237. DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_4, L_2, L_3, /*hidden argument*/NULL);
  16238. __this->set_mDHAgreePublicKey_9(L_4);
  16239. // }
  16240. return;
  16241. }
  16242. }
  16243. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GeneratePremasterSecret()
  16244. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
  16245. {
  16246. static bool s_Il2CppMethodInitialized;
  16247. if (!s_Il2CppMethodInitialized)
  16248. {
  16249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
  16250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16251. s_Il2CppMethodInitialized = true;
  16252. }
  16253. {
  16254. // if (mAgreementCredentials != null)
  16255. RuntimeObject* L_0 = __this->get_mAgreementCredentials_7();
  16256. if (!L_0)
  16257. {
  16258. goto IL_001a;
  16259. }
  16260. }
  16261. {
  16262. // return mAgreementCredentials.GenerateAgreement(mDHAgreePublicKey);
  16263. RuntimeObject* L_1 = __this->get_mAgreementCredentials_7();
  16264. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_2 = __this->get_mDHAgreePublicKey_9();
  16265. NullCheck(L_1);
  16266. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  16267. L_3 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials::GenerateAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var, L_1, L_2);
  16268. return L_3;
  16269. }
  16270. IL_001a:
  16271. {
  16272. // if (mDHAgreePrivateKey != null)
  16273. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_4 = __this->get_mDHAgreePrivateKey_8();
  16274. if (!L_4)
  16275. {
  16276. goto IL_0034;
  16277. }
  16278. }
  16279. {
  16280. // return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey);
  16281. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_5 = __this->get_mDHAgreePublicKey_9();
  16282. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_6 = __this->get_mDHAgreePrivateKey_8();
  16283. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16284. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  16285. L_7 = TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770(L_5, L_6, /*hidden argument*/NULL);
  16286. return L_7;
  16287. }
  16288. IL_0034:
  16289. {
  16290. // throw new TlsFatalAlert(AlertDescription.internal_error);
  16291. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16292. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  16293. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB_RuntimeMethod_var)));
  16294. }
  16295. }
  16296. #ifdef __clang__
  16297. #pragma clang diagnostic pop
  16298. #endif
  16299. #ifdef __clang__
  16300. #pragma clang diagnostic push
  16301. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  16302. #pragma clang diagnostic ignored "-Wunused-variable"
  16303. #endif
  16304. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromHex(System.String)
  16305. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273 (String_t* ___hex0, const RuntimeMethod* method)
  16306. {
  16307. static bool s_Il2CppMethodInitialized;
  16308. if (!s_Il2CppMethodInitialized)
  16309. {
  16310. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  16311. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var);
  16312. s_Il2CppMethodInitialized = true;
  16313. }
  16314. {
  16315. // return new BigInteger(1, Hex.Decode(hex));
  16316. String_t* L_0 = ___hex0;
  16317. IL2CPP_RUNTIME_CLASS_INIT(Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var);
  16318. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  16319. L_1 = Hex_Decode_m1D881955B974F7FB194876E59DD34149C594A6E1(L_0, /*hidden argument*/NULL);
  16320. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  16321. BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
  16322. return L_2;
  16323. }
  16324. }
  16325. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromSafeP(System.String)
  16326. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50 (String_t* ___hexP0, const RuntimeMethod* method)
  16327. {
  16328. static bool s_Il2CppMethodInitialized;
  16329. if (!s_Il2CppMethodInitialized)
  16330. {
  16331. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
  16332. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16333. s_Il2CppMethodInitialized = true;
  16334. }
  16335. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
  16336. {
  16337. // BigInteger p = FromHex(hexP), q = p.ShiftRight(1);
  16338. String_t* L_0 = ___hexP0;
  16339. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16340. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  16341. L_1 = TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273(L_0, /*hidden argument*/NULL);
  16342. // BigInteger p = FromHex(hexP), q = p.ShiftRight(1);
  16343. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = L_1;
  16344. NullCheck(L_2);
  16345. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
  16346. L_3 = BigInteger_ShiftRight_m24332C73CA4FF51A829E2F1AB89F0B3903CDF642(L_2, 1, /*hidden argument*/NULL);
  16347. V_0 = L_3;
  16348. // return new DHParameters(p, Two, q);
  16349. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_Two_0();
  16350. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5 = V_0;
  16351. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6 = (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)il2cpp_codegen_object_new(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
  16352. DHParameters__ctor_mCF7DCB73E33F44B9BA2CA7678A88C727784EB8E8(L_6, L_2, L_4, L_5, /*hidden argument*/NULL);
  16353. return L_6;
  16354. }
  16355. }
  16356. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AddNegotiatedDheGroupsClientExtension(System.Collections.IDictionary,System.Byte[])
  16357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_AddNegotiatedDheGroupsClientExtension_m201D3BD0A2A5DA245CB1DF6F3F3B516C43C634BF (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups1, const RuntimeMethod* method)
  16358. {
  16359. static bool s_Il2CppMethodInitialized;
  16360. if (!s_Il2CppMethodInitialized)
  16361. {
  16362. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16363. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  16364. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  16365. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16366. s_Il2CppMethodInitialized = true;
  16367. }
  16368. {
  16369. // extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsClientExtension(dheGroups);
  16370. RuntimeObject* L_0 = ___extensions0;
  16371. IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16372. int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
  16373. int32_t L_2 = L_1;
  16374. RuntimeObject * L_3 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_2);
  16375. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___dheGroups1;
  16376. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16377. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  16378. L_5 = TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77(L_4, /*hidden argument*/NULL);
  16379. NullCheck(L_0);
  16380. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_3, (RuntimeObject *)(RuntimeObject *)L_5);
  16381. // }
  16382. return;
  16383. }
  16384. }
  16385. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AddNegotiatedDheGroupsServerExtension(System.Collections.IDictionary,System.Byte)
  16386. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_AddNegotiatedDheGroupsServerExtension_m3F675BC601411E4DBFF0552450061BEE2854DE34 (RuntimeObject* ___extensions0, uint8_t ___dheGroup1, const RuntimeMethod* method)
  16387. {
  16388. static bool s_Il2CppMethodInitialized;
  16389. if (!s_Il2CppMethodInitialized)
  16390. {
  16391. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16392. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  16393. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  16394. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16395. s_Il2CppMethodInitialized = true;
  16396. }
  16397. {
  16398. // extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsServerExtension(dheGroup);
  16399. RuntimeObject* L_0 = ___extensions0;
  16400. IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16401. int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
  16402. int32_t L_2 = L_1;
  16403. RuntimeObject * L_3 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_2);
  16404. uint8_t L_4 = ___dheGroup1;
  16405. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16406. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  16407. L_5 = TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6(L_4, /*hidden argument*/NULL);
  16408. NullCheck(L_0);
  16409. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_3, (RuntimeObject *)(RuntimeObject *)L_5);
  16410. // }
  16411. return;
  16412. }
  16413. }
  16414. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetNegotiatedDheGroupsClientExtension(System.Collections.IDictionary)
  16415. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_GetNegotiatedDheGroupsClientExtension_m1772A2D84C2482EB5A41A5BDDB69B327C3F589AC (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  16416. {
  16417. static bool s_Il2CppMethodInitialized;
  16418. if (!s_Il2CppMethodInitialized)
  16419. {
  16420. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16421. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16422. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16423. s_Il2CppMethodInitialized = true;
  16424. }
  16425. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  16426. {
  16427. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups);
  16428. RuntimeObject* L_0 = ___extensions0;
  16429. IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16430. int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
  16431. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16432. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  16433. L_2 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, L_1, /*hidden argument*/NULL);
  16434. V_0 = L_2;
  16435. // return extensionData == null ? null : ReadNegotiatedDheGroupsClientExtension(extensionData);
  16436. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  16437. if (!L_3)
  16438. {
  16439. goto IL_0016;
  16440. }
  16441. }
  16442. {
  16443. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  16444. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16445. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  16446. L_5 = TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51(L_4, /*hidden argument*/NULL);
  16447. return L_5;
  16448. }
  16449. IL_0016:
  16450. {
  16451. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  16452. }
  16453. }
  16454. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetNegotiatedDheGroupsServerExtension(System.Collections.IDictionary)
  16455. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsDHUtilities_GetNegotiatedDheGroupsServerExtension_mBE74932710D2E4C0EB4D437B71479EFADCA0078B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  16456. {
  16457. static bool s_Il2CppMethodInitialized;
  16458. if (!s_Il2CppMethodInitialized)
  16459. {
  16460. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16461. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16462. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16463. s_Il2CppMethodInitialized = true;
  16464. }
  16465. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  16466. {
  16467. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups);
  16468. RuntimeObject* L_0 = ___extensions0;
  16469. IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
  16470. int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
  16471. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16472. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  16473. L_2 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, L_1, /*hidden argument*/NULL);
  16474. V_0 = L_2;
  16475. // return extensionData == null ? (short)-1 : (short)ReadNegotiatedDheGroupsServerExtension(extensionData);
  16476. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  16477. if (!L_3)
  16478. {
  16479. goto IL_0016;
  16480. }
  16481. }
  16482. {
  16483. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  16484. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16485. uint8_t L_5;
  16486. L_5 = TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234(L_4, /*hidden argument*/NULL);
  16487. return L_5;
  16488. }
  16489. IL_0016:
  16490. {
  16491. return (int16_t)(-1);
  16492. }
  16493. }
  16494. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsClientExtension(System.Byte[])
  16495. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups0, const RuntimeMethod* method)
  16496. {
  16497. static bool s_Il2CppMethodInitialized;
  16498. if (!s_Il2CppMethodInitialized)
  16499. {
  16500. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16501. s_Il2CppMethodInitialized = true;
  16502. }
  16503. {
  16504. // if (dheGroups == null || dheGroups.Length < 1 || dheGroups.Length > 255)
  16505. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___dheGroups0;
  16506. if (!L_0)
  16507. {
  16508. goto IL_0013;
  16509. }
  16510. }
  16511. {
  16512. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___dheGroups0;
  16513. NullCheck(L_1);
  16514. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) < ((int32_t)1)))
  16515. {
  16516. goto IL_0013;
  16517. }
  16518. }
  16519. {
  16520. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___dheGroups0;
  16521. NullCheck(L_2);
  16522. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) <= ((int32_t)((int32_t)255))))
  16523. {
  16524. goto IL_001b;
  16525. }
  16526. }
  16527. IL_0013:
  16528. {
  16529. // throw new TlsFatalAlert(AlertDescription.internal_error);
  16530. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16531. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  16532. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77_RuntimeMethod_var)));
  16533. }
  16534. IL_001b:
  16535. {
  16536. // return TlsUtilities.EncodeUint8ArrayWithUint8Length(dheGroups);
  16537. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___dheGroups0;
  16538. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16539. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  16540. L_5 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_4, /*hidden argument*/NULL);
  16541. return L_5;
  16542. }
  16543. }
  16544. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsServerExtension(System.Byte)
  16545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6 (uint8_t ___dheGroup0, const RuntimeMethod* method)
  16546. {
  16547. static bool s_Il2CppMethodInitialized;
  16548. if (!s_Il2CppMethodInitialized)
  16549. {
  16550. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16551. s_Il2CppMethodInitialized = true;
  16552. }
  16553. {
  16554. // return TlsUtilities.EncodeUint8(dheGroup);
  16555. uint8_t L_0 = ___dheGroup0;
  16556. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16557. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  16558. L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
  16559. return L_1;
  16560. }
  16561. }
  16562. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsClientExtension(System.Byte[])
  16563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  16564. {
  16565. static bool s_Il2CppMethodInitialized;
  16566. if (!s_Il2CppMethodInitialized)
  16567. {
  16568. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16569. s_Il2CppMethodInitialized = true;
  16570. }
  16571. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
  16572. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
  16573. {
  16574. // byte[] dheGroups = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
  16575. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  16576. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16577. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  16578. L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
  16579. // if (dheGroups.Length < 1)
  16580. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
  16581. NullCheck(L_2);
  16582. G_B1_0 = L_2;
  16583. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) >= ((int32_t)1)))
  16584. {
  16585. G_B2_0 = L_2;
  16586. goto IL_0014;
  16587. }
  16588. }
  16589. {
  16590. // throw new TlsFatalAlert(AlertDescription.decode_error);
  16591. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  16592. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  16593. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51_RuntimeMethod_var)));
  16594. }
  16595. IL_0014:
  16596. {
  16597. // return dheGroups;
  16598. return G_B2_0;
  16599. }
  16600. }
  16601. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsServerExtension(System.Byte[])
  16602. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  16603. {
  16604. static bool s_Il2CppMethodInitialized;
  16605. if (!s_Il2CppMethodInitialized)
  16606. {
  16607. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16608. s_Il2CppMethodInitialized = true;
  16609. }
  16610. {
  16611. // return TlsUtilities.DecodeUint8(extensionData);
  16612. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  16613. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  16614. uint8_t L_1;
  16615. L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
  16616. return L_1;
  16617. }
  16618. }
  16619. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetParametersForDHEGroup(System.Int16)
  16620. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_GetParametersForDHEGroup_m2BE5DBE736A9FD8EEE8D3B7D42917F2E7B5E2B62 (int16_t ___dheGroup0, const RuntimeMethod* method)
  16621. {
  16622. static bool s_Il2CppMethodInitialized;
  16623. if (!s_Il2CppMethodInitialized)
  16624. {
  16625. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16626. s_Il2CppMethodInitialized = true;
  16627. }
  16628. {
  16629. int16_t L_0 = ___dheGroup0;
  16630. switch (L_0)
  16631. {
  16632. case 0:
  16633. {
  16634. goto IL_001c;
  16635. }
  16636. case 1:
  16637. {
  16638. goto IL_0022;
  16639. }
  16640. case 2:
  16641. {
  16642. goto IL_0028;
  16643. }
  16644. case 3:
  16645. {
  16646. goto IL_002e;
  16647. }
  16648. case 4:
  16649. {
  16650. goto IL_0034;
  16651. }
  16652. }
  16653. }
  16654. {
  16655. goto IL_003a;
  16656. }
  16657. IL_001c:
  16658. {
  16659. // return draft_ffdhe2432;
  16660. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16661. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe2432_2();
  16662. return L_1;
  16663. }
  16664. IL_0022:
  16665. {
  16666. // return draft_ffdhe3072;
  16667. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16668. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe3072_4();
  16669. return L_2;
  16670. }
  16671. IL_0028:
  16672. {
  16673. // return draft_ffdhe4096;
  16674. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16675. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe4096_6();
  16676. return L_3;
  16677. }
  16678. IL_002e:
  16679. {
  16680. // return draft_ffdhe6144;
  16681. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16682. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe6144_8();
  16683. return L_4;
  16684. }
  16685. IL_0034:
  16686. {
  16687. // return draft_ffdhe8192;
  16688. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16689. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe8192_10();
  16690. return L_5;
  16691. }
  16692. IL_003a:
  16693. {
  16694. // return null;
  16695. return (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)NULL;
  16696. }
  16697. }
  16698. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ContainsDheCipherSuites(System.Int32[])
  16699. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_ContainsDheCipherSuites_mA17F1938EFDE6F12F439E709974EFB311B713654 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___cipherSuites0, const RuntimeMethod* method)
  16700. {
  16701. static bool s_Il2CppMethodInitialized;
  16702. if (!s_Il2CppMethodInitialized)
  16703. {
  16704. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16705. s_Il2CppMethodInitialized = true;
  16706. }
  16707. int32_t V_0 = 0;
  16708. {
  16709. // for (int i = 0; i < cipherSuites.Length; ++i)
  16710. V_0 = 0;
  16711. goto IL_0014;
  16712. }
  16713. IL_0004:
  16714. {
  16715. // if (IsDheCipherSuite(cipherSuites[i]))
  16716. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___cipherSuites0;
  16717. int32_t L_1 = V_0;
  16718. NullCheck(L_0);
  16719. int32_t L_2 = L_1;
  16720. int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  16721. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  16722. bool L_4;
  16723. L_4 = TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF(L_3, /*hidden argument*/NULL);
  16724. if (!L_4)
  16725. {
  16726. goto IL_0010;
  16727. }
  16728. }
  16729. {
  16730. // return true;
  16731. return (bool)1;
  16732. }
  16733. IL_0010:
  16734. {
  16735. // for (int i = 0; i < cipherSuites.Length; ++i)
  16736. int32_t L_5 = V_0;
  16737. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
  16738. }
  16739. IL_0014:
  16740. {
  16741. // for (int i = 0; i < cipherSuites.Length; ++i)
  16742. int32_t L_6 = V_0;
  16743. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_7 = ___cipherSuites0;
  16744. NullCheck(L_7);
  16745. if ((((int32_t)L_6) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))))))
  16746. {
  16747. goto IL_0004;
  16748. }
  16749. }
  16750. {
  16751. // return false;
  16752. return (bool)0;
  16753. }
  16754. }
  16755. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::IsDheCipherSuite(System.Int32)
  16756. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF (int32_t ___cipherSuite0, const RuntimeMethod* method)
  16757. {
  16758. {
  16759. int32_t L_0 = ___cipherSuite0;
  16760. if ((((int32_t)L_0) > ((int32_t)((int32_t)145))))
  16761. {
  16762. goto IL_00bd;
  16763. }
  16764. }
  16765. {
  16766. int32_t L_1 = ___cipherSuite0;
  16767. if ((((int32_t)L_1) > ((int32_t)((int32_t)64))))
  16768. {
  16769. goto IL_0078;
  16770. }
  16771. }
  16772. {
  16773. int32_t L_2 = ___cipherSuite0;
  16774. if ((((int32_t)L_2) > ((int32_t)((int32_t)45))))
  16775. {
  16776. goto IL_0057;
  16777. }
  16778. }
  16779. {
  16780. int32_t L_3 = ___cipherSuite0;
  16781. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)17))))
  16782. {
  16783. case 0:
  16784. {
  16785. goto IL_022e;
  16786. }
  16787. case 1:
  16788. {
  16789. goto IL_022e;
  16790. }
  16791. case 2:
  16792. {
  16793. goto IL_022e;
  16794. }
  16795. case 3:
  16796. {
  16797. goto IL_022e;
  16798. }
  16799. case 4:
  16800. {
  16801. goto IL_022e;
  16802. }
  16803. case 5:
  16804. {
  16805. goto IL_022e;
  16806. }
  16807. case 6:
  16808. {
  16809. goto IL_0230;
  16810. }
  16811. case 7:
  16812. {
  16813. goto IL_022e;
  16814. }
  16815. case 8:
  16816. {
  16817. goto IL_0230;
  16818. }
  16819. case 9:
  16820. {
  16821. goto IL_0230;
  16822. }
  16823. case 10:
  16824. {
  16825. goto IL_022e;
  16826. }
  16827. }
  16828. }
  16829. {
  16830. int32_t L_4 = ___cipherSuite0;
  16831. if ((((int32_t)L_4) == ((int32_t)((int32_t)45))))
  16832. {
  16833. goto IL_022e;
  16834. }
  16835. }
  16836. {
  16837. goto IL_0230;
  16838. }
  16839. IL_0057:
  16840. {
  16841. int32_t L_5 = ___cipherSuite0;
  16842. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)50)))) > ((uint32_t)2))))
  16843. {
  16844. goto IL_022e;
  16845. }
  16846. }
  16847. {
  16848. int32_t L_6 = ___cipherSuite0;
  16849. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)56)))) > ((uint32_t)2))))
  16850. {
  16851. goto IL_022e;
  16852. }
  16853. }
  16854. {
  16855. int32_t L_7 = ___cipherSuite0;
  16856. if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
  16857. {
  16858. goto IL_022e;
  16859. }
  16860. }
  16861. {
  16862. goto IL_0230;
  16863. }
  16864. IL_0078:
  16865. {
  16866. int32_t L_8 = ___cipherSuite0;
  16867. if ((((int32_t)L_8) > ((int32_t)((int32_t)103))))
  16868. {
  16869. goto IL_0094;
  16870. }
  16871. }
  16872. {
  16873. int32_t L_9 = ___cipherSuite0;
  16874. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)68)))) > ((uint32_t)2))))
  16875. {
  16876. goto IL_022e;
  16877. }
  16878. }
  16879. {
  16880. int32_t L_10 = ___cipherSuite0;
  16881. if ((((int32_t)L_10) == ((int32_t)((int32_t)103))))
  16882. {
  16883. goto IL_022e;
  16884. }
  16885. }
  16886. {
  16887. goto IL_0230;
  16888. }
  16889. IL_0094:
  16890. {
  16891. int32_t L_11 = ___cipherSuite0;
  16892. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)106)))) > ((uint32_t)3))))
  16893. {
  16894. goto IL_022e;
  16895. }
  16896. }
  16897. {
  16898. int32_t L_12 = ___cipherSuite0;
  16899. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)((int32_t)135)))) > ((uint32_t)2))))
  16900. {
  16901. goto IL_022e;
  16902. }
  16903. }
  16904. {
  16905. int32_t L_13 = ___cipherSuite0;
  16906. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)((int32_t)142)))) > ((uint32_t)3))))
  16907. {
  16908. goto IL_022e;
  16909. }
  16910. }
  16911. {
  16912. goto IL_0230;
  16913. }
  16914. IL_00bd:
  16915. {
  16916. int32_t L_14 = ___cipherSuite0;
  16917. if ((((int32_t)L_14) > ((int32_t)((int32_t)49297))))
  16918. {
  16919. goto IL_01b2;
  16920. }
  16921. }
  16922. {
  16923. int32_t L_15 = ___cipherSuite0;
  16924. if ((((int32_t)L_15) > ((int32_t)((int32_t)191))))
  16925. {
  16926. goto IL_0165;
  16927. }
  16928. }
  16929. {
  16930. int32_t L_16 = ___cipherSuite0;
  16931. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)153))))
  16932. {
  16933. case 0:
  16934. {
  16935. goto IL_022e;
  16936. }
  16937. case 1:
  16938. {
  16939. goto IL_022e;
  16940. }
  16941. case 2:
  16942. {
  16943. goto IL_022e;
  16944. }
  16945. case 3:
  16946. {
  16947. goto IL_0230;
  16948. }
  16949. case 4:
  16950. {
  16951. goto IL_0230;
  16952. }
  16953. case 5:
  16954. {
  16955. goto IL_022e;
  16956. }
  16957. case 6:
  16958. {
  16959. goto IL_022e;
  16960. }
  16961. case 7:
  16962. {
  16963. goto IL_0230;
  16964. }
  16965. case 8:
  16966. {
  16967. goto IL_0230;
  16968. }
  16969. case 9:
  16970. {
  16971. goto IL_022e;
  16972. }
  16973. case 10:
  16974. {
  16975. goto IL_022e;
  16976. }
  16977. case 11:
  16978. {
  16979. goto IL_0230;
  16980. }
  16981. case 12:
  16982. {
  16983. goto IL_0230;
  16984. }
  16985. case 13:
  16986. {
  16987. goto IL_022e;
  16988. }
  16989. case 14:
  16990. {
  16991. goto IL_022e;
  16992. }
  16993. case 15:
  16994. {
  16995. goto IL_0230;
  16996. }
  16997. case 16:
  16998. {
  16999. goto IL_0230;
  17000. }
  17001. case 17:
  17002. {
  17003. goto IL_022e;
  17004. }
  17005. case 18:
  17006. {
  17007. goto IL_022e;
  17008. }
  17009. case 19:
  17010. {
  17011. goto IL_0230;
  17012. }
  17013. case 20:
  17014. {
  17015. goto IL_0230;
  17016. }
  17017. case 21:
  17018. {
  17019. goto IL_0230;
  17020. }
  17021. case 22:
  17022. {
  17023. goto IL_0230;
  17024. }
  17025. case 23:
  17026. {
  17027. goto IL_0230;
  17028. }
  17029. case 24:
  17030. {
  17031. goto IL_0230;
  17032. }
  17033. case 25:
  17034. {
  17035. goto IL_022e;
  17036. }
  17037. case 26:
  17038. {
  17039. goto IL_022e;
  17040. }
  17041. case 27:
  17042. {
  17043. goto IL_022e;
  17044. }
  17045. case 28:
  17046. {
  17047. goto IL_022e;
  17048. }
  17049. }
  17050. }
  17051. {
  17052. int32_t L_17 = ___cipherSuite0;
  17053. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)((int32_t)189)))) > ((uint32_t)2))))
  17054. {
  17055. goto IL_022e;
  17056. }
  17057. }
  17058. {
  17059. goto IL_0230;
  17060. }
  17061. IL_0165:
  17062. {
  17063. int32_t L_18 = ___cipherSuite0;
  17064. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)((int32_t)195)))) > ((uint32_t)2))))
  17065. {
  17066. goto IL_022e;
  17067. }
  17068. }
  17069. {
  17070. int32_t L_19 = ___cipherSuite0;
  17071. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)((int32_t)49276))))
  17072. {
  17073. case 0:
  17074. {
  17075. goto IL_022e;
  17076. }
  17077. case 1:
  17078. {
  17079. goto IL_022e;
  17080. }
  17081. case 2:
  17082. {
  17083. goto IL_0230;
  17084. }
  17085. case 3:
  17086. {
  17087. goto IL_0230;
  17088. }
  17089. case 4:
  17090. {
  17091. goto IL_022e;
  17092. }
  17093. case 5:
  17094. {
  17095. goto IL_022e;
  17096. }
  17097. case 6:
  17098. {
  17099. goto IL_0230;
  17100. }
  17101. case 7:
  17102. {
  17103. goto IL_0230;
  17104. }
  17105. case 8:
  17106. {
  17107. goto IL_022e;
  17108. }
  17109. case 9:
  17110. {
  17111. goto IL_022e;
  17112. }
  17113. }
  17114. }
  17115. {
  17116. int32_t L_20 = ___cipherSuite0;
  17117. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)((int32_t)49296)))) > ((uint32_t)1))))
  17118. {
  17119. goto IL_022e;
  17120. }
  17121. }
  17122. {
  17123. goto IL_0230;
  17124. }
  17125. IL_01b2:
  17126. {
  17127. int32_t L_21 = ___cipherSuite0;
  17128. if ((((int32_t)L_21) > ((int32_t)((int32_t)52394))))
  17129. {
  17130. goto IL_0212;
  17131. }
  17132. }
  17133. {
  17134. int32_t L_22 = ___cipherSuite0;
  17135. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)((int32_t)49302)))) > ((uint32_t)1))))
  17136. {
  17137. goto IL_022e;
  17138. }
  17139. }
  17140. {
  17141. int32_t L_23 = ___cipherSuite0;
  17142. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)((int32_t)49310))))
  17143. {
  17144. case 0:
  17145. {
  17146. goto IL_022e;
  17147. }
  17148. case 1:
  17149. {
  17150. goto IL_022e;
  17151. }
  17152. case 2:
  17153. {
  17154. goto IL_0230;
  17155. }
  17156. case 3:
  17157. {
  17158. goto IL_0230;
  17159. }
  17160. case 4:
  17161. {
  17162. goto IL_022e;
  17163. }
  17164. case 5:
  17165. {
  17166. goto IL_022e;
  17167. }
  17168. case 6:
  17169. {
  17170. goto IL_0230;
  17171. }
  17172. case 7:
  17173. {
  17174. goto IL_0230;
  17175. }
  17176. case 8:
  17177. {
  17178. goto IL_022e;
  17179. }
  17180. case 9:
  17181. {
  17182. goto IL_022e;
  17183. }
  17184. case 10:
  17185. {
  17186. goto IL_0230;
  17187. }
  17188. case 11:
  17189. {
  17190. goto IL_0230;
  17191. }
  17192. case 12:
  17193. {
  17194. goto IL_022e;
  17195. }
  17196. case 13:
  17197. {
  17198. goto IL_022e;
  17199. }
  17200. }
  17201. }
  17202. {
  17203. int32_t L_24 = ___cipherSuite0;
  17204. if ((((int32_t)L_24) == ((int32_t)((int32_t)52394))))
  17205. {
  17206. goto IL_022e;
  17207. }
  17208. }
  17209. {
  17210. goto IL_0230;
  17211. }
  17212. IL_0212:
  17213. {
  17214. int32_t L_25 = ___cipherSuite0;
  17215. if ((((int32_t)L_25) == ((int32_t)((int32_t)52397))))
  17216. {
  17217. goto IL_022e;
  17218. }
  17219. }
  17220. {
  17221. int32_t L_26 = ___cipherSuite0;
  17222. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)((int32_t)65280)))) > ((uint32_t)1))))
  17223. {
  17224. goto IL_022e;
  17225. }
  17226. }
  17227. {
  17228. int32_t L_27 = ___cipherSuite0;
  17229. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)((int32_t)65298)))) <= ((uint32_t)1))))
  17230. {
  17231. goto IL_0230;
  17232. }
  17233. }
  17234. IL_022e:
  17235. {
  17236. // return true;
  17237. return (bool)1;
  17238. }
  17239. IL_0230:
  17240. {
  17241. // return false;
  17242. return (bool)0;
  17243. }
  17244. }
  17245. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AreCompatibleParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  17246. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_AreCompatibleParameters_mF9A058E23560AE4A4C4EC906CBF9B80A344E9C06 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___a0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___b1, const RuntimeMethod* method)
  17247. {
  17248. {
  17249. // return a.P.Equals(b.P) && a.G.Equals(b.G)
  17250. // && (a.Q == null || b.Q == null || a.Q.Equals(b.Q));
  17251. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ___a0;
  17252. NullCheck(L_0);
  17253. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  17254. L_1 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_0, /*hidden argument*/NULL);
  17255. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2 = ___b1;
  17256. NullCheck(L_2);
  17257. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
  17258. L_3 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_2, /*hidden argument*/NULL);
  17259. NullCheck(L_1);
  17260. bool L_4;
  17261. L_4 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_1, L_3);
  17262. if (!L_4)
  17263. {
  17264. goto IL_004a;
  17265. }
  17266. }
  17267. {
  17268. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___a0;
  17269. NullCheck(L_5);
  17270. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6;
  17271. L_6 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_5, /*hidden argument*/NULL);
  17272. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = ___b1;
  17273. NullCheck(L_7);
  17274. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_8;
  17275. L_8 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_7, /*hidden argument*/NULL);
  17276. NullCheck(L_6);
  17277. bool L_9;
  17278. L_9 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_6, L_8);
  17279. if (!L_9)
  17280. {
  17281. goto IL_004a;
  17282. }
  17283. }
  17284. {
  17285. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_10 = ___a0;
  17286. NullCheck(L_10);
  17287. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_11;
  17288. L_11 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_10, /*hidden argument*/NULL);
  17289. if (!L_11)
  17290. {
  17291. goto IL_0048;
  17292. }
  17293. }
  17294. {
  17295. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_12 = ___b1;
  17296. NullCheck(L_12);
  17297. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_13;
  17298. L_13 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_12, /*hidden argument*/NULL);
  17299. if (!L_13)
  17300. {
  17301. goto IL_0048;
  17302. }
  17303. }
  17304. {
  17305. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_14 = ___a0;
  17306. NullCheck(L_14);
  17307. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_15;
  17308. L_15 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_14, /*hidden argument*/NULL);
  17309. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_16 = ___b1;
  17310. NullCheck(L_16);
  17311. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_17;
  17312. L_17 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_16, /*hidden argument*/NULL);
  17313. NullCheck(L_15);
  17314. bool L_18;
  17315. L_18 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_15, L_17);
  17316. return L_18;
  17317. }
  17318. IL_0048:
  17319. {
  17320. return (bool)1;
  17321. }
  17322. IL_004a:
  17323. {
  17324. return (bool)0;
  17325. }
  17326. }
  17327. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CalculateDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters)
  17328. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___publicKey0, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___privateKey1, const RuntimeMethod* method)
  17329. {
  17330. static bool s_Il2CppMethodInitialized;
  17331. if (!s_Il2CppMethodInitialized)
  17332. {
  17333. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var);
  17334. s_Il2CppMethodInitialized = true;
  17335. }
  17336. {
  17337. // DHBasicAgreement basicAgreement = new DHBasicAgreement();
  17338. DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * L_0 = (DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 *)il2cpp_codegen_object_new(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var);
  17339. DHBasicAgreement__ctor_mA814E02EE595AFDCC561228E8DC491927EBC5D00(L_0, /*hidden argument*/NULL);
  17340. // basicAgreement.Init(privateKey);
  17341. DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * L_1 = L_0;
  17342. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_2 = ___privateKey1;
  17343. NullCheck(L_1);
  17344. VirtualActionInvoker1< RuntimeObject* >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_1, L_2);
  17345. // BigInteger agreementValue = basicAgreement.CalculateAgreement(publicKey);
  17346. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_3 = ___publicKey0;
  17347. NullCheck(L_1);
  17348. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4;
  17349. L_4 = VirtualFuncInvoker1< BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *, RuntimeObject* >::Invoke(9 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::CalculateAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_1, L_3);
  17350. // return BigIntegers.AsUnsignedByteArray(agreementValue);
  17351. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  17352. L_5 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_4, /*hidden argument*/NULL);
  17353. return L_5;
  17354. }
  17355. }
  17356. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateDHKeyPair(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  17357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, const RuntimeMethod* method)
  17358. {
  17359. static bool s_Il2CppMethodInitialized;
  17360. if (!s_Il2CppMethodInitialized)
  17361. {
  17362. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var);
  17363. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var);
  17364. s_Il2CppMethodInitialized = true;
  17365. }
  17366. {
  17367. // DHBasicKeyPairGenerator dhGen = new DHBasicKeyPairGenerator();
  17368. DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * L_0 = (DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 *)il2cpp_codegen_object_new(DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var);
  17369. DHBasicKeyPairGenerator__ctor_m51E8D2D7BA1F2046725A3649DCF8F19D459C6DA0(L_0, /*hidden argument*/NULL);
  17370. // dhGen.Init(new DHKeyGenerationParameters(random, dhParams));
  17371. DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * L_1 = L_0;
  17372. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___random0;
  17373. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParams1;
  17374. DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * L_4 = (DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 *)il2cpp_codegen_object_new(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var);
  17375. DHKeyGenerationParameters__ctor_mDE87E2CDE46C6E3F9DA46810D957CF3FE8AD91AD(L_4, L_2, L_3, /*hidden argument*/NULL);
  17376. NullCheck(L_1);
  17377. VirtualActionInvoker1< KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39 * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters) */, L_1, L_4);
  17378. // return dhGen.GenerateKeyPair();
  17379. NullCheck(L_1);
  17380. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_5;
  17381. L_5 = VirtualFuncInvoker0< AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * >::Invoke(7 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::GenerateKeyPair() */, L_1);
  17382. return L_5;
  17383. }
  17384. }
  17385. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateEphemeralClientKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  17386. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  17387. {
  17388. static bool s_Il2CppMethodInitialized;
  17389. if (!s_Il2CppMethodInitialized)
  17390. {
  17391. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var);
  17392. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  17393. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17394. s_Il2CppMethodInitialized = true;
  17395. }
  17396. {
  17397. // AsymmetricCipherKeyPair kp = GenerateDHKeyPair(random, dhParams);
  17398. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
  17399. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ___dhParams1;
  17400. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17401. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
  17402. L_2 = TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9(L_0, L_1, /*hidden argument*/NULL);
  17403. // DHPublicKeyParameters dhPublic = (DHPublicKeyParameters)kp.Public;
  17404. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
  17405. NullCheck(L_3);
  17406. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
  17407. L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
  17408. // WriteDHParameter(dhPublic.Y, output);
  17409. NullCheck(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
  17410. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
  17411. L_5 = VirtualFuncInvoker0< BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::get_Y() */, ((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
  17412. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output2;
  17413. TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_5, L_6, /*hidden argument*/NULL);
  17414. // return (DHPrivateKeyParameters)kp.Private;
  17415. NullCheck(L_3);
  17416. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_7;
  17417. L_7 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
  17418. return ((DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F *)CastclassClass((RuntimeObject*)L_7, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var));
  17419. }
  17420. }
  17421. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GenerateEphemeralServerKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  17422. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  17423. {
  17424. static bool s_Il2CppMethodInitialized;
  17425. if (!s_Il2CppMethodInitialized)
  17426. {
  17427. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var);
  17428. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  17429. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17430. s_Il2CppMethodInitialized = true;
  17431. }
  17432. {
  17433. // AsymmetricCipherKeyPair kp = GenerateDHKeyPair(random, dhParams);
  17434. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
  17435. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ___dhParams1;
  17436. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17437. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
  17438. L_2 = TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9(L_0, L_1, /*hidden argument*/NULL);
  17439. // DHPublicKeyParameters dhPublic = (DHPublicKeyParameters)kp.Public;
  17440. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
  17441. NullCheck(L_3);
  17442. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
  17443. L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
  17444. // WriteDHParameters(dhParams, output);
  17445. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___dhParams1;
  17446. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output2;
  17447. TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606(L_5, L_6, /*hidden argument*/NULL);
  17448. // WriteDHParameter(dhPublic.Y, output);
  17449. NullCheck(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
  17450. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
  17451. L_7 = VirtualFuncInvoker0< BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::get_Y() */, ((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
  17452. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output2;
  17453. TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_7, L_8, /*hidden argument*/NULL);
  17454. // return (DHPrivateKeyParameters)kp.Private;
  17455. NullCheck(L_3);
  17456. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_9;
  17457. L_9 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
  17458. return ((DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F *)CastclassClass((RuntimeObject*)L_9, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var));
  17459. }
  17460. }
  17461. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameter(System.IO.Stream)
  17462. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  17463. {
  17464. static bool s_Il2CppMethodInitialized;
  17465. if (!s_Il2CppMethodInitialized)
  17466. {
  17467. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  17468. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  17469. s_Il2CppMethodInitialized = true;
  17470. }
  17471. {
  17472. // return new BigInteger(1, TlsUtilities.ReadOpaque16(input));
  17473. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  17474. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  17475. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  17476. L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
  17477. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  17478. BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
  17479. return L_2;
  17480. }
  17481. }
  17482. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameters(System.IO.Stream)
  17483. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  17484. {
  17485. static bool s_Il2CppMethodInitialized;
  17486. if (!s_Il2CppMethodInitialized)
  17487. {
  17488. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
  17489. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17490. s_Il2CppMethodInitialized = true;
  17491. }
  17492. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
  17493. {
  17494. // BigInteger p = ReadDHParameter(input);
  17495. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  17496. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17497. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  17498. L_1 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_0, /*hidden argument*/NULL);
  17499. // BigInteger g = ReadDHParameter(input);
  17500. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___input0;
  17501. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
  17502. L_3 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_2, /*hidden argument*/NULL);
  17503. V_0 = L_3;
  17504. // return new DHParameters(p, g);
  17505. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = V_0;
  17506. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)il2cpp_codegen_object_new(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
  17507. DHParameters__ctor_m2CC3B308F5ED878AE35596644480C5875A13ADEC(L_5, L_1, L_4, /*hidden argument*/NULL);
  17508. return L_5;
  17509. }
  17510. }
  17511. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReceiveDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,System.IO.Stream)
  17512. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B (RuntimeObject* ___dhVerifier0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
  17513. {
  17514. static bool s_Il2CppMethodInitialized;
  17515. if (!s_Il2CppMethodInitialized)
  17516. {
  17517. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17518. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3_il2cpp_TypeInfo_var);
  17519. s_Il2CppMethodInitialized = true;
  17520. }
  17521. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * V_0 = NULL;
  17522. {
  17523. // DHParameters dhParameters = ReadDHParameters(input);
  17524. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input1;
  17525. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17526. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1;
  17527. L_1 = TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43(L_0, /*hidden argument*/NULL);
  17528. V_0 = L_1;
  17529. // if (!dhVerifier.Accept(dhParameters))
  17530. RuntimeObject* L_2 = ___dhVerifier0;
  17531. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = V_0;
  17532. NullCheck(L_2);
  17533. bool L_4;
  17534. L_4 = InterfaceFuncInvoker1< bool, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * >::Invoke(0 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier::Accept(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters) */, TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3_il2cpp_TypeInfo_var, L_2, L_3);
  17535. if (L_4)
  17536. {
  17537. goto IL_0018;
  17538. }
  17539. }
  17540. {
  17541. // throw new TlsFatalAlert(AlertDescription.insufficient_security);
  17542. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  17543. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)71), /*hidden argument*/NULL);
  17544. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B_RuntimeMethod_var)));
  17545. }
  17546. IL_0018:
  17547. {
  17548. // return dhParameters;
  17549. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6 = V_0;
  17550. return L_6;
  17551. }
  17552. }
  17553. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
  17554. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  17555. {
  17556. static bool s_Il2CppMethodInitialized;
  17557. if (!s_Il2CppMethodInitialized)
  17558. {
  17559. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  17560. s_Il2CppMethodInitialized = true;
  17561. }
  17562. {
  17563. // TlsUtilities.WriteOpaque16(BigIntegers.AsUnsignedByteArray(x), output);
  17564. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ___x0;
  17565. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  17566. L_1 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_0, /*hidden argument*/NULL);
  17567. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
  17568. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  17569. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_1, L_2, /*hidden argument*/NULL);
  17570. // }
  17571. return;
  17572. }
  17573. }
  17574. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
  17575. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  17576. {
  17577. static bool s_Il2CppMethodInitialized;
  17578. if (!s_Il2CppMethodInitialized)
  17579. {
  17580. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17581. s_Il2CppMethodInitialized = true;
  17582. }
  17583. {
  17584. // WriteDHParameter(dhParameters.P, output);
  17585. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ___dhParameters0;
  17586. NullCheck(L_0);
  17587. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  17588. L_1 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_0, /*hidden argument*/NULL);
  17589. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
  17590. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17591. TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_1, L_2, /*hidden argument*/NULL);
  17592. // WriteDHParameter(dhParameters.G, output);
  17593. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters0;
  17594. NullCheck(L_3);
  17595. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4;
  17596. L_4 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_3, /*hidden argument*/NULL);
  17597. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_5 = ___output1;
  17598. TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_4, L_5, /*hidden argument*/NULL);
  17599. // }
  17600. return;
  17601. }
  17602. }
  17603. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::.ctor()
  17604. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities__ctor_m76FFCD77B89C807556DB73A3900522257657EBE1 (TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC * __this, const RuntimeMethod* method)
  17605. {
  17606. {
  17607. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  17608. return;
  17609. }
  17610. }
  17611. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::.cctor()
  17612. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities__cctor_m19B0FE78FDD8B9751CA029544287EECF4CF13F96 (const RuntimeMethod* method)
  17613. {
  17614. static bool s_Il2CppMethodInitialized;
  17615. if (!s_Il2CppMethodInitialized)
  17616. {
  17617. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  17618. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17619. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1CA53064AC037645AEB61E213593B732DEA39811);
  17620. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252);
  17621. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42);
  17622. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7);
  17623. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C);
  17624. s_Il2CppMethodInitialized = true;
  17625. }
  17626. {
  17627. // internal static readonly BigInteger Two = BigInteger.Two;
  17628. IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  17629. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ((BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var))->get_Two_9();
  17630. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_Two_0(L_0);
  17631. // private static readonly string draft_ffdhe2432_p =
  17632. // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
  17633. // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
  17634. // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
  17635. // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
  17636. // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
  17637. // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
  17638. // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
  17639. // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
  17640. // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
  17641. // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
  17642. // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
  17643. // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
  17644. // + "AEFE13098533C8B3FFFFFFFFFFFFFFFF";
  17645. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe2432_p_1(_stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42);
  17646. // internal static readonly DHParameters draft_ffdhe2432 = FromSafeP(draft_ffdhe2432_p);
  17647. String_t* L_1 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe2432_p_1();
  17648. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2;
  17649. L_2 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_1, /*hidden argument*/NULL);
  17650. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe2432_2(L_2);
  17651. // private static readonly string draft_ffdhe3072_p =
  17652. // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
  17653. // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
  17654. // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
  17655. // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
  17656. // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
  17657. // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
  17658. // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
  17659. // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
  17660. // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
  17661. // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
  17662. // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
  17663. // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
  17664. // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
  17665. // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
  17666. // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
  17667. // + "3C1B20EE3FD59D7C25E41D2B66C62E37FFFFFFFFFFFFFFFF";
  17668. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe3072_p_3(_stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7);
  17669. // internal static readonly DHParameters draft_ffdhe3072 = FromSafeP(draft_ffdhe3072_p);
  17670. String_t* L_3 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe3072_p_3();
  17671. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4;
  17672. L_4 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_3, /*hidden argument*/NULL);
  17673. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe3072_4(L_4);
  17674. // private static readonly string draft_ffdhe4096_p =
  17675. // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
  17676. // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
  17677. // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
  17678. // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
  17679. // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
  17680. // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
  17681. // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
  17682. // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
  17683. // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
  17684. // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
  17685. // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
  17686. // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
  17687. // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
  17688. // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
  17689. // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
  17690. // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
  17691. // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
  17692. // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
  17693. // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
  17694. // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
  17695. // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E655F6A"
  17696. // + "FFFFFFFFFFFFFFFF";
  17697. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe4096_p_5(_stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252);
  17698. // internal static readonly DHParameters draft_ffdhe4096 = FromSafeP(draft_ffdhe4096_p);
  17699. String_t* L_5 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe4096_p_5();
  17700. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6;
  17701. L_6 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_5, /*hidden argument*/NULL);
  17702. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe4096_6(L_6);
  17703. // private static readonly string draft_ffdhe6144_p =
  17704. // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
  17705. // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
  17706. // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
  17707. // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
  17708. // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
  17709. // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
  17710. // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
  17711. // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
  17712. // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
  17713. // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
  17714. // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
  17715. // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
  17716. // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
  17717. // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
  17718. // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
  17719. // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
  17720. // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
  17721. // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
  17722. // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
  17723. // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
  17724. // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD902"
  17725. // + "0BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA6"
  17726. // + "3BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3A"
  17727. // + "CDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477"
  17728. // + "A52471F7A9A96910B855322EDB6340D8A00EF092350511E3"
  17729. // + "0ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4"
  17730. // + "763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6"
  17731. // + "B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538C"
  17732. // + "D72B03746AE77F5E62292C311562A846505DC82DB854338A"
  17733. // + "E49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B04"
  17734. // + "5B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1"
  17735. // + "A41D570D7938DAD4A40E329CD0E40E65FFFFFFFFFFFFFFFF";
  17736. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe6144_p_7(_stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C);
  17737. // internal static readonly DHParameters draft_ffdhe6144 = FromSafeP(draft_ffdhe6144_p);
  17738. String_t* L_7 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe6144_p_7();
  17739. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8;
  17740. L_8 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_7, /*hidden argument*/NULL);
  17741. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe6144_8(L_8);
  17742. // private static readonly string draft_ffdhe8192_p =
  17743. // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
  17744. // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
  17745. // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
  17746. // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
  17747. // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
  17748. // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
  17749. // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
  17750. // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
  17751. // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
  17752. // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
  17753. // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
  17754. // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
  17755. // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
  17756. // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
  17757. // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
  17758. // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
  17759. // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
  17760. // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
  17761. // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
  17762. // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
  17763. // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD902"
  17764. // + "0BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA6"
  17765. // + "3BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3A"
  17766. // + "CDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477"
  17767. // + "A52471F7A9A96910B855322EDB6340D8A00EF092350511E3"
  17768. // + "0ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4"
  17769. // + "763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6"
  17770. // + "B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538C"
  17771. // + "D72B03746AE77F5E62292C311562A846505DC82DB854338A"
  17772. // + "E49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B04"
  17773. // + "5B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1"
  17774. // + "A41D570D7938DAD4A40E329CCFF46AAA36AD004CF600C838"
  17775. // + "1E425A31D951AE64FDB23FCEC9509D43687FEB69EDD1CC5E"
  17776. // + "0B8CC3BDF64B10EF86B63142A3AB8829555B2F747C932665"
  17777. // + "CB2C0F1CC01BD70229388839D2AF05E454504AC78B758282"
  17778. // + "2846C0BA35C35F5C59160CC046FD8251541FC68C9C86B022"
  17779. // + "BB7099876A460E7451A8A93109703FEE1C217E6C3826E52C"
  17780. // + "51AA691E0E423CFC99E9E31650C1217B624816CDAD9A95F9"
  17781. // + "D5B8019488D9C0A0A1FE3075A577E23183F81D4A3F2FA457"
  17782. // + "1EFC8CE0BA8A4FE8B6855DFE72B0A66EDED2FBABFBE58A30"
  17783. // + "FAFABE1C5D71A87E2F741EF8C1FE86FEA6BBFDE530677F0D"
  17784. // + "97D11D49F7A8443D0822E506A9F4614E011E2A94838FF88C"
  17785. // + "D68C8BB7C5C6424CFFFFFFFFFFFFFFFF";
  17786. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe8192_p_9(_stringLiteral1CA53064AC037645AEB61E213593B732DEA39811);
  17787. // internal static readonly DHParameters draft_ffdhe8192 = FromSafeP(draft_ffdhe8192_p);
  17788. String_t* L_9 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe8192_p_9();
  17789. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_10;
  17790. L_10 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_9, /*hidden argument*/NULL);
  17791. ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe8192_10(L_10);
  17792. return;
  17793. }
  17794. }
  17795. #ifdef __clang__
  17796. #pragma clang diagnostic pop
  17797. #endif
  17798. #ifdef __clang__
  17799. #pragma clang diagnostic push
  17800. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17801. #pragma clang diagnostic ignored "-Wunused-variable"
  17802. #endif
  17803. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor()
  17804. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mAB010223B26DF1123C0AB833F5C2FC65B4A2C3B3 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, const RuntimeMethod* method)
  17805. {
  17806. {
  17807. // : this(LEVEL_DEFAULT)
  17808. TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221(__this, (-1), /*hidden argument*/NULL);
  17809. // }
  17810. return;
  17811. }
  17812. }
  17813. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor(System.Int32)
  17814. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, int32_t ___level0, const RuntimeMethod* method)
  17815. {
  17816. static bool s_Il2CppMethodInitialized;
  17817. if (!s_Il2CppMethodInitialized)
  17818. {
  17819. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
  17820. s_Il2CppMethodInitialized = true;
  17821. }
  17822. {
  17823. // public TlsDeflateCompression(int level)
  17824. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  17825. // this.zIn = new ZStream();
  17826. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_0 = (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C *)il2cpp_codegen_object_new(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
  17827. ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40(L_0, /*hidden argument*/NULL);
  17828. __this->set_zIn_4(L_0);
  17829. // this.zIn.inflateInit();
  17830. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zIn_4();
  17831. NullCheck(L_1);
  17832. int32_t L_2;
  17833. L_2 = ZStream_inflateInit_m9EC1B8A6E4C5DD3F1AB27A3334641E5368E53A4A(L_1, /*hidden argument*/NULL);
  17834. // this.zOut = new ZStream();
  17835. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_3 = (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C *)il2cpp_codegen_object_new(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
  17836. ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40(L_3, /*hidden argument*/NULL);
  17837. __this->set_zOut_5(L_3);
  17838. // this.zOut.deflateInit(level);
  17839. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_4 = __this->get_zOut_5();
  17840. int32_t L_5 = ___level0;
  17841. NullCheck(L_4);
  17842. int32_t L_6;
  17843. L_6 = ZStream_deflateInit_m77240EC6F6D04747F3306F9E4F267C9640F0D8A2(L_4, L_5, /*hidden argument*/NULL);
  17844. // }
  17845. return;
  17846. }
  17847. }
  17848. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::Compress(System.IO.Stream)
  17849. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsDeflateCompression_Compress_m00DEEE7975B29E1E0DEF42ECD858CB0203812E24 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  17850. {
  17851. static bool s_Il2CppMethodInitialized;
  17852. if (!s_Il2CppMethodInitialized)
  17853. {
  17854. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
  17855. s_Il2CppMethodInitialized = true;
  17856. }
  17857. {
  17858. // return new DeflateOutputStream(output, zOut, true);
  17859. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
  17860. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zOut_5();
  17861. DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * L_2 = (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 *)il2cpp_codegen_object_new(DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
  17862. DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48(L_2, L_0, L_1, (bool)1, /*hidden argument*/NULL);
  17863. return L_2;
  17864. }
  17865. }
  17866. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::Decompress(System.IO.Stream)
  17867. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsDeflateCompression_Decompress_mC6748EE559FE36EB8E9E59F7D7A8915F496FF056 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  17868. {
  17869. static bool s_Il2CppMethodInitialized;
  17870. if (!s_Il2CppMethodInitialized)
  17871. {
  17872. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
  17873. s_Il2CppMethodInitialized = true;
  17874. }
  17875. {
  17876. // return new DeflateOutputStream(output, zIn, false);
  17877. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
  17878. ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zIn_4();
  17879. DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * L_2 = (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 *)il2cpp_codegen_object_new(DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
  17880. DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48(L_2, L_0, L_1, (bool)0, /*hidden argument*/NULL);
  17881. return L_2;
  17882. }
  17883. }
  17884. #ifdef __clang__
  17885. #pragma clang diagnostic pop
  17886. #endif
  17887. #ifdef __clang__
  17888. #pragma clang diagnostic push
  17889. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  17890. #pragma clang diagnostic ignored "-Wunused-variable"
  17891. #endif
  17892. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  17893. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange__ctor_m95025093AA656A2AACD334FE1CC263169078BC1F (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters2, const RuntimeMethod* method)
  17894. {
  17895. static bool s_Il2CppMethodInitialized;
  17896. if (!s_Il2CppMethodInitialized)
  17897. {
  17898. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  17899. s_Il2CppMethodInitialized = true;
  17900. }
  17901. {
  17902. // : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters)
  17903. int32_t L_0 = ___keyExchange0;
  17904. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  17905. DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_2 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  17906. DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_2, /*hidden argument*/NULL);
  17907. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters2;
  17908. TlsDheKeyExchange__ctor_m2E81AE4A03734D45E088C9A5628A224B68F13BFA(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
  17909. // }
  17910. return;
  17911. }
  17912. }
  17913. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
  17914. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange__ctor_m2E81AE4A03734D45E088C9A5628A224B68F13BFA (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___dhVerifier2, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters3, const RuntimeMethod* method)
  17915. {
  17916. {
  17917. // : base(keyExchange, supportedSignatureAlgorithms, dhVerifier, dhParameters)
  17918. int32_t L_0 = ___keyExchange0;
  17919. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  17920. RuntimeObject* L_2 = ___dhVerifier2;
  17921. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters3;
  17922. TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
  17923. // }
  17924. return;
  17925. }
  17926. }
  17927. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  17928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785 (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
  17929. {
  17930. static bool s_Il2CppMethodInitialized;
  17931. if (!s_Il2CppMethodInitialized)
  17932. {
  17933. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  17934. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  17935. s_Il2CppMethodInitialized = true;
  17936. }
  17937. {
  17938. // if (!(serverCredentials is TlsSignerCredentials))
  17939. RuntimeObject* L_0 = ___serverCredentials0;
  17940. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  17941. {
  17942. goto IL_0010;
  17943. }
  17944. }
  17945. {
  17946. // throw new TlsFatalAlert(AlertDescription.internal_error);
  17947. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  17948. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  17949. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785_RuntimeMethod_var)));
  17950. }
  17951. IL_0010:
  17952. {
  17953. // ProcessServerCertificate(serverCredentials.Certificate);
  17954. RuntimeObject* L_2 = ___serverCredentials0;
  17955. NullCheck(L_2);
  17956. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
  17957. L_3 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_2);
  17958. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_3);
  17959. // this.mServerCredentials = (TlsSignerCredentials)serverCredentials;
  17960. RuntimeObject* L_4 = ___serverCredentials0;
  17961. __this->set_mServerCredentials_10(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)));
  17962. // }
  17963. return;
  17964. }
  17965. }
  17966. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::GenerateServerKeyExchange()
  17967. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, const RuntimeMethod* method)
  17968. {
  17969. static bool s_Il2CppMethodInitialized;
  17970. if (!s_Il2CppMethodInitialized)
  17971. {
  17972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
  17973. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  17974. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  17975. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  17976. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  17977. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  17978. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  17979. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  17980. s_Il2CppMethodInitialized = true;
  17981. }
  17982. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * V_0 = NULL;
  17983. RuntimeObject* V_1 = NULL;
  17984. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_2 = NULL;
  17985. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  17986. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  17987. {
  17988. // if (this.mDHParameters == null)
  17989. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
  17990. if (L_0)
  17991. {
  17992. goto IL_0010;
  17993. }
  17994. }
  17995. {
  17996. // throw new TlsFatalAlert(AlertDescription.internal_error);
  17997. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  17998. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  17999. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD_RuntimeMethod_var)));
  18000. }
  18001. IL_0010:
  18002. {
  18003. // DigestInputBuffer buf = new DigestInputBuffer();
  18004. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_2 = (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A *)il2cpp_codegen_object_new(DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
  18005. DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB(L_2, /*hidden argument*/NULL);
  18006. V_0 = L_2;
  18007. // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
  18008. // this.mDHParameters, buf);
  18009. RuntimeObject* L_3 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  18010. NullCheck(L_3);
  18011. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_4;
  18012. L_4 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_3);
  18013. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
  18014. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_6 = V_0;
  18015. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  18016. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_7;
  18017. L_7 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_4, L_5, L_6, /*hidden argument*/NULL);
  18018. ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHAgreePrivateKey_8(L_7);
  18019. // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
  18020. // mContext, mServerCredentials);
  18021. RuntimeObject* L_8 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  18022. RuntimeObject* L_9 = __this->get_mServerCredentials_10();
  18023. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18024. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10;
  18025. L_10 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_8, L_9, /*hidden argument*/NULL);
  18026. // IDigest d = TlsUtilities.CreateHash(signatureAndHashAlgorithm);
  18027. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_11 = L_10;
  18028. RuntimeObject* L_12;
  18029. L_12 = TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80(L_11, /*hidden argument*/NULL);
  18030. V_1 = L_12;
  18031. // SecurityParameters securityParameters = mContext.SecurityParameters;
  18032. RuntimeObject* L_13 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  18033. NullCheck(L_13);
  18034. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_14;
  18035. L_14 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_13);
  18036. V_2 = L_14;
  18037. // d.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
  18038. RuntimeObject* L_15 = V_1;
  18039. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_16 = V_2;
  18040. NullCheck(L_16);
  18041. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = L_16->get_clientRandom_6();
  18042. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = V_2;
  18043. NullCheck(L_18);
  18044. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = L_18->get_clientRandom_6();
  18045. NullCheck(L_19);
  18046. NullCheck(L_15);
  18047. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_15, L_17, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length))));
  18048. // d.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
  18049. RuntimeObject* L_20 = V_1;
  18050. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_21 = V_2;
  18051. NullCheck(L_21);
  18052. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = L_21->get_serverRandom_7();
  18053. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_23 = V_2;
  18054. NullCheck(L_23);
  18055. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = L_23->get_serverRandom_7();
  18056. NullCheck(L_24);
  18057. NullCheck(L_20);
  18058. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_20, L_22, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length))));
  18059. // buf.UpdateDigest(d);
  18060. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_25 = V_0;
  18061. RuntimeObject* L_26 = V_1;
  18062. NullCheck(L_25);
  18063. DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084(L_25, L_26, /*hidden argument*/NULL);
  18064. // byte[] hash = DigestUtilities.DoFinal(d);
  18065. RuntimeObject* L_27 = V_1;
  18066. IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  18067. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_28;
  18068. L_28 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_27, /*hidden argument*/NULL);
  18069. V_3 = L_28;
  18070. // byte[] signature = mServerCredentials.GenerateCertificateSignature(hash);
  18071. RuntimeObject* L_29 = __this->get_mServerCredentials_10();
  18072. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = V_3;
  18073. NullCheck(L_29);
  18074. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
  18075. L_31 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials::GenerateCertificateSignature(System.Byte[]) */, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var, L_29, L_30);
  18076. V_4 = L_31;
  18077. // DigitallySigned signed_params = new DigitallySigned(signatureAndHashAlgorithm, signature);
  18078. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_32 = V_4;
  18079. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_33 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  18080. DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_33, L_11, L_32, /*hidden argument*/NULL);
  18081. // signed_params.Encode(buf);
  18082. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_34 = V_0;
  18083. NullCheck(L_33);
  18084. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_33, L_34);
  18085. // return buf.ToArray();
  18086. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_35 = V_0;
  18087. NullCheck(L_35);
  18088. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36;
  18089. L_36 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_35);
  18090. return L_36;
  18091. }
  18092. }
  18093. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
  18094. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61 (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  18095. {
  18096. static bool s_Il2CppMethodInitialized;
  18097. if (!s_Il2CppMethodInitialized)
  18098. {
  18099. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  18100. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  18101. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
  18102. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
  18103. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  18104. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  18105. s_Il2CppMethodInitialized = true;
  18106. }
  18107. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_0 = NULL;
  18108. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * V_1 = NULL;
  18109. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * V_2 = NULL;
  18110. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_3 = NULL;
  18111. RuntimeObject* V_4 = NULL;
  18112. {
  18113. // SecurityParameters securityParameters = mContext.SecurityParameters;
  18114. RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  18115. NullCheck(L_0);
  18116. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1;
  18117. L_1 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
  18118. V_0 = L_1;
  18119. // SignerInputBuffer buf = new SignerInputBuffer();
  18120. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_2 = (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF *)il2cpp_codegen_object_new(SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
  18121. SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9(L_2, /*hidden argument*/NULL);
  18122. V_1 = L_2;
  18123. // Stream teeIn = new TeeInputStream(input, buf);
  18124. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
  18125. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_4 = V_1;
  18126. TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * L_5 = (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C *)il2cpp_codegen_object_new(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
  18127. TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B(L_5, L_3, L_4, /*hidden argument*/NULL);
  18128. V_2 = L_5;
  18129. // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, teeIn);
  18130. RuntimeObject* L_6 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHVerifier_4();
  18131. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_7 = V_2;
  18132. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  18133. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8;
  18134. L_8 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_6, L_7, /*hidden argument*/NULL);
  18135. ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHParameters_5(L_8);
  18136. // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(teeIn), mDHParameters);
  18137. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_9 = V_2;
  18138. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_10;
  18139. L_10 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_9, /*hidden argument*/NULL);
  18140. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_11 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
  18141. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_12 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  18142. DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_12, L_10, L_11, /*hidden argument*/NULL);
  18143. ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHAgreePublicKey_9(L_12);
  18144. // DigitallySigned signed_params = ParseSignature(input);
  18145. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___input0;
  18146. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_14;
  18147. L_14 = VirtualFuncInvoker1< DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(19 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ParseSignature(System.IO.Stream) */, __this, L_13);
  18148. V_3 = L_14;
  18149. // ISigner signer = InitVerifyer(mTlsSigner, signed_params.Algorithm, securityParameters);
  18150. RuntimeObject* L_15 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mTlsSigner_3();
  18151. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_16 = V_3;
  18152. NullCheck(L_16);
  18153. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_17;
  18154. L_17 = VirtualFuncInvoker0< SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Algorithm() */, L_16);
  18155. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = V_0;
  18156. RuntimeObject* L_19;
  18157. L_19 = VirtualFuncInvoker3< RuntimeObject*, RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(35 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::InitVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters) */, __this, L_15, L_17, L_18);
  18158. V_4 = L_19;
  18159. // buf.UpdateSigner(signer);
  18160. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_20 = V_1;
  18161. RuntimeObject* L_21 = V_4;
  18162. NullCheck(L_20);
  18163. SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7(L_20, L_21, /*hidden argument*/NULL);
  18164. // if (!signer.VerifySignature(signed_params.Signature))
  18165. RuntimeObject* L_22 = V_4;
  18166. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_23 = V_3;
  18167. NullCheck(L_23);
  18168. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
  18169. L_24 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_23);
  18170. NullCheck(L_22);
  18171. bool L_25;
  18172. L_25 = InterfaceFuncInvoker1< bool, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::VerifySignature(System.Byte[]) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_22, L_24);
  18173. if (L_25)
  18174. {
  18175. goto IL_007f;
  18176. }
  18177. }
  18178. {
  18179. // throw new TlsFatalAlert(AlertDescription.decrypt_error);
  18180. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18181. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_26, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
  18182. IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61_RuntimeMethod_var)));
  18183. }
  18184. IL_007f:
  18185. {
  18186. // }
  18187. return;
  18188. }
  18189. }
  18190. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::InitVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  18191. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDheKeyExchange_InitVerifyer_m6091711AA35F44E3042748356D757DBB7E2092BC (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, RuntimeObject* ___tlsSigner0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm1, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters2, const RuntimeMethod* method)
  18192. {
  18193. static bool s_Il2CppMethodInitialized;
  18194. if (!s_Il2CppMethodInitialized)
  18195. {
  18196. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  18197. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  18198. s_Il2CppMethodInitialized = true;
  18199. }
  18200. {
  18201. // ISigner signer = tlsSigner.CreateVerifyer(algorithm, this.mServerPublicKey);
  18202. RuntimeObject* L_0 = ___tlsSigner0;
  18203. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_1 = ___algorithm1;
  18204. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_2 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mServerPublicKey_6();
  18205. NullCheck(L_0);
  18206. RuntimeObject* L_3;
  18207. L_3 = InterfaceFuncInvoker2< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(8 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::CreateVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_0, L_1, L_2);
  18208. // signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
  18209. RuntimeObject* L_4 = L_3;
  18210. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = ___securityParameters2;
  18211. NullCheck(L_5);
  18212. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5->get_clientRandom_6();
  18213. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_7 = ___securityParameters2;
  18214. NullCheck(L_7);
  18215. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = L_7->get_clientRandom_6();
  18216. NullCheck(L_8);
  18217. NullCheck(L_4);
  18218. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_4, L_6, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))));
  18219. // signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
  18220. RuntimeObject* L_9 = L_4;
  18221. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ___securityParameters2;
  18222. NullCheck(L_10);
  18223. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = L_10->get_serverRandom_7();
  18224. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_12 = ___securityParameters2;
  18225. NullCheck(L_12);
  18226. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = L_12->get_serverRandom_7();
  18227. NullCheck(L_13);
  18228. NullCheck(L_9);
  18229. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_9, L_11, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))));
  18230. // return signer;
  18231. return L_9;
  18232. }
  18233. }
  18234. #ifdef __clang__
  18235. #pragma clang diagnostic pop
  18236. #endif
  18237. #ifdef __clang__
  18238. #pragma clang diagnostic push
  18239. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  18240. #pragma clang diagnostic ignored "-Wunused-variable"
  18241. #endif
  18242. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::GenerateRawSignature(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])
  18243. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDsaSigner_GenerateRawSignature_m53785DD3395B66BB8EA25B2739354B94F40A129A (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___hash2, const RuntimeMethod* method)
  18244. {
  18245. static bool s_Il2CppMethodInitialized;
  18246. if (!s_Il2CppMethodInitialized)
  18247. {
  18248. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  18249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  18250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  18251. s_Il2CppMethodInitialized = true;
  18252. }
  18253. RuntimeObject* V_0 = NULL;
  18254. {
  18255. // ISigner signer = MakeSigner(algorithm, true, true,
  18256. // new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
  18257. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  18258. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
  18259. RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
  18260. NullCheck(L_2);
  18261. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
  18262. L_3 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  18263. ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  18264. ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
  18265. RuntimeObject* L_5;
  18266. L_5 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)1, (bool)1, L_4);
  18267. V_0 = L_5;
  18268. // if (algorithm == null)
  18269. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_6 = ___algorithm0;
  18270. if (L_6)
  18271. {
  18272. goto IL_002b;
  18273. }
  18274. }
  18275. {
  18276. // signer.BlockUpdate(hash, 16, 20);
  18277. RuntimeObject* L_7 = V_0;
  18278. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash2;
  18279. NullCheck(L_7);
  18280. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_7, L_8, ((int32_t)16), ((int32_t)20));
  18281. // }
  18282. goto IL_0036;
  18283. }
  18284. IL_002b:
  18285. {
  18286. // signer.BlockUpdate(hash, 0, hash.Length);
  18287. RuntimeObject* L_9 = V_0;
  18288. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___hash2;
  18289. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___hash2;
  18290. NullCheck(L_11);
  18291. NullCheck(L_9);
  18292. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_9, L_10, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))));
  18293. }
  18294. IL_0036:
  18295. {
  18296. // return signer.GenerateSignature();
  18297. RuntimeObject* L_12 = V_0;
  18298. NullCheck(L_12);
  18299. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
  18300. L_13 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::GenerateSignature() */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_12);
  18301. return L_13;
  18302. }
  18303. }
  18304. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::VerifyRawSignature(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])
  18305. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDsaSigner_VerifyRawSignature_mD83CB8CD8A1D994A041DC0EF156DE0F0A3BB6F20 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sigBytes1, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___hash3, const RuntimeMethod* method)
  18306. {
  18307. static bool s_Il2CppMethodInitialized;
  18308. if (!s_Il2CppMethodInitialized)
  18309. {
  18310. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  18311. s_Il2CppMethodInitialized = true;
  18312. }
  18313. RuntimeObject* V_0 = NULL;
  18314. {
  18315. // ISigner signer = MakeSigner(algorithm, true, false, publicKey);
  18316. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  18317. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey2;
  18318. RuntimeObject* L_2;
  18319. L_2 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)1, (bool)0, L_1);
  18320. V_0 = L_2;
  18321. // if (algorithm == null)
  18322. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_3 = ___algorithm0;
  18323. if (L_3)
  18324. {
  18325. goto IL_001c;
  18326. }
  18327. }
  18328. {
  18329. // signer.BlockUpdate(hash, 16, 20);
  18330. RuntimeObject* L_4 = V_0;
  18331. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___hash3;
  18332. NullCheck(L_4);
  18333. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_4, L_5, ((int32_t)16), ((int32_t)20));
  18334. // }
  18335. goto IL_0029;
  18336. }
  18337. IL_001c:
  18338. {
  18339. // signer.BlockUpdate(hash, 0, hash.Length);
  18340. RuntimeObject* L_6 = V_0;
  18341. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___hash3;
  18342. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash3;
  18343. NullCheck(L_8);
  18344. NullCheck(L_6);
  18345. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_6, L_7, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))));
  18346. }
  18347. IL_0029:
  18348. {
  18349. // return signer.VerifySignature(sigBytes);
  18350. RuntimeObject* L_9 = V_0;
  18351. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___sigBytes1;
  18352. NullCheck(L_9);
  18353. bool L_11;
  18354. L_11 = InterfaceFuncInvoker1< bool, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::VerifySignature(System.Byte[]) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_9, L_10);
  18355. return L_11;
  18356. }
  18357. }
  18358. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::CreateSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  18359. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_CreateSigner_m12B4F76E8C8757E2262165C8DC4E9DB622385E55 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, const RuntimeMethod* method)
  18360. {
  18361. {
  18362. // return MakeSigner(algorithm, false, true, privateKey);
  18363. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  18364. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
  18365. RuntimeObject* L_2;
  18366. L_2 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)0, (bool)1, L_1);
  18367. return L_2;
  18368. }
  18369. }
  18370. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::CreateVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  18371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_CreateVerifyer_m60497AA8D79CC52D4E027267638E794944E276A7 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey1, const RuntimeMethod* method)
  18372. {
  18373. {
  18374. // return MakeSigner(algorithm, false, false, publicKey);
  18375. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  18376. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey1;
  18377. RuntimeObject* L_2;
  18378. L_2 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)0, (bool)0, L_1);
  18379. return L_2;
  18380. }
  18381. }
  18382. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeInitParameters(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
  18383. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_MakeInitParameters_m94FB475F01509F7B9D305E268EA94F4C2F889F23 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, bool ___forSigning0, RuntimeObject* ___cp1, const RuntimeMethod* method)
  18384. {
  18385. {
  18386. // return cp;
  18387. RuntimeObject* L_0 = ___cp1;
  18388. return L_0;
  18389. }
  18390. }
  18391. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
  18392. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, bool ___raw1, bool ___forSigning2, RuntimeObject* ___cp3, const RuntimeMethod* method)
  18393. {
  18394. static bool s_Il2CppMethodInitialized;
  18395. if (!s_Il2CppMethodInitialized)
  18396. {
  18397. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var);
  18398. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  18399. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
  18400. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18401. s_Il2CppMethodInitialized = true;
  18402. }
  18403. uint8_t V_0 = 0x0;
  18404. RuntimeObject* V_1 = NULL;
  18405. RuntimeObject* V_2 = NULL;
  18406. int32_t G_B8_0 = 0;
  18407. RuntimeObject* G_B11_0 = NULL;
  18408. {
  18409. // if ((algorithm != null) != TlsUtilities.IsTlsV12(mContext))
  18410. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  18411. RuntimeObject* L_1 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
  18412. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18413. bool L_2;
  18414. L_2 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_1, /*hidden argument*/NULL);
  18415. if ((((int32_t)((!(((RuntimeObject*)(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)) == ((int32_t)L_2)))
  18416. {
  18417. goto IL_0017;
  18418. }
  18419. }
  18420. {
  18421. // throw new InvalidOperationException();
  18422. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  18423. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_3, /*hidden argument*/NULL);
  18424. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var)));
  18425. }
  18426. IL_0017:
  18427. {
  18428. // if (algorithm != null && algorithm.Signature != SignatureAlgorithm)
  18429. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_4 = ___algorithm0;
  18430. if (!L_4)
  18431. {
  18432. goto IL_002e;
  18433. }
  18434. }
  18435. {
  18436. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_5 = ___algorithm0;
  18437. NullCheck(L_5);
  18438. uint8_t L_6;
  18439. L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(5 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Signature() */, L_5);
  18440. uint8_t L_7;
  18441. L_7 = VirtualFuncInvoker0< uint8_t >::Invoke(26 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::get_SignatureAlgorithm() */, __this);
  18442. if ((((int32_t)L_6) == ((int32_t)L_7)))
  18443. {
  18444. goto IL_002e;
  18445. }
  18446. }
  18447. {
  18448. // throw new InvalidOperationException();
  18449. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_8 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  18450. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_8, /*hidden argument*/NULL);
  18451. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var)));
  18452. }
  18453. IL_002e:
  18454. {
  18455. // byte hashAlgorithm = algorithm == null ? HashAlgorithm.sha1 : algorithm.Hash;
  18456. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_9 = ___algorithm0;
  18457. if (!L_9)
  18458. {
  18459. goto IL_0039;
  18460. }
  18461. }
  18462. {
  18463. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = ___algorithm0;
  18464. NullCheck(L_10);
  18465. uint8_t L_11;
  18466. L_11 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_10);
  18467. G_B8_0 = ((int32_t)(L_11));
  18468. goto IL_003a;
  18469. }
  18470. IL_0039:
  18471. {
  18472. G_B8_0 = 2;
  18473. }
  18474. IL_003a:
  18475. {
  18476. V_0 = (uint8_t)G_B8_0;
  18477. // IDigest d = raw ? new NullDigest() : TlsUtilities.CreateHash(hashAlgorithm);
  18478. bool L_12 = ___raw1;
  18479. if (L_12)
  18480. {
  18481. goto IL_0046;
  18482. }
  18483. }
  18484. {
  18485. uint8_t L_13 = V_0;
  18486. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18487. RuntimeObject* L_14;
  18488. L_14 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_13, /*hidden argument*/NULL);
  18489. G_B11_0 = L_14;
  18490. goto IL_004d;
  18491. }
  18492. IL_0046:
  18493. {
  18494. NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * L_15 = (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 *)il2cpp_codegen_object_new(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
  18495. NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB(L_15, /*hidden argument*/NULL);
  18496. V_2 = L_15;
  18497. RuntimeObject* L_16 = V_2;
  18498. G_B11_0 = L_16;
  18499. }
  18500. IL_004d:
  18501. {
  18502. V_1 = G_B11_0;
  18503. // ISigner s = new DsaDigestSigner(CreateDsaImpl(hashAlgorithm), d);
  18504. uint8_t L_17 = V_0;
  18505. RuntimeObject* L_18;
  18506. L_18 = VirtualFuncInvoker1< RuntimeObject*, uint8_t >::Invoke(27 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::CreateDsaImpl(System.Byte) */, __this, L_17);
  18507. RuntimeObject* L_19 = V_1;
  18508. DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * L_20 = (DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 *)il2cpp_codegen_object_new(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var);
  18509. DsaDigestSigner__ctor_m9AAE8A07722E67E499E98FB6B3AF3E53A4D9E05B(L_20, L_18, L_19, /*hidden argument*/NULL);
  18510. // s.Init(forSigning, MakeInitParameters(forSigning, cp));
  18511. DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * L_21 = L_20;
  18512. bool L_22 = ___forSigning2;
  18513. bool L_23 = ___forSigning2;
  18514. RuntimeObject* L_24 = ___cp3;
  18515. RuntimeObject* L_25;
  18516. L_25 = VirtualFuncInvoker2< RuntimeObject*, bool, RuntimeObject* >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeInitParameters(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_23, L_24);
  18517. NullCheck(L_21);
  18518. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_21, L_22, L_25);
  18519. // return s;
  18520. return L_21;
  18521. }
  18522. }
  18523. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::.ctor()
  18524. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, const RuntimeMethod* method)
  18525. {
  18526. {
  18527. AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121(__this, /*hidden argument*/NULL);
  18528. return;
  18529. }
  18530. }
  18531. #ifdef __clang__
  18532. #pragma clang diagnostic pop
  18533. #endif
  18534. #ifdef __clang__
  18535. #pragma clang diagnostic push
  18536. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  18537. #pragma clang diagnostic ignored "-Wunused-variable"
  18538. #endif
  18539. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  18540. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDssSigner_IsValidPublicKey_m27BC896A0A0CEF1B4528BAB073FBBD6EF37BDD79 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
  18541. {
  18542. static bool s_Il2CppMethodInitialized;
  18543. if (!s_Il2CppMethodInitialized)
  18544. {
  18545. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var);
  18546. s_Il2CppMethodInitialized = true;
  18547. }
  18548. {
  18549. // return publicKey is DsaPublicKeyParameters;
  18550. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
  18551. return (bool)((!(((RuntimeObject*)(DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 *)((DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 *)IsInstClass((RuntimeObject*)L_0, DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
  18552. }
  18553. }
  18554. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::CreateDsaImpl(System.Byte)
  18555. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDssSigner_CreateDsaImpl_mE062AAE5E752F20A084F000CA085D14B0E9B9EB1 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, uint8_t ___hashAlgorithm0, const RuntimeMethod* method)
  18556. {
  18557. static bool s_Il2CppMethodInitialized;
  18558. if (!s_Il2CppMethodInitialized)
  18559. {
  18560. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var);
  18561. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
  18562. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18563. s_Il2CppMethodInitialized = true;
  18564. }
  18565. {
  18566. // return new DsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm)));
  18567. uint8_t L_0 = ___hashAlgorithm0;
  18568. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18569. RuntimeObject* L_1;
  18570. L_1 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_0, /*hidden argument*/NULL);
  18571. HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * L_2 = (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E *)il2cpp_codegen_object_new(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
  18572. HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53(L_2, L_1, /*hidden argument*/NULL);
  18573. DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 * L_3 = (DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 *)il2cpp_codegen_object_new(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var);
  18574. DsaSigner__ctor_m4F8CD1803721F9C537999E6603D32CAF3EF50149(L_3, L_2, /*hidden argument*/NULL);
  18575. return L_3;
  18576. }
  18577. }
  18578. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::get_SignatureAlgorithm()
  18579. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDssSigner_get_SignatureAlgorithm_m9DF1B9A3183FEFB820D351A4727E798E9604C437 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method)
  18580. {
  18581. {
  18582. // get { return Tls.SignatureAlgorithm.dsa; }
  18583. return (uint8_t)2;
  18584. }
  18585. }
  18586. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::.ctor()
  18587. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method)
  18588. {
  18589. {
  18590. TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284(__this, /*hidden argument*/NULL);
  18591. return;
  18592. }
  18593. }
  18594. #ifdef __clang__
  18595. #pragma clang diagnostic pop
  18596. #endif
  18597. #ifdef __clang__
  18598. #pragma clang diagnostic push
  18599. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  18600. #pragma clang diagnostic ignored "-Wunused-variable"
  18601. #endif
  18602. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
  18603. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats3, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats4, const RuntimeMethod* method)
  18604. {
  18605. static bool s_Il2CppMethodInitialized;
  18606. if (!s_Il2CppMethodInitialized)
  18607. {
  18608. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var);
  18609. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
  18610. s_Il2CppMethodInitialized = true;
  18611. }
  18612. {
  18613. // : base(keyExchange, supportedSignatureAlgorithms)
  18614. int32_t L_0 = ___keyExchange0;
  18615. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  18616. AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
  18617. int32_t L_2 = ___keyExchange0;
  18618. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)16))))
  18619. {
  18620. case 0:
  18621. {
  18622. goto IL_0041;
  18623. }
  18624. case 1:
  18625. {
  18626. goto IL_0034;
  18627. }
  18628. case 2:
  18629. {
  18630. goto IL_0041;
  18631. }
  18632. case 3:
  18633. {
  18634. goto IL_0027;
  18635. }
  18636. case 4:
  18637. {
  18638. goto IL_0041;
  18639. }
  18640. }
  18641. }
  18642. {
  18643. goto IL_004a;
  18644. }
  18645. IL_0027:
  18646. {
  18647. // this.mTlsSigner = new TlsRsaSigner();
  18648. TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * L_3 = (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 *)il2cpp_codegen_object_new(TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
  18649. TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019(L_3, /*hidden argument*/NULL);
  18650. __this->set_mTlsSigner_3(L_3);
  18651. // break;
  18652. goto IL_0055;
  18653. }
  18654. IL_0034:
  18655. {
  18656. // this.mTlsSigner = new TlsECDsaSigner();
  18657. TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * L_4 = (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA *)il2cpp_codegen_object_new(TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var);
  18658. TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE(L_4, /*hidden argument*/NULL);
  18659. __this->set_mTlsSigner_3(L_4);
  18660. // break;
  18661. goto IL_0055;
  18662. }
  18663. IL_0041:
  18664. {
  18665. // this.mTlsSigner = null;
  18666. __this->set_mTlsSigner_3((RuntimeObject*)NULL);
  18667. // break;
  18668. goto IL_0055;
  18669. }
  18670. IL_004a:
  18671. {
  18672. // throw new InvalidOperationException("unsupported key exchange algorithm");
  18673. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  18674. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
  18675. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D_RuntimeMethod_var)));
  18676. }
  18677. IL_0055:
  18678. {
  18679. // this.mNamedCurves = namedCurves;
  18680. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ___namedCurves2;
  18681. __this->set_mNamedCurves_4(L_6);
  18682. // this.mClientECPointFormats = clientECPointFormats;
  18683. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___clientECPointFormats3;
  18684. __this->set_mClientECPointFormats_5(L_7);
  18685. // this.mServerECPointFormats = serverECPointFormats;
  18686. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___serverECPointFormats4;
  18687. __this->set_mServerECPointFormats_6(L_8);
  18688. // }
  18689. return;
  18690. }
  18691. }
  18692. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  18693. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_Init_m9982F89EBD91A7B94DD976850F6F851243499440 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
  18694. {
  18695. static bool s_Il2CppMethodInitialized;
  18696. if (!s_Il2CppMethodInitialized)
  18697. {
  18698. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  18699. s_Il2CppMethodInitialized = true;
  18700. }
  18701. {
  18702. // base.Init(context);
  18703. RuntimeObject* L_0 = ___context0;
  18704. AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD(__this, L_0, /*hidden argument*/NULL);
  18705. // if (this.mTlsSigner != null)
  18706. RuntimeObject* L_1 = __this->get_mTlsSigner_3();
  18707. if (!L_1)
  18708. {
  18709. goto IL_001b;
  18710. }
  18711. }
  18712. {
  18713. // this.mTlsSigner.Init(context);
  18714. RuntimeObject* L_2 = __this->get_mTlsSigner_3();
  18715. RuntimeObject* L_3 = ___context0;
  18716. NullCheck(L_2);
  18717. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_2, L_3);
  18718. }
  18719. IL_001b:
  18720. {
  18721. // }
  18722. return;
  18723. }
  18724. }
  18725. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::SkipServerCredentials()
  18726. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
  18727. {
  18728. {
  18729. // if (mKeyExchange != KeyExchangeAlgorithm.ECDH_anon)
  18730. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  18731. if ((((int32_t)L_0) == ((int32_t)((int32_t)20))))
  18732. {
  18733. goto IL_0012;
  18734. }
  18735. }
  18736. {
  18737. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  18738. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18739. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  18740. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15_RuntimeMethod_var)));
  18741. }
  18742. IL_0012:
  18743. {
  18744. // }
  18745. return;
  18746. }
  18747. }
  18748. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  18749. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
  18750. {
  18751. static bool s_Il2CppMethodInitialized;
  18752. if (!s_Il2CppMethodInitialized)
  18753. {
  18754. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
  18755. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  18756. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  18757. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18758. s_Il2CppMethodInitialized = true;
  18759. }
  18760. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
  18761. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
  18762. Exception_t * V_2 = NULL;
  18763. InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * V_3 = NULL;
  18764. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  18765. il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
  18766. {
  18767. // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
  18768. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  18769. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
  18770. {
  18771. goto IL_0012;
  18772. }
  18773. }
  18774. {
  18775. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  18776. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18777. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  18778. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
  18779. }
  18780. IL_0012:
  18781. {
  18782. // if (serverCertificate.IsEmpty)
  18783. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
  18784. NullCheck(L_2);
  18785. bool L_3;
  18786. L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
  18787. if (!L_3)
  18788. {
  18789. goto IL_0022;
  18790. }
  18791. }
  18792. {
  18793. // throw new TlsFatalAlert(AlertDescription.bad_certificate);
  18794. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18795. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
  18796. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
  18797. }
  18798. IL_0022:
  18799. {
  18800. // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
  18801. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
  18802. NullCheck(L_5);
  18803. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
  18804. L_6 = VirtualFuncInvoker1< X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 *, int32_t >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::GetCertificateAt(System.Int32) */, L_5, 0);
  18805. V_0 = L_6;
  18806. // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
  18807. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
  18808. NullCheck(L_7);
  18809. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
  18810. L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
  18811. V_1 = L_8;
  18812. }
  18813. IL_0031:
  18814. try
  18815. {// begin try (depth: 1)
  18816. // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
  18817. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
  18818. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
  18819. L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
  18820. __this->set_mServerPublicKey_7(L_10);
  18821. // }
  18822. goto IL_0049;
  18823. }// end try (depth: 1)
  18824. catch(Il2CppExceptionWrapper& e)
  18825. {
  18826. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  18827. {
  18828. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  18829. goto CATCH_003f;
  18830. }
  18831. throw e;
  18832. }
  18833. CATCH_003f:
  18834. {// begin catch(System.Exception)
  18835. // catch (Exception e)
  18836. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  18837. // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
  18838. Exception_t * L_11 = V_2;
  18839. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18840. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
  18841. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
  18842. }// end catch (depth: 1)
  18843. IL_0049:
  18844. {
  18845. // if (mTlsSigner == null)
  18846. RuntimeObject* L_13 = __this->get_mTlsSigner_3();
  18847. if (L_13)
  18848. {
  18849. goto IL_007c;
  18850. }
  18851. }
  18852. IL_0051:
  18853. try
  18854. {// begin try (depth: 1)
  18855. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey((ECPublicKeyParameters) this.mServerPublicKey);
  18856. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_7();
  18857. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  18858. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_15;
  18859. L_15 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)CastclassClass((RuntimeObject*)L_14, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
  18860. __this->set_mECAgreePublicKey_10(L_15);
  18861. // }
  18862. goto IL_0073;
  18863. }// end try (depth: 1)
  18864. catch(Il2CppExceptionWrapper& e)
  18865. {
  18866. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  18867. {
  18868. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  18869. goto CATCH_0069;
  18870. }
  18871. throw e;
  18872. }
  18873. CATCH_0069:
  18874. {// begin catch(System.InvalidCastException)
  18875. // catch (InvalidCastException e)
  18876. V_3 = ((InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *));
  18877. // throw new TlsFatalAlert(AlertDescription.certificate_unknown, e);
  18878. InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * L_16 = V_3;
  18879. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_17 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18880. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_17, (uint8_t)((int32_t)46), L_16, /*hidden argument*/NULL);
  18881. IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
  18882. }// end catch (depth: 1)
  18883. IL_0073:
  18884. {
  18885. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyAgreement);
  18886. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_18 = V_0;
  18887. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18888. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_18, 8, /*hidden argument*/NULL);
  18889. // }
  18890. goto IL_00a2;
  18891. }
  18892. IL_007c:
  18893. {
  18894. // if (!mTlsSigner.IsValidPublicKey(this.mServerPublicKey))
  18895. RuntimeObject* L_19 = __this->get_mTlsSigner_3();
  18896. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_20 = __this->get_mServerPublicKey_7();
  18897. NullCheck(L_19);
  18898. bool L_21;
  18899. L_21 = InterfaceFuncInvoker1< bool, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(9 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_19, L_20);
  18900. if (L_21)
  18901. {
  18902. goto IL_0097;
  18903. }
  18904. }
  18905. {
  18906. // throw new TlsFatalAlert(AlertDescription.certificate_unknown);
  18907. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_22 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  18908. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_22, (uint8_t)((int32_t)46), /*hidden argument*/NULL);
  18909. IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
  18910. }
  18911. IL_0097:
  18912. {
  18913. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.DigitalSignature);
  18914. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_23 = V_0;
  18915. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  18916. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_23, ((int32_t)128), /*hidden argument*/NULL);
  18917. }
  18918. IL_00a2:
  18919. {
  18920. // base.ProcessServerCertificate(serverCertificate);
  18921. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_24 = ___serverCertificate0;
  18922. AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_24, /*hidden argument*/NULL);
  18923. // }
  18924. return;
  18925. }
  18926. }
  18927. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::get_RequiresServerKeyExchange()
  18928. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsECDHKeyExchange_get_RequiresServerKeyExchange_m87A3FBC072CF87AB6929108669234DF201DD6635 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
  18929. {
  18930. int32_t V_0 = 0;
  18931. {
  18932. // switch (mKeyExchange)
  18933. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  18934. V_0 = L_0;
  18935. int32_t L_1 = V_0;
  18936. if ((((int32_t)L_1) == ((int32_t)((int32_t)17))))
  18937. {
  18938. goto IL_0013;
  18939. }
  18940. }
  18941. {
  18942. int32_t L_2 = V_0;
  18943. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)19)))) <= ((uint32_t)1))))
  18944. {
  18945. goto IL_0015;
  18946. }
  18947. }
  18948. IL_0013:
  18949. {
  18950. // return true;
  18951. return (bool)1;
  18952. }
  18953. IL_0015:
  18954. {
  18955. // return false;
  18956. return (bool)0;
  18957. }
  18958. }
  18959. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GenerateServerKeyExchange()
  18960. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDHKeyExchange_GenerateServerKeyExchange_m0BE3611470578E584215D7A38988621550343507 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
  18961. {
  18962. static bool s_Il2CppMethodInitialized;
  18963. if (!s_Il2CppMethodInitialized)
  18964. {
  18965. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  18966. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  18967. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  18968. s_Il2CppMethodInitialized = true;
  18969. }
  18970. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  18971. {
  18972. // if (!RequiresServerKeyExchange)
  18973. bool L_0;
  18974. L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
  18975. if (L_0)
  18976. {
  18977. goto IL_000a;
  18978. }
  18979. }
  18980. {
  18981. // return null;
  18982. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  18983. }
  18984. IL_000a:
  18985. {
  18986. // MemoryStream buf = new MemoryStream();
  18987. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  18988. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_1, /*hidden argument*/NULL);
  18989. V_0 = L_1;
  18990. // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves,
  18991. // mClientECPointFormats, buf);
  18992. RuntimeObject* L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  18993. NullCheck(L_2);
  18994. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
  18995. L_3 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  18996. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4 = __this->get_mNamedCurves_4();
  18997. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mClientECPointFormats_5();
  18998. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = V_0;
  18999. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19000. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7;
  19001. L_7 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
  19002. __this->set_mECAgreePrivateKey_9(L_7);
  19003. // return buf.ToArray();
  19004. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
  19005. NullCheck(L_8);
  19006. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  19007. L_9 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_8);
  19008. return L_9;
  19009. }
  19010. }
  19011. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
  19012. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  19013. {
  19014. static bool s_Il2CppMethodInitialized;
  19015. if (!s_Il2CppMethodInitialized)
  19016. {
  19017. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19018. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19019. s_Il2CppMethodInitialized = true;
  19020. }
  19021. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_0 = NULL;
  19022. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  19023. {
  19024. // if (!RequiresServerKeyExchange)
  19025. bool L_0;
  19026. L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
  19027. if (L_0)
  19028. {
  19029. goto IL_0010;
  19030. }
  19031. }
  19032. {
  19033. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  19034. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19035. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  19036. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5_RuntimeMethod_var)));
  19037. }
  19038. IL_0010:
  19039. {
  19040. // ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input);
  19041. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_2 = __this->get_mNamedCurves_4();
  19042. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mClientECPointFormats_5();
  19043. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
  19044. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19045. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5;
  19046. L_5 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_2, L_3, L_4, /*hidden argument*/NULL);
  19047. V_0 = L_5;
  19048. // byte[] point = TlsUtilities.ReadOpaque8(input);
  19049. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___input0;
  19050. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19051. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  19052. L_7 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_6, /*hidden argument*/NULL);
  19053. V_1 = L_7;
  19054. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
  19055. // mClientECPointFormats, curve_params, point));
  19056. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_mClientECPointFormats_5();
  19057. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_9 = V_0;
  19058. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_1;
  19059. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_11;
  19060. L_11 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_8, L_9, L_10, /*hidden argument*/NULL);
  19061. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_12;
  19062. L_12 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_11, /*hidden argument*/NULL);
  19063. __this->set_mECAgreePublicKey_10(L_12);
  19064. // }
  19065. return;
  19066. }
  19067. }
  19068. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  19069. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  19070. {
  19071. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  19072. int32_t V_1 = 0;
  19073. uint8_t V_2 = 0x0;
  19074. {
  19075. // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
  19076. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  19077. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
  19078. {
  19079. goto IL_0012;
  19080. }
  19081. }
  19082. {
  19083. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  19084. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19085. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  19086. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var)));
  19087. }
  19088. IL_0012:
  19089. {
  19090. // byte[] types = certificateRequest.CertificateTypes;
  19091. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_2 = ___certificateRequest0;
  19092. NullCheck(L_2);
  19093. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  19094. L_3 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_2);
  19095. V_0 = L_3;
  19096. // for (int i = 0; i < types.Length; ++i)
  19097. V_1 = 0;
  19098. goto IL_003a;
  19099. }
  19100. IL_001d:
  19101. {
  19102. // switch (types[i])
  19103. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  19104. int32_t L_5 = V_1;
  19105. NullCheck(L_4);
  19106. int32_t L_6 = L_5;
  19107. uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
  19108. V_2 = L_7;
  19109. uint8_t L_8 = V_2;
  19110. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1))) > ((uint32_t)1))))
  19111. {
  19112. goto IL_0036;
  19113. }
  19114. }
  19115. {
  19116. uint8_t L_9 = V_2;
  19117. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)64)))) > ((uint32_t)2))))
  19118. {
  19119. goto IL_0036;
  19120. }
  19121. }
  19122. {
  19123. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  19124. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19125. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  19126. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var)));
  19127. }
  19128. IL_0036:
  19129. {
  19130. // for (int i = 0; i < types.Length; ++i)
  19131. int32_t L_11 = V_1;
  19132. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
  19133. }
  19134. IL_003a:
  19135. {
  19136. // for (int i = 0; i < types.Length; ++i)
  19137. int32_t L_12 = V_1;
  19138. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
  19139. NullCheck(L_13);
  19140. if ((((int32_t)L_12) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))))))
  19141. {
  19142. goto IL_001d;
  19143. }
  19144. }
  19145. {
  19146. // }
  19147. return;
  19148. }
  19149. }
  19150. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  19151. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
  19152. {
  19153. static bool s_Il2CppMethodInitialized;
  19154. if (!s_Il2CppMethodInitialized)
  19155. {
  19156. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
  19157. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  19158. s_Il2CppMethodInitialized = true;
  19159. }
  19160. {
  19161. // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
  19162. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  19163. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
  19164. {
  19165. goto IL_0012;
  19166. }
  19167. }
  19168. {
  19169. // throw new TlsFatalAlert(AlertDescription.internal_error);
  19170. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19171. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  19172. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var)));
  19173. }
  19174. IL_0012:
  19175. {
  19176. // if (clientCredentials is TlsAgreementCredentials)
  19177. RuntimeObject* L_2 = ___clientCredentials0;
  19178. if (!((RuntimeObject*)IsInst((RuntimeObject*)L_2, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)))
  19179. {
  19180. goto IL_0027;
  19181. }
  19182. }
  19183. {
  19184. // this.mAgreementCredentials = (TlsAgreementCredentials)clientCredentials;
  19185. RuntimeObject* L_3 = ___clientCredentials0;
  19186. __this->set_mAgreementCredentials_8(((RuntimeObject*)Castclass((RuntimeObject*)L_3, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)));
  19187. // }
  19188. return;
  19189. }
  19190. IL_0027:
  19191. {
  19192. // else if (clientCredentials is TlsSignerCredentials)
  19193. RuntimeObject* L_4 = ___clientCredentials0;
  19194. if (((RuntimeObject*)IsInst((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  19195. {
  19196. goto IL_0037;
  19197. }
  19198. }
  19199. {
  19200. // throw new TlsFatalAlert(AlertDescription.internal_error);
  19201. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19202. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  19203. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var)));
  19204. }
  19205. IL_0037:
  19206. {
  19207. // }
  19208. return;
  19209. }
  19210. }
  19211. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
  19212. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_GenerateClientKeyExchange_m85D7DE6A009A64A67212D7948B1FC1662D1463F8 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  19213. {
  19214. static bool s_Il2CppMethodInitialized;
  19215. if (!s_Il2CppMethodInitialized)
  19216. {
  19217. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  19218. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19219. s_Il2CppMethodInitialized = true;
  19220. }
  19221. {
  19222. // if (mAgreementCredentials == null)
  19223. RuntimeObject* L_0 = __this->get_mAgreementCredentials_8();
  19224. if (L_0)
  19225. {
  19226. goto IL_0030;
  19227. }
  19228. }
  19229. {
  19230. // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
  19231. // mServerECPointFormats, mECAgreePublicKey.Parameters, output);
  19232. RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  19233. NullCheck(L_1);
  19234. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
  19235. L_2 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_1);
  19236. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mServerECPointFormats_6();
  19237. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_4 = __this->get_mECAgreePublicKey_10();
  19238. NullCheck(L_4);
  19239. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5;
  19240. L_5 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_4, /*hidden argument*/NULL);
  19241. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output0;
  19242. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19243. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7;
  19244. L_7 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_2, L_3, L_5, L_6, /*hidden argument*/NULL);
  19245. __this->set_mECAgreePrivateKey_9(L_7);
  19246. }
  19247. IL_0030:
  19248. {
  19249. // }
  19250. return;
  19251. }
  19252. }
  19253. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  19254. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
  19255. {
  19256. {
  19257. // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
  19258. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  19259. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
  19260. {
  19261. goto IL_0012;
  19262. }
  19263. }
  19264. {
  19265. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  19266. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19267. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  19268. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208_RuntimeMethod_var)));
  19269. }
  19270. IL_0012:
  19271. {
  19272. // }
  19273. return;
  19274. }
  19275. }
  19276. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
  19277. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientKeyExchange_m16DF15423F936D3BB1949A881FCACD791A662439 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  19278. {
  19279. static bool s_Il2CppMethodInitialized;
  19280. if (!s_Il2CppMethodInitialized)
  19281. {
  19282. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19283. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19284. s_Il2CppMethodInitialized = true;
  19285. }
  19286. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  19287. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_1 = NULL;
  19288. {
  19289. // if (mECAgreePublicKey != null)
  19290. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_0 = __this->get_mECAgreePublicKey_10();
  19291. if (!L_0)
  19292. {
  19293. goto IL_0009;
  19294. }
  19295. }
  19296. {
  19297. // return;
  19298. return;
  19299. }
  19300. IL_0009:
  19301. {
  19302. // byte[] point = TlsUtilities.ReadOpaque8(input);
  19303. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input0;
  19304. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19305. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  19306. L_2 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_1, /*hidden argument*/NULL);
  19307. V_0 = L_2;
  19308. // ECDomainParameters curve_params = this.mECAgreePrivateKey.Parameters;
  19309. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_3 = __this->get_mECAgreePrivateKey_9();
  19310. NullCheck(L_3);
  19311. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_4;
  19312. L_4 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_3, /*hidden argument*/NULL);
  19313. V_1 = L_4;
  19314. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
  19315. // mServerECPointFormats, curve_params, point));
  19316. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mServerECPointFormats_6();
  19317. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_6 = V_1;
  19318. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  19319. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19320. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_8;
  19321. L_8 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_5, L_6, L_7, /*hidden argument*/NULL);
  19322. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_9;
  19323. L_9 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_8, /*hidden argument*/NULL);
  19324. __this->set_mECAgreePublicKey_10(L_9);
  19325. // }
  19326. return;
  19327. }
  19328. }
  19329. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GeneratePremasterSecret()
  19330. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
  19331. {
  19332. static bool s_Il2CppMethodInitialized;
  19333. if (!s_Il2CppMethodInitialized)
  19334. {
  19335. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
  19336. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19337. s_Il2CppMethodInitialized = true;
  19338. }
  19339. {
  19340. // if (mAgreementCredentials != null)
  19341. RuntimeObject* L_0 = __this->get_mAgreementCredentials_8();
  19342. if (!L_0)
  19343. {
  19344. goto IL_001a;
  19345. }
  19346. }
  19347. {
  19348. // return mAgreementCredentials.GenerateAgreement(mECAgreePublicKey);
  19349. RuntimeObject* L_1 = __this->get_mAgreementCredentials_8();
  19350. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_2 = __this->get_mECAgreePublicKey_10();
  19351. NullCheck(L_1);
  19352. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  19353. L_3 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials::GenerateAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var, L_1, L_2);
  19354. return L_3;
  19355. }
  19356. IL_001a:
  19357. {
  19358. // if (mECAgreePrivateKey != null)
  19359. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_4 = __this->get_mECAgreePrivateKey_9();
  19360. if (!L_4)
  19361. {
  19362. goto IL_0034;
  19363. }
  19364. }
  19365. {
  19366. // return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey);
  19367. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_5 = __this->get_mECAgreePublicKey_10();
  19368. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_6 = __this->get_mECAgreePrivateKey_9();
  19369. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19370. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  19371. L_7 = TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5(L_5, L_6, /*hidden argument*/NULL);
  19372. return L_7;
  19373. }
  19374. IL_0034:
  19375. {
  19376. // throw new TlsFatalAlert(AlertDescription.internal_error);
  19377. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19378. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  19379. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5_RuntimeMethod_var)));
  19380. }
  19381. }
  19382. #ifdef __clang__
  19383. #pragma clang diagnostic pop
  19384. #endif
  19385. #ifdef __clang__
  19386. #pragma clang diagnostic push
  19387. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  19388. #pragma clang diagnostic ignored "-Wunused-variable"
  19389. #endif
  19390. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
  19391. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange__ctor_mD61EED1198E7F1E72C77F7255A6BD93C3752176A (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats3, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats4, const RuntimeMethod* method)
  19392. {
  19393. {
  19394. // : base(keyExchange, supportedSignatureAlgorithms, namedCurves, clientECPointFormats, serverECPointFormats)
  19395. int32_t L_0 = ___keyExchange0;
  19396. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  19397. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_2 = ___namedCurves2;
  19398. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___clientECPointFormats3;
  19399. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___serverECPointFormats4;
  19400. TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D(__this, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
  19401. // }
  19402. return;
  19403. }
  19404. }
  19405. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  19406. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
  19407. {
  19408. static bool s_Il2CppMethodInitialized;
  19409. if (!s_Il2CppMethodInitialized)
  19410. {
  19411. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  19412. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  19413. s_Il2CppMethodInitialized = true;
  19414. }
  19415. {
  19416. // if (!(serverCredentials is TlsSignerCredentials))
  19417. RuntimeObject* L_0 = ___serverCredentials0;
  19418. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  19419. {
  19420. goto IL_0010;
  19421. }
  19422. }
  19423. {
  19424. // throw new TlsFatalAlert(AlertDescription.internal_error);
  19425. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19426. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  19427. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908_RuntimeMethod_var)));
  19428. }
  19429. IL_0010:
  19430. {
  19431. // ProcessServerCertificate(serverCredentials.Certificate);
  19432. RuntimeObject* L_2 = ___serverCredentials0;
  19433. NullCheck(L_2);
  19434. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
  19435. L_3 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_2);
  19436. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_3);
  19437. // this.mServerCredentials = (TlsSignerCredentials)serverCredentials;
  19438. RuntimeObject* L_4 = ___serverCredentials0;
  19439. __this->set_mServerCredentials_11(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)));
  19440. // }
  19441. return;
  19442. }
  19443. }
  19444. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::GenerateServerKeyExchange()
  19445. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDheKeyExchange_GenerateServerKeyExchange_m53DAAC11CDF5181C84B934CE24C7FA78B1F16984 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, const RuntimeMethod* method)
  19446. {
  19447. static bool s_Il2CppMethodInitialized;
  19448. if (!s_Il2CppMethodInitialized)
  19449. {
  19450. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
  19451. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  19452. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  19453. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  19454. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  19455. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19456. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  19457. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19458. s_Il2CppMethodInitialized = true;
  19459. }
  19460. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * V_0 = NULL;
  19461. RuntimeObject* V_1 = NULL;
  19462. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_2 = NULL;
  19463. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  19464. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  19465. {
  19466. // DigestInputBuffer buf = new DigestInputBuffer();
  19467. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_0 = (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A *)il2cpp_codegen_object_new(DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
  19468. DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB(L_0, /*hidden argument*/NULL);
  19469. V_0 = L_0;
  19470. // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves,
  19471. // mClientECPointFormats, buf);
  19472. RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  19473. NullCheck(L_1);
  19474. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
  19475. L_2 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_1);
  19476. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mNamedCurves_4();
  19477. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
  19478. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_5 = V_0;
  19479. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19480. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_6;
  19481. L_6 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
  19482. ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->set_mECAgreePrivateKey_9(L_6);
  19483. // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
  19484. // mContext, mServerCredentials);
  19485. RuntimeObject* L_7 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  19486. RuntimeObject* L_8 = __this->get_mServerCredentials_11();
  19487. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19488. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_9;
  19489. L_9 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_7, L_8, /*hidden argument*/NULL);
  19490. // IDigest d = TlsUtilities.CreateHash(signatureAndHashAlgorithm);
  19491. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = L_9;
  19492. RuntimeObject* L_11;
  19493. L_11 = TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80(L_10, /*hidden argument*/NULL);
  19494. V_1 = L_11;
  19495. // SecurityParameters securityParameters = mContext.SecurityParameters;
  19496. RuntimeObject* L_12 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  19497. NullCheck(L_12);
  19498. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_13;
  19499. L_13 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_12);
  19500. V_2 = L_13;
  19501. // d.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
  19502. RuntimeObject* L_14 = V_1;
  19503. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15 = V_2;
  19504. NullCheck(L_15);
  19505. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = L_15->get_clientRandom_6();
  19506. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = V_2;
  19507. NullCheck(L_17);
  19508. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = L_17->get_clientRandom_6();
  19509. NullCheck(L_18);
  19510. NullCheck(L_14);
  19511. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_14, L_16, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length))));
  19512. // d.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
  19513. RuntimeObject* L_19 = V_1;
  19514. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_20 = V_2;
  19515. NullCheck(L_20);
  19516. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = L_20->get_serverRandom_7();
  19517. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22 = V_2;
  19518. NullCheck(L_22);
  19519. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = L_22->get_serverRandom_7();
  19520. NullCheck(L_23);
  19521. NullCheck(L_19);
  19522. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_19, L_21, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length))));
  19523. // buf.UpdateDigest(d);
  19524. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_24 = V_0;
  19525. RuntimeObject* L_25 = V_1;
  19526. NullCheck(L_24);
  19527. DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084(L_24, L_25, /*hidden argument*/NULL);
  19528. // byte[] hash = DigestUtilities.DoFinal(d);
  19529. RuntimeObject* L_26 = V_1;
  19530. IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  19531. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27;
  19532. L_27 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_26, /*hidden argument*/NULL);
  19533. V_3 = L_27;
  19534. // byte[] signature = mServerCredentials.GenerateCertificateSignature(hash);
  19535. RuntimeObject* L_28 = __this->get_mServerCredentials_11();
  19536. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = V_3;
  19537. NullCheck(L_28);
  19538. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30;
  19539. L_30 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials::GenerateCertificateSignature(System.Byte[]) */, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var, L_28, L_29);
  19540. V_4 = L_30;
  19541. // DigitallySigned signed_params = new DigitallySigned(signatureAndHashAlgorithm, signature);
  19542. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = V_4;
  19543. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_32 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
  19544. DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_32, L_10, L_31, /*hidden argument*/NULL);
  19545. // signed_params.Encode(buf);
  19546. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_33 = V_0;
  19547. NullCheck(L_32);
  19548. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_32, L_33);
  19549. // return buf.ToArray();
  19550. DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_34 = V_0;
  19551. NullCheck(L_34);
  19552. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
  19553. L_35 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_34);
  19554. return L_35;
  19555. }
  19556. }
  19557. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
  19558. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  19559. {
  19560. static bool s_Il2CppMethodInitialized;
  19561. if (!s_Il2CppMethodInitialized)
  19562. {
  19563. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  19564. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
  19565. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
  19566. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  19567. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19568. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19569. s_Il2CppMethodInitialized = true;
  19570. }
  19571. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_0 = NULL;
  19572. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * V_1 = NULL;
  19573. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * V_2 = NULL;
  19574. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_3 = NULL;
  19575. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  19576. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_5 = NULL;
  19577. RuntimeObject* V_6 = NULL;
  19578. {
  19579. // SecurityParameters securityParameters = mContext.SecurityParameters;
  19580. RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  19581. NullCheck(L_0);
  19582. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1;
  19583. L_1 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
  19584. V_0 = L_1;
  19585. // SignerInputBuffer buf = new SignerInputBuffer();
  19586. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_2 = (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF *)il2cpp_codegen_object_new(SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
  19587. SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9(L_2, /*hidden argument*/NULL);
  19588. V_1 = L_2;
  19589. // Stream teeIn = new TeeInputStream(input, buf);
  19590. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
  19591. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_4 = V_1;
  19592. TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * L_5 = (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C *)il2cpp_codegen_object_new(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
  19593. TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B(L_5, L_3, L_4, /*hidden argument*/NULL);
  19594. V_2 = L_5;
  19595. // ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, teeIn);
  19596. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mNamedCurves_4();
  19597. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
  19598. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = V_2;
  19599. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19600. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_9;
  19601. L_9 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_6, L_7, L_8, /*hidden argument*/NULL);
  19602. V_3 = L_9;
  19603. // byte[] point = TlsUtilities.ReadOpaque8(teeIn);
  19604. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_10 = V_2;
  19605. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19606. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
  19607. L_11 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_10, /*hidden argument*/NULL);
  19608. V_4 = L_11;
  19609. // DigitallySigned signed_params = ParseSignature(input);
  19610. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_12 = ___input0;
  19611. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_13;
  19612. L_13 = VirtualFuncInvoker1< DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(19 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ParseSignature(System.IO.Stream) */, __this, L_12);
  19613. V_5 = L_13;
  19614. // ISigner signer = InitVerifyer(mTlsSigner, signed_params.Algorithm, securityParameters);
  19615. RuntimeObject* L_14 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mTlsSigner_3();
  19616. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_15 = V_5;
  19617. NullCheck(L_15);
  19618. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_16;
  19619. L_16 = VirtualFuncInvoker0< SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Algorithm() */, L_15);
  19620. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = V_0;
  19621. RuntimeObject* L_18;
  19622. L_18 = VirtualFuncInvoker3< RuntimeObject*, RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(35 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::InitVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters) */, __this, L_14, L_16, L_17);
  19623. V_6 = L_18;
  19624. // buf.UpdateSigner(signer);
  19625. SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_19 = V_1;
  19626. RuntimeObject* L_20 = V_6;
  19627. NullCheck(L_19);
  19628. SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7(L_19, L_20, /*hidden argument*/NULL);
  19629. // if (!signer.VerifySignature(signed_params.Signature))
  19630. RuntimeObject* L_21 = V_6;
  19631. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_22 = V_5;
  19632. NullCheck(L_22);
  19633. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
  19634. L_23 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_22);
  19635. NullCheck(L_21);
  19636. bool L_24;
  19637. L_24 = InterfaceFuncInvoker1< bool, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::VerifySignature(System.Byte[]) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_21, L_23);
  19638. if (L_24)
  19639. {
  19640. goto IL_0074;
  19641. }
  19642. }
  19643. {
  19644. // throw new TlsFatalAlert(AlertDescription.decrypt_error);
  19645. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_25 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19646. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_25, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
  19647. IL2CPP_RAISE_MANAGED_EXCEPTION(L_25, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056_RuntimeMethod_var)));
  19648. }
  19649. IL_0074:
  19650. {
  19651. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
  19652. // mClientECPointFormats, curve_params, point));
  19653. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
  19654. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_27 = V_3;
  19655. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_28 = V_4;
  19656. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19657. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_29;
  19658. L_29 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_26, L_27, L_28, /*hidden argument*/NULL);
  19659. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_30;
  19660. L_30 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_29, /*hidden argument*/NULL);
  19661. ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->set_mECAgreePublicKey_10(L_30);
  19662. // }
  19663. return;
  19664. }
  19665. }
  19666. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  19667. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  19668. {
  19669. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  19670. int32_t V_1 = 0;
  19671. uint8_t V_2 = 0x0;
  19672. {
  19673. // byte[] types = certificateRequest.CertificateTypes;
  19674. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = ___certificateRequest0;
  19675. NullCheck(L_0);
  19676. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  19677. L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_0);
  19678. V_0 = L_1;
  19679. // for (int i = 0; i < types.Length; ++i)
  19680. V_1 = 0;
  19681. goto IL_0026;
  19682. }
  19683. IL_000b:
  19684. {
  19685. // switch (types[i])
  19686. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  19687. int32_t L_3 = V_1;
  19688. NullCheck(L_2);
  19689. int32_t L_4 = L_3;
  19690. uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  19691. V_2 = L_5;
  19692. uint8_t L_6 = V_2;
  19693. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1))) > ((uint32_t)1))))
  19694. {
  19695. goto IL_0022;
  19696. }
  19697. }
  19698. {
  19699. uint8_t L_7 = V_2;
  19700. if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
  19701. {
  19702. goto IL_0022;
  19703. }
  19704. }
  19705. {
  19706. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  19707. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19708. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  19709. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C_RuntimeMethod_var)));
  19710. }
  19711. IL_0022:
  19712. {
  19713. // for (int i = 0; i < types.Length; ++i)
  19714. int32_t L_9 = V_1;
  19715. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
  19716. }
  19717. IL_0026:
  19718. {
  19719. // for (int i = 0; i < types.Length; ++i)
  19720. int32_t L_10 = V_1;
  19721. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_0;
  19722. NullCheck(L_11);
  19723. if ((((int32_t)L_10) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))))
  19724. {
  19725. goto IL_000b;
  19726. }
  19727. }
  19728. {
  19729. // }
  19730. return;
  19731. }
  19732. }
  19733. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  19734. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
  19735. {
  19736. static bool s_Il2CppMethodInitialized;
  19737. if (!s_Il2CppMethodInitialized)
  19738. {
  19739. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  19740. s_Il2CppMethodInitialized = true;
  19741. }
  19742. {
  19743. // if (clientCredentials is TlsSignerCredentials)
  19744. RuntimeObject* L_0 = ___clientCredentials0;
  19745. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  19746. {
  19747. goto IL_0010;
  19748. }
  19749. }
  19750. {
  19751. // throw new TlsFatalAlert(AlertDescription.internal_error);
  19752. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  19753. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  19754. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902_RuntimeMethod_var)));
  19755. }
  19756. IL_0010:
  19757. {
  19758. // }
  19759. return;
  19760. }
  19761. }
  19762. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::InitVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  19763. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsECDheKeyExchange_InitVerifyer_mE545C1A5A9CC6F560E7F364BC17FB0853D595381 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___tlsSigner0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm1, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters2, const RuntimeMethod* method)
  19764. {
  19765. static bool s_Il2CppMethodInitialized;
  19766. if (!s_Il2CppMethodInitialized)
  19767. {
  19768. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  19769. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  19770. s_Il2CppMethodInitialized = true;
  19771. }
  19772. {
  19773. // ISigner signer = tlsSigner.CreateVerifyer(algorithm, this.mServerPublicKey);
  19774. RuntimeObject* L_0 = ___tlsSigner0;
  19775. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_1 = ___algorithm1;
  19776. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_2 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mServerPublicKey_7();
  19777. NullCheck(L_0);
  19778. RuntimeObject* L_3;
  19779. L_3 = InterfaceFuncInvoker2< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * >::Invoke(8 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::CreateVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_0, L_1, L_2);
  19780. // signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
  19781. RuntimeObject* L_4 = L_3;
  19782. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = ___securityParameters2;
  19783. NullCheck(L_5);
  19784. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5->get_clientRandom_6();
  19785. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_7 = ___securityParameters2;
  19786. NullCheck(L_7);
  19787. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = L_7->get_clientRandom_6();
  19788. NullCheck(L_8);
  19789. NullCheck(L_4);
  19790. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_4, L_6, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))));
  19791. // signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
  19792. RuntimeObject* L_9 = L_4;
  19793. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ___securityParameters2;
  19794. NullCheck(L_10);
  19795. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = L_10->get_serverRandom_7();
  19796. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_12 = ___securityParameters2;
  19797. NullCheck(L_12);
  19798. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = L_12->get_serverRandom_7();
  19799. NullCheck(L_13);
  19800. NullCheck(L_9);
  19801. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_9, L_11, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))));
  19802. // return signer;
  19803. return L_9;
  19804. }
  19805. }
  19806. #ifdef __clang__
  19807. #pragma clang diagnostic pop
  19808. #endif
  19809. #ifdef __clang__
  19810. #pragma clang diagnostic push
  19811. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  19812. #pragma clang diagnostic ignored "-Wunused-variable"
  19813. #endif
  19814. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  19815. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsECDsaSigner_IsValidPublicKey_m5306215B916FD04302B440D25ED36A5B187C2571 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
  19816. {
  19817. static bool s_Il2CppMethodInitialized;
  19818. if (!s_Il2CppMethodInitialized)
  19819. {
  19820. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
  19821. s_Il2CppMethodInitialized = true;
  19822. }
  19823. {
  19824. // return publicKey is ECPublicKeyParameters;
  19825. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
  19826. return (bool)((!(((RuntimeObject*)(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)IsInstClass((RuntimeObject*)L_0, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
  19827. }
  19828. }
  19829. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::CreateDsaImpl(System.Byte)
  19830. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsECDsaSigner_CreateDsaImpl_m8D4CDE5624AAF3ABA71C04599A6CB8D4F84B3474 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, uint8_t ___hashAlgorithm0, const RuntimeMethod* method)
  19831. {
  19832. static bool s_Il2CppMethodInitialized;
  19833. if (!s_Il2CppMethodInitialized)
  19834. {
  19835. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var);
  19836. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
  19837. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19838. s_Il2CppMethodInitialized = true;
  19839. }
  19840. {
  19841. // return new ECDsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm)));
  19842. uint8_t L_0 = ___hashAlgorithm0;
  19843. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19844. RuntimeObject* L_1;
  19845. L_1 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_0, /*hidden argument*/NULL);
  19846. HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * L_2 = (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E *)il2cpp_codegen_object_new(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
  19847. HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53(L_2, L_1, /*hidden argument*/NULL);
  19848. ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 * L_3 = (ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 *)il2cpp_codegen_object_new(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var);
  19849. ECDsaSigner__ctor_mBBB83A299E4CEC6C914599E18856086222C54D1C(L_3, L_2, /*hidden argument*/NULL);
  19850. return L_3;
  19851. }
  19852. }
  19853. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::get_SignatureAlgorithm()
  19854. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsECDsaSigner_get_SignatureAlgorithm_mC3C9C66C337D8A88B04C7299BAD79F2BAD7A20F0 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method)
  19855. {
  19856. {
  19857. // get { return Tls.SignatureAlgorithm.ecdsa; }
  19858. return (uint8_t)3;
  19859. }
  19860. }
  19861. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::.ctor()
  19862. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method)
  19863. {
  19864. {
  19865. TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284(__this, /*hidden argument*/NULL);
  19866. return;
  19867. }
  19868. }
  19869. #ifdef __clang__
  19870. #pragma clang diagnostic pop
  19871. #endif
  19872. #ifdef __clang__
  19873. #pragma clang diagnostic push
  19874. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  19875. #pragma clang diagnostic ignored "-Wunused-variable"
  19876. #endif
  19877. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AddSupportedEllipticCurvesExtension(System.Collections.IDictionary,System.Int32[])
  19878. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_AddSupportedEllipticCurvesExtension_m9FFB42BFF8CBE53C523F74BE68521BB1456EADD3 (RuntimeObject* ___extensions0, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves1, const RuntimeMethod* method)
  19879. {
  19880. static bool s_Il2CppMethodInitialized;
  19881. if (!s_Il2CppMethodInitialized)
  19882. {
  19883. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  19884. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  19885. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19886. s_Il2CppMethodInitialized = true;
  19887. }
  19888. {
  19889. // extensions[ExtensionType.elliptic_curves] = CreateSupportedEllipticCurvesExtension(namedCurves);
  19890. RuntimeObject* L_0 = ___extensions0;
  19891. int32_t L_1 = ((int32_t)10);
  19892. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  19893. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves1;
  19894. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19895. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  19896. L_4 = TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49(L_3, /*hidden argument*/NULL);
  19897. NullCheck(L_0);
  19898. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  19899. // }
  19900. return;
  19901. }
  19902. }
  19903. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AddSupportedPointFormatsExtension(System.Collections.IDictionary,System.Byte[])
  19904. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_AddSupportedPointFormatsExtension_m7A59C05599BC96FB3219342AE6069CDDFA164A95 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, const RuntimeMethod* method)
  19905. {
  19906. static bool s_Il2CppMethodInitialized;
  19907. if (!s_Il2CppMethodInitialized)
  19908. {
  19909. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  19910. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  19911. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19912. s_Il2CppMethodInitialized = true;
  19913. }
  19914. {
  19915. // extensions[ExtensionType.ec_point_formats] = CreateSupportedPointFormatsExtension(ecPointFormats);
  19916. RuntimeObject* L_0 = ___extensions0;
  19917. int32_t L_1 = ((int32_t)11);
  19918. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  19919. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___ecPointFormats1;
  19920. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19921. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  19922. L_4 = TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E(L_3, /*hidden argument*/NULL);
  19923. NullCheck(L_0);
  19924. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  19925. // }
  19926. return;
  19927. }
  19928. }
  19929. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetSupportedEllipticCurvesExtension(System.Collections.IDictionary)
  19930. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_GetSupportedEllipticCurvesExtension_m1F9EAF4F2C78E03A152F8944EC7E007A46E6C64F (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  19931. {
  19932. static bool s_Il2CppMethodInitialized;
  19933. if (!s_Il2CppMethodInitialized)
  19934. {
  19935. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19936. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19937. s_Il2CppMethodInitialized = true;
  19938. }
  19939. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  19940. {
  19941. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.elliptic_curves);
  19942. RuntimeObject* L_0 = ___extensions0;
  19943. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19944. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  19945. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)10), /*hidden argument*/NULL);
  19946. V_0 = L_1;
  19947. // return extensionData == null ? null : ReadSupportedEllipticCurvesExtension(extensionData);
  19948. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  19949. if (!L_2)
  19950. {
  19951. goto IL_0013;
  19952. }
  19953. }
  19954. {
  19955. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  19956. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19957. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4;
  19958. L_4 = TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58(L_3, /*hidden argument*/NULL);
  19959. return L_4;
  19960. }
  19961. IL_0013:
  19962. {
  19963. return (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)NULL;
  19964. }
  19965. }
  19966. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetSupportedPointFormatsExtension(System.Collections.IDictionary)
  19967. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_GetSupportedPointFormatsExtension_m09428BD27B8485621E96C1D858D914533A518198 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  19968. {
  19969. static bool s_Il2CppMethodInitialized;
  19970. if (!s_Il2CppMethodInitialized)
  19971. {
  19972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19973. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19974. s_Il2CppMethodInitialized = true;
  19975. }
  19976. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  19977. {
  19978. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.ec_point_formats);
  19979. RuntimeObject* L_0 = ___extensions0;
  19980. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  19981. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  19982. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)11), /*hidden argument*/NULL);
  19983. V_0 = L_1;
  19984. // return extensionData == null ? null : ReadSupportedPointFormatsExtension(extensionData);
  19985. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  19986. if (!L_2)
  19987. {
  19988. goto IL_0013;
  19989. }
  19990. }
  19991. {
  19992. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  19993. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  19994. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  19995. L_4 = TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B(L_3, /*hidden argument*/NULL);
  19996. return L_4;
  19997. }
  19998. IL_0013:
  19999. {
  20000. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  20001. }
  20002. }
  20003. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedEllipticCurvesExtension(System.Int32[])
  20004. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, const RuntimeMethod* method)
  20005. {
  20006. static bool s_Il2CppMethodInitialized;
  20007. if (!s_Il2CppMethodInitialized)
  20008. {
  20009. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20010. s_Il2CppMethodInitialized = true;
  20011. }
  20012. {
  20013. // if (namedCurves == null || namedCurves.Length < 1)
  20014. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves0;
  20015. if (!L_0)
  20016. {
  20017. goto IL_0009;
  20018. }
  20019. }
  20020. {
  20021. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves0;
  20022. NullCheck(L_1);
  20023. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) >= ((int32_t)1)))
  20024. {
  20025. goto IL_0011;
  20026. }
  20027. }
  20028. IL_0009:
  20029. {
  20030. // throw new TlsFatalAlert(AlertDescription.internal_error);
  20031. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20032. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  20033. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49_RuntimeMethod_var)));
  20034. }
  20035. IL_0011:
  20036. {
  20037. // return TlsUtilities.EncodeUint16ArrayWithUint16Length(namedCurves);
  20038. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves0;
  20039. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20040. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  20041. L_4 = TlsUtilities_EncodeUint16ArrayWithUint16Length_m6E193436638D2ECF09204654D561C3F75837997E(L_3, /*hidden argument*/NULL);
  20042. return L_4;
  20043. }
  20044. }
  20045. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedPointFormatsExtension(System.Byte[])
  20046. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, const RuntimeMethod* method)
  20047. {
  20048. static bool s_Il2CppMethodInitialized;
  20049. if (!s_Il2CppMethodInitialized)
  20050. {
  20051. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20052. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20053. s_Il2CppMethodInitialized = true;
  20054. }
  20055. {
  20056. // if (ecPointFormats == null || !Arrays.Contains(ecPointFormats, ECPointFormat.uncompressed))
  20057. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
  20058. if (!L_0)
  20059. {
  20060. goto IL_000c;
  20061. }
  20062. }
  20063. {
  20064. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ecPointFormats0;
  20065. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20066. bool L_2;
  20067. L_2 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_1, (uint8_t)0, /*hidden argument*/NULL);
  20068. if (L_2)
  20069. {
  20070. goto IL_0015;
  20071. }
  20072. }
  20073. IL_000c:
  20074. {
  20075. // ecPointFormats = Arrays.Append(ecPointFormats, ECPointFormat.uncompressed);
  20076. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___ecPointFormats0;
  20077. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20078. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  20079. L_4 = Arrays_Append_mF0524124CC987A6B227F90E067B2D49C7E9B3453(L_3, (uint8_t)0, /*hidden argument*/NULL);
  20080. ___ecPointFormats0 = L_4;
  20081. }
  20082. IL_0015:
  20083. {
  20084. // return TlsUtilities.EncodeUint8ArrayWithUint8Length(ecPointFormats);
  20085. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___ecPointFormats0;
  20086. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20087. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  20088. L_6 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_5, /*hidden argument*/NULL);
  20089. return L_6;
  20090. }
  20091. }
  20092. // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedEllipticCurvesExtension(System.Byte[])
  20093. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  20094. {
  20095. static bool s_Il2CppMethodInitialized;
  20096. if (!s_Il2CppMethodInitialized)
  20097. {
  20098. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  20099. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20100. s_Il2CppMethodInitialized = true;
  20101. }
  20102. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  20103. int32_t V_1 = 0;
  20104. {
  20105. // if (extensionData == null)
  20106. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  20107. if (L_0)
  20108. {
  20109. goto IL_000e;
  20110. }
  20111. }
  20112. {
  20113. // throw new ArgumentNullException("extensionData");
  20114. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  20115. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  20116. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var)));
  20117. }
  20118. IL_000e:
  20119. {
  20120. // MemoryStream buf = new MemoryStream(extensionData, false);
  20121. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  20122. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  20123. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
  20124. V_0 = L_3;
  20125. // int length = TlsUtilities.ReadUint16(buf);
  20126. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
  20127. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20128. int32_t L_5;
  20129. L_5 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_4, /*hidden argument*/NULL);
  20130. V_1 = L_5;
  20131. // if (length < 2 || (length & 1) != 0)
  20132. int32_t L_6 = V_1;
  20133. if ((((int32_t)L_6) < ((int32_t)2)))
  20134. {
  20135. goto IL_0026;
  20136. }
  20137. }
  20138. {
  20139. int32_t L_7 = V_1;
  20140. if (!((int32_t)((int32_t)L_7&(int32_t)1)))
  20141. {
  20142. goto IL_002e;
  20143. }
  20144. }
  20145. IL_0026:
  20146. {
  20147. // throw new TlsFatalAlert(AlertDescription.decode_error);
  20148. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20149. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  20150. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var)));
  20151. }
  20152. IL_002e:
  20153. {
  20154. // int[] namedCurves = TlsUtilities.ReadUint16Array(length / 2, buf);
  20155. int32_t L_9 = V_1;
  20156. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
  20157. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20158. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11;
  20159. L_11 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_9/(int32_t)2)), L_10, /*hidden argument*/NULL);
  20160. // TlsProtocol.AssertEmpty(buf);
  20161. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = V_0;
  20162. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_12, /*hidden argument*/NULL);
  20163. // return namedCurves;
  20164. return L_11;
  20165. }
  20166. }
  20167. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedPointFormatsExtension(System.Byte[])
  20168. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  20169. {
  20170. static bool s_Il2CppMethodInitialized;
  20171. if (!s_Il2CppMethodInitialized)
  20172. {
  20173. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20174. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20175. s_Il2CppMethodInitialized = true;
  20176. }
  20177. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
  20178. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
  20179. {
  20180. // byte[] ecPointFormats = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
  20181. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  20182. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  20183. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  20184. L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
  20185. // if (!Arrays.Contains(ecPointFormats, ECPointFormat.uncompressed))
  20186. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
  20187. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20188. bool L_3;
  20189. L_3 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_2, (uint8_t)0, /*hidden argument*/NULL);
  20190. G_B1_0 = L_2;
  20191. if (L_3)
  20192. {
  20193. G_B2_0 = L_2;
  20194. goto IL_0017;
  20195. }
  20196. }
  20197. {
  20198. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  20199. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20200. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  20201. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B_RuntimeMethod_var)));
  20202. }
  20203. IL_0017:
  20204. {
  20205. // return ecPointFormats;
  20206. return G_B2_0;
  20207. }
  20208. }
  20209. // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetNameOfNamedCurve(System.Int32)
  20210. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7 (int32_t ___namedCurve0, const RuntimeMethod* method)
  20211. {
  20212. static bool s_Il2CppMethodInitialized;
  20213. if (!s_Il2CppMethodInitialized)
  20214. {
  20215. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20216. s_Il2CppMethodInitialized = true;
  20217. }
  20218. {
  20219. // return IsSupportedNamedCurve(namedCurve) ? CurveNames[namedCurve - 1] : null;
  20220. int32_t L_0 = ___namedCurve0;
  20221. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20222. bool L_1;
  20223. L_1 = TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E(L_0, /*hidden argument*/NULL);
  20224. if (L_1)
  20225. {
  20226. goto IL_000a;
  20227. }
  20228. }
  20229. {
  20230. return (String_t*)NULL;
  20231. }
  20232. IL_000a:
  20233. {
  20234. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20235. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
  20236. int32_t L_3 = ___namedCurve0;
  20237. NullCheck(L_2);
  20238. int32_t L_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1));
  20239. String_t* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  20240. return L_5;
  20241. }
  20242. }
  20243. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetParametersForNamedCurve(System.Int32)
  20244. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC (int32_t ___namedCurve0, const RuntimeMethod* method)
  20245. {
  20246. static bool s_Il2CppMethodInitialized;
  20247. if (!s_Il2CppMethodInitialized)
  20248. {
  20249. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var);
  20250. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
  20251. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20252. s_Il2CppMethodInitialized = true;
  20253. }
  20254. String_t* V_0 = NULL;
  20255. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * V_1 = NULL;
  20256. {
  20257. // string curveName = GetNameOfNamedCurve(namedCurve);
  20258. int32_t L_0 = ___namedCurve0;
  20259. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20260. String_t* L_1;
  20261. L_1 = TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7(L_0, /*hidden argument*/NULL);
  20262. V_0 = L_1;
  20263. // if (curveName == null)
  20264. String_t* L_2 = V_0;
  20265. if (L_2)
  20266. {
  20267. goto IL_000c;
  20268. }
  20269. }
  20270. {
  20271. // return null;
  20272. return (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
  20273. }
  20274. IL_000c:
  20275. {
  20276. // X9ECParameters ecP = CustomNamedCurves.GetByName(curveName);
  20277. String_t* L_3 = V_0;
  20278. IL2CPP_RUNTIME_CLASS_INIT(CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var);
  20279. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_4;
  20280. L_4 = CustomNamedCurves_GetByName_m3714C5F15D87C5C1EE6A4590996959CFC38392A9(L_3, /*hidden argument*/NULL);
  20281. V_1 = L_4;
  20282. // if (ecP == null)
  20283. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_5 = V_1;
  20284. if (L_5)
  20285. {
  20286. goto IL_0022;
  20287. }
  20288. }
  20289. {
  20290. // ecP = ECNamedCurveTable.GetByName(curveName);
  20291. String_t* L_6 = V_0;
  20292. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_7;
  20293. L_7 = ECNamedCurveTable_GetByName_mA8DE78BC6D92A23D063E9E1590CB30E5ECC1ECEA(L_6, /*hidden argument*/NULL);
  20294. V_1 = L_7;
  20295. // if (ecP == null)
  20296. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_8 = V_1;
  20297. if (L_8)
  20298. {
  20299. goto IL_0022;
  20300. }
  20301. }
  20302. {
  20303. // return null;
  20304. return (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
  20305. }
  20306. IL_0022:
  20307. {
  20308. // return new ECDomainParameters(ecP.Curve, ecP.G, ecP.N, ecP.H, ecP.GetSeed());
  20309. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_9 = V_1;
  20310. NullCheck(L_9);
  20311. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_10;
  20312. L_10 = X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline(L_9, /*hidden argument*/NULL);
  20313. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_11 = V_1;
  20314. NullCheck(L_11);
  20315. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_12;
  20316. L_12 = X9ECParameters_get_G_m3E5E2F14805084623F3ABD4B9A98CDB8A72D2C71(L_11, /*hidden argument*/NULL);
  20317. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_13 = V_1;
  20318. NullCheck(L_13);
  20319. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_14;
  20320. L_14 = X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline(L_13, /*hidden argument*/NULL);
  20321. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_15 = V_1;
  20322. NullCheck(L_15);
  20323. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_16;
  20324. L_16 = X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline(L_15, /*hidden argument*/NULL);
  20325. X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_17 = V_1;
  20326. NullCheck(L_17);
  20327. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
  20328. L_18 = X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline(L_17, /*hidden argument*/NULL);
  20329. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_19 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
  20330. ECDomainParameters__ctor_m215ED4F7FB06CDD0F9AC3C670B20B1B75E03B47B(L_19, L_10, L_12, L_14, L_16, L_18, /*hidden argument*/NULL);
  20331. return L_19;
  20332. }
  20333. }
  20334. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::HasAnySupportedNamedCurves()
  20335. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_HasAnySupportedNamedCurves_m4222F55BB9E225D9341EFCBABB1D39C9E847EB2F (const RuntimeMethod* method)
  20336. {
  20337. static bool s_Il2CppMethodInitialized;
  20338. if (!s_Il2CppMethodInitialized)
  20339. {
  20340. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20341. s_Il2CppMethodInitialized = true;
  20342. }
  20343. {
  20344. // return CurveNames.Length > 0;
  20345. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20346. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
  20347. NullCheck(L_0);
  20348. return (bool)((!(((uint32_t)(((RuntimeArray*)L_0)->max_length)) <= ((uint32_t)0)))? 1 : 0);
  20349. }
  20350. }
  20351. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ContainsEccCipherSuites(System.Int32[])
  20352. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_ContainsEccCipherSuites_m647EB4ED329A9B2DB443612751C5D1D63A6E33B7 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___cipherSuites0, const RuntimeMethod* method)
  20353. {
  20354. static bool s_Il2CppMethodInitialized;
  20355. if (!s_Il2CppMethodInitialized)
  20356. {
  20357. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20358. s_Il2CppMethodInitialized = true;
  20359. }
  20360. int32_t V_0 = 0;
  20361. {
  20362. // for (int i = 0; i < cipherSuites.Length; ++i)
  20363. V_0 = 0;
  20364. goto IL_0014;
  20365. }
  20366. IL_0004:
  20367. {
  20368. // if (IsEccCipherSuite(cipherSuites[i]))
  20369. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___cipherSuites0;
  20370. int32_t L_1 = V_0;
  20371. NullCheck(L_0);
  20372. int32_t L_2 = L_1;
  20373. int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
  20374. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20375. bool L_4;
  20376. L_4 = TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929(L_3, /*hidden argument*/NULL);
  20377. if (!L_4)
  20378. {
  20379. goto IL_0010;
  20380. }
  20381. }
  20382. {
  20383. // return true;
  20384. return (bool)1;
  20385. }
  20386. IL_0010:
  20387. {
  20388. // for (int i = 0; i < cipherSuites.Length; ++i)
  20389. int32_t L_5 = V_0;
  20390. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
  20391. }
  20392. IL_0014:
  20393. {
  20394. // for (int i = 0; i < cipherSuites.Length; ++i)
  20395. int32_t L_6 = V_0;
  20396. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_7 = ___cipherSuites0;
  20397. NullCheck(L_7);
  20398. if ((((int32_t)L_6) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))))))
  20399. {
  20400. goto IL_0004;
  20401. }
  20402. }
  20403. {
  20404. // return false;
  20405. return (bool)0;
  20406. }
  20407. }
  20408. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsEccCipherSuite(System.Int32)
  20409. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929 (int32_t ___cipherSuite0, const RuntimeMethod* method)
  20410. {
  20411. {
  20412. int32_t L_0 = ___cipherSuite0;
  20413. if ((((int32_t)L_0) > ((int32_t)((int32_t)49307))))
  20414. {
  20415. goto IL_0048;
  20416. }
  20417. }
  20418. {
  20419. int32_t L_1 = ___cipherSuite0;
  20420. if ((((int32_t)L_1) > ((int32_t)((int32_t)49211))))
  20421. {
  20422. goto IL_0028;
  20423. }
  20424. }
  20425. {
  20426. int32_t L_2 = ___cipherSuite0;
  20427. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)49153)))) > ((uint32_t)((int32_t)24)))))
  20428. {
  20429. goto IL_0082;
  20430. }
  20431. }
  20432. {
  20433. int32_t L_3 = ___cipherSuite0;
  20434. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)49187)))) > ((uint32_t)((int32_t)24)))))
  20435. {
  20436. goto IL_0082;
  20437. }
  20438. }
  20439. {
  20440. goto IL_0084;
  20441. }
  20442. IL_0028:
  20443. {
  20444. int32_t L_4 = ___cipherSuite0;
  20445. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)49266)))) > ((uint32_t)7))))
  20446. {
  20447. goto IL_0082;
  20448. }
  20449. }
  20450. {
  20451. int32_t L_5 = ___cipherSuite0;
  20452. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)49286)))) > ((uint32_t)7))))
  20453. {
  20454. goto IL_0082;
  20455. }
  20456. }
  20457. {
  20458. int32_t L_6 = ___cipherSuite0;
  20459. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)49306)))) > ((uint32_t)1))))
  20460. {
  20461. goto IL_0082;
  20462. }
  20463. }
  20464. {
  20465. goto IL_0084;
  20466. }
  20467. IL_0048:
  20468. {
  20469. int32_t L_7 = ___cipherSuite0;
  20470. if ((((int32_t)L_7) > ((int32_t)((int32_t)52393))))
  20471. {
  20472. goto IL_0066;
  20473. }
  20474. }
  20475. {
  20476. int32_t L_8 = ___cipherSuite0;
  20477. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)49324)))) > ((uint32_t)3))))
  20478. {
  20479. goto IL_0082;
  20480. }
  20481. }
  20482. {
  20483. int32_t L_9 = ___cipherSuite0;
  20484. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)52392)))) > ((uint32_t)1))))
  20485. {
  20486. goto IL_0082;
  20487. }
  20488. }
  20489. {
  20490. goto IL_0084;
  20491. }
  20492. IL_0066:
  20493. {
  20494. int32_t L_10 = ___cipherSuite0;
  20495. if ((((int32_t)L_10) == ((int32_t)((int32_t)52396))))
  20496. {
  20497. goto IL_0082;
  20498. }
  20499. }
  20500. {
  20501. int32_t L_11 = ___cipherSuite0;
  20502. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)65282)))) > ((uint32_t)3))))
  20503. {
  20504. goto IL_0082;
  20505. }
  20506. }
  20507. {
  20508. int32_t L_12 = ___cipherSuite0;
  20509. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)((int32_t)65300)))) <= ((uint32_t)1))))
  20510. {
  20511. goto IL_0084;
  20512. }
  20513. }
  20514. IL_0082:
  20515. {
  20516. // return true;
  20517. return (bool)1;
  20518. }
  20519. IL_0084:
  20520. {
  20521. // return false;
  20522. return (bool)0;
  20523. }
  20524. }
  20525. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AreOnSameCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
  20526. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_AreOnSameCurve_m904BD2700113464708FF5B8E115CF405439EBA3C (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___a0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___b1, const RuntimeMethod* method)
  20527. {
  20528. {
  20529. // return a != null && a.Equals(b);
  20530. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = ___a0;
  20531. if (!L_0)
  20532. {
  20533. goto IL_000b;
  20534. }
  20535. }
  20536. {
  20537. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___a0;
  20538. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_2 = ___b1;
  20539. NullCheck(L_1);
  20540. bool L_3;
  20541. L_3 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_1, L_2);
  20542. return L_3;
  20543. }
  20544. IL_000b:
  20545. {
  20546. return (bool)0;
  20547. }
  20548. }
  20549. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsSupportedNamedCurve(System.Int32)
  20550. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E (int32_t ___namedCurve0, const RuntimeMethod* method)
  20551. {
  20552. static bool s_Il2CppMethodInitialized;
  20553. if (!s_Il2CppMethodInitialized)
  20554. {
  20555. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20556. s_Il2CppMethodInitialized = true;
  20557. }
  20558. {
  20559. // return (namedCurve > 0 && namedCurve <= CurveNames.Length);
  20560. int32_t L_0 = ___namedCurve0;
  20561. if ((((int32_t)L_0) <= ((int32_t)0)))
  20562. {
  20563. goto IL_0012;
  20564. }
  20565. }
  20566. {
  20567. int32_t L_1 = ___namedCurve0;
  20568. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20569. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
  20570. NullCheck(L_2);
  20571. return (bool)((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  20572. }
  20573. IL_0012:
  20574. {
  20575. return (bool)0;
  20576. }
  20577. }
  20578. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsCompressionPreferred(System.Byte[],System.Byte)
  20579. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, uint8_t ___compressionFormat1, const RuntimeMethod* method)
  20580. {
  20581. int32_t V_0 = 0;
  20582. uint8_t V_1 = 0x0;
  20583. {
  20584. // if (ecPointFormats == null)
  20585. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
  20586. if (L_0)
  20587. {
  20588. goto IL_0005;
  20589. }
  20590. }
  20591. {
  20592. // return false;
  20593. return (bool)0;
  20594. }
  20595. IL_0005:
  20596. {
  20597. // for (int i = 0; i < ecPointFormats.Length; ++i)
  20598. V_0 = 0;
  20599. goto IL_001c;
  20600. }
  20601. IL_0009:
  20602. {
  20603. // byte ecPointFormat = ecPointFormats[i];
  20604. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ecPointFormats0;
  20605. int32_t L_2 = V_0;
  20606. NullCheck(L_1);
  20607. int32_t L_3 = L_2;
  20608. uint8_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  20609. V_1 = L_4;
  20610. // if (ecPointFormat == ECPointFormat.uncompressed)
  20611. uint8_t L_5 = V_1;
  20612. if (L_5)
  20613. {
  20614. goto IL_0012;
  20615. }
  20616. }
  20617. {
  20618. // return false;
  20619. return (bool)0;
  20620. }
  20621. IL_0012:
  20622. {
  20623. // if (ecPointFormat == compressionFormat)
  20624. uint8_t L_6 = V_1;
  20625. uint8_t L_7 = ___compressionFormat1;
  20626. if ((!(((uint32_t)L_6) == ((uint32_t)L_7))))
  20627. {
  20628. goto IL_0018;
  20629. }
  20630. }
  20631. {
  20632. // return true;
  20633. return (bool)1;
  20634. }
  20635. IL_0018:
  20636. {
  20637. // for (int i = 0; i < ecPointFormats.Length; ++i)
  20638. int32_t L_8 = V_0;
  20639. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
  20640. }
  20641. IL_001c:
  20642. {
  20643. // for (int i = 0; i < ecPointFormats.Length; ++i)
  20644. int32_t L_9 = V_0;
  20645. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___ecPointFormats0;
  20646. NullCheck(L_10);
  20647. if ((((int32_t)L_9) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length))))))
  20648. {
  20649. goto IL_0009;
  20650. }
  20651. }
  20652. {
  20653. // return false;
  20654. return (bool)0;
  20655. }
  20656. }
  20657. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
  20658. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, const RuntimeMethod* method)
  20659. {
  20660. {
  20661. // return BigIntegers.AsUnsignedByteArray((fieldSize + 7) / 8, x);
  20662. int32_t L_0 = ___fieldSize0;
  20663. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1 = ___x1;
  20664. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  20665. L_2 = BigIntegers_AsUnsignedByteArray_mBECE598E3ED13CE9ED432BF265638BEF19A5B755(((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)7))/(int32_t)8)), L_1, /*hidden argument*/NULL);
  20666. return L_2;
  20667. }
  20668. }
  20669. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint)
  20670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, const RuntimeMethod* method)
  20671. {
  20672. static bool s_Il2CppMethodInitialized;
  20673. if (!s_Il2CppMethodInitialized)
  20674. {
  20675. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20676. s_Il2CppMethodInitialized = true;
  20677. }
  20678. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_0 = NULL;
  20679. bool V_1 = false;
  20680. {
  20681. // ECCurve curve = point.Curve;
  20682. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = ___point1;
  20683. NullCheck(L_0);
  20684. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_1;
  20685. L_1 = VirtualFuncInvoker0< ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::get_Curve() */, L_0);
  20686. V_0 = L_1;
  20687. // bool compressed = false;
  20688. V_1 = (bool)0;
  20689. // if (ECAlgorithms.IsFpCurve(curve))
  20690. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2 = V_0;
  20691. bool L_3;
  20692. L_3 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_2, /*hidden argument*/NULL);
  20693. if (!L_3)
  20694. {
  20695. goto IL_001b;
  20696. }
  20697. }
  20698. {
  20699. // compressed = IsCompressionPreferred(ecPointFormats, ECPointFormat.ansiX962_compressed_prime);
  20700. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___ecPointFormats0;
  20701. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20702. bool L_5;
  20703. L_5 = TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98(L_4, (uint8_t)1, /*hidden argument*/NULL);
  20704. V_1 = L_5;
  20705. // }
  20706. goto IL_002b;
  20707. }
  20708. IL_001b:
  20709. {
  20710. // else if (ECAlgorithms.IsF2mCurve(curve))
  20711. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_6 = V_0;
  20712. bool L_7;
  20713. L_7 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_6, /*hidden argument*/NULL);
  20714. if (!L_7)
  20715. {
  20716. goto IL_002b;
  20717. }
  20718. }
  20719. {
  20720. // compressed = IsCompressionPreferred(ecPointFormats, ECPointFormat.ansiX962_compressed_char2);
  20721. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___ecPointFormats0;
  20722. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20723. bool L_9;
  20724. L_9 = TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98(L_8, (uint8_t)2, /*hidden argument*/NULL);
  20725. V_1 = L_9;
  20726. }
  20727. IL_002b:
  20728. {
  20729. // return point.GetEncoded(compressed);
  20730. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_10 = ___point1;
  20731. bool L_11 = V_1;
  20732. NullCheck(L_10);
  20733. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
  20734. L_12 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, bool >::Invoke(24 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::GetEncoded(System.Boolean) */, L_10, L_11);
  20735. return L_12;
  20736. }
  20737. }
  20738. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPublicKey(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
  20739. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPublicKey_m33A2C1D113A1BCC1CEC55E07299383693BF93DFE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___keyParameters1, const RuntimeMethod* method)
  20740. {
  20741. static bool s_Il2CppMethodInitialized;
  20742. if (!s_Il2CppMethodInitialized)
  20743. {
  20744. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20745. s_Il2CppMethodInitialized = true;
  20746. }
  20747. {
  20748. // return SerializeECPoint(ecPointFormats, keyParameters.Q);
  20749. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
  20750. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_1 = ___keyParameters1;
  20751. NullCheck(L_1);
  20752. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_2;
  20753. L_2 = ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline(L_1, /*hidden argument*/NULL);
  20754. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20755. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  20756. L_3 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_0, L_2, /*hidden argument*/NULL);
  20757. return L_3;
  20758. }
  20759. }
  20760. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECFieldElement(System.Int32,System.Byte[])
  20761. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9 (int32_t ___fieldSize0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding1, const RuntimeMethod* method)
  20762. {
  20763. static bool s_Il2CppMethodInitialized;
  20764. if (!s_Il2CppMethodInitialized)
  20765. {
  20766. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  20767. s_Il2CppMethodInitialized = true;
  20768. }
  20769. int32_t V_0 = 0;
  20770. {
  20771. // int requiredLength = (fieldSize + 7) / 8;
  20772. int32_t L_0 = ___fieldSize0;
  20773. V_0 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)7))/(int32_t)8));
  20774. // if (encoding.Length != requiredLength)
  20775. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___encoding1;
  20776. NullCheck(L_1);
  20777. int32_t L_2 = V_0;
  20778. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) == ((int32_t)L_2)))
  20779. {
  20780. goto IL_0014;
  20781. }
  20782. }
  20783. {
  20784. // throw new TlsFatalAlert(AlertDescription.decode_error);
  20785. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20786. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  20787. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9_RuntimeMethod_var)));
  20788. }
  20789. IL_0014:
  20790. {
  20791. // return new BigInteger(1, encoding);
  20792. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___encoding1;
  20793. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  20794. BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_5, 1, L_4, /*hidden argument*/NULL);
  20795. return L_5;
  20796. }
  20797. }
  20798. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,System.Byte[])
  20799. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method)
  20800. {
  20801. static bool s_Il2CppMethodInitialized;
  20802. if (!s_Il2CppMethodInitialized)
  20803. {
  20804. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20805. s_Il2CppMethodInitialized = true;
  20806. }
  20807. uint8_t V_0 = 0x0;
  20808. uint8_t V_1 = 0x0;
  20809. {
  20810. // if (encoding == null || encoding.Length < 1)
  20811. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___encoding2;
  20812. if (!L_0)
  20813. {
  20814. goto IL_0009;
  20815. }
  20816. }
  20817. {
  20818. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___encoding2;
  20819. NullCheck(L_1);
  20820. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) >= ((int32_t)1)))
  20821. {
  20822. goto IL_0011;
  20823. }
  20824. }
  20825. IL_0009:
  20826. {
  20827. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  20828. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20829. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  20830. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
  20831. }
  20832. IL_0011:
  20833. {
  20834. // switch (encoding[0])
  20835. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___encoding2;
  20836. NullCheck(L_3);
  20837. int32_t L_4 = 0;
  20838. uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  20839. V_1 = L_5;
  20840. uint8_t L_6 = V_1;
  20841. switch (L_6)
  20842. {
  20843. case 0:
  20844. {
  20845. goto IL_0061;
  20846. }
  20847. case 1:
  20848. {
  20849. goto IL_0061;
  20850. }
  20851. case 2:
  20852. {
  20853. goto IL_003d;
  20854. }
  20855. case 3:
  20856. {
  20857. goto IL_003d;
  20858. }
  20859. case 4:
  20860. {
  20861. goto IL_005d;
  20862. }
  20863. case 5:
  20864. {
  20865. goto IL_0061;
  20866. }
  20867. case 6:
  20868. {
  20869. goto IL_0061;
  20870. }
  20871. case 7:
  20872. {
  20873. goto IL_0061;
  20874. }
  20875. }
  20876. }
  20877. {
  20878. goto IL_0061;
  20879. }
  20880. IL_003d:
  20881. {
  20882. // if (ECAlgorithms.IsF2mCurve(curve))
  20883. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_7 = ___curve1;
  20884. bool L_8;
  20885. L_8 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_7, /*hidden argument*/NULL);
  20886. if (!L_8)
  20887. {
  20888. goto IL_0049;
  20889. }
  20890. }
  20891. {
  20892. // actualFormat = ECPointFormat.ansiX962_compressed_char2;
  20893. V_0 = (uint8_t)2;
  20894. // }
  20895. goto IL_0069;
  20896. }
  20897. IL_0049:
  20898. {
  20899. // else if (ECAlgorithms.IsFpCurve(curve))
  20900. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_9 = ___curve1;
  20901. bool L_10;
  20902. L_10 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_9, /*hidden argument*/NULL);
  20903. if (!L_10)
  20904. {
  20905. goto IL_0055;
  20906. }
  20907. }
  20908. {
  20909. // actualFormat = ECPointFormat.ansiX962_compressed_prime;
  20910. V_0 = (uint8_t)1;
  20911. // }
  20912. goto IL_0069;
  20913. }
  20914. IL_0055:
  20915. {
  20916. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  20917. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20918. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  20919. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
  20920. }
  20921. IL_005d:
  20922. {
  20923. // actualFormat = ECPointFormat.uncompressed;
  20924. V_0 = (uint8_t)0;
  20925. // break;
  20926. goto IL_0069;
  20927. }
  20928. IL_0061:
  20929. {
  20930. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  20931. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20932. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  20933. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
  20934. }
  20935. IL_0069:
  20936. {
  20937. // if (actualFormat != ECPointFormat.uncompressed
  20938. // && (ecPointFormats == null || !Arrays.Contains(ecPointFormats, actualFormat)))
  20939. uint8_t L_13 = V_0;
  20940. if (!L_13)
  20941. {
  20942. goto IL_0080;
  20943. }
  20944. }
  20945. {
  20946. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = ___ecPointFormats0;
  20947. if (!L_14)
  20948. {
  20949. goto IL_0078;
  20950. }
  20951. }
  20952. {
  20953. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___ecPointFormats0;
  20954. uint8_t L_16 = V_0;
  20955. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  20956. bool L_17;
  20957. L_17 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_15, L_16, /*hidden argument*/NULL);
  20958. if (L_17)
  20959. {
  20960. goto IL_0080;
  20961. }
  20962. }
  20963. IL_0078:
  20964. {
  20965. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  20966. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  20967. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  20968. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
  20969. }
  20970. IL_0080:
  20971. {
  20972. // return curve.DecodePoint(encoding);
  20973. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_19 = ___curve1;
  20974. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ___encoding2;
  20975. NullCheck(L_19);
  20976. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_21;
  20977. L_21 = VirtualFuncInvoker1< ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA *, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::DecodePoint(System.Byte[]) */, L_19, L_20);
  20978. return L_21;
  20979. }
  20980. }
  20981. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECPublicKey(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.Byte[])
  20982. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___curve_params1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method)
  20983. {
  20984. static bool s_Il2CppMethodInitialized;
  20985. if (!s_Il2CppMethodInitialized)
  20986. {
  20987. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
  20988. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  20989. s_Il2CppMethodInitialized = true;
  20990. }
  20991. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * V_0 = NULL;
  20992. Exception_t * V_1 = NULL;
  20993. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  20994. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  20995. IL_0000:
  20996. try
  20997. {// begin try (depth: 1)
  20998. // ECPoint Y = DeserializeECPoint(ecPointFormats, curve_params.Curve, encoding);
  20999. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
  21000. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___curve_params1;
  21001. NullCheck(L_1);
  21002. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2;
  21003. L_2 = ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline(L_1, /*hidden argument*/NULL);
  21004. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___encoding2;
  21005. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21006. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_4;
  21007. L_4 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_0, L_2, L_3, /*hidden argument*/NULL);
  21008. // return new ECPublicKeyParameters(Y, curve_params);
  21009. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5 = ___curve_params1;
  21010. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_6 = (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)il2cpp_codegen_object_new(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
  21011. ECPublicKeyParameters__ctor_m48C5771CEB9C073FA70D828B80140DE028691A1A(L_6, L_4, L_5, /*hidden argument*/NULL);
  21012. V_0 = L_6;
  21013. goto IL_0020;
  21014. }// end try (depth: 1)
  21015. catch(Il2CppExceptionWrapper& e)
  21016. {
  21017. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  21018. {
  21019. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  21020. goto CATCH_0016;
  21021. }
  21022. throw e;
  21023. }
  21024. CATCH_0016:
  21025. {// begin catch(System.Exception)
  21026. // catch (Exception e)
  21027. V_1 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  21028. // throw new TlsFatalAlert(AlertDescription.illegal_parameter, e);
  21029. Exception_t * L_7 = V_1;
  21030. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21031. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_8, (uint8_t)((int32_t)47), L_7, /*hidden argument*/NULL);
  21032. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362_RuntimeMethod_var)));
  21033. }// end catch (depth: 1)
  21034. IL_0020:
  21035. {
  21036. // }
  21037. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_9 = V_0;
  21038. return L_9;
  21039. }
  21040. }
  21041. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CalculateECDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters)
  21042. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___publicKey0, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privateKey1, const RuntimeMethod* method)
  21043. {
  21044. static bool s_Il2CppMethodInitialized;
  21045. if (!s_Il2CppMethodInitialized)
  21046. {
  21047. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var);
  21048. s_Il2CppMethodInitialized = true;
  21049. }
  21050. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
  21051. {
  21052. // ECDHBasicAgreement basicAgreement = new ECDHBasicAgreement();
  21053. ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_0 = (ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 *)il2cpp_codegen_object_new(ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var);
  21054. ECDHBasicAgreement__ctor_m00A567A1CDA54D22181A8CF51412E87317BF38A8(L_0, /*hidden argument*/NULL);
  21055. // basicAgreement.Init(privateKey);
  21056. ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_1 = L_0;
  21057. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_2 = ___privateKey1;
  21058. NullCheck(L_1);
  21059. VirtualActionInvoker1< RuntimeObject* >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_1, L_2);
  21060. // BigInteger agreementValue = basicAgreement.CalculateAgreement(publicKey);
  21061. ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_3 = L_1;
  21062. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_4 = ___publicKey0;
  21063. NullCheck(L_3);
  21064. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
  21065. L_5 = VirtualFuncInvoker1< BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *, RuntimeObject* >::Invoke(9 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::CalculateAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_3, L_4);
  21066. V_0 = L_5;
  21067. // return BigIntegers.AsUnsignedByteArray(basicAgreement.GetFieldSize(), agreementValue);
  21068. NullCheck(L_3);
  21069. int32_t L_6;
  21070. L_6 = VirtualFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::GetFieldSize() */, L_3);
  21071. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7 = V_0;
  21072. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
  21073. L_8 = BigIntegers_AsUnsignedByteArray_mBECE598E3ED13CE9ED432BF265638BEF19A5B755(L_6, L_7, /*hidden argument*/NULL);
  21074. return L_8;
  21075. }
  21076. }
  21077. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateECKeyPair(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
  21078. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams1, const RuntimeMethod* method)
  21079. {
  21080. static bool s_Il2CppMethodInitialized;
  21081. if (!s_Il2CppMethodInitialized)
  21082. {
  21083. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var);
  21084. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var);
  21085. s_Il2CppMethodInitialized = true;
  21086. }
  21087. {
  21088. // ECKeyPairGenerator keyPairGenerator = new ECKeyPairGenerator();
  21089. ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * L_0 = (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D *)il2cpp_codegen_object_new(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var);
  21090. ECKeyPairGenerator__ctor_m3E5DF4978F1C839F707272852A3B483C4098B009(L_0, /*hidden argument*/NULL);
  21091. // keyPairGenerator.Init(new ECKeyGenerationParameters(ecParams, random));
  21092. ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * L_1 = L_0;
  21093. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_2 = ___ecParams1;
  21094. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3 = ___random0;
  21095. ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 * L_4 = (ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 *)il2cpp_codegen_object_new(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var);
  21096. ECKeyGenerationParameters__ctor_mA5CB698D521FF64B07B9ECD7B887FF2A061649AC(L_4, L_2, L_3, /*hidden argument*/NULL);
  21097. NullCheck(L_1);
  21098. ECKeyPairGenerator_Init_mF0A022CC0E7AB7ECBFD685EE8FD511A9F19E05DA(L_1, L_4, /*hidden argument*/NULL);
  21099. // return keyPairGenerator.GenerateKeyPair();
  21100. NullCheck(L_1);
  21101. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_5;
  21102. L_5 = ECKeyPairGenerator_GenerateKeyPair_mA51CD7D68EEA360DA677613188956CD3388B2B67(L_1, /*hidden argument*/NULL);
  21103. return L_5;
  21104. }
  21105. }
  21106. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateEphemeralClientKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
  21107. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams2, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output3, const RuntimeMethod* method)
  21108. {
  21109. static bool s_Il2CppMethodInitialized;
  21110. if (!s_Il2CppMethodInitialized)
  21111. {
  21112. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var);
  21113. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
  21114. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21115. s_Il2CppMethodInitialized = true;
  21116. }
  21117. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * V_0 = NULL;
  21118. {
  21119. // AsymmetricCipherKeyPair kp = GenerateECKeyPair(random, ecParams);
  21120. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
  21121. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___ecParams2;
  21122. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21123. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
  21124. L_2 = TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273(L_0, L_1, /*hidden argument*/NULL);
  21125. // ECPublicKeyParameters ecPublicKey = (ECPublicKeyParameters)kp.Public;
  21126. AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
  21127. NullCheck(L_3);
  21128. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
  21129. L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
  21130. V_0 = ((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)CastclassClass((RuntimeObject*)L_4, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var));
  21131. // WriteECPoint(ecPointFormats, ecPublicKey.Q, output);
  21132. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___ecPointFormats1;
  21133. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_6 = V_0;
  21134. NullCheck(L_6);
  21135. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_7;
  21136. L_7 = ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline(L_6, /*hidden argument*/NULL);
  21137. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output3;
  21138. TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D(L_5, L_7, L_8, /*hidden argument*/NULL);
  21139. // return (ECPrivateKeyParameters)kp.Private;
  21140. NullCheck(L_3);
  21141. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_9;
  21142. L_9 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
  21143. return ((ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 *)CastclassClass((RuntimeObject*)L_9, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var));
  21144. }
  21145. }
  21146. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GenerateEphemeralServerKeyExchange(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Int32[],System.Byte[],System.IO.Stream)
  21147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats2, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output3, const RuntimeMethod* method)
  21148. {
  21149. static bool s_Il2CppMethodInitialized;
  21150. if (!s_Il2CppMethodInitialized)
  21151. {
  21152. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  21153. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21154. s_Il2CppMethodInitialized = true;
  21155. }
  21156. int32_t V_0 = 0;
  21157. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_1 = NULL;
  21158. int32_t V_2 = 0;
  21159. int32_t V_3 = 0;
  21160. {
  21161. // int namedCurve = -1;
  21162. V_0 = (-1);
  21163. // if (namedCurves == null)
  21164. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves1;
  21165. if (L_0)
  21166. {
  21167. goto IL_000a;
  21168. }
  21169. }
  21170. {
  21171. // namedCurve = NamedCurve.secp256r1;
  21172. V_0 = ((int32_t)23);
  21173. // }
  21174. goto IL_0030;
  21175. }
  21176. IL_000a:
  21177. {
  21178. // for (int i = 0; i < namedCurves.Length; ++i)
  21179. V_2 = 0;
  21180. goto IL_002a;
  21181. }
  21182. IL_000e:
  21183. {
  21184. // int entry = namedCurves[i];
  21185. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves1;
  21186. int32_t L_2 = V_2;
  21187. NullCheck(L_1);
  21188. int32_t L_3 = L_2;
  21189. int32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  21190. V_3 = L_4;
  21191. // if (NamedCurve.IsValid(entry) && IsSupportedNamedCurve(entry))
  21192. int32_t L_5 = V_3;
  21193. bool L_6;
  21194. L_6 = NamedCurve_IsValid_m0203DA806E64A849497073EE536B9209FB7030C2(L_5, /*hidden argument*/NULL);
  21195. if (!L_6)
  21196. {
  21197. goto IL_0026;
  21198. }
  21199. }
  21200. {
  21201. int32_t L_7 = V_3;
  21202. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21203. bool L_8;
  21204. L_8 = TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E(L_7, /*hidden argument*/NULL);
  21205. if (!L_8)
  21206. {
  21207. goto IL_0026;
  21208. }
  21209. }
  21210. {
  21211. // namedCurve = entry;
  21212. int32_t L_9 = V_3;
  21213. V_0 = L_9;
  21214. // break;
  21215. goto IL_0030;
  21216. }
  21217. IL_0026:
  21218. {
  21219. // for (int i = 0; i < namedCurves.Length; ++i)
  21220. int32_t L_10 = V_2;
  21221. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
  21222. }
  21223. IL_002a:
  21224. {
  21225. // for (int i = 0; i < namedCurves.Length; ++i)
  21226. int32_t L_11 = V_2;
  21227. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_12 = ___namedCurves1;
  21228. NullCheck(L_12);
  21229. if ((((int32_t)L_11) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length))))))
  21230. {
  21231. goto IL_000e;
  21232. }
  21233. }
  21234. IL_0030:
  21235. {
  21236. // ECDomainParameters ecParams = null;
  21237. V_1 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
  21238. // if (namedCurve >= 0)
  21239. int32_t L_13 = V_0;
  21240. if ((((int32_t)L_13) < ((int32_t)0)))
  21241. {
  21242. goto IL_003f;
  21243. }
  21244. }
  21245. {
  21246. // ecParams = GetParametersForNamedCurve(namedCurve);
  21247. int32_t L_14 = V_0;
  21248. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21249. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_15;
  21250. L_15 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(L_14, /*hidden argument*/NULL);
  21251. V_1 = L_15;
  21252. // }
  21253. goto IL_006b;
  21254. }
  21255. IL_003f:
  21256. {
  21257. // if (Arrays.Contains(namedCurves, NamedCurve.arbitrary_explicit_prime_curves))
  21258. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_16 = ___namedCurves1;
  21259. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  21260. bool L_17;
  21261. L_17 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_16, ((int32_t)65281), /*hidden argument*/NULL);
  21262. if (!L_17)
  21263. {
  21264. goto IL_0056;
  21265. }
  21266. }
  21267. {
  21268. // ecParams = GetParametersForNamedCurve(NamedCurve.secp256r1);
  21269. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21270. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_18;
  21271. L_18 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(((int32_t)23), /*hidden argument*/NULL);
  21272. V_1 = L_18;
  21273. // }
  21274. goto IL_006b;
  21275. }
  21276. IL_0056:
  21277. {
  21278. // else if (Arrays.Contains(namedCurves, NamedCurve.arbitrary_explicit_char2_curves))
  21279. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_19 = ___namedCurves1;
  21280. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  21281. bool L_20;
  21282. L_20 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_19, ((int32_t)65282), /*hidden argument*/NULL);
  21283. if (!L_20)
  21284. {
  21285. goto IL_006b;
  21286. }
  21287. }
  21288. {
  21289. // ecParams = GetParametersForNamedCurve(NamedCurve.sect283r1);
  21290. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21291. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_21;
  21292. L_21 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(((int32_t)10), /*hidden argument*/NULL);
  21293. V_1 = L_21;
  21294. }
  21295. IL_006b:
  21296. {
  21297. // if (ecParams == null)
  21298. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_22 = V_1;
  21299. if (L_22)
  21300. {
  21301. goto IL_0076;
  21302. }
  21303. }
  21304. {
  21305. // throw new TlsFatalAlert(AlertDescription.internal_error);
  21306. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21307. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  21308. IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24_RuntimeMethod_var)));
  21309. }
  21310. IL_0076:
  21311. {
  21312. // if (namedCurve < 0)
  21313. int32_t L_24 = V_0;
  21314. if ((((int32_t)L_24) >= ((int32_t)0)))
  21315. {
  21316. goto IL_0084;
  21317. }
  21318. }
  21319. {
  21320. // WriteExplicitECParameters(ecPointFormats, ecParams, output);
  21321. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = ___ecPointFormats2;
  21322. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_26 = V_1;
  21323. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_27 = ___output3;
  21324. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21325. TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9(L_25, L_26, L_27, /*hidden argument*/NULL);
  21326. // }
  21327. goto IL_008b;
  21328. }
  21329. IL_0084:
  21330. {
  21331. // WriteNamedECParameters(namedCurve, output);
  21332. int32_t L_28 = V_0;
  21333. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output3;
  21334. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21335. TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C(L_28, L_29, /*hidden argument*/NULL);
  21336. }
  21337. IL_008b:
  21338. {
  21339. // return GenerateEphemeralClientKeyExchange(random, ecPointFormats, ecParams, output);
  21340. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_30 = ___random0;
  21341. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = ___ecPointFormats2;
  21342. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_32 = V_1;
  21343. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_33 = ___output3;
  21344. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21345. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_34;
  21346. L_34 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_30, L_31, L_32, L_33, /*hidden argument*/NULL);
  21347. return L_34;
  21348. }
  21349. }
  21350. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ValidateECPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
  21351. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___key0, const RuntimeMethod* method)
  21352. {
  21353. {
  21354. // return key;
  21355. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_0 = ___key0;
  21356. return L_0;
  21357. }
  21358. }
  21359. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECExponent(System.Int32,System.IO.Stream)
  21360. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615 (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
  21361. {
  21362. static bool s_Il2CppMethodInitialized;
  21363. if (!s_Il2CppMethodInitialized)
  21364. {
  21365. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21366. s_Il2CppMethodInitialized = true;
  21367. }
  21368. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
  21369. int32_t V_1 = 0;
  21370. {
  21371. // BigInteger K = ReadECParameter(input);
  21372. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input1;
  21373. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21374. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  21375. L_1 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_0, /*hidden argument*/NULL);
  21376. V_0 = L_1;
  21377. // if (K.BitLength < 32)
  21378. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = V_0;
  21379. NullCheck(L_2);
  21380. int32_t L_3;
  21381. L_3 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_2, /*hidden argument*/NULL);
  21382. if ((((int32_t)L_3) >= ((int32_t)((int32_t)32))))
  21383. {
  21384. goto IL_0022;
  21385. }
  21386. }
  21387. {
  21388. // int k = K.IntValue;
  21389. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = V_0;
  21390. NullCheck(L_4);
  21391. int32_t L_5;
  21392. L_5 = BigInteger_get_IntValue_m6386348CAE8E75A68124AD1F36F497FC551F8144(L_4, /*hidden argument*/NULL);
  21393. V_1 = L_5;
  21394. // if (k > 0 && k < fieldSize)
  21395. int32_t L_6 = V_1;
  21396. if ((((int32_t)L_6) <= ((int32_t)0)))
  21397. {
  21398. goto IL_0022;
  21399. }
  21400. }
  21401. {
  21402. int32_t L_7 = V_1;
  21403. int32_t L_8 = ___fieldSize0;
  21404. if ((((int32_t)L_7) >= ((int32_t)L_8)))
  21405. {
  21406. goto IL_0022;
  21407. }
  21408. }
  21409. {
  21410. // return k;
  21411. int32_t L_9 = V_1;
  21412. return L_9;
  21413. }
  21414. IL_0022:
  21415. {
  21416. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  21417. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21418. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  21419. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615_RuntimeMethod_var)));
  21420. }
  21421. }
  21422. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECFieldElement(System.Int32,System.IO.Stream)
  21423. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
  21424. {
  21425. static bool s_Il2CppMethodInitialized;
  21426. if (!s_Il2CppMethodInitialized)
  21427. {
  21428. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21429. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21430. s_Il2CppMethodInitialized = true;
  21431. }
  21432. {
  21433. // return DeserializeECFieldElement(fieldSize, TlsUtilities.ReadOpaque8(input));
  21434. int32_t L_0 = ___fieldSize0;
  21435. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input1;
  21436. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21437. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  21438. L_2 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_1, /*hidden argument*/NULL);
  21439. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21440. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
  21441. L_3 = TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9(L_0, L_2, /*hidden argument*/NULL);
  21442. return L_3;
  21443. }
  21444. }
  21445. // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameter(System.IO.Stream)
  21446. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  21447. {
  21448. static bool s_Il2CppMethodInitialized;
  21449. if (!s_Il2CppMethodInitialized)
  21450. {
  21451. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  21452. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21453. s_Il2CppMethodInitialized = true;
  21454. }
  21455. {
  21456. // return new BigInteger(1, TlsUtilities.ReadOpaque8(input));
  21457. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  21458. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21459. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  21460. L_1 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_0, /*hidden argument*/NULL);
  21461. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  21462. BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
  21463. return L_2;
  21464. }
  21465. }
  21466. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameters(System.Int32[],System.Byte[],System.IO.Stream)
  21467. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input2, const RuntimeMethod* method)
  21468. {
  21469. static bool s_Il2CppMethodInitialized;
  21470. if (!s_Il2CppMethodInitialized)
  21471. {
  21472. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
  21473. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
  21474. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var);
  21475. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21476. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21477. s_Il2CppMethodInitialized = true;
  21478. }
  21479. uint8_t V_0 = 0x0;
  21480. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_1 = NULL;
  21481. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_2 = NULL;
  21482. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  21483. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_4 = NULL;
  21484. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_5 = NULL;
  21485. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_6 = NULL;
  21486. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * V_7 = NULL;
  21487. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_8 = NULL;
  21488. int32_t V_9 = 0;
  21489. int32_t V_10 = 0;
  21490. int32_t V_11 = 0;
  21491. int32_t V_12 = 0;
  21492. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_13 = NULL;
  21493. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_14 = NULL;
  21494. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_15 = NULL;
  21495. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_16 = NULL;
  21496. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_17 = NULL;
  21497. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_18 = NULL;
  21498. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * V_19 = NULL;
  21499. int32_t V_20 = 0;
  21500. Exception_t * V_21 = NULL;
  21501. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  21502. il2cpp::utils::ExceptionSupportStack<int32_t, 3> __leave_targets;
  21503. uint8_t G_B5_0 = 0x0;
  21504. uint8_t G_B4_0 = 0x0;
  21505. uint8_t G_B7_0 = 0x0;
  21506. uint8_t G_B6_0 = 0x0;
  21507. F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * G_B10_0 = NULL;
  21508. IL_0000:
  21509. try
  21510. {// begin try (depth: 1)
  21511. {
  21512. // byte curveType = TlsUtilities.ReadUint8(input);
  21513. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input2;
  21514. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21515. uint8_t L_1;
  21516. L_1 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_0, /*hidden argument*/NULL);
  21517. V_0 = L_1;
  21518. uint8_t L_2 = V_0;
  21519. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)))
  21520. {
  21521. case 0:
  21522. {
  21523. goto IL_0020;
  21524. }
  21525. case 1:
  21526. {
  21527. goto IL_008e;
  21528. }
  21529. case 2:
  21530. {
  21531. goto IL_0155;
  21532. }
  21533. }
  21534. }
  21535. IL_001b:
  21536. {
  21537. goto IL_0181;
  21538. }
  21539. IL_0020:
  21540. {
  21541. // CheckNamedCurve(namedCurves, NamedCurve.arbitrary_explicit_prime_curves);
  21542. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves0;
  21543. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21544. TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_3, ((int32_t)65281), /*hidden argument*/NULL);
  21545. // BigInteger prime_p = ReadECParameter(input);
  21546. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input2;
  21547. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
  21548. L_5 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_4, /*hidden argument*/NULL);
  21549. // BigInteger a = ReadECFieldElement(prime_p.BitLength, input);
  21550. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6 = L_5;
  21551. NullCheck(L_6);
  21552. int32_t L_7;
  21553. L_7 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_6, /*hidden argument*/NULL);
  21554. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___input2;
  21555. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_9;
  21556. L_9 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_7, L_8, /*hidden argument*/NULL);
  21557. V_1 = L_9;
  21558. // BigInteger b = ReadECFieldElement(prime_p.BitLength, input);
  21559. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_10 = L_6;
  21560. NullCheck(L_10);
  21561. int32_t L_11;
  21562. L_11 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_10, /*hidden argument*/NULL);
  21563. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_12 = ___input2;
  21564. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_13;
  21565. L_13 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_11, L_12, /*hidden argument*/NULL);
  21566. V_2 = L_13;
  21567. // byte[] baseEncoding = TlsUtilities.ReadOpaque8(input);
  21568. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_14 = ___input2;
  21569. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21570. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
  21571. L_15 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_14, /*hidden argument*/NULL);
  21572. V_3 = L_15;
  21573. // BigInteger order = ReadECParameter(input);
  21574. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___input2;
  21575. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_17;
  21576. L_17 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_16, /*hidden argument*/NULL);
  21577. V_4 = L_17;
  21578. // BigInteger cofactor = ReadECParameter(input);
  21579. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_18 = ___input2;
  21580. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_19;
  21581. L_19 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_18, /*hidden argument*/NULL);
  21582. V_5 = L_19;
  21583. // ECCurve curve = new FpCurve(prime_p, a, b, order, cofactor);
  21584. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_20 = V_1;
  21585. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_21 = V_2;
  21586. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_22 = V_4;
  21587. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_23 = V_5;
  21588. FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 * L_24 = (FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 *)il2cpp_codegen_object_new(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var);
  21589. FpCurve__ctor_m2BBC566CAC9C3F165A2311D6287A1E639468ED67(L_24, L_10, L_20, L_21, L_22, L_23, /*hidden argument*/NULL);
  21590. V_6 = L_24;
  21591. // ECPoint basePoint = DeserializeECPoint(ecPointFormats, curve, baseEncoding);
  21592. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = ___ecPointFormats1;
  21593. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_26 = V_6;
  21594. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = V_3;
  21595. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_28;
  21596. L_28 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_25, L_26, L_27, /*hidden argument*/NULL);
  21597. V_7 = L_28;
  21598. // return new ECDomainParameters(curve, basePoint, order, cofactor);
  21599. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_29 = V_6;
  21600. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_30 = V_7;
  21601. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_31 = V_4;
  21602. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_32 = V_5;
  21603. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_33 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
  21604. ECDomainParameters__ctor_mA420AB48ED683352BD3E1DA1B724B20B80C24DD3(L_33, L_29, L_30, L_31, L_32, /*hidden argument*/NULL);
  21605. V_8 = L_33;
  21606. goto IL_0195;
  21607. }
  21608. IL_008e:
  21609. {
  21610. // CheckNamedCurve(namedCurves, NamedCurve.arbitrary_explicit_char2_curves);
  21611. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_34 = ___namedCurves0;
  21612. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21613. TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_34, ((int32_t)65282), /*hidden argument*/NULL);
  21614. // int m = TlsUtilities.ReadUint16(input);
  21615. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_35 = ___input2;
  21616. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21617. int32_t L_36;
  21618. L_36 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_35, /*hidden argument*/NULL);
  21619. V_9 = L_36;
  21620. // byte basis = TlsUtilities.ReadUint8(input);
  21621. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_37 = ___input2;
  21622. uint8_t L_38;
  21623. L_38 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_37, /*hidden argument*/NULL);
  21624. // if (!ECBasisType.IsValid(basis))
  21625. uint8_t L_39 = L_38;
  21626. bool L_40;
  21627. L_40 = ECBasisType_IsValid_mC27A27CFF75A979A73D986CAA29F59855CE8FD8E(L_39, /*hidden argument*/NULL);
  21628. G_B4_0 = L_39;
  21629. if (L_40)
  21630. {
  21631. G_B5_0 = L_39;
  21632. goto IL_00b7;
  21633. }
  21634. }
  21635. IL_00af:
  21636. {
  21637. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  21638. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_41 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21639. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_41, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  21640. IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
  21641. }
  21642. IL_00b7:
  21643. {
  21644. // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
  21645. int32_t L_42 = V_9;
  21646. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_43 = ___input2;
  21647. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21648. int32_t L_44;
  21649. L_44 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_42, L_43, /*hidden argument*/NULL);
  21650. V_10 = L_44;
  21651. // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
  21652. V_11 = (-1);
  21653. // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
  21654. V_12 = (-1);
  21655. // if (basis == ECBasisType.ec_basis_pentanomial)
  21656. uint8_t L_45 = G_B5_0;
  21657. G_B6_0 = L_45;
  21658. if ((!(((uint32_t)L_45) == ((uint32_t)2))))
  21659. {
  21660. G_B7_0 = L_45;
  21661. goto IL_00df;
  21662. }
  21663. }
  21664. IL_00cb:
  21665. {
  21666. // k2 = ReadECExponent(m, input);
  21667. int32_t L_46 = V_9;
  21668. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_47 = ___input2;
  21669. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21670. int32_t L_48;
  21671. L_48 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_46, L_47, /*hidden argument*/NULL);
  21672. V_11 = L_48;
  21673. // k3 = ReadECExponent(m, input);
  21674. int32_t L_49 = V_9;
  21675. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_50 = ___input2;
  21676. int32_t L_51;
  21677. L_51 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_49, L_50, /*hidden argument*/NULL);
  21678. V_12 = L_51;
  21679. G_B7_0 = G_B6_0;
  21680. }
  21681. IL_00df:
  21682. {
  21683. // BigInteger a = ReadECFieldElement(m, input);
  21684. int32_t L_52 = V_9;
  21685. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_53 = ___input2;
  21686. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21687. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_54;
  21688. L_54 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_52, L_53, /*hidden argument*/NULL);
  21689. V_13 = L_54;
  21690. // BigInteger b = ReadECFieldElement(m, input);
  21691. int32_t L_55 = V_9;
  21692. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_56 = ___input2;
  21693. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_57;
  21694. L_57 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_55, L_56, /*hidden argument*/NULL);
  21695. V_14 = L_57;
  21696. // byte[] baseEncoding = TlsUtilities.ReadOpaque8(input);
  21697. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_58 = ___input2;
  21698. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21699. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59;
  21700. L_59 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_58, /*hidden argument*/NULL);
  21701. V_15 = L_59;
  21702. // BigInteger order = ReadECParameter(input);
  21703. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_60 = ___input2;
  21704. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_61;
  21705. L_61 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_60, /*hidden argument*/NULL);
  21706. V_16 = L_61;
  21707. // BigInteger cofactor = ReadECParameter(input);
  21708. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_62 = ___input2;
  21709. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_63;
  21710. L_63 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_62, /*hidden argument*/NULL);
  21711. V_17 = L_63;
  21712. // ECCurve curve = (basis == ECBasisType.ec_basis_pentanomial)
  21713. // ? new F2mCurve(m, k1, k2, k3, a, b, order, cofactor)
  21714. // : new F2mCurve(m, k1, a, b, order, cofactor);
  21715. if ((((int32_t)G_B7_0) == ((int32_t)2)))
  21716. {
  21717. goto IL_0121;
  21718. }
  21719. }
  21720. IL_010e:
  21721. {
  21722. int32_t L_64 = V_9;
  21723. int32_t L_65 = V_10;
  21724. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_66 = V_13;
  21725. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_67 = V_14;
  21726. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_68 = V_16;
  21727. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_69 = V_17;
  21728. F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * L_70 = (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 *)il2cpp_codegen_object_new(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
  21729. F2mCurve__ctor_m027D83DE3563DD6E62428D005DB642AF11937DC6(L_70, L_64, L_65, L_66, L_67, L_68, L_69, /*hidden argument*/NULL);
  21730. G_B10_0 = L_70;
  21731. goto IL_0136;
  21732. }
  21733. IL_0121:
  21734. {
  21735. int32_t L_71 = V_9;
  21736. int32_t L_72 = V_10;
  21737. int32_t L_73 = V_11;
  21738. int32_t L_74 = V_12;
  21739. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_75 = V_13;
  21740. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_76 = V_14;
  21741. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_77 = V_16;
  21742. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_78 = V_17;
  21743. F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * L_79 = (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 *)il2cpp_codegen_object_new(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
  21744. F2mCurve__ctor_mD221CFD31823473493B30851458AF95C4AC0B33B(L_79, L_71, L_72, L_73, L_74, L_75, L_76, L_77, L_78, /*hidden argument*/NULL);
  21745. G_B10_0 = L_79;
  21746. }
  21747. IL_0136:
  21748. {
  21749. V_18 = G_B10_0;
  21750. // ECPoint basePoint = DeserializeECPoint(ecPointFormats, curve, baseEncoding);
  21751. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_80 = ___ecPointFormats1;
  21752. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_81 = V_18;
  21753. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_82 = V_15;
  21754. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21755. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_83;
  21756. L_83 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_80, L_81, L_82, /*hidden argument*/NULL);
  21757. V_19 = L_83;
  21758. // return new ECDomainParameters(curve, basePoint, order, cofactor);
  21759. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_84 = V_18;
  21760. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_85 = V_19;
  21761. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_86 = V_16;
  21762. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_87 = V_17;
  21763. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_88 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
  21764. ECDomainParameters__ctor_mA420AB48ED683352BD3E1DA1B724B20B80C24DD3(L_88, L_84, L_85, L_86, L_87, /*hidden argument*/NULL);
  21765. V_8 = L_88;
  21766. goto IL_0195;
  21767. }
  21768. IL_0155:
  21769. {
  21770. // int namedCurve = TlsUtilities.ReadUint16(input);
  21771. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_89 = ___input2;
  21772. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21773. int32_t L_90;
  21774. L_90 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_89, /*hidden argument*/NULL);
  21775. V_20 = L_90;
  21776. // if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve))
  21777. int32_t L_91 = V_20;
  21778. bool L_92;
  21779. L_92 = NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E(L_91, /*hidden argument*/NULL);
  21780. if (L_92)
  21781. {
  21782. goto IL_016e;
  21783. }
  21784. }
  21785. IL_0166:
  21786. {
  21787. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  21788. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_93 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21789. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_93, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  21790. IL2CPP_RAISE_MANAGED_EXCEPTION(L_93, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
  21791. }
  21792. IL_016e:
  21793. {
  21794. // CheckNamedCurve(namedCurves, namedCurve);
  21795. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_94 = ___namedCurves0;
  21796. int32_t L_95 = V_20;
  21797. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21798. TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_94, L_95, /*hidden argument*/NULL);
  21799. // return GetParametersForNamedCurve(namedCurve);
  21800. int32_t L_96 = V_20;
  21801. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_97;
  21802. L_97 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(L_96, /*hidden argument*/NULL);
  21803. V_8 = L_97;
  21804. goto IL_0195;
  21805. }
  21806. IL_0181:
  21807. {
  21808. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  21809. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_98 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21810. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_98, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  21811. IL2CPP_RAISE_MANAGED_EXCEPTION(L_98, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
  21812. }
  21813. }// end try (depth: 1)
  21814. catch(Il2CppExceptionWrapper& e)
  21815. {
  21816. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  21817. {
  21818. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  21819. goto CATCH_0189;
  21820. }
  21821. throw e;
  21822. }
  21823. CATCH_0189:
  21824. {// begin catch(System.Exception)
  21825. // catch (Exception e)
  21826. V_21 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  21827. // throw new TlsFatalAlert(AlertDescription.illegal_parameter, e);
  21828. Exception_t * L_99 = V_21;
  21829. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_100 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21830. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_100, (uint8_t)((int32_t)47), L_99, /*hidden argument*/NULL);
  21831. IL2CPP_RAISE_MANAGED_EXCEPTION(L_100, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
  21832. }// end catch (depth: 1)
  21833. IL_0195:
  21834. {
  21835. // }
  21836. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_101 = V_8;
  21837. return L_101;
  21838. }
  21839. }
  21840. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CheckNamedCurve(System.Int32[],System.Int32)
  21841. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, int32_t ___namedCurve1, const RuntimeMethod* method)
  21842. {
  21843. static bool s_Il2CppMethodInitialized;
  21844. if (!s_Il2CppMethodInitialized)
  21845. {
  21846. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  21847. s_Il2CppMethodInitialized = true;
  21848. }
  21849. {
  21850. // if (namedCurves != null && !Arrays.Contains(namedCurves, namedCurve))
  21851. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves0;
  21852. if (!L_0)
  21853. {
  21854. goto IL_0014;
  21855. }
  21856. }
  21857. {
  21858. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves0;
  21859. int32_t L_2 = ___namedCurve1;
  21860. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  21861. bool L_3;
  21862. L_3 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_1, L_2, /*hidden argument*/NULL);
  21863. if (L_3)
  21864. {
  21865. goto IL_0014;
  21866. }
  21867. }
  21868. {
  21869. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  21870. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  21871. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  21872. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88_RuntimeMethod_var)));
  21873. }
  21874. IL_0014:
  21875. {
  21876. // }
  21877. return;
  21878. }
  21879. }
  21880. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECExponent(System.Int32,System.IO.Stream)
  21881. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36 (int32_t ___k0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  21882. {
  21883. static bool s_Il2CppMethodInitialized;
  21884. if (!s_Il2CppMethodInitialized)
  21885. {
  21886. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  21887. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21888. s_Il2CppMethodInitialized = true;
  21889. }
  21890. {
  21891. // BigInteger K = BigInteger.ValueOf(k);
  21892. int32_t L_0 = ___k0;
  21893. IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
  21894. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  21895. L_1 = BigInteger_ValueOf_m26A9968814DAF2363D8B71164672E6257BC82001(((int64_t)((int64_t)L_0)), /*hidden argument*/NULL);
  21896. // WriteECParameter(K, output);
  21897. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
  21898. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21899. TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_1, L_2, /*hidden argument*/NULL);
  21900. // }
  21901. return;
  21902. }
  21903. }
  21904. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,System.IO.Stream)
  21905. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B (ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  21906. {
  21907. static bool s_Il2CppMethodInitialized;
  21908. if (!s_Il2CppMethodInitialized)
  21909. {
  21910. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21911. s_Il2CppMethodInitialized = true;
  21912. }
  21913. {
  21914. // TlsUtilities.WriteOpaque8(x.GetEncoded(), output);
  21915. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_0 = ___x0;
  21916. NullCheck(L_0);
  21917. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  21918. L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(26 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement::GetEncoded() */, L_0);
  21919. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
  21920. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21921. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_1, L_2, /*hidden argument*/NULL);
  21922. // }
  21923. return;
  21924. }
  21925. }
  21926. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
  21927. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m2E0B3A4DB33209DE5EDC244E57D8DD49866168BC (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  21928. {
  21929. static bool s_Il2CppMethodInitialized;
  21930. if (!s_Il2CppMethodInitialized)
  21931. {
  21932. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21933. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21934. s_Il2CppMethodInitialized = true;
  21935. }
  21936. {
  21937. // TlsUtilities.WriteOpaque8(SerializeECFieldElement(fieldSize, x), output);
  21938. int32_t L_0 = ___fieldSize0;
  21939. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1 = ___x1;
  21940. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21941. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  21942. L_2 = TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA(L_0, L_1, /*hidden argument*/NULL);
  21943. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output2;
  21944. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21945. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_2, L_3, /*hidden argument*/NULL);
  21946. // }
  21947. return;
  21948. }
  21949. }
  21950. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
  21951. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  21952. {
  21953. static bool s_Il2CppMethodInitialized;
  21954. if (!s_Il2CppMethodInitialized)
  21955. {
  21956. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21957. s_Il2CppMethodInitialized = true;
  21958. }
  21959. {
  21960. // TlsUtilities.WriteOpaque8(BigIntegers.AsUnsignedByteArray(x), output);
  21961. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ___x0;
  21962. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  21963. L_1 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_0, /*hidden argument*/NULL);
  21964. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
  21965. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21966. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_1, L_2, /*hidden argument*/NULL);
  21967. // }
  21968. return;
  21969. }
  21970. }
  21971. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteExplicitECParameters(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
  21972. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParameters1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  21973. {
  21974. static bool s_Il2CppMethodInitialized;
  21975. if (!s_Il2CppMethodInitialized)
  21976. {
  21977. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C_il2cpp_TypeInfo_var);
  21978. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var);
  21979. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var);
  21980. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  21981. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  21982. s_Il2CppMethodInitialized = true;
  21983. }
  21984. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_0 = NULL;
  21985. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* V_1 = NULL;
  21986. {
  21987. // ECCurve curve = ecParameters.Curve;
  21988. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = ___ecParameters1;
  21989. NullCheck(L_0);
  21990. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_1;
  21991. L_1 = ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline(L_0, /*hidden argument*/NULL);
  21992. V_0 = L_1;
  21993. // if (ECAlgorithms.IsFpCurve(curve))
  21994. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2 = V_0;
  21995. bool L_3;
  21996. L_3 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_2, /*hidden argument*/NULL);
  21997. if (!L_3)
  21998. {
  21999. goto IL_002c;
  22000. }
  22001. }
  22002. {
  22003. // TlsUtilities.WriteUint8(ECCurveType.explicit_prime, output);
  22004. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output2;
  22005. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22006. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)1, L_4, /*hidden argument*/NULL);
  22007. // WriteECParameter(curve.Field.Characteristic, output);
  22008. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_5 = V_0;
  22009. NullCheck(L_5);
  22010. RuntimeObject* L_6;
  22011. L_6 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(23 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_Field() */, L_5);
  22012. NullCheck(L_6);
  22013. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
  22014. L_7 = InterfaceFuncInvoker0< BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField::get_Characteristic() */, IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C_il2cpp_TypeInfo_var, L_6);
  22015. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output2;
  22016. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22017. TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_7, L_8, /*hidden argument*/NULL);
  22018. // }
  22019. goto IL_00bc;
  22020. }
  22021. IL_002c:
  22022. {
  22023. // else if (ECAlgorithms.IsF2mCurve(curve))
  22024. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_9 = V_0;
  22025. bool L_10;
  22026. L_10 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_9, /*hidden argument*/NULL);
  22027. if (!L_10)
  22028. {
  22029. goto IL_00b1;
  22030. }
  22031. }
  22032. {
  22033. // IPolynomialExtensionField field = (IPolynomialExtensionField)curve.Field;
  22034. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_11 = V_0;
  22035. NullCheck(L_11);
  22036. RuntimeObject* L_12;
  22037. L_12 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(23 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_Field() */, L_11);
  22038. // int[] exponents = field.MinimalPolynomial.GetExponentsPresent();
  22039. NullCheck(((RuntimeObject*)Castclass((RuntimeObject*)L_12, IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var)));
  22040. RuntimeObject* L_13;
  22041. L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IPolynomial BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IPolynomialExtensionField::get_MinimalPolynomial() */, IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var, ((RuntimeObject*)Castclass((RuntimeObject*)L_12, IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var)));
  22042. NullCheck(L_13);
  22043. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_14;
  22044. L_14 = InterfaceFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(1 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IPolynomial::GetExponentsPresent() */, IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var, L_13);
  22045. V_1 = L_14;
  22046. // TlsUtilities.WriteUint8(ECCurveType.explicit_char2, output);
  22047. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_15 = ___output2;
  22048. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22049. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)2, L_15, /*hidden argument*/NULL);
  22050. // int m = exponents[exponents.Length - 1];
  22051. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_16 = V_1;
  22052. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_17 = V_1;
  22053. NullCheck(L_17);
  22054. NullCheck(L_16);
  22055. int32_t L_18 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))), (int32_t)1));
  22056. int32_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
  22057. // TlsUtilities.CheckUint16(m);
  22058. int32_t L_20 = L_19;
  22059. TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_20, /*hidden argument*/NULL);
  22060. // TlsUtilities.WriteUint16(m, output);
  22061. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_21 = ___output2;
  22062. TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_20, L_21, /*hidden argument*/NULL);
  22063. // if (exponents.Length == 3)
  22064. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_22 = V_1;
  22065. NullCheck(L_22);
  22066. if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))) == ((uint32_t)3))))
  22067. {
  22068. goto IL_007c;
  22069. }
  22070. }
  22071. {
  22072. // TlsUtilities.WriteUint8(ECBasisType.ec_basis_trinomial, output);
  22073. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_23 = ___output2;
  22074. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22075. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)1, L_23, /*hidden argument*/NULL);
  22076. // WriteECExponent(exponents[1], output);
  22077. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_24 = V_1;
  22078. NullCheck(L_24);
  22079. int32_t L_25 = 1;
  22080. int32_t L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
  22081. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_27 = ___output2;
  22082. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22083. TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_26, L_27, /*hidden argument*/NULL);
  22084. // }
  22085. goto IL_00bc;
  22086. }
  22087. IL_007c:
  22088. {
  22089. // else if (exponents.Length == 5)
  22090. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_28 = V_1;
  22091. NullCheck(L_28);
  22092. if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))) == ((uint32_t)5))))
  22093. {
  22094. goto IL_00a6;
  22095. }
  22096. }
  22097. {
  22098. // TlsUtilities.WriteUint8(ECBasisType.ec_basis_pentanomial, output);
  22099. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output2;
  22100. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22101. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)2, L_29, /*hidden argument*/NULL);
  22102. // WriteECExponent(exponents[1], output);
  22103. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_30 = V_1;
  22104. NullCheck(L_30);
  22105. int32_t L_31 = 1;
  22106. int32_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
  22107. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_33 = ___output2;
  22108. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22109. TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_32, L_33, /*hidden argument*/NULL);
  22110. // WriteECExponent(exponents[2], output);
  22111. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_34 = V_1;
  22112. NullCheck(L_34);
  22113. int32_t L_35 = 2;
  22114. int32_t L_36 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
  22115. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_37 = ___output2;
  22116. TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_36, L_37, /*hidden argument*/NULL);
  22117. // WriteECExponent(exponents[3], output);
  22118. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_38 = V_1;
  22119. NullCheck(L_38);
  22120. int32_t L_39 = 3;
  22121. int32_t L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
  22122. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_41 = ___output2;
  22123. TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_40, L_41, /*hidden argument*/NULL);
  22124. // }
  22125. goto IL_00bc;
  22126. }
  22127. IL_00a6:
  22128. {
  22129. // throw new ArgumentException("Only trinomial and pentomial curves are supported");
  22130. ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_42 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
  22131. ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_42, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDB77F5662969C68C9C6D5ECF666ADD5C9D634441)), /*hidden argument*/NULL);
  22132. IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var)));
  22133. }
  22134. IL_00b1:
  22135. {
  22136. // throw new ArgumentException("'ecParameters' not a known curve type");
  22137. ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_43 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
  22138. ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_43, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAE246C9E6549E0B6B82491683E4A61128F0E8131)), /*hidden argument*/NULL);
  22139. IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var)));
  22140. }
  22141. IL_00bc:
  22142. {
  22143. // WriteECFieldElement(curve.A, output);
  22144. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_44 = V_0;
  22145. NullCheck(L_44);
  22146. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_45;
  22147. L_45 = VirtualFuncInvoker0< ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_A() */, L_44);
  22148. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_46 = ___output2;
  22149. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22150. TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B(L_45, L_46, /*hidden argument*/NULL);
  22151. // WriteECFieldElement(curve.B, output);
  22152. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_47 = V_0;
  22153. NullCheck(L_47);
  22154. ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_48;
  22155. L_48 = VirtualFuncInvoker0< ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_B() */, L_47);
  22156. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_49 = ___output2;
  22157. TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B(L_48, L_49, /*hidden argument*/NULL);
  22158. // TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, ecParameters.G), output);
  22159. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = ___ecPointFormats0;
  22160. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_51 = ___ecParameters1;
  22161. NullCheck(L_51);
  22162. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_52;
  22163. L_52 = ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline(L_51, /*hidden argument*/NULL);
  22164. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53;
  22165. L_53 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_50, L_52, /*hidden argument*/NULL);
  22166. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_54 = ___output2;
  22167. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22168. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_53, L_54, /*hidden argument*/NULL);
  22169. // WriteECParameter(ecParameters.N, output);
  22170. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_55 = ___ecParameters1;
  22171. NullCheck(L_55);
  22172. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_56;
  22173. L_56 = ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline(L_55, /*hidden argument*/NULL);
  22174. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_57 = ___output2;
  22175. TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_56, L_57, /*hidden argument*/NULL);
  22176. // WriteECParameter(ecParameters.H, output);
  22177. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_58 = ___ecParameters1;
  22178. NullCheck(L_58);
  22179. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_59;
  22180. L_59 = ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline(L_58, /*hidden argument*/NULL);
  22181. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_60 = ___output2;
  22182. TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_59, L_60, /*hidden argument*/NULL);
  22183. // }
  22184. return;
  22185. }
  22186. }
  22187. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,System.IO.Stream)
  22188. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  22189. {
  22190. static bool s_Il2CppMethodInitialized;
  22191. if (!s_Il2CppMethodInitialized)
  22192. {
  22193. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22194. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22195. s_Il2CppMethodInitialized = true;
  22196. }
  22197. {
  22198. // TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, point), output);
  22199. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
  22200. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_1 = ___point1;
  22201. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22202. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  22203. L_2 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_0, L_1, /*hidden argument*/NULL);
  22204. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output2;
  22205. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22206. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_2, L_3, /*hidden argument*/NULL);
  22207. // }
  22208. return;
  22209. }
  22210. }
  22211. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteNamedECParameters(System.Int32,System.IO.Stream)
  22212. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C (int32_t ___namedCurve0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
  22213. {
  22214. static bool s_Il2CppMethodInitialized;
  22215. if (!s_Il2CppMethodInitialized)
  22216. {
  22217. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22218. s_Il2CppMethodInitialized = true;
  22219. }
  22220. {
  22221. // if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve))
  22222. int32_t L_0 = ___namedCurve0;
  22223. bool L_1;
  22224. L_1 = NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E(L_0, /*hidden argument*/NULL);
  22225. if (L_1)
  22226. {
  22227. goto IL_0010;
  22228. }
  22229. }
  22230. {
  22231. // throw new TlsFatalAlert(AlertDescription.internal_error);
  22232. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  22233. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  22234. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C_RuntimeMethod_var)));
  22235. }
  22236. IL_0010:
  22237. {
  22238. // TlsUtilities.WriteUint8(ECCurveType.named_curve, output);
  22239. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output1;
  22240. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22241. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)3, L_3, /*hidden argument*/NULL);
  22242. // TlsUtilities.CheckUint16(namedCurve);
  22243. int32_t L_4 = ___namedCurve0;
  22244. TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_4, /*hidden argument*/NULL);
  22245. // TlsUtilities.WriteUint16(namedCurve, output);
  22246. int32_t L_5 = ___namedCurve0;
  22247. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output1;
  22248. TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_5, L_6, /*hidden argument*/NULL);
  22249. // }
  22250. return;
  22251. }
  22252. }
  22253. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::.ctor()
  22254. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities__ctor_mFF2217E7AA376D17ECC1A9C7BA92C3619AA93234 (TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD * __this, const RuntimeMethod* method)
  22255. {
  22256. {
  22257. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  22258. return;
  22259. }
  22260. }
  22261. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::.cctor()
  22262. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities__cctor_m151C898E8818458D9ED312C352AC06A658357905 (const RuntimeMethod* method)
  22263. {
  22264. static bool s_Il2CppMethodInitialized;
  22265. if (!s_Il2CppMethodInitialized)
  22266. {
  22267. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
  22268. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  22269. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
  22270. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
  22271. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
  22272. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
  22273. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
  22274. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
  22275. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
  22276. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
  22277. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
  22278. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
  22279. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
  22280. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
  22281. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
  22282. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
  22283. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
  22284. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
  22285. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
  22286. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
  22287. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
  22288. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
  22289. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
  22290. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
  22291. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
  22292. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
  22293. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
  22294. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
  22295. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
  22296. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
  22297. s_Il2CppMethodInitialized = true;
  22298. }
  22299. {
  22300. // private static readonly string[] CurveNames = new string[] { "sect163k1", "sect163r1", "sect163r2", "sect193r1",
  22301. // "sect193r2", "sect233k1", "sect233r1", "sect239k1", "sect283k1", "sect283r1", "sect409k1", "sect409r1",
  22302. // "sect571k1", "sect571r1", "secp160k1", "secp160r1", "secp160r2", "secp192k1", "secp192r1", "secp224k1",
  22303. // "secp224r1", "secp256k1", "secp256r1", "secp384r1", "secp521r1",
  22304. // "brainpoolP256r1", "brainpoolP384r1", "brainpoolP512r1"};
  22305. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)((int32_t)28));
  22306. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
  22307. NullCheck(L_1);
  22308. ArrayElementTypeCheck (L_1, _stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
  22309. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
  22310. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = L_1;
  22311. NullCheck(L_2);
  22312. ArrayElementTypeCheck (L_2, _stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
  22313. (L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
  22314. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_2;
  22315. NullCheck(L_3);
  22316. ArrayElementTypeCheck (L_3, _stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
  22317. (L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
  22318. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
  22319. NullCheck(L_4);
  22320. ArrayElementTypeCheck (L_4, _stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
  22321. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
  22322. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_5 = L_4;
  22323. NullCheck(L_5);
  22324. ArrayElementTypeCheck (L_5, _stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
  22325. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
  22326. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_5;
  22327. NullCheck(L_6);
  22328. ArrayElementTypeCheck (L_6, _stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
  22329. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
  22330. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
  22331. NullCheck(L_7);
  22332. ArrayElementTypeCheck (L_7, _stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
  22333. (L_7)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
  22334. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_8 = L_7;
  22335. NullCheck(L_8);
  22336. ArrayElementTypeCheck (L_8, _stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
  22337. (L_8)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
  22338. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_8;
  22339. NullCheck(L_9);
  22340. ArrayElementTypeCheck (L_9, _stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
  22341. (L_9)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
  22342. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
  22343. NullCheck(L_10);
  22344. ArrayElementTypeCheck (L_10, _stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
  22345. (L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
  22346. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_11 = L_10;
  22347. NullCheck(L_11);
  22348. ArrayElementTypeCheck (L_11, _stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
  22349. (L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
  22350. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_12 = L_11;
  22351. NullCheck(L_12);
  22352. ArrayElementTypeCheck (L_12, _stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
  22353. (L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
  22354. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_13 = L_12;
  22355. NullCheck(L_13);
  22356. ArrayElementTypeCheck (L_13, _stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
  22357. (L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
  22358. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = L_13;
  22359. NullCheck(L_14);
  22360. ArrayElementTypeCheck (L_14, _stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
  22361. (L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
  22362. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = L_14;
  22363. NullCheck(L_15);
  22364. ArrayElementTypeCheck (L_15, _stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
  22365. (L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
  22366. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_16 = L_15;
  22367. NullCheck(L_16);
  22368. ArrayElementTypeCheck (L_16, _stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
  22369. (L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (String_t*)_stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
  22370. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_17 = L_16;
  22371. NullCheck(L_17);
  22372. ArrayElementTypeCheck (L_17, _stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
  22373. (L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (String_t*)_stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
  22374. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_18 = L_17;
  22375. NullCheck(L_18);
  22376. ArrayElementTypeCheck (L_18, _stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
  22377. (L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (String_t*)_stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
  22378. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_19 = L_18;
  22379. NullCheck(L_19);
  22380. ArrayElementTypeCheck (L_19, _stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
  22381. (L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (String_t*)_stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
  22382. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_20 = L_19;
  22383. NullCheck(L_20);
  22384. ArrayElementTypeCheck (L_20, _stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
  22385. (L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (String_t*)_stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
  22386. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_21 = L_20;
  22387. NullCheck(L_21);
  22388. ArrayElementTypeCheck (L_21, _stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
  22389. (L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (String_t*)_stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
  22390. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_22 = L_21;
  22391. NullCheck(L_22);
  22392. ArrayElementTypeCheck (L_22, _stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
  22393. (L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (String_t*)_stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
  22394. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_23 = L_22;
  22395. NullCheck(L_23);
  22396. ArrayElementTypeCheck (L_23, _stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
  22397. (L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (String_t*)_stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
  22398. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_24 = L_23;
  22399. NullCheck(L_24);
  22400. ArrayElementTypeCheck (L_24, _stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
  22401. (L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (String_t*)_stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
  22402. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_25 = L_24;
  22403. NullCheck(L_25);
  22404. ArrayElementTypeCheck (L_25, _stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
  22405. (L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (String_t*)_stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
  22406. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_26 = L_25;
  22407. NullCheck(L_26);
  22408. ArrayElementTypeCheck (L_26, _stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
  22409. (L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (String_t*)_stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
  22410. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_27 = L_26;
  22411. NullCheck(L_27);
  22412. ArrayElementTypeCheck (L_27, _stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
  22413. (L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (String_t*)_stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
  22414. StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_28 = L_27;
  22415. NullCheck(L_28);
  22416. ArrayElementTypeCheck (L_28, _stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
  22417. (L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (String_t*)_stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
  22418. ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->set_CurveNames_0(L_28);
  22419. return;
  22420. }
  22421. }
  22422. #ifdef __clang__
  22423. #pragma clang diagnostic pop
  22424. #endif
  22425. #ifdef __clang__
  22426. #pragma clang diagnostic push
  22427. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  22428. #pragma clang diagnostic ignored "-Wunused-variable"
  22429. #endif
  22430. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException::.ctor(System.String,System.Exception)
  22431. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66 (TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 * __this, String_t* ___message0, Exception_t * ___cause1, const RuntimeMethod* method)
  22432. {
  22433. {
  22434. // : base(message, cause)
  22435. String_t* L_0 = ___message0;
  22436. Exception_t * L_1 = ___cause1;
  22437. IOException__ctor_m6FEE731FB9201F8322FB67EFEE6F43D424DFE1E7(__this, L_0, L_1, /*hidden argument*/NULL);
  22438. // }
  22439. return;
  22440. }
  22441. }
  22442. #ifdef __clang__
  22443. #pragma clang diagnostic pop
  22444. #endif
  22445. #ifdef __clang__
  22446. #pragma clang diagnostic push
  22447. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  22448. #pragma clang diagnostic ignored "-Wunused-variable"
  22449. #endif
  22450. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::EnsureExtensionsInitialised(System.Collections.IDictionary)
  22451. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22452. {
  22453. static bool s_Il2CppMethodInitialized;
  22454. if (!s_Il2CppMethodInitialized)
  22455. {
  22456. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  22457. s_Il2CppMethodInitialized = true;
  22458. }
  22459. {
  22460. // return extensions == null ? BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateHashtable() : extensions;
  22461. RuntimeObject* L_0 = ___extensions0;
  22462. if (!L_0)
  22463. {
  22464. goto IL_0005;
  22465. }
  22466. }
  22467. {
  22468. RuntimeObject* L_1 = ___extensions0;
  22469. return L_1;
  22470. }
  22471. IL_0005:
  22472. {
  22473. IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  22474. RuntimeObject* L_2;
  22475. L_2 = Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06(/*hidden argument*/NULL);
  22476. return L_2;
  22477. }
  22478. }
  22479. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddClientCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])
  22480. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddClientCertificateTypeExtensionClient_mD317BAB68BD5B10E46AE903AD5DBB073D4178641 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes1, const RuntimeMethod* method)
  22481. {
  22482. static bool s_Il2CppMethodInitialized;
  22483. if (!s_Il2CppMethodInitialized)
  22484. {
  22485. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22486. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22487. s_Il2CppMethodInitialized = true;
  22488. }
  22489. {
  22490. // extensions[ExtensionType.client_certificate_type] = CreateCertificateTypeExtensionClient(certificateTypes);
  22491. RuntimeObject* L_0 = ___extensions0;
  22492. int32_t L_1 = ((int32_t)19);
  22493. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22494. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___certificateTypes1;
  22495. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22496. L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985(L_3, /*hidden argument*/NULL);
  22497. NullCheck(L_0);
  22498. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22499. // }
  22500. return;
  22501. }
  22502. }
  22503. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddClientCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)
  22504. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddClientCertificateTypeExtensionServer_m9098330F80B538FCED81339E53FCE74430A2E914 (RuntimeObject* ___extensions0, uint8_t ___certificateType1, const RuntimeMethod* method)
  22505. {
  22506. static bool s_Il2CppMethodInitialized;
  22507. if (!s_Il2CppMethodInitialized)
  22508. {
  22509. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22510. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22511. s_Il2CppMethodInitialized = true;
  22512. }
  22513. {
  22514. // extensions[ExtensionType.client_certificate_type] = CreateCertificateTypeExtensionServer(certificateType);
  22515. RuntimeObject* L_0 = ___extensions0;
  22516. int32_t L_1 = ((int32_t)19);
  22517. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22518. uint8_t L_3 = ___certificateType1;
  22519. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22520. L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC(L_3, /*hidden argument*/NULL);
  22521. NullCheck(L_0);
  22522. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22523. // }
  22524. return;
  22525. }
  22526. }
  22527. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddEncryptThenMacExtension(System.Collections.IDictionary)
  22528. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddEncryptThenMacExtension_mE0AFD0E9AAD60B720FCC0CDC23ABBED1B1218DE7 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22529. {
  22530. static bool s_Il2CppMethodInitialized;
  22531. if (!s_Il2CppMethodInitialized)
  22532. {
  22533. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22534. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22535. s_Il2CppMethodInitialized = true;
  22536. }
  22537. {
  22538. // extensions[ExtensionType.encrypt_then_mac] = CreateEncryptThenMacExtension();
  22539. RuntimeObject* L_0 = ___extensions0;
  22540. int32_t L_1 = ((int32_t)22);
  22541. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22542. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  22543. L_3 = TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73(/*hidden argument*/NULL);
  22544. NullCheck(L_0);
  22545. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_3);
  22546. // }
  22547. return;
  22548. }
  22549. }
  22550. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddExtendedMasterSecretExtension(System.Collections.IDictionary)
  22551. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22552. {
  22553. static bool s_Il2CppMethodInitialized;
  22554. if (!s_Il2CppMethodInitialized)
  22555. {
  22556. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22557. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22558. s_Il2CppMethodInitialized = true;
  22559. }
  22560. {
  22561. // extensions[ExtensionType.extended_master_secret] = CreateExtendedMasterSecretExtension();
  22562. RuntimeObject* L_0 = ___extensions0;
  22563. int32_t L_1 = ((int32_t)23);
  22564. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22565. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  22566. L_3 = TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011(/*hidden argument*/NULL);
  22567. NullCheck(L_0);
  22568. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_3);
  22569. // }
  22570. return;
  22571. }
  22572. }
  22573. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddHeartbeatExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
  22574. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddHeartbeatExtension_m07C8FD3CD024D57F780A68FB5C44B5C9874C0946 (RuntimeObject* ___extensions0, HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension1, const RuntimeMethod* method)
  22575. {
  22576. static bool s_Il2CppMethodInitialized;
  22577. if (!s_Il2CppMethodInitialized)
  22578. {
  22579. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22580. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22581. s_Il2CppMethodInitialized = true;
  22582. }
  22583. {
  22584. // extensions[ExtensionType.heartbeat] = CreateHeartbeatExtension(heartbeatExtension);
  22585. RuntimeObject* L_0 = ___extensions0;
  22586. int32_t L_1 = ((int32_t)15);
  22587. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22588. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_3 = ___heartbeatExtension1;
  22589. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22590. L_4 = TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884(L_3, /*hidden argument*/NULL);
  22591. NullCheck(L_0);
  22592. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22593. // }
  22594. return;
  22595. }
  22596. }
  22597. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddMaxFragmentLengthExtension(System.Collections.IDictionary,System.Byte)
  22598. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddMaxFragmentLengthExtension_mB28DEEC706D2D1B5C338A4C56CBF4C65E27FF4E7 (RuntimeObject* ___extensions0, uint8_t ___maxFragmentLength1, const RuntimeMethod* method)
  22599. {
  22600. static bool s_Il2CppMethodInitialized;
  22601. if (!s_Il2CppMethodInitialized)
  22602. {
  22603. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22604. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22605. s_Il2CppMethodInitialized = true;
  22606. }
  22607. {
  22608. // extensions[ExtensionType.max_fragment_length] = CreateMaxFragmentLengthExtension(maxFragmentLength);
  22609. RuntimeObject* L_0 = ___extensions0;
  22610. int32_t L_1 = 1;
  22611. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22612. uint8_t L_3 = ___maxFragmentLength1;
  22613. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22614. L_4 = TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD(L_3, /*hidden argument*/NULL);
  22615. NullCheck(L_0);
  22616. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22617. // }
  22618. return;
  22619. }
  22620. }
  22621. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddPaddingExtension(System.Collections.IDictionary,System.Int32)
  22622. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddPaddingExtension_mE00844998FBD2D3BF8A2979951136BA93AC70146 (RuntimeObject* ___extensions0, int32_t ___dataLength1, const RuntimeMethod* method)
  22623. {
  22624. static bool s_Il2CppMethodInitialized;
  22625. if (!s_Il2CppMethodInitialized)
  22626. {
  22627. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22628. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22629. s_Il2CppMethodInitialized = true;
  22630. }
  22631. {
  22632. // extensions[ExtensionType.padding] = CreatePaddingExtension(dataLength);
  22633. RuntimeObject* L_0 = ___extensions0;
  22634. int32_t L_1 = ((int32_t)21);
  22635. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22636. int32_t L_3 = ___dataLength1;
  22637. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22638. L_4 = TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732(L_3, /*hidden argument*/NULL);
  22639. NullCheck(L_0);
  22640. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22641. // }
  22642. return;
  22643. }
  22644. }
  22645. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])
  22646. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerCertificateTypeExtensionClient_m2B26F9332127B4E9AD00EE960DD2F386EE6BFB20 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes1, const RuntimeMethod* method)
  22647. {
  22648. static bool s_Il2CppMethodInitialized;
  22649. if (!s_Il2CppMethodInitialized)
  22650. {
  22651. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22652. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22653. s_Il2CppMethodInitialized = true;
  22654. }
  22655. {
  22656. // extensions[ExtensionType.server_certificate_type] = CreateCertificateTypeExtensionClient(certificateTypes);
  22657. RuntimeObject* L_0 = ___extensions0;
  22658. int32_t L_1 = ((int32_t)20);
  22659. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22660. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___certificateTypes1;
  22661. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22662. L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985(L_3, /*hidden argument*/NULL);
  22663. NullCheck(L_0);
  22664. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22665. // }
  22666. return;
  22667. }
  22668. }
  22669. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)
  22670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerCertificateTypeExtensionServer_m104EF5BB531ECF8D27DD6589F9B86E678745CF50 (RuntimeObject* ___extensions0, uint8_t ___certificateType1, const RuntimeMethod* method)
  22671. {
  22672. static bool s_Il2CppMethodInitialized;
  22673. if (!s_Il2CppMethodInitialized)
  22674. {
  22675. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22676. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22677. s_Il2CppMethodInitialized = true;
  22678. }
  22679. {
  22680. // extensions[ExtensionType.server_certificate_type] = CreateCertificateTypeExtensionServer(certificateType);
  22681. RuntimeObject* L_0 = ___extensions0;
  22682. int32_t L_1 = ((int32_t)20);
  22683. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22684. uint8_t L_3 = ___certificateType1;
  22685. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22686. L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC(L_3, /*hidden argument*/NULL);
  22687. NullCheck(L_0);
  22688. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22689. // }
  22690. return;
  22691. }
  22692. }
  22693. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerNameExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
  22694. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerNameExtension_m1EABD1F4CB9CE8CA76E23A46E8E236C0D5B7A7DF (RuntimeObject* ___extensions0, ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList1, const RuntimeMethod* method)
  22695. {
  22696. static bool s_Il2CppMethodInitialized;
  22697. if (!s_Il2CppMethodInitialized)
  22698. {
  22699. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22700. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22701. s_Il2CppMethodInitialized = true;
  22702. }
  22703. {
  22704. // extensions[ExtensionType.server_name] = CreateServerNameExtension(serverNameList);
  22705. RuntimeObject* L_0 = ___extensions0;
  22706. int32_t L_1 = 0;
  22707. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22708. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_3 = ___serverNameList1;
  22709. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22710. L_4 = TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246(L_3, /*hidden argument*/NULL);
  22711. NullCheck(L_0);
  22712. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22713. // }
  22714. return;
  22715. }
  22716. }
  22717. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddStatusRequestExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
  22718. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddStatusRequestExtension_m6A1105558BB9715E2A1B8E359ED41D15F9FCCC6B (RuntimeObject* ___extensions0, CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest1, const RuntimeMethod* method)
  22719. {
  22720. static bool s_Il2CppMethodInitialized;
  22721. if (!s_Il2CppMethodInitialized)
  22722. {
  22723. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22724. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22725. s_Il2CppMethodInitialized = true;
  22726. }
  22727. {
  22728. // extensions[ExtensionType.status_request] = CreateStatusRequestExtension(statusRequest);
  22729. RuntimeObject* L_0 = ___extensions0;
  22730. int32_t L_1 = 5;
  22731. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22732. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_3 = ___statusRequest1;
  22733. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22734. L_4 = TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086(L_3, /*hidden argument*/NULL);
  22735. NullCheck(L_0);
  22736. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  22737. // }
  22738. return;
  22739. }
  22740. }
  22741. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddTruncatedHMacExtension(System.Collections.IDictionary)
  22742. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddTruncatedHMacExtension_m291495C7C889A3625EDC84B631C3391DE731FB4B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22743. {
  22744. static bool s_Il2CppMethodInitialized;
  22745. if (!s_Il2CppMethodInitialized)
  22746. {
  22747. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  22748. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  22749. s_Il2CppMethodInitialized = true;
  22750. }
  22751. {
  22752. // extensions[ExtensionType.truncated_hmac] = CreateTruncatedHMacExtension();
  22753. RuntimeObject* L_0 = ___extensions0;
  22754. int32_t L_1 = 4;
  22755. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  22756. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  22757. L_3 = TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34(/*hidden argument*/NULL);
  22758. NullCheck(L_0);
  22759. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_3);
  22760. // }
  22761. return;
  22762. }
  22763. }
  22764. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetClientCertificateTypeExtensionClient(System.Collections.IDictionary)
  22765. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_GetClientCertificateTypeExtensionClient_m9226FC11B1D806A00638D4BCE452BBF820424FFC (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22766. {
  22767. static bool s_Il2CppMethodInitialized;
  22768. if (!s_Il2CppMethodInitialized)
  22769. {
  22770. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22771. s_Il2CppMethodInitialized = true;
  22772. }
  22773. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22774. {
  22775. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.client_certificate_type);
  22776. RuntimeObject* L_0 = ___extensions0;
  22777. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22778. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22779. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)19), /*hidden argument*/NULL);
  22780. V_0 = L_1;
  22781. // return extensionData == null ? null : ReadCertificateTypeExtensionClient(extensionData);
  22782. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22783. if (!L_2)
  22784. {
  22785. goto IL_0013;
  22786. }
  22787. }
  22788. {
  22789. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22790. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22791. L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC(L_3, /*hidden argument*/NULL);
  22792. return L_4;
  22793. }
  22794. IL_0013:
  22795. {
  22796. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  22797. }
  22798. }
  22799. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetClientCertificateTypeExtensionServer(System.Collections.IDictionary)
  22800. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetClientCertificateTypeExtensionServer_m818022FCC9E2C8BC775DB13B1F5A6135434444DD (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22801. {
  22802. static bool s_Il2CppMethodInitialized;
  22803. if (!s_Il2CppMethodInitialized)
  22804. {
  22805. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22806. s_Il2CppMethodInitialized = true;
  22807. }
  22808. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22809. {
  22810. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.client_certificate_type);
  22811. RuntimeObject* L_0 = ___extensions0;
  22812. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22813. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22814. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)19), /*hidden argument*/NULL);
  22815. V_0 = L_1;
  22816. // return extensionData == null ? (short)-1 : (short)ReadCertificateTypeExtensionServer(extensionData);
  22817. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22818. if (!L_2)
  22819. {
  22820. goto IL_0013;
  22821. }
  22822. }
  22823. {
  22824. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22825. uint8_t L_4;
  22826. L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357(L_3, /*hidden argument*/NULL);
  22827. return L_4;
  22828. }
  22829. IL_0013:
  22830. {
  22831. return (int16_t)(-1);
  22832. }
  22833. }
  22834. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetHeartbeatExtension(System.Collections.IDictionary)
  22835. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_GetHeartbeatExtension_mF7CDE89FCBB3CB75407F853CDF5C6C7B82B7B1F6 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22836. {
  22837. static bool s_Il2CppMethodInitialized;
  22838. if (!s_Il2CppMethodInitialized)
  22839. {
  22840. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22841. s_Il2CppMethodInitialized = true;
  22842. }
  22843. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22844. {
  22845. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.heartbeat);
  22846. RuntimeObject* L_0 = ___extensions0;
  22847. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22848. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22849. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)15), /*hidden argument*/NULL);
  22850. V_0 = L_1;
  22851. // return extensionData == null ? null : ReadHeartbeatExtension(extensionData);
  22852. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22853. if (!L_2)
  22854. {
  22855. goto IL_0013;
  22856. }
  22857. }
  22858. {
  22859. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22860. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_4;
  22861. L_4 = TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21(L_3, /*hidden argument*/NULL);
  22862. return L_4;
  22863. }
  22864. IL_0013:
  22865. {
  22866. return (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 *)NULL;
  22867. }
  22868. }
  22869. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetMaxFragmentLengthExtension(System.Collections.IDictionary)
  22870. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22871. {
  22872. static bool s_Il2CppMethodInitialized;
  22873. if (!s_Il2CppMethodInitialized)
  22874. {
  22875. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22876. s_Il2CppMethodInitialized = true;
  22877. }
  22878. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22879. {
  22880. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.max_fragment_length);
  22881. RuntimeObject* L_0 = ___extensions0;
  22882. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22883. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22884. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 1, /*hidden argument*/NULL);
  22885. V_0 = L_1;
  22886. // return extensionData == null ? (short)-1 : (short)ReadMaxFragmentLengthExtension(extensionData);
  22887. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22888. if (!L_2)
  22889. {
  22890. goto IL_0012;
  22891. }
  22892. }
  22893. {
  22894. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22895. uint8_t L_4;
  22896. L_4 = TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A(L_3, /*hidden argument*/NULL);
  22897. return L_4;
  22898. }
  22899. IL_0012:
  22900. {
  22901. return (int16_t)(-1);
  22902. }
  22903. }
  22904. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetPaddingExtension(System.Collections.IDictionary)
  22905. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22906. {
  22907. static bool s_Il2CppMethodInitialized;
  22908. if (!s_Il2CppMethodInitialized)
  22909. {
  22910. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22911. s_Il2CppMethodInitialized = true;
  22912. }
  22913. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22914. {
  22915. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.padding);
  22916. RuntimeObject* L_0 = ___extensions0;
  22917. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22918. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22919. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)21), /*hidden argument*/NULL);
  22920. V_0 = L_1;
  22921. // return extensionData == null ? -1 : ReadPaddingExtension(extensionData);
  22922. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22923. if (!L_2)
  22924. {
  22925. goto IL_0013;
  22926. }
  22927. }
  22928. {
  22929. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22930. int32_t L_4;
  22931. L_4 = TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3(L_3, /*hidden argument*/NULL);
  22932. return L_4;
  22933. }
  22934. IL_0013:
  22935. {
  22936. return (-1);
  22937. }
  22938. }
  22939. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerCertificateTypeExtensionClient(System.Collections.IDictionary)
  22940. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_GetServerCertificateTypeExtensionClient_m6F8FC582ABCA51F1FA493CEECCEFB4365CFB97F1 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22941. {
  22942. static bool s_Il2CppMethodInitialized;
  22943. if (!s_Il2CppMethodInitialized)
  22944. {
  22945. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22946. s_Il2CppMethodInitialized = true;
  22947. }
  22948. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22949. {
  22950. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_certificate_type);
  22951. RuntimeObject* L_0 = ___extensions0;
  22952. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22953. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22954. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)20), /*hidden argument*/NULL);
  22955. V_0 = L_1;
  22956. // return extensionData == null ? null : ReadCertificateTypeExtensionClient(extensionData);
  22957. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22958. if (!L_2)
  22959. {
  22960. goto IL_0013;
  22961. }
  22962. }
  22963. {
  22964. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  22965. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  22966. L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC(L_3, /*hidden argument*/NULL);
  22967. return L_4;
  22968. }
  22969. IL_0013:
  22970. {
  22971. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  22972. }
  22973. }
  22974. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerCertificateTypeExtensionServer(System.Collections.IDictionary)
  22975. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetServerCertificateTypeExtensionServer_mDBAB773C0D5DC5061FE6C2F83537B137A48BFF2B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  22976. {
  22977. static bool s_Il2CppMethodInitialized;
  22978. if (!s_Il2CppMethodInitialized)
  22979. {
  22980. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22981. s_Il2CppMethodInitialized = true;
  22982. }
  22983. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  22984. {
  22985. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_certificate_type);
  22986. RuntimeObject* L_0 = ___extensions0;
  22987. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  22988. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  22989. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)20), /*hidden argument*/NULL);
  22990. V_0 = L_1;
  22991. // return extensionData == null ? (short)-1 : (short)ReadCertificateTypeExtensionServer(extensionData);
  22992. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  22993. if (!L_2)
  22994. {
  22995. goto IL_0013;
  22996. }
  22997. }
  22998. {
  22999. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23000. uint8_t L_4;
  23001. L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357(L_3, /*hidden argument*/NULL);
  23002. return L_4;
  23003. }
  23004. IL_0013:
  23005. {
  23006. return (int16_t)(-1);
  23007. }
  23008. }
  23009. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerNameExtension(System.Collections.IDictionary)
  23010. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_GetServerNameExtension_mE2E2EF6214C43D768F2B58714A6D63992A625CDF (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  23011. {
  23012. static bool s_Il2CppMethodInitialized;
  23013. if (!s_Il2CppMethodInitialized)
  23014. {
  23015. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23016. s_Il2CppMethodInitialized = true;
  23017. }
  23018. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  23019. {
  23020. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_name);
  23021. RuntimeObject* L_0 = ___extensions0;
  23022. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23023. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23024. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 0, /*hidden argument*/NULL);
  23025. V_0 = L_1;
  23026. // return extensionData == null ? null : ReadServerNameExtension(extensionData);
  23027. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  23028. if (!L_2)
  23029. {
  23030. goto IL_0012;
  23031. }
  23032. }
  23033. {
  23034. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23035. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_4;
  23036. L_4 = TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE(L_3, /*hidden argument*/NULL);
  23037. return L_4;
  23038. }
  23039. IL_0012:
  23040. {
  23041. return (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 *)NULL;
  23042. }
  23043. }
  23044. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetStatusRequestExtension(System.Collections.IDictionary)
  23045. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_GetStatusRequestExtension_m487F06121CE54AA5373A7EEDCAD173C03F7578BB (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  23046. {
  23047. static bool s_Il2CppMethodInitialized;
  23048. if (!s_Il2CppMethodInitialized)
  23049. {
  23050. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23051. s_Il2CppMethodInitialized = true;
  23052. }
  23053. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  23054. {
  23055. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.status_request);
  23056. RuntimeObject* L_0 = ___extensions0;
  23057. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23058. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23059. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 5, /*hidden argument*/NULL);
  23060. V_0 = L_1;
  23061. // return extensionData == null ? null : ReadStatusRequestExtension(extensionData);
  23062. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  23063. if (!L_2)
  23064. {
  23065. goto IL_0012;
  23066. }
  23067. }
  23068. {
  23069. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23070. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_4;
  23071. L_4 = TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160(L_3, /*hidden argument*/NULL);
  23072. return L_4;
  23073. }
  23074. IL_0012:
  23075. {
  23076. return (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 *)NULL;
  23077. }
  23078. }
  23079. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasEncryptThenMacExtension(System.Collections.IDictionary)
  23080. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  23081. {
  23082. static bool s_Il2CppMethodInitialized;
  23083. if (!s_Il2CppMethodInitialized)
  23084. {
  23085. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23086. s_Il2CppMethodInitialized = true;
  23087. }
  23088. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  23089. {
  23090. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.encrypt_then_mac);
  23091. RuntimeObject* L_0 = ___extensions0;
  23092. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23093. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23094. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)22), /*hidden argument*/NULL);
  23095. V_0 = L_1;
  23096. // return extensionData == null ? false : ReadEncryptThenMacExtension(extensionData);
  23097. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  23098. if (!L_2)
  23099. {
  23100. goto IL_0013;
  23101. }
  23102. }
  23103. {
  23104. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23105. bool L_4;
  23106. L_4 = TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4(L_3, /*hidden argument*/NULL);
  23107. return L_4;
  23108. }
  23109. IL_0013:
  23110. {
  23111. return (bool)0;
  23112. }
  23113. }
  23114. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasExtendedMasterSecretExtension(System.Collections.IDictionary)
  23115. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  23116. {
  23117. static bool s_Il2CppMethodInitialized;
  23118. if (!s_Il2CppMethodInitialized)
  23119. {
  23120. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23121. s_Il2CppMethodInitialized = true;
  23122. }
  23123. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  23124. {
  23125. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.extended_master_secret);
  23126. RuntimeObject* L_0 = ___extensions0;
  23127. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23128. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23129. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)23), /*hidden argument*/NULL);
  23130. V_0 = L_1;
  23131. // return extensionData == null ? false : ReadExtendedMasterSecretExtension(extensionData);
  23132. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  23133. if (!L_2)
  23134. {
  23135. goto IL_0013;
  23136. }
  23137. }
  23138. {
  23139. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23140. bool L_4;
  23141. L_4 = TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D(L_3, /*hidden argument*/NULL);
  23142. return L_4;
  23143. }
  23144. IL_0013:
  23145. {
  23146. return (bool)0;
  23147. }
  23148. }
  23149. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasTruncatedHMacExtension(System.Collections.IDictionary)
  23150. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  23151. {
  23152. static bool s_Il2CppMethodInitialized;
  23153. if (!s_Il2CppMethodInitialized)
  23154. {
  23155. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23156. s_Il2CppMethodInitialized = true;
  23157. }
  23158. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  23159. {
  23160. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.truncated_hmac);
  23161. RuntimeObject* L_0 = ___extensions0;
  23162. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23163. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23164. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 4, /*hidden argument*/NULL);
  23165. V_0 = L_1;
  23166. // return extensionData == null ? false : ReadTruncatedHMacExtension(extensionData);
  23167. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  23168. if (!L_2)
  23169. {
  23170. goto IL_0012;
  23171. }
  23172. }
  23173. {
  23174. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  23175. bool L_4;
  23176. L_4 = TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8(L_3, /*hidden argument*/NULL);
  23177. return L_4;
  23178. }
  23179. IL_0012:
  23180. {
  23181. return (bool)0;
  23182. }
  23183. }
  23184. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionClient(System.Byte[])
  23185. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes0, const RuntimeMethod* method)
  23186. {
  23187. static bool s_Il2CppMethodInitialized;
  23188. if (!s_Il2CppMethodInitialized)
  23189. {
  23190. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23191. s_Il2CppMethodInitialized = true;
  23192. }
  23193. {
  23194. // if (certificateTypes == null || certificateTypes.Length < 1 || certificateTypes.Length > 255)
  23195. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___certificateTypes0;
  23196. if (!L_0)
  23197. {
  23198. goto IL_0013;
  23199. }
  23200. }
  23201. {
  23202. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___certificateTypes0;
  23203. NullCheck(L_1);
  23204. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) < ((int32_t)1)))
  23205. {
  23206. goto IL_0013;
  23207. }
  23208. }
  23209. {
  23210. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___certificateTypes0;
  23211. NullCheck(L_2);
  23212. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) <= ((int32_t)((int32_t)255))))
  23213. {
  23214. goto IL_001b;
  23215. }
  23216. }
  23217. IL_0013:
  23218. {
  23219. // throw new TlsFatalAlert(AlertDescription.internal_error);
  23220. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23221. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  23222. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985_RuntimeMethod_var)));
  23223. }
  23224. IL_001b:
  23225. {
  23226. // return TlsUtilities.EncodeUint8ArrayWithUint8Length(certificateTypes);
  23227. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___certificateTypes0;
  23228. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23229. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  23230. L_5 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_4, /*hidden argument*/NULL);
  23231. return L_5;
  23232. }
  23233. }
  23234. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionServer(System.Byte)
  23235. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC (uint8_t ___certificateType0, const RuntimeMethod* method)
  23236. {
  23237. static bool s_Il2CppMethodInitialized;
  23238. if (!s_Il2CppMethodInitialized)
  23239. {
  23240. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23241. s_Il2CppMethodInitialized = true;
  23242. }
  23243. {
  23244. // return TlsUtilities.EncodeUint8(certificateType);
  23245. uint8_t L_0 = ___certificateType0;
  23246. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23247. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23248. L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
  23249. return L_1;
  23250. }
  23251. }
  23252. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEmptyExtensionData()
  23253. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1 (const RuntimeMethod* method)
  23254. {
  23255. static bool s_Il2CppMethodInitialized;
  23256. if (!s_Il2CppMethodInitialized)
  23257. {
  23258. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23259. s_Il2CppMethodInitialized = true;
  23260. }
  23261. {
  23262. // return TlsUtilities.EmptyBytes;
  23263. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23264. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  23265. return L_0;
  23266. }
  23267. }
  23268. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEncryptThenMacExtension()
  23269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73 (const RuntimeMethod* method)
  23270. {
  23271. {
  23272. // return CreateEmptyExtensionData();
  23273. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
  23274. L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
  23275. return L_0;
  23276. }
  23277. }
  23278. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateExtendedMasterSecretExtension()
  23279. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011 (const RuntimeMethod* method)
  23280. {
  23281. {
  23282. // return CreateEmptyExtensionData();
  23283. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
  23284. L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
  23285. return L_0;
  23286. }
  23287. }
  23288. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateHeartbeatExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
  23289. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884 (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension0, const RuntimeMethod* method)
  23290. {
  23291. static bool s_Il2CppMethodInitialized;
  23292. if (!s_Il2CppMethodInitialized)
  23293. {
  23294. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23295. s_Il2CppMethodInitialized = true;
  23296. }
  23297. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  23298. {
  23299. // if (heartbeatExtension == null)
  23300. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_0 = ___heartbeatExtension0;
  23301. if (L_0)
  23302. {
  23303. goto IL_000b;
  23304. }
  23305. }
  23306. {
  23307. // throw new TlsFatalAlert(AlertDescription.internal_error);
  23308. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23309. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  23310. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884_RuntimeMethod_var)));
  23311. }
  23312. IL_000b:
  23313. {
  23314. // MemoryStream buf = new MemoryStream();
  23315. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23316. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
  23317. V_0 = L_2;
  23318. // heartbeatExtension.Encode(buf);
  23319. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_3 = ___heartbeatExtension0;
  23320. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
  23321. NullCheck(L_3);
  23322. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::Encode(System.IO.Stream) */, L_3, L_4);
  23323. // return buf.ToArray();
  23324. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  23325. NullCheck(L_5);
  23326. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  23327. L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
  23328. return L_6;
  23329. }
  23330. }
  23331. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateMaxFragmentLengthExtension(System.Byte)
  23332. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD (uint8_t ___maxFragmentLength0, const RuntimeMethod* method)
  23333. {
  23334. static bool s_Il2CppMethodInitialized;
  23335. if (!s_Il2CppMethodInitialized)
  23336. {
  23337. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23338. s_Il2CppMethodInitialized = true;
  23339. }
  23340. {
  23341. // return TlsUtilities.EncodeUint8(maxFragmentLength);
  23342. uint8_t L_0 = ___maxFragmentLength0;
  23343. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23344. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23345. L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
  23346. return L_1;
  23347. }
  23348. }
  23349. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreatePaddingExtension(System.Int32)
  23350. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732 (int32_t ___dataLength0, const RuntimeMethod* method)
  23351. {
  23352. static bool s_Il2CppMethodInitialized;
  23353. if (!s_Il2CppMethodInitialized)
  23354. {
  23355. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  23356. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23357. s_Il2CppMethodInitialized = true;
  23358. }
  23359. {
  23360. // TlsUtilities.CheckUint16(dataLength);
  23361. int32_t L_0 = ___dataLength0;
  23362. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23363. TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_0, /*hidden argument*/NULL);
  23364. // return new byte[dataLength];
  23365. int32_t L_1 = ___dataLength0;
  23366. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_1);
  23367. return L_2;
  23368. }
  23369. }
  23370. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateServerNameExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
  23371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246 (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList0, const RuntimeMethod* method)
  23372. {
  23373. static bool s_Il2CppMethodInitialized;
  23374. if (!s_Il2CppMethodInitialized)
  23375. {
  23376. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23377. s_Il2CppMethodInitialized = true;
  23378. }
  23379. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  23380. {
  23381. // if (serverNameList == null)
  23382. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_0 = ___serverNameList0;
  23383. if (L_0)
  23384. {
  23385. goto IL_000b;
  23386. }
  23387. }
  23388. {
  23389. // throw new TlsFatalAlert(AlertDescription.internal_error);
  23390. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23391. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  23392. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246_RuntimeMethod_var)));
  23393. }
  23394. IL_000b:
  23395. {
  23396. // MemoryStream buf = new MemoryStream();
  23397. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23398. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
  23399. V_0 = L_2;
  23400. // serverNameList.Encode(buf);
  23401. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_3 = ___serverNameList0;
  23402. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
  23403. NullCheck(L_3);
  23404. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::Encode(System.IO.Stream) */, L_3, L_4);
  23405. // return buf.ToArray();
  23406. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  23407. NullCheck(L_5);
  23408. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  23409. L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
  23410. return L_6;
  23411. }
  23412. }
  23413. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateStatusRequestExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
  23414. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086 (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest0, const RuntimeMethod* method)
  23415. {
  23416. static bool s_Il2CppMethodInitialized;
  23417. if (!s_Il2CppMethodInitialized)
  23418. {
  23419. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23420. s_Il2CppMethodInitialized = true;
  23421. }
  23422. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  23423. {
  23424. // if (statusRequest == null)
  23425. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_0 = ___statusRequest0;
  23426. if (L_0)
  23427. {
  23428. goto IL_000b;
  23429. }
  23430. }
  23431. {
  23432. // throw new TlsFatalAlert(AlertDescription.internal_error);
  23433. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23434. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  23435. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086_RuntimeMethod_var)));
  23436. }
  23437. IL_000b:
  23438. {
  23439. // MemoryStream buf = new MemoryStream();
  23440. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23441. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
  23442. V_0 = L_2;
  23443. // statusRequest.Encode(buf);
  23444. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_3 = ___statusRequest0;
  23445. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
  23446. NullCheck(L_3);
  23447. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::Encode(System.IO.Stream) */, L_3, L_4);
  23448. // return buf.ToArray();
  23449. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  23450. NullCheck(L_5);
  23451. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  23452. L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
  23453. return L_6;
  23454. }
  23455. }
  23456. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateTruncatedHMacExtension()
  23457. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34 (const RuntimeMethod* method)
  23458. {
  23459. {
  23460. // return CreateEmptyExtensionData();
  23461. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
  23462. L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
  23463. return L_0;
  23464. }
  23465. }
  23466. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEmptyExtensionData(System.Byte[])
  23467. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23468. {
  23469. {
  23470. // if (extensionData == null)
  23471. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23472. if (L_0)
  23473. {
  23474. goto IL_000e;
  23475. }
  23476. }
  23477. {
  23478. // throw new ArgumentNullException("extensionData");
  23479. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  23480. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  23481. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var)));
  23482. }
  23483. IL_000e:
  23484. {
  23485. // if (extensionData.Length != 0)
  23486. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  23487. NullCheck(L_2);
  23488. if (!(((RuntimeArray*)L_2)->max_length))
  23489. {
  23490. goto IL_001a;
  23491. }
  23492. }
  23493. {
  23494. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  23495. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23496. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  23497. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var)));
  23498. }
  23499. IL_001a:
  23500. {
  23501. // return true;
  23502. return (bool)1;
  23503. }
  23504. }
  23505. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionClient(System.Byte[])
  23506. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23507. {
  23508. static bool s_Il2CppMethodInitialized;
  23509. if (!s_Il2CppMethodInitialized)
  23510. {
  23511. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23512. s_Il2CppMethodInitialized = true;
  23513. }
  23514. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
  23515. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
  23516. {
  23517. // byte[] certificateTypes = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
  23518. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23519. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23520. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  23521. L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
  23522. // if (certificateTypes.Length < 1)
  23523. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
  23524. NullCheck(L_2);
  23525. G_B1_0 = L_2;
  23526. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) >= ((int32_t)1)))
  23527. {
  23528. G_B2_0 = L_2;
  23529. goto IL_0014;
  23530. }
  23531. }
  23532. {
  23533. // throw new TlsFatalAlert(AlertDescription.decode_error);
  23534. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23535. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  23536. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC_RuntimeMethod_var)));
  23537. }
  23538. IL_0014:
  23539. {
  23540. // return certificateTypes;
  23541. return G_B2_0;
  23542. }
  23543. }
  23544. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionServer(System.Byte[])
  23545. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23546. {
  23547. static bool s_Il2CppMethodInitialized;
  23548. if (!s_Il2CppMethodInitialized)
  23549. {
  23550. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23551. s_Il2CppMethodInitialized = true;
  23552. }
  23553. {
  23554. // return TlsUtilities.DecodeUint8(extensionData);
  23555. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23556. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23557. uint8_t L_1;
  23558. L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
  23559. return L_1;
  23560. }
  23561. }
  23562. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEncryptThenMacExtension(System.Byte[])
  23563. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23564. {
  23565. {
  23566. // return ReadEmptyExtensionData(extensionData);
  23567. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23568. bool L_1;
  23569. L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
  23570. return L_1;
  23571. }
  23572. }
  23573. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadExtendedMasterSecretExtension(System.Byte[])
  23574. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23575. {
  23576. {
  23577. // return ReadEmptyExtensionData(extensionData);
  23578. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23579. bool L_1;
  23580. L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
  23581. return L_1;
  23582. }
  23583. }
  23584. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadHeartbeatExtension(System.Byte[])
  23585. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23586. {
  23587. static bool s_Il2CppMethodInitialized;
  23588. if (!s_Il2CppMethodInitialized)
  23589. {
  23590. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23591. s_Il2CppMethodInitialized = true;
  23592. }
  23593. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * V_0 = NULL;
  23594. {
  23595. // if (extensionData == null)
  23596. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23597. if (L_0)
  23598. {
  23599. goto IL_000e;
  23600. }
  23601. }
  23602. {
  23603. // throw new ArgumentNullException("extensionData");
  23604. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  23605. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  23606. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21_RuntimeMethod_var)));
  23607. }
  23608. IL_000e:
  23609. {
  23610. // MemoryStream buf = new MemoryStream(extensionData, false);
  23611. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  23612. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23613. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
  23614. // HeartbeatExtension heartbeatExtension = HeartbeatExtension.Parse(buf);
  23615. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
  23616. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_5;
  23617. L_5 = HeartbeatExtension_Parse_mEF43B54D435CB887090892A30DD3BC6371712CCE(L_4, /*hidden argument*/NULL);
  23618. V_0 = L_5;
  23619. // TlsProtocol.AssertEmpty(buf);
  23620. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
  23621. // return heartbeatExtension;
  23622. HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_6 = V_0;
  23623. return L_6;
  23624. }
  23625. }
  23626. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadMaxFragmentLengthExtension(System.Byte[])
  23627. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23628. {
  23629. static bool s_Il2CppMethodInitialized;
  23630. if (!s_Il2CppMethodInitialized)
  23631. {
  23632. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23633. s_Il2CppMethodInitialized = true;
  23634. }
  23635. {
  23636. // return TlsUtilities.DecodeUint8(extensionData);
  23637. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23638. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23639. uint8_t L_1;
  23640. L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
  23641. return L_1;
  23642. }
  23643. }
  23644. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadPaddingExtension(System.Byte[])
  23645. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23646. {
  23647. int32_t V_0 = 0;
  23648. {
  23649. // if (extensionData == null)
  23650. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23651. if (L_0)
  23652. {
  23653. goto IL_000e;
  23654. }
  23655. }
  23656. {
  23657. // throw new ArgumentNullException("extensionData");
  23658. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  23659. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  23660. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var)));
  23661. }
  23662. IL_000e:
  23663. {
  23664. // for (int i = 0; i < extensionData.Length; ++i)
  23665. V_0 = 0;
  23666. goto IL_0023;
  23667. }
  23668. IL_0012:
  23669. {
  23670. // if (extensionData[i] != 0)
  23671. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  23672. int32_t L_3 = V_0;
  23673. NullCheck(L_2);
  23674. int32_t L_4 = L_3;
  23675. uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  23676. if (!L_5)
  23677. {
  23678. goto IL_001f;
  23679. }
  23680. }
  23681. {
  23682. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  23683. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  23684. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  23685. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var)));
  23686. }
  23687. IL_001f:
  23688. {
  23689. // for (int i = 0; i < extensionData.Length; ++i)
  23690. int32_t L_7 = V_0;
  23691. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
  23692. }
  23693. IL_0023:
  23694. {
  23695. // for (int i = 0; i < extensionData.Length; ++i)
  23696. int32_t L_8 = V_0;
  23697. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = ___extensionData0;
  23698. NullCheck(L_9);
  23699. if ((((int32_t)L_8) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length))))))
  23700. {
  23701. goto IL_0012;
  23702. }
  23703. }
  23704. {
  23705. // return extensionData.Length;
  23706. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___extensionData0;
  23707. NullCheck(L_10);
  23708. return ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)));
  23709. }
  23710. }
  23711. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadServerNameExtension(System.Byte[])
  23712. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23713. {
  23714. static bool s_Il2CppMethodInitialized;
  23715. if (!s_Il2CppMethodInitialized)
  23716. {
  23717. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23718. s_Il2CppMethodInitialized = true;
  23719. }
  23720. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * V_0 = NULL;
  23721. {
  23722. // if (extensionData == null)
  23723. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23724. if (L_0)
  23725. {
  23726. goto IL_000e;
  23727. }
  23728. }
  23729. {
  23730. // throw new ArgumentNullException("extensionData");
  23731. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  23732. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  23733. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE_RuntimeMethod_var)));
  23734. }
  23735. IL_000e:
  23736. {
  23737. // MemoryStream buf = new MemoryStream(extensionData, false);
  23738. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  23739. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23740. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
  23741. // ServerNameList serverNameList = ServerNameList.Parse(buf);
  23742. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
  23743. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_5;
  23744. L_5 = ServerNameList_Parse_m6438CE9C79DC77BAC6CE2B863828AE49ADB67F42(L_4, /*hidden argument*/NULL);
  23745. V_0 = L_5;
  23746. // TlsProtocol.AssertEmpty(buf);
  23747. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
  23748. // return serverNameList;
  23749. ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_6 = V_0;
  23750. return L_6;
  23751. }
  23752. }
  23753. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadStatusRequestExtension(System.Byte[])
  23754. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23755. {
  23756. static bool s_Il2CppMethodInitialized;
  23757. if (!s_Il2CppMethodInitialized)
  23758. {
  23759. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23760. s_Il2CppMethodInitialized = true;
  23761. }
  23762. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * V_0 = NULL;
  23763. {
  23764. // if (extensionData == null)
  23765. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23766. if (L_0)
  23767. {
  23768. goto IL_000e;
  23769. }
  23770. }
  23771. {
  23772. // throw new ArgumentNullException("extensionData");
  23773. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  23774. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  23775. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160_RuntimeMethod_var)));
  23776. }
  23777. IL_000e:
  23778. {
  23779. // MemoryStream buf = new MemoryStream(extensionData, false);
  23780. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  23781. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  23782. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
  23783. // CertificateStatusRequest statusRequest = CertificateStatusRequest.Parse(buf);
  23784. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
  23785. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_5;
  23786. L_5 = CertificateStatusRequest_Parse_mFE546FA55E39716667D76E62DFBC0EAFA02CBFA5(L_4, /*hidden argument*/NULL);
  23787. V_0 = L_5;
  23788. // TlsProtocol.AssertEmpty(buf);
  23789. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
  23790. // return statusRequest;
  23791. CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_6 = V_0;
  23792. return L_6;
  23793. }
  23794. }
  23795. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadTruncatedHMacExtension(System.Byte[])
  23796. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  23797. {
  23798. {
  23799. // return ReadEmptyExtensionData(extensionData);
  23800. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  23801. bool L_1;
  23802. L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
  23803. return L_1;
  23804. }
  23805. }
  23806. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::.ctor()
  23807. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities__ctor_m9FC0AAA681B586516769DF345E0BAD9AC9D252C5 (TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247 * __this, const RuntimeMethod* method)
  23808. {
  23809. {
  23810. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  23811. return;
  23812. }
  23813. }
  23814. #ifdef __clang__
  23815. #pragma clang diagnostic pop
  23816. #endif
  23817. #ifdef __clang__
  23818. #pragma clang diagnostic push
  23819. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  23820. #pragma clang diagnostic ignored "-Wunused-variable"
  23821. #endif
  23822. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte)
  23823. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
  23824. {
  23825. {
  23826. // : this(alertDescription, null)
  23827. uint8_t L_0 = ___alertDescription0;
  23828. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(__this, L_0, (Exception_t *)NULL, /*hidden argument*/NULL);
  23829. // }
  23830. return;
  23831. }
  23832. }
  23833. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte,System.Exception)
  23834. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, Exception_t * ___alertCause1, const RuntimeMethod* method)
  23835. {
  23836. {
  23837. // : base(Tls.AlertDescription.GetText(alertDescription), alertCause)
  23838. uint8_t L_0 = ___alertDescription0;
  23839. String_t* L_1;
  23840. L_1 = AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E(L_0, /*hidden argument*/NULL);
  23841. Exception_t * L_2 = ___alertCause1;
  23842. TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66(__this, L_1, L_2, /*hidden argument*/NULL);
  23843. // this.alertDescription = alertDescription;
  23844. uint8_t L_3 = ___alertDescription0;
  23845. __this->set_alertDescription_18(L_3);
  23846. // }
  23847. return;
  23848. }
  23849. }
  23850. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription()
  23851. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsFatalAlert_get_AlertDescription_mBA4ACD1C9CFCA2D7CF822E13A23C0F3F87655C8B (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, const RuntimeMethod* method)
  23852. {
  23853. {
  23854. // get { return alertDescription; }
  23855. uint8_t L_0 = __this->get_alertDescription_18();
  23856. return L_0;
  23857. }
  23858. }
  23859. #ifdef __clang__
  23860. #pragma clang diagnostic pop
  23861. #endif
  23862. #ifdef __clang__
  23863. #pragma clang diagnostic push
  23864. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  23865. #pragma clang diagnostic ignored "-Wunused-variable"
  23866. #endif
  23867. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::.ctor(System.Byte)
  23868. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
  23869. {
  23870. {
  23871. // : base(Tls.AlertDescription.GetText(alertDescription), null)
  23872. uint8_t L_0 = ___alertDescription0;
  23873. String_t* L_1;
  23874. L_1 = AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E(L_0, /*hidden argument*/NULL);
  23875. TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66(__this, L_1, (Exception_t *)NULL, /*hidden argument*/NULL);
  23876. // this.alertDescription = alertDescription;
  23877. uint8_t L_2 = ___alertDescription0;
  23878. __this->set_alertDescription_18(L_2);
  23879. // }
  23880. return;
  23881. }
  23882. }
  23883. // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::get_AlertDescription()
  23884. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsFatalAlertReceived_get_AlertDescription_m4889AD129BAB38C597868A9F763362F66B381522 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, const RuntimeMethod* method)
  23885. {
  23886. {
  23887. // get { return alertDescription; }
  23888. uint8_t L_0 = __this->get_alertDescription_18();
  23889. return L_0;
  23890. }
  23891. }
  23892. #ifdef __clang__
  23893. #pragma clang diagnostic pop
  23894. #endif
  23895. #ifdef __clang__
  23896. #pragma clang diagnostic push
  23897. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  23898. #pragma clang diagnostic ignored "-Wunused-variable"
  23899. #endif
  23900. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32,System.Int32)
  23901. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, RuntimeObject* ___context0, RuntimeObject* ___digest1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___key2, int32_t ___keyOff3, int32_t ___keyLen4, const RuntimeMethod* method)
  23902. {
  23903. static bool s_Il2CppMethodInitialized;
  23904. if (!s_Il2CppMethodInitialized)
  23905. {
  23906. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  23907. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var);
  23908. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  23909. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
  23910. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  23911. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var);
  23912. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  23913. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var);
  23914. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  23915. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23916. s_Il2CppMethodInitialized = true;
  23917. }
  23918. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_0 = NULL;
  23919. {
  23920. // public TlsMac(TlsContext context, IDigest digest, byte[] key, int keyOff, int keyLen)
  23921. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  23922. // this.context = context;
  23923. RuntimeObject* L_0 = ___context0;
  23924. __this->set_context_0(L_0);
  23925. // KeyParameter keyParameter = new KeyParameter(key, keyOff, keyLen);
  23926. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___key2;
  23927. int32_t L_2 = ___keyOff3;
  23928. int32_t L_3 = ___keyLen4;
  23929. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_4 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
  23930. KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_4, L_1, L_2, L_3, /*hidden argument*/NULL);
  23931. V_0 = L_4;
  23932. // this.secret = Arrays.Clone(keyParameter.GetKey());
  23933. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_5 = V_0;
  23934. NullCheck(L_5);
  23935. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  23936. L_6 = KeyParameter_GetKey_mCA2C132B43F669063C426602DD5A8A672531385A(L_5, /*hidden argument*/NULL);
  23937. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  23938. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  23939. L_7 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_6, /*hidden argument*/NULL);
  23940. __this->set_secret_1(L_7);
  23941. // if (digest is LongDigest)
  23942. RuntimeObject* L_8 = ___digest1;
  23943. if (!((LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F *)IsInstClass((RuntimeObject*)L_8, LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var)))
  23944. {
  23945. goto IL_0046;
  23946. }
  23947. }
  23948. {
  23949. // this.digestBlockSize = 128;
  23950. __this->set_digestBlockSize_3(((int32_t)128));
  23951. // this.digestOverhead = 16;
  23952. __this->set_digestOverhead_4(((int32_t)16));
  23953. // }
  23954. goto IL_0055;
  23955. }
  23956. IL_0046:
  23957. {
  23958. // this.digestBlockSize = 64;
  23959. __this->set_digestBlockSize_3(((int32_t)64));
  23960. // this.digestOverhead = 8;
  23961. __this->set_digestOverhead_4(8);
  23962. }
  23963. IL_0055:
  23964. {
  23965. // if (TlsUtilities.IsSsl(context))
  23966. RuntimeObject* L_9 = ___context0;
  23967. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  23968. bool L_10;
  23969. L_10 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_9, /*hidden argument*/NULL);
  23970. if (!L_10)
  23971. {
  23972. goto IL_007c;
  23973. }
  23974. }
  23975. {
  23976. // this.mac = new Ssl3Mac(digest);
  23977. RuntimeObject* L_11 = ___digest1;
  23978. Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E * L_12 = (Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E *)il2cpp_codegen_object_new(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var);
  23979. Ssl3Mac__ctor_m0F273E8D113CF7441C28B0A02BB7F073DBE0AAD3(L_12, L_11, /*hidden argument*/NULL);
  23980. __this->set_mac_2(L_12);
  23981. // if (digest.GetDigestSize() == 20)
  23982. RuntimeObject* L_13 = ___digest1;
  23983. NullCheck(L_13);
  23984. int32_t L_14;
  23985. L_14 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_13);
  23986. if ((!(((uint32_t)L_14) == ((uint32_t)((int32_t)20)))))
  23987. {
  23988. goto IL_0088;
  23989. }
  23990. }
  23991. {
  23992. // this.digestOverhead = 4;
  23993. __this->set_digestOverhead_4(4);
  23994. // }
  23995. goto IL_0088;
  23996. }
  23997. IL_007c:
  23998. {
  23999. // this.mac = new HMac(digest);
  24000. RuntimeObject* L_15 = ___digest1;
  24001. HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * L_16 = (HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B *)il2cpp_codegen_object_new(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var);
  24002. HMac__ctor_m2F116E272494B59F6E93CF539BBAE3A571D0FBFE(L_16, L_15, /*hidden argument*/NULL);
  24003. __this->set_mac_2(L_16);
  24004. }
  24005. IL_0088:
  24006. {
  24007. // this.mac.Init(keyParameter);
  24008. RuntimeObject* L_17 = __this->get_mac_2();
  24009. KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_18 = V_0;
  24010. NullCheck(L_17);
  24011. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_17, L_18);
  24012. // this.macLength = mac.GetMacSize();
  24013. RuntimeObject* L_19 = __this->get_mac_2();
  24014. NullCheck(L_19);
  24015. int32_t L_20;
  24016. L_20 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::GetMacSize() */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_19);
  24017. __this->set_macLength_5(L_20);
  24018. // if (context.SecurityParameters.truncatedHMac)
  24019. RuntimeObject* L_21 = ___context0;
  24020. NullCheck(L_21);
  24021. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22;
  24022. L_22 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_21);
  24023. NullCheck(L_22);
  24024. bool L_23 = L_22->get_truncatedHMac_12();
  24025. if (!L_23)
  24026. {
  24027. goto IL_00c5;
  24028. }
  24029. }
  24030. {
  24031. // this.macLength = System.Math.Min(this.macLength, 10);
  24032. int32_t L_24 = __this->get_macLength_5();
  24033. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  24034. int32_t L_25;
  24035. L_25 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_24, ((int32_t)10), /*hidden argument*/NULL);
  24036. __this->set_macLength_5(L_25);
  24037. }
  24038. IL_00c5:
  24039. {
  24040. // }
  24041. return;
  24042. }
  24043. }
  24044. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_MacSecret()
  24045. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_get_MacSecret_m897914D112A4FFB96A28F7E02771DD15BABCAE18 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, const RuntimeMethod* method)
  24046. {
  24047. {
  24048. // get { return this.secret; }
  24049. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_secret_1();
  24050. return L_0;
  24051. }
  24052. }
  24053. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size()
  24054. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsMac_get_Size_mFEA86803815D655AFC776B7937EFB100D9288B7A (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, const RuntimeMethod* method)
  24055. {
  24056. {
  24057. // get { return macLength; }
  24058. int32_t L_0 = __this->get_macLength_5();
  24059. return L_0;
  24060. }
  24061. }
  24062. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  24063. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_CalculateMac_m898710BE5EA371E1F61FC45AFC2821E13D7570D8 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___message2, int32_t ___offset3, int32_t ___length4, const RuntimeMethod* method)
  24064. {
  24065. static bool s_Il2CppMethodInitialized;
  24066. if (!s_Il2CppMethodInitialized)
  24067. {
  24068. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  24069. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
  24070. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var);
  24071. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  24072. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24073. s_Il2CppMethodInitialized = true;
  24074. }
  24075. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
  24076. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  24077. bool G_B2_0 = false;
  24078. bool G_B1_0 = false;
  24079. int32_t G_B3_0 = 0;
  24080. bool G_B3_1 = false;
  24081. {
  24082. // ProtocolVersion serverVersion = context.ServerVersion;
  24083. RuntimeObject* L_0 = __this->get_context_0();
  24084. NullCheck(L_0);
  24085. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
  24086. L_1 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
  24087. V_0 = L_1;
  24088. // bool isSsl = serverVersion.IsSsl;
  24089. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2 = V_0;
  24090. NullCheck(L_2);
  24091. bool L_3;
  24092. L_3 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_2, /*hidden argument*/NULL);
  24093. // byte[] macHeader = new byte[isSsl ? 11 : 13];
  24094. bool L_4 = L_3;
  24095. G_B1_0 = L_4;
  24096. if (L_4)
  24097. {
  24098. G_B2_0 = L_4;
  24099. goto IL_0019;
  24100. }
  24101. }
  24102. {
  24103. G_B3_0 = ((int32_t)13);
  24104. G_B3_1 = G_B1_0;
  24105. goto IL_001b;
  24106. }
  24107. IL_0019:
  24108. {
  24109. G_B3_0 = ((int32_t)11);
  24110. G_B3_1 = G_B2_0;
  24111. }
  24112. IL_001b:
  24113. {
  24114. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)G_B3_0);
  24115. V_1 = L_5;
  24116. // TlsUtilities.WriteUint64(seqNo, macHeader, 0);
  24117. int64_t L_6 = ___seqNo0;
  24118. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_1;
  24119. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24120. TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_6, L_7, 0, /*hidden argument*/NULL);
  24121. // TlsUtilities.WriteUint8(type, macHeader, 8);
  24122. uint8_t L_8 = ___type1;
  24123. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_1;
  24124. TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186(L_8, L_9, 8, /*hidden argument*/NULL);
  24125. // if (!isSsl)
  24126. if (G_B3_1)
  24127. {
  24128. goto IL_003c;
  24129. }
  24130. }
  24131. {
  24132. // TlsUtilities.WriteVersion(serverVersion, macHeader, 9);
  24133. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_10 = V_0;
  24134. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_1;
  24135. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24136. TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_10, L_11, ((int32_t)9), /*hidden argument*/NULL);
  24137. }
  24138. IL_003c:
  24139. {
  24140. // TlsUtilities.WriteUint16(length, macHeader, macHeader.Length - 2);
  24141. int32_t L_12 = ___length4;
  24142. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_1;
  24143. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_1;
  24144. NullCheck(L_14);
  24145. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24146. TlsUtilities_WriteUint16_mC62EE72A6598A7A7761399F9597312CC5E100CF0(L_12, L_13, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))), (int32_t)2)), /*hidden argument*/NULL);
  24147. // mac.BlockUpdate(macHeader, 0, macHeader.Length);
  24148. RuntimeObject* L_15 = __this->get_mac_2();
  24149. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_1;
  24150. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = V_1;
  24151. NullCheck(L_17);
  24152. NullCheck(L_15);
  24153. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_15, L_16, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))));
  24154. // mac.BlockUpdate(message, offset, length);
  24155. RuntimeObject* L_18 = __this->get_mac_2();
  24156. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = ___message2;
  24157. int32_t L_20 = ___offset3;
  24158. int32_t L_21 = ___length4;
  24159. NullCheck(L_18);
  24160. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_18, L_19, L_20, L_21);
  24161. // return Truncate(MacUtilities.DoFinal(mac));
  24162. RuntimeObject* L_22 = __this->get_mac_2();
  24163. IL2CPP_RUNTIME_CLASS_INIT(MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var);
  24164. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
  24165. L_23 = MacUtilities_DoFinal_m07D2EDE7426AE8B7BB98545CFE3D0CB03393A7D4(L_22, /*hidden argument*/NULL);
  24166. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
  24167. L_24 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::Truncate(System.Byte[]) */, __this, L_23);
  24168. return L_24;
  24169. }
  24170. }
  24171. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMacConstantTime(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32,System.Int32,System.Byte[])
  24172. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_CalculateMacConstantTime_mB177A1FFFE767A85936520D01106AE018FD34605 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___message2, int32_t ___offset3, int32_t ___length4, int32_t ___fullLength5, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dummyData6, const RuntimeMethod* method)
  24173. {
  24174. static bool s_Il2CppMethodInitialized;
  24175. if (!s_Il2CppMethodInitialized)
  24176. {
  24177. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
  24178. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24179. s_Il2CppMethodInitialized = true;
  24180. }
  24181. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  24182. int32_t V_1 = 0;
  24183. int32_t V_2 = 0;
  24184. int32_t G_B3_0 = 0;
  24185. {
  24186. // byte[] result = CalculateMac(seqNo, type, message, offset, length);
  24187. int64_t L_0 = ___seqNo0;
  24188. uint8_t L_1 = ___type1;
  24189. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___message2;
  24190. int32_t L_3 = ___offset3;
  24191. int32_t L_4 = ___length4;
  24192. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  24193. L_5 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, L_0, L_1, L_2, L_3, L_4);
  24194. V_0 = L_5;
  24195. // int headerLength = TlsUtilities.IsSsl(context) ? 11 : 13;
  24196. RuntimeObject* L_6 = __this->get_context_0();
  24197. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24198. bool L_7;
  24199. L_7 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_6, /*hidden argument*/NULL);
  24200. if (L_7)
  24201. {
  24202. goto IL_001f;
  24203. }
  24204. }
  24205. {
  24206. G_B3_0 = ((int32_t)13);
  24207. goto IL_0021;
  24208. }
  24209. IL_001f:
  24210. {
  24211. G_B3_0 = ((int32_t)11);
  24212. }
  24213. IL_0021:
  24214. {
  24215. V_1 = G_B3_0;
  24216. // int extra = GetDigestBlockCount(headerLength + fullLength) - GetDigestBlockCount(headerLength + length);
  24217. int32_t L_8 = V_1;
  24218. int32_t L_9 = ___fullLength5;
  24219. int32_t L_10;
  24220. L_10 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::GetDigestBlockCount(System.Int32) */, __this, ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)));
  24221. int32_t L_11 = V_1;
  24222. int32_t L_12 = ___length4;
  24223. int32_t L_13;
  24224. L_13 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::GetDigestBlockCount(System.Int32) */, __this, ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)));
  24225. V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)L_13));
  24226. goto IL_004e;
  24227. }
  24228. IL_003a:
  24229. {
  24230. // mac.BlockUpdate(dummyData, 0, digestBlockSize);
  24231. RuntimeObject* L_14 = __this->get_mac_2();
  24232. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___dummyData6;
  24233. int32_t L_16 = __this->get_digestBlockSize_3();
  24234. NullCheck(L_14);
  24235. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_14, L_15, 0, L_16);
  24236. }
  24237. IL_004e:
  24238. {
  24239. // while (--extra >= 0)
  24240. int32_t L_17 = V_2;
  24241. int32_t L_18 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)1));
  24242. V_2 = L_18;
  24243. if ((((int32_t)L_18) >= ((int32_t)0)))
  24244. {
  24245. goto IL_003a;
  24246. }
  24247. }
  24248. {
  24249. // mac.Update(dummyData[0]);
  24250. RuntimeObject* L_19 = __this->get_mac_2();
  24251. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ___dummyData6;
  24252. NullCheck(L_20);
  24253. int32_t L_21 = 0;
  24254. uint8_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
  24255. NullCheck(L_19);
  24256. InterfaceActionInvoker1< uint8_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::Update(System.Byte) */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_19, L_22);
  24257. // mac.Reset();
  24258. RuntimeObject* L_23 = __this->get_mac_2();
  24259. NullCheck(L_23);
  24260. InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::Reset() */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_23);
  24261. // return result;
  24262. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_0;
  24263. return L_24;
  24264. }
  24265. }
  24266. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::GetDigestBlockCount(System.Int32)
  24267. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsMac_GetDigestBlockCount_m9CA4412CEF396EC8B097A54D58CBF026AFC77D23 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, int32_t ___inputLength0, const RuntimeMethod* method)
  24268. {
  24269. {
  24270. // return (inputLength + digestOverhead) / digestBlockSize;
  24271. int32_t L_0 = ___inputLength0;
  24272. int32_t L_1 = __this->get_digestOverhead_4();
  24273. int32_t L_2 = __this->get_digestBlockSize_3();
  24274. return ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1))/(int32_t)L_2));
  24275. }
  24276. }
  24277. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::Truncate(System.Byte[])
  24278. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_Truncate_m829913CB5D97DBC33EA50648981FC92B8AA799F8 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bs0, const RuntimeMethod* method)
  24279. {
  24280. static bool s_Il2CppMethodInitialized;
  24281. if (!s_Il2CppMethodInitialized)
  24282. {
  24283. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24284. s_Il2CppMethodInitialized = true;
  24285. }
  24286. {
  24287. // if (bs.Length <= macLength)
  24288. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___bs0;
  24289. NullCheck(L_0);
  24290. int32_t L_1 = __this->get_macLength_5();
  24291. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length)))) > ((int32_t)L_1)))
  24292. {
  24293. goto IL_000d;
  24294. }
  24295. }
  24296. {
  24297. // return bs;
  24298. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___bs0;
  24299. return L_2;
  24300. }
  24301. IL_000d:
  24302. {
  24303. // return Arrays.CopyOf(bs, macLength);
  24304. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___bs0;
  24305. int32_t L_4 = __this->get_macLength_5();
  24306. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24307. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  24308. L_5 = Arrays_CopyOf_m2B8A6EDB7EB962FAA8DC4F8C0F8511C0102C4872(L_3, L_4, /*hidden argument*/NULL);
  24309. return L_5;
  24310. }
  24311. }
  24312. #ifdef __clang__
  24313. #pragma clang diagnostic pop
  24314. #endif
  24315. #ifdef __clang__
  24316. #pragma clang diagnostic push
  24317. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24318. #pragma clang diagnostic ignored "-Wunused-variable"
  24319. #endif
  24320. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException::.ctor()
  24321. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5 (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * __this, const RuntimeMethod* method)
  24322. {
  24323. static bool s_Il2CppMethodInitialized;
  24324. if (!s_Il2CppMethodInitialized)
  24325. {
  24326. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B);
  24327. s_Il2CppMethodInitialized = true;
  24328. }
  24329. {
  24330. // : base("No close_notify alert received before connection closed")
  24331. EndOfStreamException__ctor_m62AD97E22305B690B74C4EA6E3EAC36D10CE3800(__this, _stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B, /*hidden argument*/NULL);
  24332. // }
  24333. return;
  24334. }
  24335. }
  24336. #ifdef __clang__
  24337. #pragma clang diagnostic pop
  24338. #endif
  24339. #ifdef __clang__
  24340. #pragma clang diagnostic push
  24341. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24342. #pragma clang diagnostic ignored "-Wunused-variable"
  24343. #endif
  24344. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
  24345. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCipher__ctor_mA10A43962F30E1B449687DC1A690FC7DC8254EF3 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
  24346. {
  24347. {
  24348. // public TlsNullCipher(TlsContext context)
  24349. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  24350. // this.context = context;
  24351. RuntimeObject* L_0 = ___context0;
  24352. __this->set_context_0(L_0);
  24353. // this.writeMac = null;
  24354. __this->set_writeMac_1((TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL);
  24355. // this.readMac = null;
  24356. __this->set_readMac_2((TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL);
  24357. // }
  24358. return;
  24359. }
  24360. }
  24361. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
  24362. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteDigest1, RuntimeObject* ___serverWriteDigest2, const RuntimeMethod* method)
  24363. {
  24364. static bool s_Il2CppMethodInitialized;
  24365. if (!s_Il2CppMethodInitialized)
  24366. {
  24367. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  24368. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  24369. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  24370. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24371. s_Il2CppMethodInitialized = true;
  24372. }
  24373. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_0 = NULL;
  24374. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_1 = NULL;
  24375. int32_t V_2 = 0;
  24376. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  24377. int32_t V_4 = 0;
  24378. {
  24379. // public TlsNullCipher(TlsContext context, IDigest clientWriteDigest, IDigest serverWriteDigest)
  24380. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  24381. // if ((clientWriteDigest == null) != (serverWriteDigest == null))
  24382. RuntimeObject* L_0 = ___clientWriteDigest1;
  24383. RuntimeObject* L_1 = ___serverWriteDigest2;
  24384. if ((((int32_t)((((RuntimeObject*)(RuntimeObject*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)) == ((int32_t)((((RuntimeObject*)(RuntimeObject*)L_1) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0))))
  24385. {
  24386. goto IL_0018;
  24387. }
  24388. }
  24389. {
  24390. // throw new TlsFatalAlert(AlertDescription.internal_error);
  24391. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  24392. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  24393. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var)));
  24394. }
  24395. IL_0018:
  24396. {
  24397. // this.context = context;
  24398. RuntimeObject* L_3 = ___context0;
  24399. __this->set_context_0(L_3);
  24400. // TlsMac clientWriteMac = null, serverWriteMac = null;
  24401. V_0 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL;
  24402. // TlsMac clientWriteMac = null, serverWriteMac = null;
  24403. V_1 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL;
  24404. // if (clientWriteDigest != null)
  24405. RuntimeObject* L_4 = ___clientWriteDigest1;
  24406. if (!L_4)
  24407. {
  24408. goto IL_0084;
  24409. }
  24410. }
  24411. {
  24412. // int key_block_size = clientWriteDigest.GetDigestSize()
  24413. // + serverWriteDigest.GetDigestSize();
  24414. RuntimeObject* L_5 = ___clientWriteDigest1;
  24415. NullCheck(L_5);
  24416. int32_t L_6;
  24417. L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_5);
  24418. RuntimeObject* L_7 = ___serverWriteDigest2;
  24419. NullCheck(L_7);
  24420. int32_t L_8;
  24421. L_8 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_7);
  24422. V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_8));
  24423. // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
  24424. RuntimeObject* L_9 = ___context0;
  24425. int32_t L_10 = V_2;
  24426. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  24427. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
  24428. L_11 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_9, L_10, /*hidden argument*/NULL);
  24429. V_3 = L_11;
  24430. // int offset = 0;
  24431. V_4 = 0;
  24432. // clientWriteMac = new TlsMac(context, clientWriteDigest, key_block, offset,
  24433. // clientWriteDigest.GetDigestSize());
  24434. RuntimeObject* L_12 = ___context0;
  24435. RuntimeObject* L_13 = ___clientWriteDigest1;
  24436. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_3;
  24437. int32_t L_15 = V_4;
  24438. RuntimeObject* L_16 = ___clientWriteDigest1;
  24439. NullCheck(L_16);
  24440. int32_t L_17;
  24441. L_17 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_16);
  24442. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_18 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  24443. TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_18, L_12, L_13, L_14, L_15, L_17, /*hidden argument*/NULL);
  24444. V_0 = L_18;
  24445. // offset += clientWriteDigest.GetDigestSize();
  24446. int32_t L_19 = V_4;
  24447. RuntimeObject* L_20 = ___clientWriteDigest1;
  24448. NullCheck(L_20);
  24449. int32_t L_21;
  24450. L_21 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_20);
  24451. V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_21));
  24452. // serverWriteMac = new TlsMac(context, serverWriteDigest, key_block, offset,
  24453. // serverWriteDigest.GetDigestSize());
  24454. RuntimeObject* L_22 = ___context0;
  24455. RuntimeObject* L_23 = ___serverWriteDigest2;
  24456. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_3;
  24457. int32_t L_25 = V_4;
  24458. RuntimeObject* L_26 = ___serverWriteDigest2;
  24459. NullCheck(L_26);
  24460. int32_t L_27;
  24461. L_27 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_26);
  24462. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_28 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
  24463. TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_28, L_22, L_23, L_24, L_25, L_27, /*hidden argument*/NULL);
  24464. V_1 = L_28;
  24465. // offset += serverWriteDigest.GetDigestSize();
  24466. int32_t L_29 = V_4;
  24467. RuntimeObject* L_30 = ___serverWriteDigest2;
  24468. NullCheck(L_30);
  24469. int32_t L_31;
  24470. L_31 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_30);
  24471. V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)L_31));
  24472. // if (offset != key_block_size)
  24473. int32_t L_32 = V_4;
  24474. int32_t L_33 = V_2;
  24475. if ((((int32_t)L_32) == ((int32_t)L_33)))
  24476. {
  24477. goto IL_0084;
  24478. }
  24479. }
  24480. {
  24481. // throw new TlsFatalAlert(AlertDescription.internal_error);
  24482. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_34 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  24483. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_34, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  24484. IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var)));
  24485. }
  24486. IL_0084:
  24487. {
  24488. // if (context.IsServer)
  24489. RuntimeObject* L_35 = ___context0;
  24490. NullCheck(L_35);
  24491. bool L_36;
  24492. L_36 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_35);
  24493. if (!L_36)
  24494. {
  24495. goto IL_009b;
  24496. }
  24497. }
  24498. {
  24499. // writeMac = serverWriteMac;
  24500. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_37 = V_1;
  24501. __this->set_writeMac_1(L_37);
  24502. // readMac = clientWriteMac;
  24503. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_38 = V_0;
  24504. __this->set_readMac_2(L_38);
  24505. // }
  24506. return;
  24507. }
  24508. IL_009b:
  24509. {
  24510. // writeMac = clientWriteMac;
  24511. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_39 = V_0;
  24512. __this->set_writeMac_1(L_39);
  24513. // readMac = serverWriteMac;
  24514. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_40 = V_1;
  24515. __this->set_readMac_2(L_40);
  24516. // }
  24517. return;
  24518. }
  24519. }
  24520. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::GetPlaintextLimit(System.Int32)
  24521. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsNullCipher_GetPlaintextLimit_mCD6ADA5F6519F87213A6407051DD6F3A482985F5 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
  24522. {
  24523. int32_t V_0 = 0;
  24524. {
  24525. // int result = ciphertextLimit;
  24526. int32_t L_0 = ___ciphertextLimit0;
  24527. V_0 = L_0;
  24528. // if (writeMac != null)
  24529. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_1 = __this->get_writeMac_1();
  24530. if (!L_1)
  24531. {
  24532. goto IL_0018;
  24533. }
  24534. }
  24535. {
  24536. // result -= writeMac.Size;
  24537. int32_t L_2 = V_0;
  24538. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_3 = __this->get_writeMac_1();
  24539. NullCheck(L_3);
  24540. int32_t L_4;
  24541. L_4 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_3);
  24542. V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_4));
  24543. }
  24544. IL_0018:
  24545. {
  24546. // return result;
  24547. int32_t L_5 = V_0;
  24548. return L_5;
  24549. }
  24550. }
  24551. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  24552. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsNullCipher_EncodePlaintext_mCD938ADE2A6C292438B449ABC93ED1A328D209A8 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___plaintext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  24553. {
  24554. static bool s_Il2CppMethodInitialized;
  24555. if (!s_Il2CppMethodInitialized)
  24556. {
  24557. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24558. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  24559. s_Il2CppMethodInitialized = true;
  24560. }
  24561. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  24562. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  24563. {
  24564. // if (writeMac == null)
  24565. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_writeMac_1();
  24566. if (L_0)
  24567. {
  24568. goto IL_0016;
  24569. }
  24570. }
  24571. {
  24572. // return Arrays.CopyOfRange(plaintext, offset, offset + len);
  24573. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___plaintext2;
  24574. int32_t L_2 = ___offset3;
  24575. int32_t L_3 = ___offset3;
  24576. int32_t L_4 = ___len4;
  24577. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24578. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  24579. L_5 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_1, L_2, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)L_4)), /*hidden argument*/NULL);
  24580. return L_5;
  24581. }
  24582. IL_0016:
  24583. {
  24584. // byte[] mac = writeMac.CalculateMac(seqNo, type, plaintext, offset, len);
  24585. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_6 = __this->get_writeMac_1();
  24586. int64_t L_7 = ___seqNo0;
  24587. uint8_t L_8 = ___type1;
  24588. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = ___plaintext2;
  24589. int32_t L_10 = ___offset3;
  24590. int32_t L_11 = ___len4;
  24591. NullCheck(L_6);
  24592. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
  24593. L_12 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, L_6, L_7, L_8, L_9, L_10, L_11);
  24594. V_0 = L_12;
  24595. // byte[] ciphertext = new byte[len + mac.Length];
  24596. int32_t L_13 = ___len4;
  24597. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
  24598. NullCheck(L_14);
  24599. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))))));
  24600. V_1 = L_15;
  24601. // Array.Copy(plaintext, offset, ciphertext, 0, len);
  24602. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___plaintext2;
  24603. int32_t L_17 = ___offset3;
  24604. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = V_1;
  24605. int32_t L_19 = ___len4;
  24606. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_16, L_17, (RuntimeArray *)(RuntimeArray *)L_18, 0, L_19, /*hidden argument*/NULL);
  24607. // Array.Copy(mac, 0, ciphertext, len, mac.Length);
  24608. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = V_0;
  24609. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_1;
  24610. int32_t L_22 = ___len4;
  24611. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_0;
  24612. NullCheck(L_23);
  24613. Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_20, 0, (RuntimeArray *)(RuntimeArray *)L_21, L_22, ((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length))), /*hidden argument*/NULL);
  24614. // return ciphertext;
  24615. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_1;
  24616. return L_24;
  24617. }
  24618. }
  24619. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
  24620. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, int64_t ___seqNo0, uint8_t ___type1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ciphertext2, int32_t ___offset3, int32_t ___len4, const RuntimeMethod* method)
  24621. {
  24622. static bool s_Il2CppMethodInitialized;
  24623. if (!s_Il2CppMethodInitialized)
  24624. {
  24625. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24626. s_Il2CppMethodInitialized = true;
  24627. }
  24628. int32_t V_0 = 0;
  24629. int32_t V_1 = 0;
  24630. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  24631. {
  24632. // if (readMac == null)
  24633. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_readMac_2();
  24634. if (L_0)
  24635. {
  24636. goto IL_0016;
  24637. }
  24638. }
  24639. {
  24640. // return Arrays.CopyOfRange(ciphertext, offset, offset + len);
  24641. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ciphertext2;
  24642. int32_t L_2 = ___offset3;
  24643. int32_t L_3 = ___offset3;
  24644. int32_t L_4 = ___len4;
  24645. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24646. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  24647. L_5 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_1, L_2, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)L_4)), /*hidden argument*/NULL);
  24648. return L_5;
  24649. }
  24650. IL_0016:
  24651. {
  24652. // int macSize = readMac.Size;
  24653. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_6 = __this->get_readMac_2();
  24654. NullCheck(L_6);
  24655. int32_t L_7;
  24656. L_7 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_6);
  24657. V_0 = L_7;
  24658. // if (len < macSize)
  24659. int32_t L_8 = ___len4;
  24660. int32_t L_9 = V_0;
  24661. if ((((int32_t)L_8) >= ((int32_t)L_9)))
  24662. {
  24663. goto IL_002f;
  24664. }
  24665. }
  24666. {
  24667. // throw new TlsFatalAlert(AlertDescription.decode_error);
  24668. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  24669. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  24670. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var)));
  24671. }
  24672. IL_002f:
  24673. {
  24674. // int macInputLen = len - macSize;
  24675. int32_t L_11 = ___len4;
  24676. int32_t L_12 = V_0;
  24677. V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12));
  24678. // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, offset + macInputLen, offset + len);
  24679. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = ___ciphertext2;
  24680. int32_t L_14 = ___offset3;
  24681. int32_t L_15 = V_1;
  24682. int32_t L_16 = ___offset3;
  24683. int32_t L_17 = ___len4;
  24684. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24685. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
  24686. L_18 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_13, ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)L_15)), ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_17)), /*hidden argument*/NULL);
  24687. // byte[] computedMac = readMac.CalculateMac(seqNo, type, ciphertext, offset, macInputLen);
  24688. TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_19 = __this->get_readMac_2();
  24689. int64_t L_20 = ___seqNo0;
  24690. uint8_t L_21 = ___type1;
  24691. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = ___ciphertext2;
  24692. int32_t L_23 = ___offset3;
  24693. int32_t L_24 = V_1;
  24694. NullCheck(L_19);
  24695. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25;
  24696. L_25 = VirtualFuncInvoker5< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int64_t, uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32) */, L_19, L_20, L_21, L_22, L_23, L_24);
  24697. V_2 = L_25;
  24698. // if (!Arrays.ConstantTimeAreEqual(receivedMac, computedMac))
  24699. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = V_2;
  24700. bool L_27;
  24701. L_27 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_18, L_26, /*hidden argument*/NULL);
  24702. if (L_27)
  24703. {
  24704. goto IL_0065;
  24705. }
  24706. }
  24707. {
  24708. // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
  24709. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  24710. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
  24711. IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var)));
  24712. }
  24713. IL_0065:
  24714. {
  24715. // return Arrays.CopyOfRange(ciphertext, offset, offset + macInputLen);
  24716. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = ___ciphertext2;
  24717. int32_t L_30 = ___offset3;
  24718. int32_t L_31 = ___offset3;
  24719. int32_t L_32 = V_1;
  24720. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  24721. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33;
  24722. L_33 = Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4(L_29, L_30, ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32)), /*hidden argument*/NULL);
  24723. return L_33;
  24724. }
  24725. }
  24726. #ifdef __clang__
  24727. #pragma clang diagnostic pop
  24728. #endif
  24729. #ifdef __clang__
  24730. #pragma clang diagnostic push
  24731. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24732. #pragma clang diagnostic ignored "-Wunused-variable"
  24733. #endif
  24734. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::Compress(System.IO.Stream)
  24735. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsNullCompression_Compress_mF2A987870A4EF9D3674A8F6F8347BE2EEBA57CEC (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  24736. {
  24737. {
  24738. // return output;
  24739. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
  24740. return L_0;
  24741. }
  24742. }
  24743. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::Decompress(System.IO.Stream)
  24744. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsNullCompression_Decompress_m2BFBD4F807AEF4051B5CD34FA9A8007E16162DEB (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  24745. {
  24746. {
  24747. // return output;
  24748. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
  24749. return L_0;
  24750. }
  24751. }
  24752. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::.ctor()
  24753. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCompression__ctor_mA3BE8683E03879ADCF8FB3BD60168B40BCF02604 (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, const RuntimeMethod* method)
  24754. {
  24755. {
  24756. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  24757. return;
  24758. }
  24759. }
  24760. #ifdef __clang__
  24761. #pragma clang diagnostic pop
  24762. #endif
  24763. #ifdef __clang__
  24764. #pragma clang diagnostic push
  24765. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  24766. #pragma clang diagnostic ignored "-Wunused-variable"
  24767. #endif
  24768. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  24769. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
  24770. {
  24771. {
  24772. // : this(stream, stream, secureRandom)
  24773. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
  24774. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___stream0;
  24775. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom1;
  24776. TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
  24777. // }
  24778. return;
  24779. }
  24780. }
  24781. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  24782. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method)
  24783. {
  24784. static bool s_Il2CppMethodInitialized;
  24785. if (!s_Il2CppMethodInitialized)
  24786. {
  24787. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24788. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
  24789. s_Il2CppMethodInitialized = true;
  24790. }
  24791. {
  24792. // private ByteQueue mApplicationDataQueue = new ByteQueue(0);
  24793. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24794. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_0, 0, /*hidden argument*/NULL);
  24795. __this->set_mApplicationDataQueue_20(L_0);
  24796. // private ByteQueue mAlertQueue = new ByteQueue(2);
  24797. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24798. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_1, 2, /*hidden argument*/NULL);
  24799. __this->set_mAlertQueue_21(L_1);
  24800. // private ByteQueue mHandshakeQueue = new ByteQueue(0);
  24801. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_2 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24802. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_2, 0, /*hidden argument*/NULL);
  24803. __this->set_mHandshakeQueue_22(L_2);
  24804. // private volatile bool mAppDataSplitEnabled = true;
  24805. il2cpp_codegen_memory_barrier();
  24806. __this->set_mAppDataSplitEnabled_29(1);
  24807. // protected bool mBlocking = true;
  24808. __this->set_mBlocking_46((bool)1);
  24809. // public TlsProtocol(Stream input, Stream output, SecureRandom secureRandom)
  24810. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  24811. // this.mRecordStream = new RecordStream(this, input, output);
  24812. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
  24813. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output1;
  24814. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E *)il2cpp_codegen_object_new(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
  24815. RecordStream__ctor_m8712D6AB53DA18770CC24D867A4DD0BFCAA7E4CE(L_5, __this, L_3, L_4, /*hidden argument*/NULL);
  24816. __this->set_mRecordStream_23(L_5);
  24817. // this.mSecureRandom = secureRandom;
  24818. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_6 = ___secureRandom2;
  24819. __this->set_mSecureRandom_24(L_6);
  24820. // }
  24821. return;
  24822. }
  24823. }
  24824. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  24825. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
  24826. {
  24827. static bool s_Il2CppMethodInitialized;
  24828. if (!s_Il2CppMethodInitialized)
  24829. {
  24830. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
  24831. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24832. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
  24833. s_Il2CppMethodInitialized = true;
  24834. }
  24835. {
  24836. // private ByteQueue mApplicationDataQueue = new ByteQueue(0);
  24837. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24838. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_0, 0, /*hidden argument*/NULL);
  24839. __this->set_mApplicationDataQueue_20(L_0);
  24840. // private ByteQueue mAlertQueue = new ByteQueue(2);
  24841. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24842. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_1, 2, /*hidden argument*/NULL);
  24843. __this->set_mAlertQueue_21(L_1);
  24844. // private ByteQueue mHandshakeQueue = new ByteQueue(0);
  24845. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_2 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  24846. ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_2, 0, /*hidden argument*/NULL);
  24847. __this->set_mHandshakeQueue_22(L_2);
  24848. // private volatile bool mAppDataSplitEnabled = true;
  24849. il2cpp_codegen_memory_barrier();
  24850. __this->set_mAppDataSplitEnabled_29(1);
  24851. // protected bool mBlocking = true;
  24852. __this->set_mBlocking_46((bool)1);
  24853. // public TlsProtocol(SecureRandom secureRandom)
  24854. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  24855. // this.mBlocking = false;
  24856. __this->set_mBlocking_46((bool)0);
  24857. // this.mInputBuffers = new ByteQueueStream();
  24858. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_3 = (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 *)il2cpp_codegen_object_new(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
  24859. ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F(L_3, /*hidden argument*/NULL);
  24860. __this->set_mInputBuffers_47(L_3);
  24861. // this.mOutputBuffer = new ByteQueueStream();
  24862. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_4 = (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 *)il2cpp_codegen_object_new(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
  24863. ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F(L_4, /*hidden argument*/NULL);
  24864. __this->set_mOutputBuffer_48(L_4);
  24865. // this.mRecordStream = new RecordStream(this, mInputBuffers, mOutputBuffer);
  24866. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_5 = __this->get_mInputBuffers_47();
  24867. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_6 = __this->get_mOutputBuffer_48();
  24868. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_7 = (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E *)il2cpp_codegen_object_new(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
  24869. RecordStream__ctor_m8712D6AB53DA18770CC24D867A4DD0BFCAA7E4CE(L_7, __this, L_5, L_6, /*hidden argument*/NULL);
  24870. __this->set_mRecordStream_23(L_7);
  24871. // this.mSecureRandom = secureRandom;
  24872. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_8 = ___secureRandom0;
  24873. __this->set_mSecureRandom_24(L_8);
  24874. // }
  24875. return;
  24876. }
  24877. }
  24878. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertMessage(System.Byte,System.Byte)
  24879. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertLevel0, uint8_t ___alertDescription1, const RuntimeMethod* method)
  24880. {
  24881. static bool s_Il2CppMethodInitialized;
  24882. if (!s_Il2CppMethodInitialized)
  24883. {
  24884. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  24885. s_Il2CppMethodInitialized = true;
  24886. }
  24887. {
  24888. // Peer.NotifyAlertReceived(alertLevel, alertDescription);
  24889. RuntimeObject* L_0;
  24890. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  24891. uint8_t L_1 = ___alertLevel0;
  24892. uint8_t L_2 = ___alertDescription1;
  24893. NullCheck(L_0);
  24894. InterfaceActionInvoker2< uint8_t, uint8_t >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifyAlertReceived(System.Byte,System.Byte) */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_0, L_1, L_2);
  24895. // if (alertLevel == AlertLevel.warning)
  24896. uint8_t L_3 = ___alertLevel0;
  24897. if ((!(((uint32_t)L_3) == ((uint32_t)1))))
  24898. {
  24899. goto IL_0019;
  24900. }
  24901. }
  24902. {
  24903. // HandleAlertWarningMessage(alertDescription);
  24904. uint8_t L_4 = ___alertDescription1;
  24905. VirtualActionInvoker1< uint8_t >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte) */, __this, L_4);
  24906. // }
  24907. return;
  24908. }
  24909. IL_0019:
  24910. {
  24911. // HandleFailure();
  24912. VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
  24913. // throw new TlsFatalAlertReceived(alertDescription);
  24914. uint8_t L_5 = ___alertDescription1;
  24915. TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * L_6 = (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D_il2cpp_TypeInfo_var)));
  24916. TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60(L_6, L_5, /*hidden argument*/NULL);
  24917. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8_RuntimeMethod_var)));
  24918. }
  24919. }
  24920. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte)
  24921. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
  24922. {
  24923. {
  24924. // if (alertDescription == AlertDescription.close_notify)
  24925. uint8_t L_0 = ___alertDescription0;
  24926. if (L_0)
  24927. {
  24928. goto IL_001c;
  24929. }
  24930. }
  24931. {
  24932. // if (!mAppDataReady)
  24933. bool L_1 = __this->get_mAppDataReady_28();
  24934. il2cpp_codegen_memory_barrier();
  24935. if (L_1)
  24936. {
  24937. goto IL_0015;
  24938. }
  24939. }
  24940. {
  24941. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  24942. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  24943. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  24944. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E_RuntimeMethod_var)));
  24945. }
  24946. IL_0015:
  24947. {
  24948. // HandleClose(false);
  24949. VirtualActionInvoker1< bool >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean) */, __this, (bool)0);
  24950. }
  24951. IL_001c:
  24952. {
  24953. // }
  24954. return;
  24955. }
  24956. }
  24957. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleChangeCipherSpecMessage()
  24958. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleChangeCipherSpecMessage_m37F343D22750D6B1EF4DC9715E5EA02E12EF2A78 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  24959. {
  24960. {
  24961. // }
  24962. return;
  24963. }
  24964. }
  24965. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean)
  24966. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleClose_m4B062570B314D8119922724475AC54575B727122 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___user_canceled0, const RuntimeMethod* method)
  24967. {
  24968. static bool s_Il2CppMethodInitialized;
  24969. if (!s_Il2CppMethodInitialized)
  24970. {
  24971. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD220CDF0569B079DA9155148CBAAD45EEA57A983);
  24972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE7ABFF9F62676E7B9EF244C1CD1C83FA6AD2F1B3);
  24973. s_Il2CppMethodInitialized = true;
  24974. }
  24975. {
  24976. // if (!mClosed)
  24977. bool L_0 = __this->get_mClosed_26();
  24978. il2cpp_codegen_memory_barrier();
  24979. if (L_0)
  24980. {
  24981. goto IL_0054;
  24982. }
  24983. }
  24984. {
  24985. // this.mClosed = true;
  24986. il2cpp_codegen_memory_barrier();
  24987. __this->set_mClosed_26(1);
  24988. // if (user_canceled && !mAppDataReady)
  24989. bool L_1 = ___user_canceled0;
  24990. if (!L_1)
  24991. {
  24992. goto IL_002d;
  24993. }
  24994. }
  24995. {
  24996. bool L_2 = __this->get_mAppDataReady_28();
  24997. il2cpp_codegen_memory_barrier();
  24998. if (L_2)
  24999. {
  25000. goto IL_002d;
  25001. }
  25002. }
  25003. {
  25004. // RaiseAlertWarning(AlertDescription.user_canceled, "User canceled handshake");
  25005. VirtualActionInvoker2< uint8_t, String_t* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String) */, __this, (uint8_t)((int32_t)90), _stringLiteralD220CDF0569B079DA9155148CBAAD45EEA57A983);
  25006. }
  25007. IL_002d:
  25008. {
  25009. // RaiseAlertWarning(AlertDescription.close_notify, "Connection closed");
  25010. VirtualActionInvoker2< uint8_t, String_t* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String) */, __this, (uint8_t)0, _stringLiteralE7ABFF9F62676E7B9EF244C1CD1C83FA6AD2F1B3);
  25011. // mRecordStream.SafeClose();
  25012. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_3 = __this->get_mRecordStream_23();
  25013. NullCheck(L_3);
  25014. RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D(L_3, /*hidden argument*/NULL);
  25015. // if (!mAppDataReady)
  25016. bool L_4 = __this->get_mAppDataReady_28();
  25017. il2cpp_codegen_memory_barrier();
  25018. if (L_4)
  25019. {
  25020. goto IL_0054;
  25021. }
  25022. }
  25023. {
  25024. // CleanupHandshake();
  25025. VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
  25026. }
  25027. IL_0054:
  25028. {
  25029. // }
  25030. return;
  25031. }
  25032. }
  25033. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception)
  25034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleException_m636C7294A9E543B347972D6E74D83A6CE3B6204D (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, String_t* ___message1, Exception_t * ___cause2, const RuntimeMethod* method)
  25035. {
  25036. {
  25037. // if (!mClosed)
  25038. bool L_0 = __this->get_mClosed_26();
  25039. il2cpp_codegen_memory_barrier();
  25040. if (L_0)
  25041. {
  25042. goto IL_0019;
  25043. }
  25044. }
  25045. {
  25046. // RaiseAlertFatal(alertDescription, message, cause);
  25047. uint8_t L_1 = ___alertDescription0;
  25048. String_t* L_2 = ___message1;
  25049. Exception_t * L_3 = ___cause2;
  25050. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(37 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertFatal(System.Byte,System.String,System.Exception) */, __this, L_1, L_2, L_3);
  25051. // HandleFailure();
  25052. VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
  25053. }
  25054. IL_0019:
  25055. {
  25056. // }
  25057. return;
  25058. }
  25059. }
  25060. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure()
  25061. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleFailure_m4142BDAAB652F564F4610789361E9BBD65E5E4F3 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25062. {
  25063. {
  25064. // this.mClosed = true;
  25065. il2cpp_codegen_memory_barrier();
  25066. __this->set_mClosed_26(1);
  25067. // this.mFailedWithError = true;
  25068. il2cpp_codegen_memory_barrier();
  25069. __this->set_mFailedWithError_27(1);
  25070. // InvalidateSession();
  25071. VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
  25072. // mRecordStream.SafeClose();
  25073. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
  25074. NullCheck(L_0);
  25075. RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D(L_0, /*hidden argument*/NULL);
  25076. // if (!mAppDataReady)
  25077. bool L_1 = __this->get_mAppDataReady_28();
  25078. il2cpp_codegen_memory_barrier();
  25079. if (L_1)
  25080. {
  25081. goto IL_0033;
  25082. }
  25083. }
  25084. {
  25085. // CleanupHandshake();
  25086. VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
  25087. }
  25088. IL_0033:
  25089. {
  25090. // }
  25091. return;
  25092. }
  25093. }
  25094. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension()
  25095. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25096. {
  25097. int32_t V_0 = 0;
  25098. {
  25099. // if (mSecurityParameters.maxFragmentLength >= 0)
  25100. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_0 = __this->get_mSecurityParameters_34();
  25101. NullCheck(L_0);
  25102. int16_t L_1 = L_0->get_maxFragmentLength_11();
  25103. if ((((int32_t)L_1) < ((int32_t)0)))
  25104. {
  25105. goto IL_0048;
  25106. }
  25107. }
  25108. {
  25109. // if (!MaxFragmentLength.IsValid((byte)mSecurityParameters.maxFragmentLength))
  25110. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_2 = __this->get_mSecurityParameters_34();
  25111. NullCheck(L_2);
  25112. int16_t L_3 = L_2->get_maxFragmentLength_11();
  25113. bool L_4;
  25114. L_4 = MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79((uint8_t)((int32_t)((uint8_t)L_3)), /*hidden argument*/NULL);
  25115. if (L_4)
  25116. {
  25117. goto IL_0029;
  25118. }
  25119. }
  25120. {
  25121. // throw new TlsFatalAlert(AlertDescription.internal_error);
  25122. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25123. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  25124. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135_RuntimeMethod_var)));
  25125. }
  25126. IL_0029:
  25127. {
  25128. // int plainTextLimit = 1 << (8 + mSecurityParameters.maxFragmentLength);
  25129. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = __this->get_mSecurityParameters_34();
  25130. NullCheck(L_6);
  25131. int16_t L_7 = L_6->get_maxFragmentLength_11();
  25132. V_0 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)8, (int32_t)L_7))&(int32_t)((int32_t)31)))));
  25133. // mRecordStream.SetPlaintextLimit(plainTextLimit);
  25134. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = __this->get_mRecordStream_23();
  25135. int32_t L_9 = V_0;
  25136. NullCheck(L_8);
  25137. RecordStream_SetPlaintextLimit_m51621D157A53043CCE5BC4BA4BA190391F5F695A(L_8, L_9, /*hidden argument*/NULL);
  25138. }
  25139. IL_0048:
  25140. {
  25141. // }
  25142. return;
  25143. }
  25144. }
  25145. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CheckReceivedChangeCipherSpec(System.Boolean)
  25146. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___expected0, const RuntimeMethod* method)
  25147. {
  25148. {
  25149. // if (expected != mReceivedChangeCipherSpec)
  25150. bool L_0 = ___expected0;
  25151. bool L_1 = __this->get_mReceivedChangeCipherSpec_42();
  25152. if ((((int32_t)L_0) == ((int32_t)L_1)))
  25153. {
  25154. goto IL_0011;
  25155. }
  25156. }
  25157. {
  25158. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  25159. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25160. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  25161. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733_RuntimeMethod_var)));
  25162. }
  25163. IL_0011:
  25164. {
  25165. // }
  25166. return;
  25167. }
  25168. }
  25169. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake()
  25170. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25171. {
  25172. static bool s_Il2CppMethodInitialized;
  25173. if (!s_Il2CppMethodInitialized)
  25174. {
  25175. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  25176. s_Il2CppMethodInitialized = true;
  25177. }
  25178. {
  25179. // if (this.mExpectedVerifyData != null)
  25180. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mExpectedVerifyData_31();
  25181. if (!L_0)
  25182. {
  25183. goto IL_001b;
  25184. }
  25185. }
  25186. {
  25187. // Arrays.Fill(this.mExpectedVerifyData, (byte)0);
  25188. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = __this->get_mExpectedVerifyData_31();
  25189. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  25190. Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_1, (uint8_t)0, /*hidden argument*/NULL);
  25191. // this.mExpectedVerifyData = null;
  25192. __this->set_mExpectedVerifyData_31((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
  25193. }
  25194. IL_001b:
  25195. {
  25196. // this.mSecurityParameters.Clear();
  25197. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_2 = __this->get_mSecurityParameters_34();
  25198. NullCheck(L_2);
  25199. VirtualActionInvoker0::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::Clear() */, L_2);
  25200. // this.mPeerCertificate = null;
  25201. __this->set_mPeerCertificate_35((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E *)NULL);
  25202. // this.mOfferedCipherSuites = null;
  25203. __this->set_mOfferedCipherSuites_36((Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)NULL);
  25204. // this.mOfferedCompressionMethods = null;
  25205. __this->set_mOfferedCompressionMethods_37((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
  25206. // this.mClientExtensions = null;
  25207. __this->set_mClientExtensions_38((RuntimeObject*)NULL);
  25208. // this.mServerExtensions = null;
  25209. __this->set_mServerExtensions_39((RuntimeObject*)NULL);
  25210. // this.mResumedSession = false;
  25211. __this->set_mResumedSession_41((bool)0);
  25212. // this.mReceivedChangeCipherSpec = false;
  25213. __this->set_mReceivedChangeCipherSpec_42((bool)0);
  25214. // this.mSecureRenegotiation = false;
  25215. __this->set_mSecureRenegotiation_43((bool)0);
  25216. // this.mAllowCertificateStatus = false;
  25217. __this->set_mAllowCertificateStatus_44((bool)0);
  25218. // this.mExpectSessionTicket = false;
  25219. __this->set_mExpectSessionTicket_45((bool)0);
  25220. // }
  25221. return;
  25222. }
  25223. }
  25224. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake()
  25225. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25226. {
  25227. {
  25228. // if (mBlocking)
  25229. bool L_0 = __this->get_mBlocking_46();
  25230. if (!L_0)
  25231. {
  25232. goto IL_002c;
  25233. }
  25234. }
  25235. {
  25236. goto IL_0022;
  25237. }
  25238. IL_000a:
  25239. {
  25240. // if (this.mClosed)
  25241. bool L_1 = __this->get_mClosed_26();
  25242. il2cpp_codegen_memory_barrier();
  25243. if (!L_1)
  25244. {
  25245. goto IL_001c;
  25246. }
  25247. }
  25248. {
  25249. // throw new TlsFatalAlert(AlertDescription.internal_error);
  25250. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25251. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  25252. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB_RuntimeMethod_var)));
  25253. }
  25254. IL_001c:
  25255. {
  25256. // SafeReadRecord();
  25257. VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
  25258. }
  25259. IL_0022:
  25260. {
  25261. // while (this.mConnectionState != CS_END)
  25262. int16_t L_3 = __this->get_mConnectionState_40();
  25263. if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)16)))))
  25264. {
  25265. goto IL_000a;
  25266. }
  25267. }
  25268. IL_002c:
  25269. {
  25270. // }
  25271. return;
  25272. }
  25273. }
  25274. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake()
  25275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CompleteHandshake_mB830BBF0FD0CD267BB24647A2635E32EB13FCDB5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25276. {
  25277. static bool s_Il2CppMethodInitialized;
  25278. if (!s_Il2CppMethodInitialized)
  25279. {
  25280. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var);
  25281. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  25282. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
  25283. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
  25284. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var);
  25285. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25286. s_Il2CppMethodInitialized = true;
  25287. }
  25288. Exception_t * __last_unhandled_exception = 0;
  25289. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  25290. IL_0000:
  25291. try
  25292. {// begin try (depth: 1)
  25293. {
  25294. // this.mConnectionState = CS_END;
  25295. __this->set_mConnectionState_40((int16_t)((int32_t)16));
  25296. // this.mAlertQueue.Shrink();
  25297. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mAlertQueue_21();
  25298. NullCheck(L_0);
  25299. ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35(L_0, /*hidden argument*/NULL);
  25300. // this.mHandshakeQueue.Shrink();
  25301. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = __this->get_mHandshakeQueue_22();
  25302. NullCheck(L_1);
  25303. ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35(L_1, /*hidden argument*/NULL);
  25304. // this.mRecordStream.FinaliseHandshake();
  25305. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_2 = __this->get_mRecordStream_23();
  25306. NullCheck(L_2);
  25307. RecordStream_FinaliseHandshake_mAA8B7BFF6E2C1A47D90E9006B5DA0ACFAE6CB720(L_2, /*hidden argument*/NULL);
  25308. // this.mAppDataSplitEnabled = !TlsUtilities.IsTlsV11(Context);
  25309. RuntimeObject* L_3;
  25310. L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  25311. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25312. bool L_4;
  25313. L_4 = TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B(L_3, /*hidden argument*/NULL);
  25314. il2cpp_codegen_memory_barrier();
  25315. __this->set_mAppDataSplitEnabled_29(((((int32_t)L_4) == ((int32_t)0))? 1 : 0));
  25316. // if (!mAppDataReady)
  25317. bool L_5 = __this->get_mAppDataReady_28();
  25318. il2cpp_codegen_memory_barrier();
  25319. if (L_5)
  25320. {
  25321. goto IL_0066;
  25322. }
  25323. }
  25324. IL_0049:
  25325. {
  25326. // this.mAppDataReady = true;
  25327. il2cpp_codegen_memory_barrier();
  25328. __this->set_mAppDataReady_28(1);
  25329. // if (mBlocking)
  25330. bool L_6 = __this->get_mBlocking_46();
  25331. if (!L_6)
  25332. {
  25333. goto IL_0066;
  25334. }
  25335. }
  25336. IL_005a:
  25337. {
  25338. // this.mTlsStream = new TlsStream(this);
  25339. TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * L_7 = (TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A *)il2cpp_codegen_object_new(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var);
  25340. TlsStream__ctor_m5066C48F907ED400732E57F19BBF695296AE1EEF(L_7, __this, /*hidden argument*/NULL);
  25341. __this->set_mTlsStream_25(L_7);
  25342. }
  25343. IL_0066:
  25344. {
  25345. // if (this.mTlsSession != null)
  25346. RuntimeObject* L_8 = __this->get_mTlsSession_32();
  25347. if (!L_8)
  25348. {
  25349. goto IL_012f;
  25350. }
  25351. }
  25352. IL_0071:
  25353. {
  25354. // if (this.mSessionParameters == null)
  25355. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_9 = __this->get_mSessionParameters_33();
  25356. if (L_9)
  25357. {
  25358. goto IL_011e;
  25359. }
  25360. }
  25361. IL_007c:
  25362. {
  25363. // this.mSessionParameters = new SessionParameters.Builder()
  25364. // .SetCipherSuite(this.mSecurityParameters.CipherSuite)
  25365. // .SetCompressionAlgorithm(this.mSecurityParameters.CompressionAlgorithm)
  25366. // .SetExtendedMasterSecret(this.mSecurityParameters.IsExtendedMasterSecret)
  25367. // .SetMasterSecret(this.mSecurityParameters.MasterSecret)
  25368. // .SetPeerCertificate(this.mPeerCertificate)
  25369. // .SetPskIdentity(this.mSecurityParameters.PskIdentity)
  25370. // .SetSrpIdentity(this.mSecurityParameters.SrpIdentity)
  25371. // // TODO Consider filtering extensions that aren't relevant to resumed sessions
  25372. // .SetServerExtensions(this.mServerExtensions)
  25373. // .Build();
  25374. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_10 = (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 *)il2cpp_codegen_object_new(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var);
  25375. Builder__ctor_mE988E0105711C1C96058476761349B2017052378(L_10, /*hidden argument*/NULL);
  25376. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_11 = __this->get_mSecurityParameters_34();
  25377. NullCheck(L_11);
  25378. int32_t L_12;
  25379. L_12 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_11);
  25380. NullCheck(L_10);
  25381. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_13;
  25382. L_13 = Builder_SetCipherSuite_mC1F1EE4077A53B058D4A2C73DE40AF3B475F5B69(L_10, L_12, /*hidden argument*/NULL);
  25383. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_14 = __this->get_mSecurityParameters_34();
  25384. NullCheck(L_14);
  25385. uint8_t L_15;
  25386. L_15 = VirtualFuncInvoker0< uint8_t >::Invoke(7 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CompressionAlgorithm() */, L_14);
  25387. NullCheck(L_13);
  25388. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_16;
  25389. L_16 = Builder_SetCompressionAlgorithm_m45E921336E7C496AD188939DDB2D2AFBECADED87(L_13, L_15, /*hidden argument*/NULL);
  25390. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = __this->get_mSecurityParameters_34();
  25391. NullCheck(L_17);
  25392. bool L_18;
  25393. L_18 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_17);
  25394. NullCheck(L_16);
  25395. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_19;
  25396. L_19 = Builder_SetExtendedMasterSecret_m76C730F21B480C125DDD9BE793F7CB7F4C51A1E9(L_16, L_18, /*hidden argument*/NULL);
  25397. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_20 = __this->get_mSecurityParameters_34();
  25398. NullCheck(L_20);
  25399. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21;
  25400. L_21 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_MasterSecret() */, L_20);
  25401. NullCheck(L_19);
  25402. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_22;
  25403. L_22 = Builder_SetMasterSecret_m53CAAD98FA7CB308C43C591AFF63BB2E45995770(L_19, L_21, /*hidden argument*/NULL);
  25404. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_23 = __this->get_mPeerCertificate_35();
  25405. NullCheck(L_22);
  25406. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_24;
  25407. L_24 = Builder_SetPeerCertificate_mF41ED1BB97B965EEB5AD4D5F9E7492097BE9C20F(L_22, L_23, /*hidden argument*/NULL);
  25408. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_25 = __this->get_mSecurityParameters_34();
  25409. NullCheck(L_25);
  25410. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
  25411. L_26 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(14 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_PskIdentity() */, L_25);
  25412. NullCheck(L_24);
  25413. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_27;
  25414. L_27 = Builder_SetPskIdentity_m2DFDC64692A71857E58FD2F384023C4BCF209341(L_24, L_26, /*hidden argument*/NULL);
  25415. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_28 = __this->get_mSecurityParameters_34();
  25416. NullCheck(L_28);
  25417. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
  25418. L_29 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(15 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SrpIdentity() */, L_28);
  25419. NullCheck(L_27);
  25420. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_30;
  25421. L_30 = Builder_SetSrpIdentity_m78995F21BE245249A3916F395564D0C89814AF9F(L_27, L_29, /*hidden argument*/NULL);
  25422. RuntimeObject* L_31 = __this->get_mServerExtensions_39();
  25423. NullCheck(L_30);
  25424. Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_32;
  25425. L_32 = Builder_SetServerExtensions_mB625AB7258E79FA07D8493F614D2D8845938A9F4(L_30, L_31, /*hidden argument*/NULL);
  25426. NullCheck(L_32);
  25427. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_33;
  25428. L_33 = Builder_Build_m25E6C6D3E14797CC0156E1C9FC2062BE805CB2D0(L_32, /*hidden argument*/NULL);
  25429. __this->set_mSessionParameters_33(L_33);
  25430. // this.mTlsSession = new TlsSessionImpl(this.mTlsSession.SessionID, this.mSessionParameters);
  25431. RuntimeObject* L_34 = __this->get_mTlsSession_32();
  25432. NullCheck(L_34);
  25433. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
  25434. L_35 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(1 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::get_SessionID() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_34);
  25435. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_36 = __this->get_mSessionParameters_33();
  25436. TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * L_37 = (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 *)il2cpp_codegen_object_new(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
  25437. TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B(L_37, L_35, L_36, /*hidden argument*/NULL);
  25438. __this->set_mTlsSession_32(L_37);
  25439. }
  25440. IL_011e:
  25441. {
  25442. // ContextAdmin.SetResumableSession(this.mTlsSession);
  25443. AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_38;
  25444. L_38 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
  25445. RuntimeObject* L_39 = __this->get_mTlsSession_32();
  25446. NullCheck(L_38);
  25447. VirtualActionInvoker1< RuntimeObject* >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::SetResumableSession(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession) */, L_38, L_39);
  25448. }
  25449. IL_012f:
  25450. {
  25451. // Peer.NotifyHandshakeComplete();
  25452. RuntimeObject* L_40;
  25453. L_40 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  25454. NullCheck(L_40);
  25455. InterfaceActionInvoker0::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifyHandshakeComplete() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_40);
  25456. // }
  25457. IL2CPP_LEAVE(0x143, FINALLY_013c);
  25458. }
  25459. }// end try (depth: 1)
  25460. catch(Il2CppExceptionWrapper& e)
  25461. {
  25462. __last_unhandled_exception = (Exception_t *)e.ex;
  25463. goto FINALLY_013c;
  25464. }
  25465. FINALLY_013c:
  25466. {// begin finally (depth: 1)
  25467. // CleanupHandshake();
  25468. VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
  25469. // }
  25470. IL2CPP_END_FINALLY(316)
  25471. }// end finally (depth: 1)
  25472. IL2CPP_CLEANUP(316)
  25473. {
  25474. IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
  25475. IL2CPP_JUMP_TBL(0x143, IL_0143)
  25476. }
  25477. IL_0143:
  25478. {
  25479. // }
  25480. return;
  25481. }
  25482. }
  25483. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
  25484. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___protocol0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___off2, int32_t ___len3, const RuntimeMethod* method)
  25485. {
  25486. static bool s_Il2CppMethodInitialized;
  25487. if (!s_Il2CppMethodInitialized)
  25488. {
  25489. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  25490. s_Il2CppMethodInitialized = true;
  25491. }
  25492. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * V_0 = NULL;
  25493. int32_t V_1 = 0;
  25494. {
  25495. uint8_t L_0 = ___protocol0;
  25496. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)((int32_t)20))))
  25497. {
  25498. case 0:
  25499. {
  25500. goto IL_005c;
  25501. }
  25502. case 1:
  25503. {
  25504. goto IL_001e;
  25505. }
  25506. case 2:
  25507. {
  25508. goto IL_0067;
  25509. }
  25510. case 3:
  25511. {
  25512. goto IL_0034;
  25513. }
  25514. }
  25515. }
  25516. {
  25517. goto IL_00c1;
  25518. }
  25519. IL_001e:
  25520. {
  25521. // mAlertQueue.AddData(buf, off, len);
  25522. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = __this->get_mAlertQueue_21();
  25523. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf1;
  25524. int32_t L_3 = ___off2;
  25525. int32_t L_4 = ___len3;
  25526. NullCheck(L_1);
  25527. ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
  25528. // ProcessAlertQueue();
  25529. TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8(__this, /*hidden argument*/NULL);
  25530. // break;
  25531. return;
  25532. }
  25533. IL_0034:
  25534. {
  25535. // if (!mAppDataReady)
  25536. bool L_5 = __this->get_mAppDataReady_28();
  25537. il2cpp_codegen_memory_barrier();
  25538. if (L_5)
  25539. {
  25540. goto IL_0046;
  25541. }
  25542. }
  25543. {
  25544. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  25545. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25546. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  25547. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var)));
  25548. }
  25549. IL_0046:
  25550. {
  25551. // mApplicationDataQueue.AddData(buf, off, len);
  25552. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_7 = __this->get_mApplicationDataQueue_20();
  25553. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___buf1;
  25554. int32_t L_9 = ___off2;
  25555. int32_t L_10 = ___len3;
  25556. NullCheck(L_7);
  25557. ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
  25558. // ProcessApplicationDataQueue();
  25559. TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335(__this, /*hidden argument*/NULL);
  25560. // break;
  25561. return;
  25562. }
  25563. IL_005c:
  25564. {
  25565. // ProcessChangeCipherSpec(buf, off, len);
  25566. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___buf1;
  25567. int32_t L_12 = ___off2;
  25568. int32_t L_13 = ___len3;
  25569. TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8(__this, L_11, L_12, L_13, /*hidden argument*/NULL);
  25570. // break;
  25571. return;
  25572. }
  25573. IL_0067:
  25574. {
  25575. // if (mHandshakeQueue.Available > 0)
  25576. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_14 = __this->get_mHandshakeQueue_22();
  25577. NullCheck(L_14);
  25578. int32_t L_15;
  25579. L_15 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_14, /*hidden argument*/NULL);
  25580. if ((((int32_t)L_15) <= ((int32_t)0)))
  25581. {
  25582. goto IL_0091;
  25583. }
  25584. }
  25585. {
  25586. // mHandshakeQueue.AddData(buf, off, len);
  25587. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_16 = __this->get_mHandshakeQueue_22();
  25588. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___buf1;
  25589. int32_t L_18 = ___off2;
  25590. int32_t L_19 = ___len3;
  25591. NullCheck(L_16);
  25592. ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_16, L_17, L_18, L_19, /*hidden argument*/NULL);
  25593. // ProcessHandshakeQueue(mHandshakeQueue);
  25594. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_20 = __this->get_mHandshakeQueue_22();
  25595. TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83(__this, L_20, /*hidden argument*/NULL);
  25596. // }
  25597. return;
  25598. }
  25599. IL_0091:
  25600. {
  25601. // ByteQueue tmpQueue = new ByteQueue(buf, off, len);
  25602. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = ___buf1;
  25603. int32_t L_22 = ___off2;
  25604. int32_t L_23 = ___len3;
  25605. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_24 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
  25606. ByteQueue__ctor_m0C89EBB061E9F38ED27DAD4475CFAAB2E586B7D4(L_24, L_21, L_22, L_23, /*hidden argument*/NULL);
  25607. V_0 = L_24;
  25608. // ProcessHandshakeQueue(tmpQueue);
  25609. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_25 = V_0;
  25610. TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83(__this, L_25, /*hidden argument*/NULL);
  25611. // int remaining = tmpQueue.Available;
  25612. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_26 = V_0;
  25613. NullCheck(L_26);
  25614. int32_t L_27;
  25615. L_27 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_26, /*hidden argument*/NULL);
  25616. V_1 = L_27;
  25617. // if (remaining > 0)
  25618. int32_t L_28 = V_1;
  25619. if ((((int32_t)L_28) <= ((int32_t)0)))
  25620. {
  25621. goto IL_00c9;
  25622. }
  25623. }
  25624. {
  25625. // mHandshakeQueue.AddData(buf, off + len - remaining, remaining);
  25626. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_29 = __this->get_mHandshakeQueue_22();
  25627. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = ___buf1;
  25628. int32_t L_31 = ___off2;
  25629. int32_t L_32 = ___len3;
  25630. int32_t L_33 = V_1;
  25631. int32_t L_34 = V_1;
  25632. NullCheck(L_29);
  25633. ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_29, L_30, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32)), (int32_t)L_33)), L_34, /*hidden argument*/NULL);
  25634. // break;
  25635. return;
  25636. }
  25637. IL_00c1:
  25638. {
  25639. // throw new TlsFatalAlert(AlertDescription.internal_error);
  25640. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25641. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_35, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  25642. IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var)));
  25643. }
  25644. IL_00c9:
  25645. {
  25646. // }
  25647. return;
  25648. }
  25649. }
  25650. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessHandshakeQueue(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue)
  25651. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___queue0, const RuntimeMethod* method)
  25652. {
  25653. static bool s_Il2CppMethodInitialized;
  25654. if (!s_Il2CppMethodInitialized)
  25655. {
  25656. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  25657. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  25658. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25659. s_Il2CppMethodInitialized = true;
  25660. }
  25661. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  25662. uint8_t V_1 = 0x0;
  25663. int32_t V_2 = 0;
  25664. int32_t V_3 = 0;
  25665. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_4 = NULL;
  25666. RuntimeObject* V_5 = NULL;
  25667. {
  25668. goto IL_00b6;
  25669. }
  25670. IL_0005:
  25671. {
  25672. // byte[] beginning = new byte[4];
  25673. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)4);
  25674. V_0 = L_0;
  25675. // queue.Read(beginning, 0, 4, 0);
  25676. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = ___queue0;
  25677. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  25678. NullCheck(L_1);
  25679. ByteQueue_Read_mE15C131ABFE6BBCB9F6D2603B03791FB8ACCA1EA(L_1, L_2, 0, 4, 0, /*hidden argument*/NULL);
  25680. // byte type = TlsUtilities.ReadUint8(beginning, 0);
  25681. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  25682. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25683. uint8_t L_4;
  25684. L_4 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_3, 0, /*hidden argument*/NULL);
  25685. V_1 = L_4;
  25686. // int length = TlsUtilities.ReadUint24(beginning, 1);
  25687. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
  25688. int32_t L_6;
  25689. L_6 = TlsUtilities_ReadUint24_mE47D3CE63AF329C4F7204B2F1CE320BFC8159BA3(L_5, 1, /*hidden argument*/NULL);
  25690. V_2 = L_6;
  25691. // int totalLength = 4 + length;
  25692. int32_t L_7 = V_2;
  25693. V_3 = ((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)L_7));
  25694. // if (queue.Available < totalLength)
  25695. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_8 = ___queue0;
  25696. NullCheck(L_8);
  25697. int32_t L_9;
  25698. L_9 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_8, /*hidden argument*/NULL);
  25699. int32_t L_10 = V_3;
  25700. if ((((int32_t)L_9) < ((int32_t)L_10)))
  25701. {
  25702. goto IL_00c2;
  25703. }
  25704. }
  25705. {
  25706. // if (HandshakeType.hello_request != type)
  25707. uint8_t L_11 = V_1;
  25708. if (!L_11)
  25709. {
  25710. goto IL_009d;
  25711. }
  25712. }
  25713. {
  25714. // if (HandshakeType.finished == type)
  25715. uint8_t L_12 = V_1;
  25716. if ((!(((uint32_t)((int32_t)20)) == ((uint32_t)L_12))))
  25717. {
  25718. goto IL_007b;
  25719. }
  25720. }
  25721. {
  25722. // CheckReceivedChangeCipherSpec(true);
  25723. VirtualActionInvoker1< bool >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CheckReceivedChangeCipherSpec(System.Boolean) */, __this, (bool)1);
  25724. // TlsContext ctx = Context;
  25725. RuntimeObject* L_13;
  25726. L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  25727. V_5 = L_13;
  25728. // if (this.mExpectedVerifyData == null
  25729. // && ctx.SecurityParameters.MasterSecret != null)
  25730. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = __this->get_mExpectedVerifyData_31();
  25731. if (L_14)
  25732. {
  25733. goto IL_008b;
  25734. }
  25735. }
  25736. {
  25737. RuntimeObject* L_15 = V_5;
  25738. NullCheck(L_15);
  25739. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_16;
  25740. L_16 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_15);
  25741. NullCheck(L_16);
  25742. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
  25743. L_17 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_MasterSecret() */, L_16);
  25744. if (!L_17)
  25745. {
  25746. goto IL_008b;
  25747. }
  25748. }
  25749. {
  25750. // this.mExpectedVerifyData = CreateVerifyData(!ctx.IsServer);
  25751. RuntimeObject* L_18 = V_5;
  25752. NullCheck(L_18);
  25753. bool L_19;
  25754. L_19 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_18);
  25755. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20;
  25756. L_20 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, bool >::Invoke(43 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateVerifyData(System.Boolean) */, __this, (bool)((((int32_t)L_19) == ((int32_t)0))? 1 : 0));
  25757. __this->set_mExpectedVerifyData_31(L_20);
  25758. // }
  25759. goto IL_008b;
  25760. }
  25761. IL_007b:
  25762. {
  25763. // CheckReceivedChangeCipherSpec(mConnectionState == CS_END);
  25764. int16_t L_21 = __this->get_mConnectionState_40();
  25765. VirtualActionInvoker1< bool >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CheckReceivedChangeCipherSpec(System.Boolean) */, __this, (bool)((((int32_t)L_21) == ((int32_t)((int32_t)16)))? 1 : 0));
  25766. }
  25767. IL_008b:
  25768. {
  25769. // queue.CopyTo(mRecordStream.HandshakeHashUpdater, totalLength);
  25770. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_22 = ___queue0;
  25771. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_23 = __this->get_mRecordStream_23();
  25772. NullCheck(L_23);
  25773. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_24;
  25774. L_24 = RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline(L_23, /*hidden argument*/NULL);
  25775. int32_t L_25 = V_3;
  25776. NullCheck(L_22);
  25777. ByteQueue_CopyTo_mD77BC0C4CEC7DC65E84CEF8FE8118341AC527B92(L_22, L_24, L_25, /*hidden argument*/NULL);
  25778. }
  25779. IL_009d:
  25780. {
  25781. // queue.RemoveData(4);
  25782. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_26 = ___queue0;
  25783. NullCheck(L_26);
  25784. ByteQueue_RemoveData_m266F5BDC7CFC94D26B9EF74E1D26C8C212262F00(L_26, 4, /*hidden argument*/NULL);
  25785. // MemoryStream buf = queue.ReadFrom(length);
  25786. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_27 = ___queue0;
  25787. int32_t L_28 = V_2;
  25788. NullCheck(L_27);
  25789. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_29;
  25790. L_29 = ByteQueue_ReadFrom_m18A085C108194E880824DBE87A746A6A221FE80E(L_27, L_28, /*hidden argument*/NULL);
  25791. V_4 = L_29;
  25792. // HandleHandshakeMessage(type, buf);
  25793. uint8_t L_30 = V_1;
  25794. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_31 = V_4;
  25795. VirtualActionInvoker2< uint8_t, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(13 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleHandshakeMessage(System.Byte,System.IO.MemoryStream) */, __this, L_30, L_31);
  25796. }
  25797. IL_00b6:
  25798. {
  25799. // while (queue.Available >= 4)
  25800. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_32 = ___queue0;
  25801. NullCheck(L_32);
  25802. int32_t L_33;
  25803. L_33 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_32, /*hidden argument*/NULL);
  25804. if ((((int32_t)L_33) >= ((int32_t)4)))
  25805. {
  25806. goto IL_0005;
  25807. }
  25808. }
  25809. IL_00c2:
  25810. {
  25811. // }
  25812. return;
  25813. }
  25814. }
  25815. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessApplicationDataQueue()
  25816. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25817. {
  25818. {
  25819. // }
  25820. return;
  25821. }
  25822. }
  25823. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessAlertQueue()
  25824. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25825. {
  25826. uint8_t V_0 = 0x0;
  25827. uint8_t V_1 = 0x0;
  25828. {
  25829. goto IL_001e;
  25830. }
  25831. IL_0002:
  25832. {
  25833. // byte[] alert = mAlertQueue.RemoveData(2, 0);
  25834. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mAlertQueue_21();
  25835. NullCheck(L_0);
  25836. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  25837. L_1 = ByteQueue_RemoveData_m3162B7DD9CE22199A6AFC6F3F8FE27F4606622A4(L_0, 2, 0, /*hidden argument*/NULL);
  25838. // byte alertLevel = alert[0];
  25839. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
  25840. NullCheck(L_2);
  25841. int32_t L_3 = 0;
  25842. uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
  25843. V_0 = L_4;
  25844. // byte alertDescription = alert[1];
  25845. NullCheck(L_2);
  25846. int32_t L_5 = 1;
  25847. uint8_t L_6 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
  25848. V_1 = L_6;
  25849. // HandleAlertMessage(alertLevel, alertDescription);
  25850. uint8_t L_7 = V_0;
  25851. uint8_t L_8 = V_1;
  25852. VirtualActionInvoker2< uint8_t, uint8_t >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertMessage(System.Byte,System.Byte) */, __this, L_7, L_8);
  25853. }
  25854. IL_001e:
  25855. {
  25856. // while (mAlertQueue.Available >= 2)
  25857. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_9 = __this->get_mAlertQueue_21();
  25858. NullCheck(L_9);
  25859. int32_t L_10;
  25860. L_10 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_9, /*hidden argument*/NULL);
  25861. if ((((int32_t)L_10) >= ((int32_t)2)))
  25862. {
  25863. goto IL_0002;
  25864. }
  25865. }
  25866. {
  25867. // }
  25868. return;
  25869. }
  25870. }
  25871. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessChangeCipherSpec(System.Byte[],System.Int32,System.Int32)
  25872. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, const RuntimeMethod* method)
  25873. {
  25874. static bool s_Il2CppMethodInitialized;
  25875. if (!s_Il2CppMethodInitialized)
  25876. {
  25877. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25878. s_Il2CppMethodInitialized = true;
  25879. }
  25880. int32_t V_0 = 0;
  25881. {
  25882. // for (int i = 0; i < len; ++i)
  25883. V_0 = 0;
  25884. goto IL_0060;
  25885. }
  25886. IL_0004:
  25887. {
  25888. // byte message = TlsUtilities.ReadUint8(buf, off + i);
  25889. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___buf0;
  25890. int32_t L_1 = ___off1;
  25891. int32_t L_2 = V_0;
  25892. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  25893. uint8_t L_3;
  25894. L_3 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_0, ((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_2)), /*hidden argument*/NULL);
  25895. // if (message != ChangeCipherSpec.change_cipher_spec)
  25896. if ((((int32_t)L_3) == ((int32_t)1)))
  25897. {
  25898. goto IL_0018;
  25899. }
  25900. }
  25901. {
  25902. // throw new TlsFatalAlert(AlertDescription.decode_error);
  25903. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25904. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  25905. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var)));
  25906. }
  25907. IL_0018:
  25908. {
  25909. // if (this.mReceivedChangeCipherSpec
  25910. // || mAlertQueue.Available > 0
  25911. // || mHandshakeQueue.Available > 0)
  25912. bool L_5 = __this->get_mReceivedChangeCipherSpec_42();
  25913. if (L_5)
  25914. {
  25915. goto IL_003c;
  25916. }
  25917. }
  25918. {
  25919. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_6 = __this->get_mAlertQueue_21();
  25920. NullCheck(L_6);
  25921. int32_t L_7;
  25922. L_7 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_6, /*hidden argument*/NULL);
  25923. if ((((int32_t)L_7) > ((int32_t)0)))
  25924. {
  25925. goto IL_003c;
  25926. }
  25927. }
  25928. {
  25929. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_8 = __this->get_mHandshakeQueue_22();
  25930. NullCheck(L_8);
  25931. int32_t L_9;
  25932. L_9 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_8, /*hidden argument*/NULL);
  25933. if ((((int32_t)L_9) <= ((int32_t)0)))
  25934. {
  25935. goto IL_0044;
  25936. }
  25937. }
  25938. IL_003c:
  25939. {
  25940. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  25941. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  25942. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  25943. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var)));
  25944. }
  25945. IL_0044:
  25946. {
  25947. // mRecordStream.ReceivedReadCipherSpec();
  25948. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_11 = __this->get_mRecordStream_23();
  25949. NullCheck(L_11);
  25950. RecordStream_ReceivedReadCipherSpec_m32F30B23085A98C4AF5E08370E73B25D88BEA901(L_11, /*hidden argument*/NULL);
  25951. // this.mReceivedChangeCipherSpec = true;
  25952. __this->set_mReceivedChangeCipherSpec_42((bool)1);
  25953. // HandleChangeCipherSpecMessage();
  25954. VirtualActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleChangeCipherSpecMessage() */, __this);
  25955. // for (int i = 0; i < len; ++i)
  25956. int32_t L_12 = V_0;
  25957. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
  25958. }
  25959. IL_0060:
  25960. {
  25961. // for (int i = 0; i < len; ++i)
  25962. int32_t L_13 = V_0;
  25963. int32_t L_14 = ___len2;
  25964. if ((((int32_t)L_13) < ((int32_t)L_14)))
  25965. {
  25966. goto IL_0004;
  25967. }
  25968. }
  25969. {
  25970. // }
  25971. return;
  25972. }
  25973. }
  25974. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable()
  25975. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_ApplicationDataAvailable_mA0AFAE49A5E9BAAA81D9B5BDDED72D724B069B00 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  25976. {
  25977. {
  25978. // return mApplicationDataQueue.Available;
  25979. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mApplicationDataQueue_20();
  25980. NullCheck(L_0);
  25981. int32_t L_1;
  25982. L_1 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_0, /*hidden argument*/NULL);
  25983. return L_1;
  25984. }
  25985. }
  25986. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadApplicationData(System.Byte[],System.Int32,System.Int32)
  25987. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, int32_t ___len2, const RuntimeMethod* method)
  25988. {
  25989. static bool s_Il2CppMethodInitialized;
  25990. if (!s_Il2CppMethodInitialized)
  25991. {
  25992. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  25993. s_Il2CppMethodInitialized = true;
  25994. }
  25995. {
  25996. // if (len < 1)
  25997. int32_t L_0 = ___len2;
  25998. if ((((int32_t)L_0) >= ((int32_t)1)))
  25999. {
  26000. goto IL_0042;
  26001. }
  26002. }
  26003. {
  26004. // return 0;
  26005. return 0;
  26006. }
  26007. IL_0006:
  26008. {
  26009. // if (this.mClosed)
  26010. bool L_1 = __this->get_mClosed_26();
  26011. il2cpp_codegen_memory_barrier();
  26012. if (!L_1)
  26013. {
  26014. goto IL_003c;
  26015. }
  26016. }
  26017. {
  26018. // if (this.mFailedWithError)
  26019. bool L_2 = __this->get_mFailedWithError_27();
  26020. il2cpp_codegen_memory_barrier();
  26021. if (!L_2)
  26022. {
  26023. goto IL_0025;
  26024. }
  26025. }
  26026. {
  26027. // throw new IOException("Cannot read application data on failed TLS connection");
  26028. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
  26029. IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral0CDD452B2C2336D2C4DE572858BA380389E9CC5B)), /*hidden argument*/NULL);
  26030. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var)));
  26031. }
  26032. IL_0025:
  26033. {
  26034. // if (!mAppDataReady)
  26035. bool L_4 = __this->get_mAppDataReady_28();
  26036. il2cpp_codegen_memory_barrier();
  26037. if (L_4)
  26038. {
  26039. goto IL_003a;
  26040. }
  26041. }
  26042. {
  26043. // throw new InvalidOperationException("Cannot read application data until initial handshake completed.");
  26044. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26045. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2F72190F9E764CFA6673369A9C490B95A085AFF0)), /*hidden argument*/NULL);
  26046. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var)));
  26047. }
  26048. IL_003a:
  26049. {
  26050. // return 0;
  26051. return 0;
  26052. }
  26053. IL_003c:
  26054. {
  26055. // SafeReadRecord();
  26056. VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
  26057. }
  26058. IL_0042:
  26059. {
  26060. // while (mApplicationDataQueue.Available == 0)
  26061. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_6 = __this->get_mApplicationDataQueue_20();
  26062. NullCheck(L_6);
  26063. int32_t L_7;
  26064. L_7 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_6, /*hidden argument*/NULL);
  26065. if (!L_7)
  26066. {
  26067. goto IL_0006;
  26068. }
  26069. }
  26070. {
  26071. // len = System.Math.Min(len, mApplicationDataQueue.Available);
  26072. int32_t L_8 = ___len2;
  26073. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_9 = __this->get_mApplicationDataQueue_20();
  26074. NullCheck(L_9);
  26075. int32_t L_10;
  26076. L_10 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_9, /*hidden argument*/NULL);
  26077. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26078. int32_t L_11;
  26079. L_11 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_8, L_10, /*hidden argument*/NULL);
  26080. ___len2 = L_11;
  26081. // mApplicationDataQueue.RemoveData(buf, offset, len, 0);
  26082. ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_12 = __this->get_mApplicationDataQueue_20();
  26083. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = ___buf0;
  26084. int32_t L_14 = ___offset1;
  26085. int32_t L_15 = ___len2;
  26086. NullCheck(L_12);
  26087. ByteQueue_RemoveData_m55688B85979D2459B82FE58673243941E1B3DCE5(L_12, L_13, L_14, L_15, 0, /*hidden argument*/NULL);
  26088. // return len;
  26089. int32_t L_16 = ___len2;
  26090. return L_16;
  26091. }
  26092. }
  26093. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeCheckRecordHeader(System.Byte[])
  26094. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___recordHeader0, const RuntimeMethod* method)
  26095. {
  26096. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
  26097. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
  26098. Exception_t * V_2 = NULL;
  26099. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  26100. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  26101. IL_0000:
  26102. try
  26103. {// begin try (depth: 1)
  26104. // mRecordStream.CheckRecordHeader(recordHeader);
  26105. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
  26106. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___recordHeader0;
  26107. NullCheck(L_0);
  26108. RecordStream_CheckRecordHeader_m29044432FF8CD46B58BFE538261A9372A9B1CCAE(L_0, L_1, /*hidden argument*/NULL);
  26109. // }
  26110. goto IL_004c;
  26111. }// end try (depth: 1)
  26112. catch(Il2CppExceptionWrapper& e)
  26113. {
  26114. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26115. {
  26116. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26117. goto CATCH_000e;
  26118. }
  26119. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26120. {
  26121. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26122. goto CATCH_0023;
  26123. }
  26124. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26125. {
  26126. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26127. goto CATCH_0034;
  26128. }
  26129. throw e;
  26130. }
  26131. CATCH_000e:
  26132. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
  26133. // catch (TlsFatalAlert e)
  26134. V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
  26135. // HandleException(e.AlertDescription, "Failed to read record", e);
  26136. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = V_0;
  26137. NullCheck(L_2);
  26138. uint8_t L_3;
  26139. L_3 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_2);
  26140. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = V_0;
  26141. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_4);
  26142. // throw e;
  26143. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = V_0;
  26144. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
  26145. }// end catch (depth: 1)
  26146. CATCH_0023:
  26147. {// begin catch(System.IO.IOException)
  26148. // catch (IOException e)
  26149. V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
  26150. // HandleException(AlertDescription.internal_error, "Failed to read record", e);
  26151. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_6 = V_1;
  26152. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_6);
  26153. // throw e;
  26154. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_7 = V_1;
  26155. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
  26156. }// end catch (depth: 1)
  26157. CATCH_0034:
  26158. {// begin catch(System.Exception)
  26159. // catch (Exception e)
  26160. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  26161. // HandleException(AlertDescription.internal_error, "Failed to read record", e);
  26162. Exception_t * L_8 = V_2;
  26163. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_8);
  26164. // throw new TlsFatalAlert(AlertDescription.internal_error, e);
  26165. Exception_t * L_9 = V_2;
  26166. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26167. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_10, (uint8_t)((int32_t)80), L_9, /*hidden argument*/NULL);
  26168. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
  26169. }// end catch (depth: 1)
  26170. IL_004c:
  26171. {
  26172. // }
  26173. return;
  26174. }
  26175. }
  26176. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord()
  26177. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  26178. {
  26179. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
  26180. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
  26181. Exception_t * V_2 = NULL;
  26182. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  26183. il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
  26184. IL_0000:
  26185. try
  26186. {// begin try (depth: 1)
  26187. {
  26188. // if (mRecordStream.ReadRecord())
  26189. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
  26190. NullCheck(L_0);
  26191. bool L_1;
  26192. L_1 = RecordStream_ReadRecord_mFACDFFD3F4C551076A0E33FA9F088F5D8E3FE914(L_0, /*hidden argument*/NULL);
  26193. if (!L_1)
  26194. {
  26195. goto IL_000f;
  26196. }
  26197. }
  26198. IL_000d:
  26199. {
  26200. // return;
  26201. goto IL_006e;
  26202. }
  26203. IL_000f:
  26204. {
  26205. // if (!mAppDataReady)
  26206. bool L_2 = __this->get_mAppDataReady_28();
  26207. il2cpp_codegen_memory_barrier();
  26208. if (L_2)
  26209. {
  26210. goto IL_0021;
  26211. }
  26212. }
  26213. IL_0019:
  26214. {
  26215. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  26216. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26217. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  26218. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26219. }
  26220. IL_0021:
  26221. {
  26222. // }
  26223. goto IL_0062;
  26224. }
  26225. }// end try (depth: 1)
  26226. catch(Il2CppExceptionWrapper& e)
  26227. {
  26228. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26229. {
  26230. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26231. goto CATCH_0023;
  26232. }
  26233. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26234. {
  26235. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26236. goto CATCH_0024;
  26237. }
  26238. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26239. {
  26240. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26241. goto CATCH_0039;
  26242. }
  26243. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26244. {
  26245. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26246. goto CATCH_004a;
  26247. }
  26248. throw e;
  26249. }
  26250. CATCH_0023:
  26251. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived)
  26252. // throw e;
  26253. IL2CPP_RAISE_MANAGED_EXCEPTION(((TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D *)), ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26254. }// end catch (depth: 1)
  26255. CATCH_0024:
  26256. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
  26257. // catch (TlsFatalAlert e)
  26258. V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
  26259. // HandleException(e.AlertDescription, "Failed to read record", e);
  26260. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = V_0;
  26261. NullCheck(L_4);
  26262. uint8_t L_5;
  26263. L_5 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_4);
  26264. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = V_0;
  26265. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_6);
  26266. // throw e;
  26267. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = V_0;
  26268. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26269. }// end catch (depth: 1)
  26270. CATCH_0039:
  26271. {// begin catch(System.IO.IOException)
  26272. // catch (IOException e)
  26273. V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
  26274. // HandleException(AlertDescription.internal_error, "Failed to read record", e);
  26275. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_8 = V_1;
  26276. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_8);
  26277. // throw e;
  26278. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_9 = V_1;
  26279. IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26280. }// end catch (depth: 1)
  26281. CATCH_004a:
  26282. {// begin catch(System.Exception)
  26283. // catch (Exception e)
  26284. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  26285. // HandleException(AlertDescription.internal_error, "Failed to read record", e);
  26286. Exception_t * L_10 = V_2;
  26287. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80)), L_10);
  26288. // throw new TlsFatalAlert(AlertDescription.internal_error, e);
  26289. Exception_t * L_11 = V_2;
  26290. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26291. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)80), L_11, /*hidden argument*/NULL);
  26292. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26293. }// end catch (depth: 1)
  26294. IL_0062:
  26295. {
  26296. // HandleFailure();
  26297. VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
  26298. // throw new TlsNoCloseNotifyException();
  26299. TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * L_13 = (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var)));
  26300. TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5(L_13, /*hidden argument*/NULL);
  26301. IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
  26302. }
  26303. IL_006e:
  26304. {
  26305. // }
  26306. return;
  26307. }
  26308. }
  26309. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
  26310. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___type0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, int32_t ___len3, const RuntimeMethod* method)
  26311. {
  26312. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
  26313. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
  26314. Exception_t * V_2 = NULL;
  26315. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  26316. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  26317. IL_0000:
  26318. try
  26319. {// begin try (depth: 1)
  26320. // mRecordStream.WriteRecord(type, buf, offset, len);
  26321. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
  26322. uint8_t L_1 = ___type0;
  26323. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf1;
  26324. int32_t L_3 = ___offset2;
  26325. int32_t L_4 = ___len3;
  26326. NullCheck(L_0);
  26327. RecordStream_WriteRecord_m2B1018B88F35925BF5B33983BA1FA75F99FE110C(L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
  26328. // }
  26329. goto IL_0050;
  26330. }// end try (depth: 1)
  26331. catch(Il2CppExceptionWrapper& e)
  26332. {
  26333. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26334. {
  26335. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26336. goto CATCH_0012;
  26337. }
  26338. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26339. {
  26340. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26341. goto CATCH_0027;
  26342. }
  26343. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  26344. {
  26345. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  26346. goto CATCH_0038;
  26347. }
  26348. throw e;
  26349. }
  26350. CATCH_0012:
  26351. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
  26352. // catch (TlsFatalAlert e)
  26353. V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
  26354. // HandleException(e.AlertDescription, "Failed to write record", e);
  26355. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = V_0;
  26356. NullCheck(L_5);
  26357. uint8_t L_6;
  26358. L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_5);
  26359. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = V_0;
  26360. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral344D51DD192D0862CE0E9711FD4A3E4B873165CB)), L_7);
  26361. // throw e;
  26362. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = V_0;
  26363. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
  26364. }// end catch (depth: 1)
  26365. CATCH_0027:
  26366. {// begin catch(System.IO.IOException)
  26367. // catch (IOException e)
  26368. V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
  26369. // HandleException(AlertDescription.internal_error, "Failed to write record", e);
  26370. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_9 = V_1;
  26371. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral344D51DD192D0862CE0E9711FD4A3E4B873165CB)), L_9);
  26372. // throw e;
  26373. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_10 = V_1;
  26374. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
  26375. }// end catch (depth: 1)
  26376. CATCH_0038:
  26377. {// begin catch(System.Exception)
  26378. // catch (Exception e)
  26379. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  26380. // HandleException(AlertDescription.internal_error, "Failed to write record", e);
  26381. Exception_t * L_11 = V_2;
  26382. VirtualActionInvoker3< uint8_t, String_t*, Exception_t * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception) */, __this, (uint8_t)((int32_t)80), ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral344D51DD192D0862CE0E9711FD4A3E4B873165CB)), L_11);
  26383. // throw new TlsFatalAlert(AlertDescription.internal_error, e);
  26384. Exception_t * L_12 = V_2;
  26385. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_13 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26386. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_13, (uint8_t)((int32_t)80), L_12, /*hidden argument*/NULL);
  26387. IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
  26388. }// end catch (depth: 1)
  26389. IL_0050:
  26390. {
  26391. // }
  26392. return;
  26393. }
  26394. }
  26395. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteData(System.Byte[],System.Int32,System.Int32)
  26396. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteData_m2A2ECAABD80A44BCD27764FF07C7A9ADCF01419B (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, int32_t ___len2, const RuntimeMethod* method)
  26397. {
  26398. static bool s_Il2CppMethodInitialized;
  26399. if (!s_Il2CppMethodInitialized)
  26400. {
  26401. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26402. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26403. s_Il2CppMethodInitialized = true;
  26404. }
  26405. int32_t V_0 = 0;
  26406. int32_t V_1 = 0;
  26407. {
  26408. // if (this.mClosed)
  26409. bool L_0 = __this->get_mClosed_26();
  26410. il2cpp_codegen_memory_barrier();
  26411. if (!L_0)
  26412. {
  26413. goto IL_00aa;
  26414. }
  26415. }
  26416. {
  26417. // throw new IOException("Cannot write application data on closed/failed TLS connection");
  26418. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_1 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
  26419. IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA04466B10E83D10F494805142BC26E01FC2FAB6E)), /*hidden argument*/NULL);
  26420. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_WriteData_m2A2ECAABD80A44BCD27764FF07C7A9ADCF01419B_RuntimeMethod_var)));
  26421. }
  26422. IL_0018:
  26423. {
  26424. // if (this.mAppDataSplitEnabled)
  26425. bool L_2 = __this->get_mAppDataSplitEnabled_29();
  26426. il2cpp_codegen_memory_barrier();
  26427. if (!L_2)
  26428. {
  26429. goto IL_007f;
  26430. }
  26431. }
  26432. {
  26433. // switch (mAppDataSplitMode)
  26434. int32_t L_3 = __this->get_mAppDataSplitMode_30();
  26435. il2cpp_codegen_memory_barrier();
  26436. V_0 = L_3;
  26437. int32_t L_4 = V_0;
  26438. switch (L_4)
  26439. {
  26440. case 0:
  26441. {
  26442. goto IL_006a;
  26443. }
  26444. case 1:
  26445. {
  26446. goto IL_003f;
  26447. }
  26448. case 2:
  26449. {
  26450. goto IL_0050;
  26451. }
  26452. }
  26453. }
  26454. {
  26455. goto IL_006a;
  26456. }
  26457. IL_003f:
  26458. {
  26459. // SafeWriteRecord(ContentType.application_data, TlsUtilities.EmptyBytes, 0, 0);
  26460. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26461. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  26462. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)23), L_5, 0, 0);
  26463. // break;
  26464. goto IL_007f;
  26465. }
  26466. IL_0050:
  26467. {
  26468. // this.mAppDataSplitEnabled = false;
  26469. il2cpp_codegen_memory_barrier();
  26470. __this->set_mAppDataSplitEnabled_29(0);
  26471. // SafeWriteRecord(ContentType.application_data, TlsUtilities.EmptyBytes, 0, 0);
  26472. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26473. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  26474. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)23), L_6, 0, 0);
  26475. // break;
  26476. goto IL_007f;
  26477. }
  26478. IL_006a:
  26479. {
  26480. // SafeWriteRecord(ContentType.application_data, buf, offset, 1);
  26481. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___buf0;
  26482. int32_t L_8 = ___offset1;
  26483. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)23), L_7, L_8, 1);
  26484. // ++offset;
  26485. int32_t L_9 = ___offset1;
  26486. ___offset1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
  26487. // --len;
  26488. int32_t L_10 = ___len2;
  26489. ___len2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)1));
  26490. }
  26491. IL_007f:
  26492. {
  26493. // if (len > 0)
  26494. int32_t L_11 = ___len2;
  26495. if ((((int32_t)L_11) <= ((int32_t)0)))
  26496. {
  26497. goto IL_00aa;
  26498. }
  26499. }
  26500. {
  26501. // int toWrite = System.Math.Min(len, mRecordStream.GetPlaintextLimit());
  26502. int32_t L_12 = ___len2;
  26503. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_13 = __this->get_mRecordStream_23();
  26504. NullCheck(L_13);
  26505. int32_t L_14;
  26506. L_14 = RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline(L_13, /*hidden argument*/NULL);
  26507. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26508. int32_t L_15;
  26509. L_15 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_12, L_14, /*hidden argument*/NULL);
  26510. V_1 = L_15;
  26511. // SafeWriteRecord(ContentType.application_data, buf, offset, toWrite);
  26512. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___buf0;
  26513. int32_t L_17 = ___offset1;
  26514. int32_t L_18 = V_1;
  26515. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)23), L_16, L_17, L_18);
  26516. // offset += toWrite;
  26517. int32_t L_19 = ___offset1;
  26518. int32_t L_20 = V_1;
  26519. ___offset1 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_20));
  26520. // len -= toWrite;
  26521. int32_t L_21 = ___len2;
  26522. int32_t L_22 = V_1;
  26523. ___len2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)L_22));
  26524. }
  26525. IL_00aa:
  26526. {
  26527. // while (len > 0)
  26528. int32_t L_23 = ___len2;
  26529. if ((((int32_t)L_23) > ((int32_t)0)))
  26530. {
  26531. goto IL_0018;
  26532. }
  26533. }
  26534. {
  26535. // }
  26536. return;
  26537. }
  26538. }
  26539. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SetAppDataSplitMode(System.Int32)
  26540. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, int32_t ___appDataSplitMode0, const RuntimeMethod* method)
  26541. {
  26542. {
  26543. // if (appDataSplitMode < ADS_MODE_1_Nsub1 || appDataSplitMode > ADS_MODE_0_N_FIRSTONLY)
  26544. int32_t L_0 = ___appDataSplitMode0;
  26545. if ((((int32_t)L_0) < ((int32_t)0)))
  26546. {
  26547. goto IL_0008;
  26548. }
  26549. }
  26550. {
  26551. int32_t L_1 = ___appDataSplitMode0;
  26552. if ((((int32_t)L_1) <= ((int32_t)2)))
  26553. {
  26554. goto IL_0024;
  26555. }
  26556. }
  26557. IL_0008:
  26558. {
  26559. // throw new ArgumentException("Illegal appDataSplitMode mode: " + appDataSplitMode, "appDataSplitMode");
  26560. String_t* L_2;
  26561. L_2 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)(&___appDataSplitMode0), /*hidden argument*/NULL);
  26562. String_t* L_3;
  26563. L_3 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5250BA63551725419B95C420601F0567BA750D2F)), L_2, /*hidden argument*/NULL);
  26564. ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_4 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
  26565. ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_4, L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF2CCF1E7FF46A317D4B9ADE22CC36C02BB238336)), /*hidden argument*/NULL);
  26566. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE_RuntimeMethod_var)));
  26567. }
  26568. IL_0024:
  26569. {
  26570. // this.mAppDataSplitMode = appDataSplitMode;
  26571. int32_t L_5 = ___appDataSplitMode0;
  26572. il2cpp_codegen_memory_barrier();
  26573. __this->set_mAppDataSplitMode_30(L_5);
  26574. // }
  26575. return;
  26576. }
  26577. }
  26578. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteHandshakeMessage(System.Byte[],System.Int32,System.Int32)
  26579. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteHandshakeMessage_m59149BE5A93B0D651A1AA6F1460292D73C08F563 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___off1, int32_t ___len2, const RuntimeMethod* method)
  26580. {
  26581. static bool s_Il2CppMethodInitialized;
  26582. if (!s_Il2CppMethodInitialized)
  26583. {
  26584. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26585. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26586. s_Il2CppMethodInitialized = true;
  26587. }
  26588. int32_t V_0 = 0;
  26589. int32_t V_1 = 0;
  26590. {
  26591. // if (len < 4)
  26592. int32_t L_0 = ___len2;
  26593. if ((((int32_t)L_0) >= ((int32_t)4)))
  26594. {
  26595. goto IL_000c;
  26596. }
  26597. }
  26598. {
  26599. // throw new TlsFatalAlert(AlertDescription.internal_error);
  26600. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26601. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  26602. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_WriteHandshakeMessage_m59149BE5A93B0D651A1AA6F1460292D73C08F563_RuntimeMethod_var)));
  26603. }
  26604. IL_000c:
  26605. {
  26606. // byte type = TlsUtilities.ReadUint8(buf, off);
  26607. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf0;
  26608. int32_t L_3 = ___off1;
  26609. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26610. uint8_t L_4;
  26611. L_4 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_2, L_3, /*hidden argument*/NULL);
  26612. // if (type != HandshakeType.hello_request)
  26613. if (!L_4)
  26614. {
  26615. goto IL_0028;
  26616. }
  26617. }
  26618. {
  26619. // mRecordStream.HandshakeHashUpdater.Write(buf, off, len);
  26620. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = __this->get_mRecordStream_23();
  26621. NullCheck(L_5);
  26622. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6;
  26623. L_6 = RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline(L_5, /*hidden argument*/NULL);
  26624. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___buf0;
  26625. int32_t L_8 = ___off1;
  26626. int32_t L_9 = ___len2;
  26627. NullCheck(L_6);
  26628. VirtualActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(32 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_6, L_7, L_8, L_9);
  26629. }
  26630. IL_0028:
  26631. {
  26632. // int total = 0;
  26633. V_0 = 0;
  26634. }
  26635. IL_002a:
  26636. {
  26637. // int toWrite = System.Math.Min(len - total, mRecordStream.GetPlaintextLimit());
  26638. int32_t L_10 = ___len2;
  26639. int32_t L_11 = V_0;
  26640. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_12 = __this->get_mRecordStream_23();
  26641. NullCheck(L_12);
  26642. int32_t L_13;
  26643. L_13 = RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline(L_12, /*hidden argument*/NULL);
  26644. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26645. int32_t L_14;
  26646. L_14 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)L_11)), L_13, /*hidden argument*/NULL);
  26647. V_1 = L_14;
  26648. // SafeWriteRecord(ContentType.handshake, buf, off + total, toWrite);
  26649. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___buf0;
  26650. int32_t L_16 = ___off1;
  26651. int32_t L_17 = V_0;
  26652. int32_t L_18 = V_1;
  26653. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)22), L_15, ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_17)), L_18);
  26654. // total += toWrite;
  26655. int32_t L_19 = V_0;
  26656. int32_t L_20 = V_1;
  26657. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_20));
  26658. // while (total < len);
  26659. int32_t L_21 = V_0;
  26660. int32_t L_22 = ___len2;
  26661. if ((((int32_t)L_21) < ((int32_t)L_22)))
  26662. {
  26663. goto IL_002a;
  26664. }
  26665. }
  26666. {
  26667. // }
  26668. return;
  26669. }
  26670. }
  26671. // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Stream()
  26672. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  26673. {
  26674. {
  26675. // if (!mBlocking)
  26676. bool L_0 = __this->get_mBlocking_46();
  26677. if (L_0)
  26678. {
  26679. goto IL_0013;
  26680. }
  26681. }
  26682. {
  26683. // throw new InvalidOperationException("Cannot use Stream in non-blocking mode! Use OfferInput()/OfferOutput() instead.");
  26684. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26685. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6B72FA35D4EDE9CDE7DB7A03F8847CC07EACFF93)), /*hidden argument*/NULL);
  26686. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15_RuntimeMethod_var)));
  26687. }
  26688. IL_0013:
  26689. {
  26690. // return this.mTlsStream;
  26691. TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * L_2 = __this->get_mTlsStream_25();
  26692. return L_2;
  26693. }
  26694. }
  26695. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CloseInput()
  26696. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  26697. {
  26698. {
  26699. // if (mBlocking)
  26700. bool L_0 = __this->get_mBlocking_46();
  26701. if (!L_0)
  26702. {
  26703. goto IL_0013;
  26704. }
  26705. }
  26706. {
  26707. // throw new InvalidOperationException("Cannot use CloseInput() in blocking mode!");
  26708. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26709. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF43EEDBB08A088CD7B0F2B40B4DE6C94C2A1FB0C)), /*hidden argument*/NULL);
  26710. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
  26711. }
  26712. IL_0013:
  26713. {
  26714. // if (mClosed)
  26715. bool L_2 = __this->get_mClosed_26();
  26716. il2cpp_codegen_memory_barrier();
  26717. if (!L_2)
  26718. {
  26719. goto IL_001e;
  26720. }
  26721. }
  26722. {
  26723. // return;
  26724. return;
  26725. }
  26726. IL_001e:
  26727. {
  26728. // if (mInputBuffers.Available > 0)
  26729. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_3 = __this->get_mInputBuffers_47();
  26730. NullCheck(L_3);
  26731. int32_t L_4;
  26732. L_4 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_3);
  26733. if ((((int32_t)L_4) <= ((int32_t)0)))
  26734. {
  26735. goto IL_0032;
  26736. }
  26737. }
  26738. {
  26739. // throw new EndOfStreamException();
  26740. EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * L_5 = (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059_il2cpp_TypeInfo_var)));
  26741. EndOfStreamException__ctor_m2D2184E744B5B0762EA690CFD757F64E0BC6D539(L_5, /*hidden argument*/NULL);
  26742. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
  26743. }
  26744. IL_0032:
  26745. {
  26746. // if (!mAppDataReady)
  26747. bool L_6 = __this->get_mAppDataReady_28();
  26748. il2cpp_codegen_memory_barrier();
  26749. if (L_6)
  26750. {
  26751. goto IL_0044;
  26752. }
  26753. }
  26754. {
  26755. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  26756. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26757. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  26758. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
  26759. }
  26760. IL_0044:
  26761. {
  26762. // throw new TlsNoCloseNotifyException();
  26763. TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * L_8 = (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var)));
  26764. TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5(L_8, /*hidden argument*/NULL);
  26765. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
  26766. }
  26767. }
  26768. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::OfferInput(System.Byte[])
  26769. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___input0, const RuntimeMethod* method)
  26770. {
  26771. static bool s_Il2CppMethodInitialized;
  26772. if (!s_Il2CppMethodInitialized)
  26773. {
  26774. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  26775. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26776. s_Il2CppMethodInitialized = true;
  26777. }
  26778. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  26779. int32_t V_1 = 0;
  26780. {
  26781. // if (mBlocking)
  26782. bool L_0 = __this->get_mBlocking_46();
  26783. if (!L_0)
  26784. {
  26785. goto IL_0013;
  26786. }
  26787. }
  26788. {
  26789. // throw new InvalidOperationException("Cannot use OfferInput() in blocking mode! Use Stream instead.");
  26790. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26791. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4E05F5E4D1E688C1EA07D3556298D06AC8B37E2B)), /*hidden argument*/NULL);
  26792. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
  26793. }
  26794. IL_0013:
  26795. {
  26796. // if (mClosed)
  26797. bool L_2 = __this->get_mClosed_26();
  26798. il2cpp_codegen_memory_barrier();
  26799. if (!L_2)
  26800. {
  26801. goto IL_0028;
  26802. }
  26803. }
  26804. {
  26805. // throw new IOException("Connection is closed, cannot accept any more input");
  26806. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
  26807. IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAF56843B4028CD637013BC262E54C485F386B807)), /*hidden argument*/NULL);
  26808. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
  26809. }
  26810. IL_0028:
  26811. {
  26812. // mInputBuffers.Write(input);
  26813. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_4 = __this->get_mInputBuffers_47();
  26814. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___input0;
  26815. NullCheck(L_4);
  26816. VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::Write(System.Byte[]) */, L_4, L_5);
  26817. goto IL_008c;
  26818. }
  26819. IL_0036:
  26820. {
  26821. // byte[] recordHeader = new byte[RecordStream.TLS_HEADER_SIZE];
  26822. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)5);
  26823. V_0 = L_6;
  26824. // mInputBuffers.Peek(recordHeader);
  26825. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_7 = __this->get_mInputBuffers_47();
  26826. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_0;
  26827. NullCheck(L_7);
  26828. int32_t L_9;
  26829. L_9 = VirtualFuncInvoker1< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(35 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::Peek(System.Byte[]) */, L_7, L_8);
  26830. // int totalLength = TlsUtilities.ReadUint16(recordHeader, RecordStream.TLS_HEADER_LENGTH_OFFSET) + RecordStream.TLS_HEADER_SIZE;
  26831. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
  26832. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  26833. int32_t L_11;
  26834. L_11 = TlsUtilities_ReadUint16_m1E5799E6E15832FAB71BF8BE758A1679A7BACE97(L_10, 3, /*hidden argument*/NULL);
  26835. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)5));
  26836. // if (mInputBuffers.Available < totalLength)
  26837. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_12 = __this->get_mInputBuffers_47();
  26838. NullCheck(L_12);
  26839. int32_t L_13;
  26840. L_13 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_12);
  26841. int32_t L_14 = V_1;
  26842. if ((((int32_t)L_13) >= ((int32_t)L_14)))
  26843. {
  26844. goto IL_006a;
  26845. }
  26846. }
  26847. {
  26848. // SafeCheckRecordHeader(recordHeader);
  26849. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
  26850. VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(21 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeCheckRecordHeader(System.Byte[]) */, __this, L_15);
  26851. // break;
  26852. return;
  26853. }
  26854. IL_006a:
  26855. {
  26856. // SafeReadRecord();
  26857. VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
  26858. // if (mClosed)
  26859. bool L_16 = __this->get_mClosed_26();
  26860. il2cpp_codegen_memory_barrier();
  26861. if (!L_16)
  26862. {
  26863. goto IL_008c;
  26864. }
  26865. }
  26866. {
  26867. // if (mConnectionState != CS_END)
  26868. int16_t L_17 = __this->get_mConnectionState_40();
  26869. if ((((int32_t)L_17) == ((int32_t)((int32_t)16))))
  26870. {
  26871. goto IL_009a;
  26872. }
  26873. }
  26874. {
  26875. // throw new TlsFatalAlert(AlertDescription.internal_error);
  26876. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  26877. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  26878. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
  26879. }
  26880. IL_008c:
  26881. {
  26882. // while (mInputBuffers.Available >= RecordStream.TLS_HEADER_SIZE)
  26883. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_19 = __this->get_mInputBuffers_47();
  26884. NullCheck(L_19);
  26885. int32_t L_20;
  26886. L_20 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_19);
  26887. if ((((int32_t)L_20) >= ((int32_t)5)))
  26888. {
  26889. goto IL_0036;
  26890. }
  26891. }
  26892. IL_009a:
  26893. {
  26894. // }
  26895. return;
  26896. }
  26897. }
  26898. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetAvailableInputBytes()
  26899. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  26900. {
  26901. {
  26902. // if (mBlocking)
  26903. bool L_0 = __this->get_mBlocking_46();
  26904. if (!L_0)
  26905. {
  26906. goto IL_0013;
  26907. }
  26908. }
  26909. {
  26910. // throw new InvalidOperationException("Cannot use GetAvailableInputBytes() in blocking mode! Use ApplicationDataAvailable() instead.");
  26911. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26912. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9F89FBEA2D349D4A3C6BC61466CA166C572D5AC7)), /*hidden argument*/NULL);
  26913. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2_RuntimeMethod_var)));
  26914. }
  26915. IL_0013:
  26916. {
  26917. // return ApplicationDataAvailable();
  26918. int32_t L_2;
  26919. L_2 = VirtualFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable() */, __this);
  26920. return L_2;
  26921. }
  26922. }
  26923. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadInput(System.Byte[],System.Int32,System.Int32)
  26924. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_ReadInput_m821F828B96E180B52B278F1E9D8CD2DCC55C7247 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, int32_t ___offset1, int32_t ___length2, const RuntimeMethod* method)
  26925. {
  26926. static bool s_Il2CppMethodInitialized;
  26927. if (!s_Il2CppMethodInitialized)
  26928. {
  26929. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26930. s_Il2CppMethodInitialized = true;
  26931. }
  26932. {
  26933. // if (mBlocking)
  26934. bool L_0 = __this->get_mBlocking_46();
  26935. if (!L_0)
  26936. {
  26937. goto IL_0013;
  26938. }
  26939. }
  26940. {
  26941. // throw new InvalidOperationException("Cannot use ReadInput() in blocking mode! Use Stream instead.");
  26942. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26943. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB0A3497D5BED2CF28F1583DF6E3B1EF34D0E5099)), /*hidden argument*/NULL);
  26944. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadInput_m821F828B96E180B52B278F1E9D8CD2DCC55C7247_RuntimeMethod_var)));
  26945. }
  26946. IL_0013:
  26947. {
  26948. // return ReadApplicationData(buffer, offset, System.Math.Min(length, ApplicationDataAvailable()));
  26949. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buffer0;
  26950. int32_t L_3 = ___offset1;
  26951. int32_t L_4 = ___length2;
  26952. int32_t L_5;
  26953. L_5 = VirtualFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable() */, __this);
  26954. IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
  26955. int32_t L_6;
  26956. L_6 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_4, L_5, /*hidden argument*/NULL);
  26957. int32_t L_7;
  26958. L_7 = VirtualFuncInvoker3< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(20 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadApplicationData(System.Byte[],System.Int32,System.Int32) */, __this, L_2, L_3, L_6);
  26959. return L_7;
  26960. }
  26961. }
  26962. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::OfferOutput(System.Byte[],System.Int32,System.Int32)
  26963. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, int32_t ___offset1, int32_t ___length2, const RuntimeMethod* method)
  26964. {
  26965. {
  26966. // if (mBlocking)
  26967. bool L_0 = __this->get_mBlocking_46();
  26968. if (!L_0)
  26969. {
  26970. goto IL_0013;
  26971. }
  26972. }
  26973. {
  26974. // throw new InvalidOperationException("Cannot use OfferOutput() in blocking mode! Use Stream instead.");
  26975. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  26976. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2C4D71076EDBBCCA2E9D07081C00234E302AEF79)), /*hidden argument*/NULL);
  26977. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var)));
  26978. }
  26979. IL_0013:
  26980. {
  26981. // if (!mAppDataReady)
  26982. bool L_2 = __this->get_mAppDataReady_28();
  26983. il2cpp_codegen_memory_barrier();
  26984. if (L_2)
  26985. {
  26986. goto IL_0028;
  26987. }
  26988. }
  26989. {
  26990. // throw new IOException("Application data cannot be sent until the handshake is complete!");
  26991. IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
  26992. IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral01535C3A4EAE804DC02CB15CE4D83CCCFA82D872)), /*hidden argument*/NULL);
  26993. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var)));
  26994. }
  26995. IL_0028:
  26996. {
  26997. // WriteData(buffer, offset, length);
  26998. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___buffer0;
  26999. int32_t L_5 = ___offset1;
  27000. int32_t L_6 = ___length2;
  27001. VirtualActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(24 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteData(System.Byte[],System.Int32,System.Int32) */, __this, L_4, L_5, L_6);
  27002. // }
  27003. return;
  27004. }
  27005. }
  27006. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetAvailableOutputBytes()
  27007. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27008. {
  27009. {
  27010. // if (mBlocking)
  27011. bool L_0 = __this->get_mBlocking_46();
  27012. if (!L_0)
  27013. {
  27014. goto IL_0013;
  27015. }
  27016. }
  27017. {
  27018. // throw new InvalidOperationException("Cannot use GetAvailableOutputBytes() in blocking mode! Use Stream instead.");
  27019. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  27020. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral456163A21AEEF94F6A4BF779794AB694A79B40C1)), /*hidden argument*/NULL);
  27021. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5_RuntimeMethod_var)));
  27022. }
  27023. IL_0013:
  27024. {
  27025. // return mOutputBuffer.Available;
  27026. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_2 = __this->get_mOutputBuffer_48();
  27027. NullCheck(L_2);
  27028. int32_t L_3;
  27029. L_3 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_2);
  27030. return L_3;
  27031. }
  27032. }
  27033. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadOutput(System.Byte[],System.Int32,System.Int32)
  27034. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_ReadOutput_mF64CE8A336C80C6C7F048A721A0F0F4A27B62744 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, int32_t ___offset1, int32_t ___length2, const RuntimeMethod* method)
  27035. {
  27036. {
  27037. // if (mBlocking)
  27038. bool L_0 = __this->get_mBlocking_46();
  27039. if (!L_0)
  27040. {
  27041. goto IL_0013;
  27042. }
  27043. }
  27044. {
  27045. // throw new InvalidOperationException("Cannot use ReadOutput() in blocking mode! Use Stream instead.");
  27046. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  27047. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral860394B6123C56DF23862D0E8E5C111DAA5373E7)), /*hidden argument*/NULL);
  27048. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadOutput_mF64CE8A336C80C6C7F048A721A0F0F4A27B62744_RuntimeMethod_var)));
  27049. }
  27050. IL_0013:
  27051. {
  27052. // return mOutputBuffer.Read(buffer, offset, length);
  27053. ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_2 = __this->get_mOutputBuffer_48();
  27054. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___buffer0;
  27055. int32_t L_4 = ___offset1;
  27056. int32_t L_5 = ___length2;
  27057. NullCheck(L_2);
  27058. int32_t L_6;
  27059. L_6 = VirtualFuncInvoker3< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(30 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_2, L_3, L_4, L_5);
  27060. return L_6;
  27061. }
  27062. }
  27063. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession()
  27064. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_InvalidateSession_mC918B95476759B90E3B82A7EBCDDBAE632D9860D (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27065. {
  27066. static bool s_Il2CppMethodInitialized;
  27067. if (!s_Il2CppMethodInitialized)
  27068. {
  27069. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
  27070. s_Il2CppMethodInitialized = true;
  27071. }
  27072. {
  27073. // if (this.mSessionParameters != null)
  27074. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_0 = __this->get_mSessionParameters_33();
  27075. if (!L_0)
  27076. {
  27077. goto IL_001a;
  27078. }
  27079. }
  27080. {
  27081. // this.mSessionParameters.Clear();
  27082. SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_1 = __this->get_mSessionParameters_33();
  27083. NullCheck(L_1);
  27084. SessionParameters_Clear_m52D91A2DD15900F6C4754E12966AD000EC3A9232(L_1, /*hidden argument*/NULL);
  27085. // this.mSessionParameters = null;
  27086. __this->set_mSessionParameters_33((SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D *)NULL);
  27087. }
  27088. IL_001a:
  27089. {
  27090. // if (this.mTlsSession != null)
  27091. RuntimeObject* L_2 = __this->get_mTlsSession_32();
  27092. if (!L_2)
  27093. {
  27094. goto IL_0034;
  27095. }
  27096. }
  27097. {
  27098. // this.mTlsSession.Invalidate();
  27099. RuntimeObject* L_3 = __this->get_mTlsSession_32();
  27100. NullCheck(L_3);
  27101. InterfaceActionInvoker0::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::Invalidate() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_3);
  27102. // this.mTlsSession = null;
  27103. __this->set_mTlsSession_32((RuntimeObject*)NULL);
  27104. }
  27105. IL_0034:
  27106. {
  27107. // }
  27108. return;
  27109. }
  27110. }
  27111. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream)
  27112. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  27113. {
  27114. static bool s_Il2CppMethodInitialized;
  27115. if (!s_Il2CppMethodInitialized)
  27116. {
  27117. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  27118. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27119. s_Il2CppMethodInitialized = true;
  27120. }
  27121. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27122. {
  27123. // if (mExpectedVerifyData == null)
  27124. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mExpectedVerifyData_31();
  27125. if (L_0)
  27126. {
  27127. goto IL_0010;
  27128. }
  27129. }
  27130. {
  27131. // throw new TlsFatalAlert(AlertDescription.internal_error);
  27132. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  27133. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  27134. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var)));
  27135. }
  27136. IL_0010:
  27137. {
  27138. // byte[] verify_data = TlsUtilities.ReadFully(mExpectedVerifyData.Length, buf);
  27139. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mExpectedVerifyData_31();
  27140. NullCheck(L_2);
  27141. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = ___buf0;
  27142. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27143. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  27144. L_4 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))), L_3, /*hidden argument*/NULL);
  27145. V_0 = L_4;
  27146. // AssertEmpty(buf);
  27147. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = ___buf0;
  27148. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_5, /*hidden argument*/NULL);
  27149. // if (!Arrays.ConstantTimeAreEqual(mExpectedVerifyData, verify_data))
  27150. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = __this->get_mExpectedVerifyData_31();
  27151. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  27152. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  27153. bool L_8;
  27154. L_8 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_6, L_7, /*hidden argument*/NULL);
  27155. if (L_8)
  27156. {
  27157. goto IL_003b;
  27158. }
  27159. }
  27160. {
  27161. // throw new TlsFatalAlert(AlertDescription.decrypt_error);
  27162. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_9 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  27163. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_9, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
  27164. IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var)));
  27165. }
  27166. IL_003b:
  27167. {
  27168. // }
  27169. return;
  27170. }
  27171. }
  27172. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertFatal(System.Byte,System.String,System.Exception)
  27173. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_RaiseAlertFatal_m266A783BBBFBADB1D63D40775B550349A6152649 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, String_t* ___message1, Exception_t * ___cause2, const RuntimeMethod* method)
  27174. {
  27175. static bool s_Il2CppMethodInitialized;
  27176. if (!s_Il2CppMethodInitialized)
  27177. {
  27178. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  27179. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  27180. s_Il2CppMethodInitialized = true;
  27181. }
  27182. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27183. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  27184. il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
  27185. {
  27186. // Peer.NotifyAlertRaised(AlertLevel.fatal, alertDescription, message, cause);
  27187. RuntimeObject* L_0;
  27188. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  27189. uint8_t L_1 = ___alertDescription0;
  27190. String_t* L_2 = ___message1;
  27191. Exception_t * L_3 = ___cause2;
  27192. NullCheck(L_0);
  27193. InterfaceActionInvoker4< uint8_t, uint8_t, String_t*, Exception_t * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifyAlertRaised(System.Byte,System.Byte,System.String,System.Exception) */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_0, (uint8_t)2, L_1, L_2, L_3);
  27194. // byte[] alert = new byte[]{ AlertLevel.fatal, alertDescription };
  27195. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)2);
  27196. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = L_4;
  27197. NullCheck(L_5);
  27198. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)2);
  27199. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5;
  27200. uint8_t L_7 = ___alertDescription0;
  27201. NullCheck(L_6);
  27202. (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_7);
  27203. V_0 = L_6;
  27204. }
  27205. IL_001e:
  27206. try
  27207. {// begin try (depth: 1)
  27208. // mRecordStream.WriteRecord(ContentType.alert, alert, 0, 2);
  27209. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = __this->get_mRecordStream_23();
  27210. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
  27211. NullCheck(L_8);
  27212. RecordStream_WriteRecord_m2B1018B88F35925BF5B33983BA1FA75F99FE110C(L_8, (uint8_t)((int32_t)21), L_9, 0, 2, /*hidden argument*/NULL);
  27213. // }
  27214. goto IL_0033;
  27215. }// end try (depth: 1)
  27216. catch(Il2CppExceptionWrapper& e)
  27217. {
  27218. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  27219. {
  27220. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  27221. goto CATCH_0030;
  27222. }
  27223. throw e;
  27224. }
  27225. CATCH_0030:
  27226. {// begin catch(System.Exception)
  27227. // catch (Exception)
  27228. // }
  27229. IL2CPP_POP_ACTIVE_EXCEPTION();
  27230. goto IL_0033;
  27231. }// end catch (depth: 1)
  27232. IL_0033:
  27233. {
  27234. // }
  27235. return;
  27236. }
  27237. }
  27238. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String)
  27239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_RaiseAlertWarning_mED61DDB5A462E998045C3F978670243CADDD7F41 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, String_t* ___message1, const RuntimeMethod* method)
  27240. {
  27241. static bool s_Il2CppMethodInitialized;
  27242. if (!s_Il2CppMethodInitialized)
  27243. {
  27244. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  27245. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  27246. s_Il2CppMethodInitialized = true;
  27247. }
  27248. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27249. {
  27250. // Peer.NotifyAlertRaised(AlertLevel.warning, alertDescription, message, null);
  27251. RuntimeObject* L_0;
  27252. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  27253. uint8_t L_1 = ___alertDescription0;
  27254. String_t* L_2 = ___message1;
  27255. NullCheck(L_0);
  27256. InterfaceActionInvoker4< uint8_t, uint8_t, String_t*, Exception_t * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifyAlertRaised(System.Byte,System.Byte,System.String,System.Exception) */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_0, (uint8_t)1, L_1, L_2, (Exception_t *)NULL);
  27257. // byte[] alert = new byte[]{ AlertLevel.warning, alertDescription };
  27258. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)2);
  27259. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = L_3;
  27260. NullCheck(L_4);
  27261. (L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
  27262. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = L_4;
  27263. uint8_t L_6 = ___alertDescription0;
  27264. NullCheck(L_5);
  27265. (L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_6);
  27266. V_0 = L_5;
  27267. // SafeWriteRecord(ContentType.alert, alert, 0, 2);
  27268. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  27269. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)21), L_7, 0, 2);
  27270. // }
  27271. return;
  27272. }
  27273. }
  27274. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendCertificateMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  27275. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendCertificateMessage_m1ABEFECA6EAF9A43502346A573E6B3231D41DDC5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___certificate0, const RuntimeMethod* method)
  27276. {
  27277. static bool s_Il2CppMethodInitialized;
  27278. if (!s_Il2CppMethodInitialized)
  27279. {
  27280. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  27281. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27282. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  27283. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0);
  27284. s_Il2CppMethodInitialized = true;
  27285. }
  27286. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  27287. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_1 = NULL;
  27288. String_t* V_2 = NULL;
  27289. {
  27290. // if (certificate == null)
  27291. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_0 = ___certificate0;
  27292. if (L_0)
  27293. {
  27294. goto IL_000a;
  27295. }
  27296. }
  27297. {
  27298. // certificate = Certificate.EmptyChain;
  27299. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  27300. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_1 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
  27301. ___certificate0 = L_1;
  27302. }
  27303. IL_000a:
  27304. {
  27305. // if (certificate.IsEmpty)
  27306. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___certificate0;
  27307. NullCheck(L_2);
  27308. bool L_3;
  27309. L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
  27310. if (!L_3)
  27311. {
  27312. goto IL_004e;
  27313. }
  27314. }
  27315. {
  27316. // TlsContext context = Context;
  27317. RuntimeObject* L_4;
  27318. L_4 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  27319. // if (!context.IsServer)
  27320. NullCheck(L_4);
  27321. bool L_5;
  27322. L_5 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_4);
  27323. if (L_5)
  27324. {
  27325. goto IL_004e;
  27326. }
  27327. }
  27328. {
  27329. // ProtocolVersion serverVersion = Context.ServerVersion;
  27330. RuntimeObject* L_6;
  27331. L_6 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  27332. NullCheck(L_6);
  27333. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_7;
  27334. L_7 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_6);
  27335. V_1 = L_7;
  27336. // if (serverVersion.IsSsl)
  27337. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_8 = V_1;
  27338. NullCheck(L_8);
  27339. bool L_9;
  27340. L_9 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_8, /*hidden argument*/NULL);
  27341. if (!L_9)
  27342. {
  27343. goto IL_004e;
  27344. }
  27345. }
  27346. {
  27347. // string errorMessage = serverVersion.ToString() + " client didn't provide credentials";
  27348. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_10 = V_1;
  27349. NullCheck(L_10);
  27350. String_t* L_11;
  27351. L_11 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_10);
  27352. String_t* L_12;
  27353. L_12 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_11, _stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0, /*hidden argument*/NULL);
  27354. V_2 = L_12;
  27355. // RaiseAlertWarning(AlertDescription.no_certificate, errorMessage);
  27356. String_t* L_13 = V_2;
  27357. VirtualActionInvoker2< uint8_t, String_t* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String) */, __this, (uint8_t)((int32_t)41), L_13);
  27358. // return;
  27359. return;
  27360. }
  27361. IL_004e:
  27362. {
  27363. // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate);
  27364. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_14 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27365. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_14, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
  27366. V_0 = L_14;
  27367. // certificate.Encode(message);
  27368. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_15 = ___certificate0;
  27369. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_16 = V_0;
  27370. NullCheck(L_15);
  27371. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::Encode(System.IO.Stream) */, L_15, L_16);
  27372. // message.WriteToRecordStream(this);
  27373. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_17 = V_0;
  27374. NullCheck(L_17);
  27375. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_17, __this, /*hidden argument*/NULL);
  27376. // }
  27377. return;
  27378. }
  27379. }
  27380. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage()
  27381. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendChangeCipherSpecMessage_m1B115C15327A011859E505F8D7E4F45B42EEF761 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27382. {
  27383. static bool s_Il2CppMethodInitialized;
  27384. if (!s_Il2CppMethodInitialized)
  27385. {
  27386. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  27387. s_Il2CppMethodInitialized = true;
  27388. }
  27389. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27390. {
  27391. // byte[] message = new byte[]{ 1 };
  27392. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)1);
  27393. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = L_0;
  27394. NullCheck(L_1);
  27395. (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
  27396. V_0 = L_1;
  27397. // SafeWriteRecord(ContentType.change_cipher_spec, message, 0, message.Length);
  27398. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  27399. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  27400. NullCheck(L_3);
  27401. VirtualActionInvoker4< uint8_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(23 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32) */, __this, (uint8_t)((int32_t)20), L_2, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))));
  27402. // mRecordStream.SentWriteCipherSpec();
  27403. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_4 = __this->get_mRecordStream_23();
  27404. NullCheck(L_4);
  27405. RecordStream_SentWriteCipherSpec_mFD2E540F193E56A715D677C91BF149E829F0FC1A(L_4, /*hidden argument*/NULL);
  27406. // }
  27407. return;
  27408. }
  27409. }
  27410. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage()
  27411. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendFinishedMessage_mF2292798CB2E9BA055F658AF4CE7389DF2FD54E6 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27412. {
  27413. static bool s_Il2CppMethodInitialized;
  27414. if (!s_Il2CppMethodInitialized)
  27415. {
  27416. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27417. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  27418. s_Il2CppMethodInitialized = true;
  27419. }
  27420. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27421. {
  27422. // byte[] verify_data = CreateVerifyData(Context.IsServer);
  27423. RuntimeObject* L_0;
  27424. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  27425. NullCheck(L_0);
  27426. bool L_1;
  27427. L_1 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
  27428. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
  27429. L_2 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, bool >::Invoke(43 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateVerifyData(System.Boolean) */, __this, L_1);
  27430. V_0 = L_2;
  27431. // HandshakeMessage message = new HandshakeMessage(HandshakeType.finished, verify_data.Length);
  27432. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  27433. NullCheck(L_3);
  27434. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_4 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27435. HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852(L_4, (uint8_t)((int32_t)20), ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))), /*hidden argument*/NULL);
  27436. // message.Write(verify_data, 0, verify_data.Length);
  27437. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_5 = L_4;
  27438. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
  27439. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  27440. NullCheck(L_7);
  27441. NullCheck(L_5);
  27442. VirtualActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(32 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_5, L_6, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))));
  27443. // message.WriteToRecordStream(this);
  27444. NullCheck(L_5);
  27445. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_5, __this, /*hidden argument*/NULL);
  27446. // }
  27447. return;
  27448. }
  27449. }
  27450. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList)
  27451. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendSupplementalDataMessage_m1165AAE3040CA98F32198CAF6AF86785FC105AC9 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, RuntimeObject* ___supplementalData0, const RuntimeMethod* method)
  27452. {
  27453. static bool s_Il2CppMethodInitialized;
  27454. if (!s_Il2CppMethodInitialized)
  27455. {
  27456. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27457. s_Il2CppMethodInitialized = true;
  27458. }
  27459. {
  27460. // HandshakeMessage message = new HandshakeMessage(HandshakeType.supplemental_data);
  27461. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  27462. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)23), /*hidden argument*/NULL);
  27463. // WriteSupplementalData(message, supplementalData);
  27464. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_1 = L_0;
  27465. RuntimeObject* L_2 = ___supplementalData0;
  27466. TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0(L_1, L_2, /*hidden argument*/NULL);
  27467. // message.WriteToRecordStream(this);
  27468. NullCheck(L_1);
  27469. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_1, __this, /*hidden argument*/NULL);
  27470. // }
  27471. return;
  27472. }
  27473. }
  27474. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateVerifyData(System.Boolean)
  27475. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateVerifyData_mA586C14BC166364C79168E59BCF46E26E7FCD955 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___isServer0, const RuntimeMethod* method)
  27476. {
  27477. static bool s_Il2CppMethodInitialized;
  27478. if (!s_Il2CppMethodInitialized)
  27479. {
  27480. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27481. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB);
  27482. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084);
  27483. s_Il2CppMethodInitialized = true;
  27484. }
  27485. String_t* V_0 = NULL;
  27486. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  27487. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  27488. RuntimeObject* G_B2_0 = NULL;
  27489. RuntimeObject* G_B1_0 = NULL;
  27490. String_t* G_B3_0 = NULL;
  27491. RuntimeObject* G_B3_1 = NULL;
  27492. RuntimeObject* G_B5_0 = NULL;
  27493. RuntimeObject* G_B4_0 = NULL;
  27494. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B6_0 = NULL;
  27495. RuntimeObject* G_B6_1 = NULL;
  27496. {
  27497. // TlsContext context = Context;
  27498. RuntimeObject* L_0;
  27499. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  27500. // string asciiLabel = isServer ? ExporterLabel.server_finished : ExporterLabel.client_finished;
  27501. bool L_1 = ___isServer0;
  27502. G_B1_0 = L_0;
  27503. if (L_1)
  27504. {
  27505. G_B2_0 = L_0;
  27506. goto IL_0010;
  27507. }
  27508. }
  27509. {
  27510. G_B3_0 = _stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084;
  27511. G_B3_1 = G_B1_0;
  27512. goto IL_0015;
  27513. }
  27514. IL_0010:
  27515. {
  27516. G_B3_0 = _stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB;
  27517. G_B3_1 = G_B2_0;
  27518. }
  27519. IL_0015:
  27520. {
  27521. V_0 = G_B3_0;
  27522. // byte[] sslSender = isServer ? TlsUtilities.SSL_SERVER : TlsUtilities.SSL_CLIENT;
  27523. bool L_2 = ___isServer0;
  27524. G_B4_0 = G_B3_1;
  27525. if (L_2)
  27526. {
  27527. G_B5_0 = G_B3_1;
  27528. goto IL_0020;
  27529. }
  27530. }
  27531. {
  27532. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27533. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_SSL_CLIENT_4();
  27534. G_B6_0 = L_3;
  27535. G_B6_1 = G_B4_0;
  27536. goto IL_0025;
  27537. }
  27538. IL_0020:
  27539. {
  27540. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27541. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_SSL_SERVER_5();
  27542. G_B6_0 = L_4;
  27543. G_B6_1 = G_B5_0;
  27544. }
  27545. IL_0025:
  27546. {
  27547. V_1 = G_B6_0;
  27548. // byte[] hash = GetCurrentPrfHash(context, mRecordStream.HandshakeHash, sslSender);
  27549. RuntimeObject* L_5 = G_B6_1;
  27550. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_6 = __this->get_mRecordStream_23();
  27551. NullCheck(L_6);
  27552. RuntimeObject* L_7;
  27553. L_7 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_6, /*hidden argument*/NULL);
  27554. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_1;
  27555. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  27556. L_9 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_5, L_7, L_8, /*hidden argument*/NULL);
  27557. V_2 = L_9;
  27558. // return TlsUtilities.CalculateVerifyData(context, asciiLabel, hash);
  27559. String_t* L_10 = V_0;
  27560. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_2;
  27561. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27562. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
  27563. L_12 = TlsUtilities_CalculateVerifyData_m2DF91E1B5E4AB70894595689E772ACFC09D0DE73(L_5, L_10, L_11, /*hidden argument*/NULL);
  27564. return L_12;
  27565. }
  27566. }
  27567. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::Close()
  27568. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_Close_mBEA4D8125D811421C8C630B552A35F4A5450B111 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27569. {
  27570. {
  27571. // HandleClose(true);
  27572. VirtualActionInvoker1< bool >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean) */, __this, (bool)1);
  27573. // }
  27574. return;
  27575. }
  27576. }
  27577. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::Flush()
  27578. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_Flush_m5F9E7D84B64445C075C014E9856A068BE770CD69 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27579. {
  27580. {
  27581. // mRecordStream.Flush();
  27582. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
  27583. NullCheck(L_0);
  27584. RecordStream_Flush_mA29E8F83F3B90192E971F3DC0CB33FDCABC9A542(L_0, /*hidden argument*/NULL);
  27585. // }
  27586. return;
  27587. }
  27588. }
  27589. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_IsClosed()
  27590. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsProtocol_get_IsClosed_mEB605E7F119BEA3BE64FAB41350C37A2C280B420 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27591. {
  27592. {
  27593. // get { return mClosed; }
  27594. bool L_0 = __this->get_mClosed_26();
  27595. il2cpp_codegen_memory_barrier();
  27596. return L_0;
  27597. }
  27598. }
  27599. // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessMaxFragmentLengthExtension(System.Collections.IDictionary,System.Collections.IDictionary,System.Byte)
  27600. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, RuntimeObject* ___clientExtensions0, RuntimeObject* ___serverExtensions1, uint8_t ___alertDescription2, const RuntimeMethod* method)
  27601. {
  27602. int16_t V_0 = 0;
  27603. {
  27604. // short maxFragmentLength = TlsExtensionsUtilities.GetMaxFragmentLengthExtension(serverExtensions);
  27605. RuntimeObject* L_0 = ___serverExtensions1;
  27606. int16_t L_1;
  27607. L_1 = TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF(L_0, /*hidden argument*/NULL);
  27608. V_0 = L_1;
  27609. // if (maxFragmentLength >= 0)
  27610. int16_t L_2 = V_0;
  27611. if ((((int32_t)L_2) < ((int32_t)0)))
  27612. {
  27613. goto IL_002c;
  27614. }
  27615. }
  27616. {
  27617. // if (!MaxFragmentLength.IsValid((byte)maxFragmentLength)
  27618. // || (!this.mResumedSession && maxFragmentLength != TlsExtensionsUtilities
  27619. // .GetMaxFragmentLengthExtension(clientExtensions)))
  27620. int16_t L_3 = V_0;
  27621. bool L_4;
  27622. L_4 = MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79((uint8_t)((int32_t)((uint8_t)L_3)), /*hidden argument*/NULL);
  27623. if (!L_4)
  27624. {
  27625. goto IL_0025;
  27626. }
  27627. }
  27628. {
  27629. bool L_5 = __this->get_mResumedSession_41();
  27630. if (L_5)
  27631. {
  27632. goto IL_002c;
  27633. }
  27634. }
  27635. {
  27636. int16_t L_6 = V_0;
  27637. RuntimeObject* L_7 = ___clientExtensions0;
  27638. int16_t L_8;
  27639. L_8 = TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF(L_7, /*hidden argument*/NULL);
  27640. if ((((int32_t)L_6) == ((int32_t)L_8)))
  27641. {
  27642. goto IL_002c;
  27643. }
  27644. }
  27645. IL_0025:
  27646. {
  27647. // throw new TlsFatalAlert(alertDescription);
  27648. uint8_t L_9 = ___alertDescription2;
  27649. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  27650. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, L_9, /*hidden argument*/NULL);
  27651. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787_RuntimeMethod_var)));
  27652. }
  27653. IL_002c:
  27654. {
  27655. // return maxFragmentLength;
  27656. int16_t L_11 = V_0;
  27657. return L_11;
  27658. }
  27659. }
  27660. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation()
  27661. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
  27662. {
  27663. static bool s_Il2CppMethodInitialized;
  27664. if (!s_Il2CppMethodInitialized)
  27665. {
  27666. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27667. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD7DAD16955D2DF014C7B8CD1EFB4EB61C01BABE4);
  27668. s_Il2CppMethodInitialized = true;
  27669. }
  27670. {
  27671. // if (TlsUtilities.IsSsl(Context))
  27672. RuntimeObject* L_0;
  27673. L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  27674. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27675. bool L_1;
  27676. L_1 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_0, /*hidden argument*/NULL);
  27677. if (!L_1)
  27678. {
  27679. goto IL_0015;
  27680. }
  27681. }
  27682. {
  27683. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  27684. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  27685. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  27686. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24_RuntimeMethod_var)));
  27687. }
  27688. IL_0015:
  27689. {
  27690. // RaiseAlertWarning(AlertDescription.no_renegotiation, "Renegotiation not supported");
  27691. VirtualActionInvoker2< uint8_t, String_t* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String) */, __this, (uint8_t)((int32_t)100), _stringLiteralD7DAD16955D2DF014C7B8CD1EFB4EB61C01BABE4);
  27692. // }
  27693. return;
  27694. }
  27695. }
  27696. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::AssertEmpty(System.IO.MemoryStream)
  27697. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  27698. {
  27699. {
  27700. // if (buf.Position < buf.Length)
  27701. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
  27702. NullCheck(L_0);
  27703. int64_t L_1;
  27704. L_1 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_0);
  27705. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
  27706. NullCheck(L_2);
  27707. int64_t L_3;
  27708. L_3 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_2);
  27709. if ((((int64_t)L_1) >= ((int64_t)L_3)))
  27710. {
  27711. goto IL_0016;
  27712. }
  27713. }
  27714. {
  27715. // throw new TlsFatalAlert(AlertDescription.decode_error);
  27716. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  27717. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  27718. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6_RuntimeMethod_var)));
  27719. }
  27720. IL_0016:
  27721. {
  27722. // }
  27723. return;
  27724. }
  27725. }
  27726. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRandomBlock(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator)
  27727. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63 (bool ___useGmtUnixTime0, RuntimeObject* ___randomGenerator1, const RuntimeMethod* method)
  27728. {
  27729. static bool s_Il2CppMethodInitialized;
  27730. if (!s_Il2CppMethodInitialized)
  27731. {
  27732. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  27733. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
  27734. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27735. s_Il2CppMethodInitialized = true;
  27736. }
  27737. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27738. {
  27739. // byte[] result = new byte[32];
  27740. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
  27741. V_0 = L_0;
  27742. // randomGenerator.NextBytes(result);
  27743. RuntimeObject* L_1 = ___randomGenerator1;
  27744. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  27745. NullCheck(L_1);
  27746. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator::NextBytes(System.Byte[]) */, IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var, L_1, L_2);
  27747. // if (useGmtUnixTime)
  27748. bool L_3 = ___useGmtUnixTime0;
  27749. if (!L_3)
  27750. {
  27751. goto IL_0019;
  27752. }
  27753. }
  27754. {
  27755. // TlsUtilities.WriteGmtUnixTime(result, 0);
  27756. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  27757. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27758. TlsUtilities_WriteGmtUnixTime_mFBD89415A70AA088F3A67E91356310E06277AA0D(L_4, 0, /*hidden argument*/NULL);
  27759. }
  27760. IL_0019:
  27761. {
  27762. // return result;
  27763. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
  27764. return L_5;
  27765. }
  27766. }
  27767. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRenegotiationInfo(System.Byte[])
  27768. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___renegotiated_connection0, const RuntimeMethod* method)
  27769. {
  27770. static bool s_Il2CppMethodInitialized;
  27771. if (!s_Il2CppMethodInitialized)
  27772. {
  27773. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27774. s_Il2CppMethodInitialized = true;
  27775. }
  27776. {
  27777. // return TlsUtilities.EncodeOpaque8(renegotiated_connection);
  27778. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___renegotiated_connection0;
  27779. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27780. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  27781. L_1 = TlsUtilities_EncodeOpaque8_mE549B2AED00C2DFF09A20DC7D56C7E0DB53B6066(L_0, /*hidden argument*/NULL);
  27782. return L_1;
  27783. }
  27784. }
  27785. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::EstablishMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange)
  27786. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7 (RuntimeObject* ___context0, RuntimeObject* ___keyExchange1, const RuntimeMethod* method)
  27787. {
  27788. static bool s_Il2CppMethodInitialized;
  27789. if (!s_Il2CppMethodInitialized)
  27790. {
  27791. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  27792. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  27793. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  27794. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27795. s_Il2CppMethodInitialized = true;
  27796. }
  27797. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  27798. Exception_t * __last_unhandled_exception = 0;
  27799. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  27800. {
  27801. // byte[] pre_master_secret = keyExchange.GeneratePremasterSecret();
  27802. RuntimeObject* L_0 = ___keyExchange1;
  27803. NullCheck(L_0);
  27804. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  27805. L_1 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(14 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::GeneratePremasterSecret() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_0);
  27806. V_0 = L_1;
  27807. }
  27808. IL_0007:
  27809. try
  27810. {// begin try (depth: 1)
  27811. // context.SecurityParameters.masterSecret = TlsUtilities.CalculateMasterSecret(context, pre_master_secret);
  27812. RuntimeObject* L_2 = ___context0;
  27813. NullCheck(L_2);
  27814. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_3;
  27815. L_3 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  27816. RuntimeObject* L_4 = ___context0;
  27817. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
  27818. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27819. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
  27820. L_6 = TlsUtilities_CalculateMasterSecret_mB85088F4CCA5E986737042327EE67F4DC64931EE(L_4, L_5, /*hidden argument*/NULL);
  27821. NullCheck(L_3);
  27822. L_3->set_masterSecret_5(L_6);
  27823. // }
  27824. IL2CPP_LEAVE(0x26, FINALLY_001b);
  27825. }// end try (depth: 1)
  27826. catch(Il2CppExceptionWrapper& e)
  27827. {
  27828. __last_unhandled_exception = (Exception_t *)e.ex;
  27829. goto FINALLY_001b;
  27830. }
  27831. FINALLY_001b:
  27832. {// begin finally (depth: 1)
  27833. {
  27834. // if (pre_master_secret != null)
  27835. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  27836. if (!L_7)
  27837. {
  27838. goto IL_0025;
  27839. }
  27840. }
  27841. IL_001e:
  27842. {
  27843. // Arrays.Fill(pre_master_secret, (byte)0);
  27844. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_0;
  27845. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  27846. Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_8, (uint8_t)0, /*hidden argument*/NULL);
  27847. }
  27848. IL_0025:
  27849. {
  27850. // }
  27851. IL2CPP_END_FINALLY(27)
  27852. }
  27853. }// end finally (depth: 1)
  27854. IL2CPP_CLEANUP(27)
  27855. {
  27856. IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
  27857. IL2CPP_JUMP_TBL(0x26, IL_0026)
  27858. }
  27859. IL_0026:
  27860. {
  27861. // }
  27862. return;
  27863. }
  27864. }
  27865. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetCurrentPrfHash(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash,System.Byte[])
  27866. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA (RuntimeObject* ___context0, RuntimeObject* ___handshakeHash1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sslSender2, const RuntimeMethod* method)
  27867. {
  27868. static bool s_Il2CppMethodInitialized;
  27869. if (!s_Il2CppMethodInitialized)
  27870. {
  27871. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  27872. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
  27873. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
  27874. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27875. s_Il2CppMethodInitialized = true;
  27876. }
  27877. RuntimeObject* V_0 = NULL;
  27878. {
  27879. // IDigest d = handshakeHash.ForkPrfHash();
  27880. RuntimeObject* L_0 = ___handshakeHash1;
  27881. NullCheck(L_0);
  27882. RuntimeObject* L_1;
  27883. L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::ForkPrfHash() */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_0);
  27884. V_0 = L_1;
  27885. // if (sslSender != null && TlsUtilities.IsSsl(context))
  27886. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___sslSender2;
  27887. if (!L_2)
  27888. {
  27889. goto IL_001d;
  27890. }
  27891. }
  27892. {
  27893. RuntimeObject* L_3 = ___context0;
  27894. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27895. bool L_4;
  27896. L_4 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_3, /*hidden argument*/NULL);
  27897. if (!L_4)
  27898. {
  27899. goto IL_001d;
  27900. }
  27901. }
  27902. {
  27903. // d.BlockUpdate(sslSender, 0, sslSender.Length);
  27904. RuntimeObject* L_5 = V_0;
  27905. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___sslSender2;
  27906. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___sslSender2;
  27907. NullCheck(L_7);
  27908. NullCheck(L_5);
  27909. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_5, L_6, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))));
  27910. }
  27911. IL_001d:
  27912. {
  27913. // return DigestUtilities.DoFinal(d);
  27914. RuntimeObject* L_8 = V_0;
  27915. IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
  27916. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  27917. L_9 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_8, /*hidden argument*/NULL);
  27918. return L_9;
  27919. }
  27920. }
  27921. // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadExtensions(System.IO.MemoryStream)
  27922. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method)
  27923. {
  27924. static bool s_Il2CppMethodInitialized;
  27925. if (!s_Il2CppMethodInitialized)
  27926. {
  27927. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  27928. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  27929. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  27930. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  27931. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27932. s_Il2CppMethodInitialized = true;
  27933. }
  27934. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  27935. RuntimeObject* V_1 = NULL;
  27936. int32_t V_2 = 0;
  27937. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  27938. {
  27939. // if (input.Position >= input.Length)
  27940. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___input0;
  27941. NullCheck(L_0);
  27942. int64_t L_1;
  27943. L_1 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_0);
  27944. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___input0;
  27945. NullCheck(L_2);
  27946. int64_t L_3;
  27947. L_3 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_2);
  27948. if ((((int64_t)L_1) < ((int64_t)L_3)))
  27949. {
  27950. goto IL_0010;
  27951. }
  27952. }
  27953. {
  27954. // return null;
  27955. return (RuntimeObject*)NULL;
  27956. }
  27957. IL_0010:
  27958. {
  27959. // byte[] extBytes = TlsUtilities.ReadOpaque16(input);
  27960. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___input0;
  27961. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27962. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  27963. L_5 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_4, /*hidden argument*/NULL);
  27964. // AssertEmpty(input);
  27965. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = ___input0;
  27966. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_6, /*hidden argument*/NULL);
  27967. // MemoryStream buf = new MemoryStream(extBytes, false);
  27968. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  27969. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_7, L_5, (bool)0, /*hidden argument*/NULL);
  27970. V_0 = L_7;
  27971. // IDictionary extensions = BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateHashtable();
  27972. IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  27973. RuntimeObject* L_8;
  27974. L_8 = Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06(/*hidden argument*/NULL);
  27975. V_1 = L_8;
  27976. goto IL_005c;
  27977. }
  27978. IL_002b:
  27979. {
  27980. // int extension_type = TlsUtilities.ReadUint16(buf);
  27981. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
  27982. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  27983. int32_t L_10;
  27984. L_10 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_9, /*hidden argument*/NULL);
  27985. V_2 = L_10;
  27986. // byte[] extension_data = TlsUtilities.ReadOpaque16(buf);
  27987. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_11 = V_0;
  27988. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
  27989. L_12 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_11, /*hidden argument*/NULL);
  27990. V_3 = L_12;
  27991. // if (extensions.Contains(extension_type))
  27992. RuntimeObject* L_13 = V_1;
  27993. int32_t L_14 = V_2;
  27994. int32_t L_15 = L_14;
  27995. RuntimeObject * L_16 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_15);
  27996. NullCheck(L_13);
  27997. bool L_17;
  27998. L_17 = InterfaceFuncInvoker1< bool, RuntimeObject * >::Invoke(4 /* System.Boolean System.Collections.IDictionary::Contains(System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_13, L_16);
  27999. if (!L_17)
  28000. {
  28001. goto IL_004f;
  28002. }
  28003. }
  28004. {
  28005. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  28006. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  28007. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  28008. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649_RuntimeMethod_var)));
  28009. }
  28010. IL_004f:
  28011. {
  28012. // extensions.Add(extension_type, extension_data);
  28013. RuntimeObject* L_19 = V_1;
  28014. int32_t L_20 = V_2;
  28015. int32_t L_21 = L_20;
  28016. RuntimeObject * L_22 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_21);
  28017. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_3;
  28018. NullCheck(L_19);
  28019. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(5 /* System.Void System.Collections.IDictionary::Add(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_19, L_22, (RuntimeObject *)(RuntimeObject *)L_23);
  28020. }
  28021. IL_005c:
  28022. {
  28023. // while (buf.Position < buf.Length)
  28024. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_24 = V_0;
  28025. NullCheck(L_24);
  28026. int64_t L_25;
  28027. L_25 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_24);
  28028. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_26 = V_0;
  28029. NullCheck(L_26);
  28030. int64_t L_27;
  28031. L_27 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_26);
  28032. if ((((int64_t)L_25) < ((int64_t)L_27)))
  28033. {
  28034. goto IL_002b;
  28035. }
  28036. }
  28037. {
  28038. // return extensions;
  28039. RuntimeObject* L_28 = V_1;
  28040. return L_28;
  28041. }
  28042. }
  28043. // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadSupplementalDataMessage(System.IO.MemoryStream)
  28044. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method)
  28045. {
  28046. static bool s_Il2CppMethodInitialized;
  28047. if (!s_Il2CppMethodInitialized)
  28048. {
  28049. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IList_tB15A9D6625D09661D6E47976BB626C703EC81910_il2cpp_TypeInfo_var);
  28050. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28051. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  28052. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
  28053. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28054. s_Il2CppMethodInitialized = true;
  28055. }
  28056. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  28057. RuntimeObject* V_1 = NULL;
  28058. int32_t V_2 = 0;
  28059. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  28060. {
  28061. // byte[] supp_data = TlsUtilities.ReadOpaque24(input);
  28062. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___input0;
  28063. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28064. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  28065. L_1 = TlsUtilities_ReadOpaque24_mAD1098801E362CB40F509F6BDB4107DB9F8B3F2B(L_0, /*hidden argument*/NULL);
  28066. // AssertEmpty(input);
  28067. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___input0;
  28068. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
  28069. // MemoryStream buf = new MemoryStream(supp_data, false);
  28070. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28071. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_1, (bool)0, /*hidden argument*/NULL);
  28072. V_0 = L_3;
  28073. // IList supplementalData = BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateArrayList();
  28074. IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
  28075. RuntimeObject* L_4;
  28076. L_4 = Platform_CreateArrayList_mDA08F8A3BC566FA8E0753B97D8B06F3EF26A4143(/*hidden argument*/NULL);
  28077. V_1 = L_4;
  28078. goto IL_0037;
  28079. }
  28080. IL_001b:
  28081. {
  28082. // int supp_data_type = TlsUtilities.ReadUint16(buf);
  28083. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  28084. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28085. int32_t L_6;
  28086. L_6 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_5, /*hidden argument*/NULL);
  28087. V_2 = L_6;
  28088. // byte[] data = TlsUtilities.ReadOpaque16(buf);
  28089. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
  28090. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
  28091. L_8 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_7, /*hidden argument*/NULL);
  28092. V_3 = L_8;
  28093. // supplementalData.Add(new SupplementalDataEntry(supp_data_type, data));
  28094. RuntimeObject* L_9 = V_1;
  28095. int32_t L_10 = V_2;
  28096. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_3;
  28097. SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * L_12 = (SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 *)il2cpp_codegen_object_new(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
  28098. SupplementalDataEntry__ctor_m5B61B00A2178D43BCF0783AB999DC08BFA76732F(L_12, L_10, L_11, /*hidden argument*/NULL);
  28099. NullCheck(L_9);
  28100. int32_t L_13;
  28101. L_13 = InterfaceFuncInvoker1< int32_t, RuntimeObject * >::Invoke(2 /* System.Int32 System.Collections.IList::Add(System.Object) */, IList_tB15A9D6625D09661D6E47976BB626C703EC81910_il2cpp_TypeInfo_var, L_9, L_12);
  28102. }
  28103. IL_0037:
  28104. {
  28105. // while (buf.Position < buf.Length)
  28106. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_14 = V_0;
  28107. NullCheck(L_14);
  28108. int64_t L_15;
  28109. L_15 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_14);
  28110. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
  28111. NullCheck(L_16);
  28112. int64_t L_17;
  28113. L_17 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_16);
  28114. if ((((int64_t)L_15) < ((int64_t)L_17)))
  28115. {
  28116. goto IL_001b;
  28117. }
  28118. }
  28119. {
  28120. // return supplementalData;
  28121. RuntimeObject* L_18 = V_1;
  28122. return L_18;
  28123. }
  28124. }
  28125. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteExtensions(System.IO.Stream,System.Collections.IDictionary)
  28126. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, const RuntimeMethod* method)
  28127. {
  28128. static bool s_Il2CppMethodInitialized;
  28129. if (!s_Il2CppMethodInitialized)
  28130. {
  28131. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28132. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28133. s_Il2CppMethodInitialized = true;
  28134. }
  28135. {
  28136. // MemoryStream buf = new MemoryStream();
  28137. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28138. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_0, /*hidden argument*/NULL);
  28139. // WriteSelectedExtensions(buf, extensions, true);
  28140. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = L_0;
  28141. RuntimeObject* L_2 = ___extensions1;
  28142. TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5(L_1, L_2, (bool)1, /*hidden argument*/NULL);
  28143. // WriteSelectedExtensions(buf, extensions, false);
  28144. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = L_1;
  28145. RuntimeObject* L_4 = ___extensions1;
  28146. TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5(L_3, L_4, (bool)0, /*hidden argument*/NULL);
  28147. // byte[] extBytes = buf.ToArray();
  28148. NullCheck(L_3);
  28149. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  28150. L_5 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_3);
  28151. // TlsUtilities.WriteOpaque16(extBytes, output);
  28152. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output0;
  28153. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28154. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_5, L_6, /*hidden argument*/NULL);
  28155. // }
  28156. return;
  28157. }
  28158. }
  28159. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSelectedExtensions(System.IO.Stream,System.Collections.IDictionary,System.Boolean)
  28160. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, bool ___selectEmpty2, const RuntimeMethod* method)
  28161. {
  28162. static bool s_Il2CppMethodInitialized;
  28163. if (!s_Il2CppMethodInitialized)
  28164. {
  28165. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  28166. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  28167. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
  28168. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
  28169. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
  28170. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  28171. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28172. s_Il2CppMethodInitialized = true;
  28173. }
  28174. RuntimeObject* V_0 = NULL;
  28175. int32_t V_1 = 0;
  28176. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  28177. RuntimeObject* V_3 = NULL;
  28178. Exception_t * __last_unhandled_exception = 0;
  28179. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  28180. {
  28181. // foreach (int extension_type in extensions.Keys)
  28182. RuntimeObject* L_0 = ___extensions1;
  28183. NullCheck(L_0);
  28184. RuntimeObject* L_1;
  28185. L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Collections.ICollection System.Collections.IDictionary::get_Keys() */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0);
  28186. NullCheck(L_1);
  28187. RuntimeObject* L_2;
  28188. L_2 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_1);
  28189. V_0 = L_2;
  28190. }
  28191. IL_000c:
  28192. try
  28193. {// begin try (depth: 1)
  28194. {
  28195. goto IL_0048;
  28196. }
  28197. IL_000e:
  28198. {
  28199. // foreach (int extension_type in extensions.Keys)
  28200. RuntimeObject* L_3 = V_0;
  28201. NullCheck(L_3);
  28202. RuntimeObject * L_4;
  28203. L_4 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_3);
  28204. V_1 = ((*(int32_t*)((int32_t*)UnBox(L_4, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))));
  28205. // byte[] extension_data = (byte[])extensions[extension_type];
  28206. RuntimeObject* L_5 = ___extensions1;
  28207. int32_t L_6 = V_1;
  28208. int32_t L_7 = L_6;
  28209. RuntimeObject * L_8 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_7);
  28210. NullCheck(L_5);
  28211. RuntimeObject * L_9;
  28212. L_9 = InterfaceFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IDictionary::get_Item(System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_5, L_8);
  28213. V_2 = ((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)Castclass((RuntimeObject*)L_9, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var));
  28214. // if (selectEmpty == (extension_data.Length == 0))
  28215. bool L_10 = ___selectEmpty2;
  28216. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_2;
  28217. NullCheck(L_11);
  28218. if ((!(((uint32_t)L_10) == ((uint32_t)((((int32_t)(((RuntimeArray*)L_11)->max_length)) == ((int32_t)0))? 1 : 0)))))
  28219. {
  28220. goto IL_0048;
  28221. }
  28222. }
  28223. IL_0034:
  28224. {
  28225. // TlsUtilities.CheckUint16(extension_type);
  28226. int32_t L_12 = V_1;
  28227. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28228. TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_12, /*hidden argument*/NULL);
  28229. // TlsUtilities.WriteUint16(extension_type, output);
  28230. int32_t L_13 = V_1;
  28231. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_14 = ___output0;
  28232. TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_13, L_14, /*hidden argument*/NULL);
  28233. // TlsUtilities.WriteOpaque16(extension_data, output);
  28234. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_2;
  28235. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___output0;
  28236. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_15, L_16, /*hidden argument*/NULL);
  28237. }
  28238. IL_0048:
  28239. {
  28240. // foreach (int extension_type in extensions.Keys)
  28241. RuntimeObject* L_17 = V_0;
  28242. NullCheck(L_17);
  28243. bool L_18;
  28244. L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_17);
  28245. if (L_18)
  28246. {
  28247. goto IL_000e;
  28248. }
  28249. }
  28250. IL_0050:
  28251. {
  28252. IL2CPP_LEAVE(0x63, FINALLY_0052);
  28253. }
  28254. }// end try (depth: 1)
  28255. catch(Il2CppExceptionWrapper& e)
  28256. {
  28257. __last_unhandled_exception = (Exception_t *)e.ex;
  28258. goto FINALLY_0052;
  28259. }
  28260. FINALLY_0052:
  28261. {// begin finally (depth: 1)
  28262. {
  28263. RuntimeObject* L_19 = V_0;
  28264. V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_19, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
  28265. RuntimeObject* L_20 = V_3;
  28266. if (!L_20)
  28267. {
  28268. goto IL_0062;
  28269. }
  28270. }
  28271. IL_005c:
  28272. {
  28273. RuntimeObject* L_21 = V_3;
  28274. NullCheck(L_21);
  28275. InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_21);
  28276. }
  28277. IL_0062:
  28278. {
  28279. IL2CPP_END_FINALLY(82)
  28280. }
  28281. }// end finally (depth: 1)
  28282. IL2CPP_CLEANUP(82)
  28283. {
  28284. IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
  28285. IL2CPP_JUMP_TBL(0x63, IL_0063)
  28286. }
  28287. IL_0063:
  28288. {
  28289. // }
  28290. return;
  28291. }
  28292. }
  28293. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSupplementalData(System.IO.Stream,System.Collections.IList)
  28294. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___supplementalData1, const RuntimeMethod* method)
  28295. {
  28296. static bool s_Il2CppMethodInitialized;
  28297. if (!s_Il2CppMethodInitialized)
  28298. {
  28299. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
  28300. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
  28301. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
  28302. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
  28304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28305. s_Il2CppMethodInitialized = true;
  28306. }
  28307. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  28308. RuntimeObject* V_1 = NULL;
  28309. RuntimeObject* V_2 = NULL;
  28310. Exception_t * __last_unhandled_exception = 0;
  28311. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  28312. {
  28313. // MemoryStream buf = new MemoryStream();
  28314. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  28315. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_0, /*hidden argument*/NULL);
  28316. V_0 = L_0;
  28317. // foreach (SupplementalDataEntry entry in supplementalData)
  28318. RuntimeObject* L_1 = ___supplementalData1;
  28319. NullCheck(L_1);
  28320. RuntimeObject* L_2;
  28321. L_2 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_1);
  28322. V_1 = L_2;
  28323. }
  28324. IL_000d:
  28325. try
  28326. {// begin try (depth: 1)
  28327. {
  28328. goto IL_0037;
  28329. }
  28330. IL_000f:
  28331. {
  28332. // foreach (SupplementalDataEntry entry in supplementalData)
  28333. RuntimeObject* L_3 = V_1;
  28334. NullCheck(L_3);
  28335. RuntimeObject * L_4;
  28336. L_4 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_3);
  28337. // int supp_data_type = entry.DataType;
  28338. SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * L_5 = ((SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 *)CastclassClass((RuntimeObject*)L_4, SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var));
  28339. NullCheck(L_5);
  28340. int32_t L_6;
  28341. L_6 = VirtualFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::get_DataType() */, L_5);
  28342. // TlsUtilities.CheckUint16(supp_data_type);
  28343. int32_t L_7 = L_6;
  28344. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28345. TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_7, /*hidden argument*/NULL);
  28346. // TlsUtilities.WriteUint16(supp_data_type, buf);
  28347. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
  28348. TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_7, L_8, /*hidden argument*/NULL);
  28349. // TlsUtilities.WriteOpaque16(entry.Data, buf);
  28350. NullCheck(L_5);
  28351. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  28352. L_9 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::get_Data() */, L_5);
  28353. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
  28354. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_9, L_10, /*hidden argument*/NULL);
  28355. }
  28356. IL_0037:
  28357. {
  28358. // foreach (SupplementalDataEntry entry in supplementalData)
  28359. RuntimeObject* L_11 = V_1;
  28360. NullCheck(L_11);
  28361. bool L_12;
  28362. L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_11);
  28363. if (L_12)
  28364. {
  28365. goto IL_000f;
  28366. }
  28367. }
  28368. IL_003f:
  28369. {
  28370. IL2CPP_LEAVE(0x52, FINALLY_0041);
  28371. }
  28372. }// end try (depth: 1)
  28373. catch(Il2CppExceptionWrapper& e)
  28374. {
  28375. __last_unhandled_exception = (Exception_t *)e.ex;
  28376. goto FINALLY_0041;
  28377. }
  28378. FINALLY_0041:
  28379. {// begin finally (depth: 1)
  28380. {
  28381. RuntimeObject* L_13 = V_1;
  28382. V_2 = ((RuntimeObject*)IsInst((RuntimeObject*)L_13, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
  28383. RuntimeObject* L_14 = V_2;
  28384. if (!L_14)
  28385. {
  28386. goto IL_0051;
  28387. }
  28388. }
  28389. IL_004b:
  28390. {
  28391. RuntimeObject* L_15 = V_2;
  28392. NullCheck(L_15);
  28393. InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_15);
  28394. }
  28395. IL_0051:
  28396. {
  28397. IL2CPP_END_FINALLY(65)
  28398. }
  28399. }// end finally (depth: 1)
  28400. IL2CPP_CLEANUP(65)
  28401. {
  28402. IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
  28403. IL2CPP_JUMP_TBL(0x52, IL_0052)
  28404. }
  28405. IL_0052:
  28406. {
  28407. // byte[] supp_data = buf.ToArray();
  28408. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
  28409. NullCheck(L_16);
  28410. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
  28411. L_17 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_16);
  28412. // TlsUtilities.WriteOpaque24(supp_data, output);
  28413. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_18 = ___output0;
  28414. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28415. TlsUtilities_WriteOpaque24_mCCD10ABBB7A9ADBA3F2F10F716B1EF7485E3AB75(L_17, L_18, /*hidden argument*/NULL);
  28416. // }
  28417. return;
  28418. }
  28419. }
  28420. // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetPrfAlgorithm(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
  28421. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3 (RuntimeObject* ___context0, int32_t ___ciphersuite1, const RuntimeMethod* method)
  28422. {
  28423. static bool s_Il2CppMethodInitialized;
  28424. if (!s_Il2CppMethodInitialized)
  28425. {
  28426. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28427. s_Il2CppMethodInitialized = true;
  28428. }
  28429. bool V_0 = false;
  28430. {
  28431. // bool isTLSv12 = TlsUtilities.IsTlsV12(context);
  28432. RuntimeObject* L_0 = ___context0;
  28433. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  28434. bool L_1;
  28435. L_1 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_0, /*hidden argument*/NULL);
  28436. V_0 = L_1;
  28437. int32_t L_2 = ___ciphersuite1;
  28438. if ((((int32_t)L_2) > ((int32_t)((int32_t)197))))
  28439. {
  28440. goto IL_00df;
  28441. }
  28442. }
  28443. {
  28444. int32_t L_3 = ___ciphersuite1;
  28445. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)59)))) > ((uint32_t)5))))
  28446. {
  28447. goto IL_034a;
  28448. }
  28449. }
  28450. {
  28451. int32_t L_4 = ___ciphersuite1;
  28452. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)103)))) > ((uint32_t)6))))
  28453. {
  28454. goto IL_034a;
  28455. }
  28456. }
  28457. {
  28458. int32_t L_5 = ___ciphersuite1;
  28459. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)156))))
  28460. {
  28461. case 0:
  28462. {
  28463. goto IL_034a;
  28464. }
  28465. case 1:
  28466. {
  28467. goto IL_0357;
  28468. }
  28469. case 2:
  28470. {
  28471. goto IL_034a;
  28472. }
  28473. case 3:
  28474. {
  28475. goto IL_0357;
  28476. }
  28477. case 4:
  28478. {
  28479. goto IL_034a;
  28480. }
  28481. case 5:
  28482. {
  28483. goto IL_0357;
  28484. }
  28485. case 6:
  28486. {
  28487. goto IL_034a;
  28488. }
  28489. case 7:
  28490. {
  28491. goto IL_0357;
  28492. }
  28493. case 8:
  28494. {
  28495. goto IL_034a;
  28496. }
  28497. case 9:
  28498. {
  28499. goto IL_0357;
  28500. }
  28501. case 10:
  28502. {
  28503. goto IL_034a;
  28504. }
  28505. case 11:
  28506. {
  28507. goto IL_0357;
  28508. }
  28509. case 12:
  28510. {
  28511. goto IL_034a;
  28512. }
  28513. case 13:
  28514. {
  28515. goto IL_0357;
  28516. }
  28517. case 14:
  28518. {
  28519. goto IL_034a;
  28520. }
  28521. case 15:
  28522. {
  28523. goto IL_0357;
  28524. }
  28525. case 16:
  28526. {
  28527. goto IL_034a;
  28528. }
  28529. case 17:
  28530. {
  28531. goto IL_0357;
  28532. }
  28533. case 18:
  28534. {
  28535. goto IL_036b;
  28536. }
  28537. case 19:
  28538. {
  28539. goto IL_0364;
  28540. }
  28541. case 20:
  28542. {
  28543. goto IL_036b;
  28544. }
  28545. case 21:
  28546. {
  28547. goto IL_0364;
  28548. }
  28549. case 22:
  28550. {
  28551. goto IL_036b;
  28552. }
  28553. case 23:
  28554. {
  28555. goto IL_0364;
  28556. }
  28557. case 24:
  28558. {
  28559. goto IL_036b;
  28560. }
  28561. case 25:
  28562. {
  28563. goto IL_0364;
  28564. }
  28565. case 26:
  28566. {
  28567. goto IL_036b;
  28568. }
  28569. case 27:
  28570. {
  28571. goto IL_0364;
  28572. }
  28573. case 28:
  28574. {
  28575. goto IL_036b;
  28576. }
  28577. case 29:
  28578. {
  28579. goto IL_0364;
  28580. }
  28581. case 30:
  28582. {
  28583. goto IL_034a;
  28584. }
  28585. case 31:
  28586. {
  28587. goto IL_034a;
  28588. }
  28589. case 32:
  28590. {
  28591. goto IL_034a;
  28592. }
  28593. case 33:
  28594. {
  28595. goto IL_034a;
  28596. }
  28597. case 34:
  28598. {
  28599. goto IL_034a;
  28600. }
  28601. case 35:
  28602. {
  28603. goto IL_034a;
  28604. }
  28605. case 36:
  28606. {
  28607. goto IL_034a;
  28608. }
  28609. case 37:
  28610. {
  28611. goto IL_034a;
  28612. }
  28613. case 38:
  28614. {
  28615. goto IL_034a;
  28616. }
  28617. case 39:
  28618. {
  28619. goto IL_034a;
  28620. }
  28621. case 40:
  28622. {
  28623. goto IL_034a;
  28624. }
  28625. case 41:
  28626. {
  28627. goto IL_034a;
  28628. }
  28629. }
  28630. }
  28631. {
  28632. goto IL_036b;
  28633. }
  28634. IL_00df:
  28635. {
  28636. int32_t L_6 = ___ciphersuite1;
  28637. if ((((int32_t)L_6) > ((int32_t)((int32_t)52398))))
  28638. {
  28639. goto IL_0336;
  28640. }
  28641. }
  28642. {
  28643. int32_t L_7 = ___ciphersuite1;
  28644. switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)49187))))
  28645. {
  28646. case 0:
  28647. {
  28648. goto IL_034a;
  28649. }
  28650. case 1:
  28651. {
  28652. goto IL_0357;
  28653. }
  28654. case 2:
  28655. {
  28656. goto IL_034a;
  28657. }
  28658. case 3:
  28659. {
  28660. goto IL_0357;
  28661. }
  28662. case 4:
  28663. {
  28664. goto IL_034a;
  28665. }
  28666. case 5:
  28667. {
  28668. goto IL_0357;
  28669. }
  28670. case 6:
  28671. {
  28672. goto IL_034a;
  28673. }
  28674. case 7:
  28675. {
  28676. goto IL_0357;
  28677. }
  28678. case 8:
  28679. {
  28680. goto IL_034a;
  28681. }
  28682. case 9:
  28683. {
  28684. goto IL_0357;
  28685. }
  28686. case 10:
  28687. {
  28688. goto IL_034a;
  28689. }
  28690. case 11:
  28691. {
  28692. goto IL_0357;
  28693. }
  28694. case 12:
  28695. {
  28696. goto IL_034a;
  28697. }
  28698. case 13:
  28699. {
  28700. goto IL_0357;
  28701. }
  28702. case 14:
  28703. {
  28704. goto IL_034a;
  28705. }
  28706. case 15:
  28707. {
  28708. goto IL_0357;
  28709. }
  28710. case 16:
  28711. {
  28712. goto IL_036b;
  28713. }
  28714. case 17:
  28715. {
  28716. goto IL_036b;
  28717. }
  28718. case 18:
  28719. {
  28720. goto IL_036b;
  28721. }
  28722. case 19:
  28723. {
  28724. goto IL_036b;
  28725. }
  28726. case 20:
  28727. {
  28728. goto IL_036b;
  28729. }
  28730. case 21:
  28731. {
  28732. goto IL_0364;
  28733. }
  28734. case 22:
  28735. {
  28736. goto IL_036b;
  28737. }
  28738. case 23:
  28739. {
  28740. goto IL_036b;
  28741. }
  28742. case 24:
  28743. {
  28744. goto IL_0364;
  28745. }
  28746. case 25:
  28747. {
  28748. goto IL_036b;
  28749. }
  28750. case 26:
  28751. {
  28752. goto IL_036b;
  28753. }
  28754. case 27:
  28755. {
  28756. goto IL_036b;
  28757. }
  28758. case 28:
  28759. {
  28760. goto IL_036b;
  28761. }
  28762. case 29:
  28763. {
  28764. goto IL_036b;
  28765. }
  28766. case 30:
  28767. {
  28768. goto IL_036b;
  28769. }
  28770. case 31:
  28771. {
  28772. goto IL_036b;
  28773. }
  28774. case 32:
  28775. {
  28776. goto IL_036b;
  28777. }
  28778. case 33:
  28779. {
  28780. goto IL_036b;
  28781. }
  28782. case 34:
  28783. {
  28784. goto IL_036b;
  28785. }
  28786. case 35:
  28787. {
  28788. goto IL_036b;
  28789. }
  28790. case 36:
  28791. {
  28792. goto IL_036b;
  28793. }
  28794. case 37:
  28795. {
  28796. goto IL_036b;
  28797. }
  28798. case 38:
  28799. {
  28800. goto IL_036b;
  28801. }
  28802. case 39:
  28803. {
  28804. goto IL_036b;
  28805. }
  28806. case 40:
  28807. {
  28808. goto IL_036b;
  28809. }
  28810. case 41:
  28811. {
  28812. goto IL_036b;
  28813. }
  28814. case 42:
  28815. {
  28816. goto IL_036b;
  28817. }
  28818. case 43:
  28819. {
  28820. goto IL_036b;
  28821. }
  28822. case 44:
  28823. {
  28824. goto IL_036b;
  28825. }
  28826. case 45:
  28827. {
  28828. goto IL_036b;
  28829. }
  28830. case 46:
  28831. {
  28832. goto IL_036b;
  28833. }
  28834. case 47:
  28835. {
  28836. goto IL_036b;
  28837. }
  28838. case 48:
  28839. {
  28840. goto IL_036b;
  28841. }
  28842. case 49:
  28843. {
  28844. goto IL_036b;
  28845. }
  28846. case 50:
  28847. {
  28848. goto IL_036b;
  28849. }
  28850. case 51:
  28851. {
  28852. goto IL_036b;
  28853. }
  28854. case 52:
  28855. {
  28856. goto IL_036b;
  28857. }
  28858. case 53:
  28859. {
  28860. goto IL_036b;
  28861. }
  28862. case 54:
  28863. {
  28864. goto IL_036b;
  28865. }
  28866. case 55:
  28867. {
  28868. goto IL_036b;
  28869. }
  28870. case 56:
  28871. {
  28872. goto IL_036b;
  28873. }
  28874. case 57:
  28875. {
  28876. goto IL_036b;
  28877. }
  28878. case 58:
  28879. {
  28880. goto IL_036b;
  28881. }
  28882. case 59:
  28883. {
  28884. goto IL_036b;
  28885. }
  28886. case 60:
  28887. {
  28888. goto IL_036b;
  28889. }
  28890. case 61:
  28891. {
  28892. goto IL_036b;
  28893. }
  28894. case 62:
  28895. {
  28896. goto IL_036b;
  28897. }
  28898. case 63:
  28899. {
  28900. goto IL_036b;
  28901. }
  28902. case 64:
  28903. {
  28904. goto IL_036b;
  28905. }
  28906. case 65:
  28907. {
  28908. goto IL_036b;
  28909. }
  28910. case 66:
  28911. {
  28912. goto IL_036b;
  28913. }
  28914. case 67:
  28915. {
  28916. goto IL_036b;
  28917. }
  28918. case 68:
  28919. {
  28920. goto IL_036b;
  28921. }
  28922. case 69:
  28923. {
  28924. goto IL_036b;
  28925. }
  28926. case 70:
  28927. {
  28928. goto IL_036b;
  28929. }
  28930. case 71:
  28931. {
  28932. goto IL_036b;
  28933. }
  28934. case 72:
  28935. {
  28936. goto IL_036b;
  28937. }
  28938. case 73:
  28939. {
  28940. goto IL_036b;
  28941. }
  28942. case 74:
  28943. {
  28944. goto IL_036b;
  28945. }
  28946. case 75:
  28947. {
  28948. goto IL_036b;
  28949. }
  28950. case 76:
  28951. {
  28952. goto IL_036b;
  28953. }
  28954. case 77:
  28955. {
  28956. goto IL_036b;
  28957. }
  28958. case 78:
  28959. {
  28960. goto IL_036b;
  28961. }
  28962. case 79:
  28963. {
  28964. goto IL_034a;
  28965. }
  28966. case 80:
  28967. {
  28968. goto IL_0357;
  28969. }
  28970. case 81:
  28971. {
  28972. goto IL_034a;
  28973. }
  28974. case 82:
  28975. {
  28976. goto IL_0357;
  28977. }
  28978. case 83:
  28979. {
  28980. goto IL_034a;
  28981. }
  28982. case 84:
  28983. {
  28984. goto IL_0357;
  28985. }
  28986. case 85:
  28987. {
  28988. goto IL_034a;
  28989. }
  28990. case 86:
  28991. {
  28992. goto IL_0357;
  28993. }
  28994. case 87:
  28995. {
  28996. goto IL_034a;
  28997. }
  28998. case 88:
  28999. {
  29000. goto IL_0357;
  29001. }
  29002. case 89:
  29003. {
  29004. goto IL_034a;
  29005. }
  29006. case 90:
  29007. {
  29008. goto IL_0357;
  29009. }
  29010. case 91:
  29011. {
  29012. goto IL_034a;
  29013. }
  29014. case 92:
  29015. {
  29016. goto IL_0357;
  29017. }
  29018. case 93:
  29019. {
  29020. goto IL_034a;
  29021. }
  29022. case 94:
  29023. {
  29024. goto IL_0357;
  29025. }
  29026. case 95:
  29027. {
  29028. goto IL_034a;
  29029. }
  29030. case 96:
  29031. {
  29032. goto IL_0357;
  29033. }
  29034. case 97:
  29035. {
  29036. goto IL_034a;
  29037. }
  29038. case 98:
  29039. {
  29040. goto IL_0357;
  29041. }
  29042. case 99:
  29043. {
  29044. goto IL_034a;
  29045. }
  29046. case 100:
  29047. {
  29048. goto IL_0357;
  29049. }
  29050. case 101:
  29051. {
  29052. goto IL_034a;
  29053. }
  29054. case 102:
  29055. {
  29056. goto IL_0357;
  29057. }
  29058. case 103:
  29059. {
  29060. goto IL_034a;
  29061. }
  29062. case 104:
  29063. {
  29064. goto IL_0357;
  29065. }
  29066. case 105:
  29067. {
  29068. goto IL_034a;
  29069. }
  29070. case 106:
  29071. {
  29072. goto IL_0357;
  29073. }
  29074. case 107:
  29075. {
  29076. goto IL_034a;
  29077. }
  29078. case 108:
  29079. {
  29080. goto IL_0357;
  29081. }
  29082. case 109:
  29083. {
  29084. goto IL_034a;
  29085. }
  29086. case 110:
  29087. {
  29088. goto IL_0357;
  29089. }
  29090. case 111:
  29091. {
  29092. goto IL_034a;
  29093. }
  29094. case 112:
  29095. {
  29096. goto IL_0357;
  29097. }
  29098. case 113:
  29099. {
  29100. goto IL_036b;
  29101. }
  29102. case 114:
  29103. {
  29104. goto IL_0364;
  29105. }
  29106. case 115:
  29107. {
  29108. goto IL_036b;
  29109. }
  29110. case 116:
  29111. {
  29112. goto IL_0364;
  29113. }
  29114. case 117:
  29115. {
  29116. goto IL_036b;
  29117. }
  29118. case 118:
  29119. {
  29120. goto IL_0364;
  29121. }
  29122. case 119:
  29123. {
  29124. goto IL_036b;
  29125. }
  29126. case 120:
  29127. {
  29128. goto IL_0364;
  29129. }
  29130. case 121:
  29131. {
  29132. goto IL_034a;
  29133. }
  29134. case 122:
  29135. {
  29136. goto IL_034a;
  29137. }
  29138. case 123:
  29139. {
  29140. goto IL_034a;
  29141. }
  29142. case 124:
  29143. {
  29144. goto IL_034a;
  29145. }
  29146. case 125:
  29147. {
  29148. goto IL_034a;
  29149. }
  29150. case 126:
  29151. {
  29152. goto IL_034a;
  29153. }
  29154. case 127:
  29155. {
  29156. goto IL_034a;
  29157. }
  29158. case 128:
  29159. {
  29160. goto IL_034a;
  29161. }
  29162. case 129:
  29163. {
  29164. goto IL_034a;
  29165. }
  29166. case 130:
  29167. {
  29168. goto IL_034a;
  29169. }
  29170. case 131:
  29171. {
  29172. goto IL_034a;
  29173. }
  29174. case 132:
  29175. {
  29176. goto IL_034a;
  29177. }
  29178. case 133:
  29179. {
  29180. goto IL_034a;
  29181. }
  29182. case 134:
  29183. {
  29184. goto IL_034a;
  29185. }
  29186. case 135:
  29187. {
  29188. goto IL_034a;
  29189. }
  29190. case 136:
  29191. {
  29192. goto IL_034a;
  29193. }
  29194. case 137:
  29195. {
  29196. goto IL_034a;
  29197. }
  29198. case 138:
  29199. {
  29200. goto IL_034a;
  29201. }
  29202. case 139:
  29203. {
  29204. goto IL_034a;
  29205. }
  29206. case 140:
  29207. {
  29208. goto IL_034a;
  29209. }
  29210. }
  29211. }
  29212. {
  29213. int32_t L_8 = ___ciphersuite1;
  29214. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)52392)))) > ((uint32_t)6))))
  29215. {
  29216. goto IL_034a;
  29217. }
  29218. }
  29219. {
  29220. goto IL_036b;
  29221. }
  29222. IL_0336:
  29223. {
  29224. int32_t L_9 = ___ciphersuite1;
  29225. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)65280)))) > ((uint32_t)5))))
  29226. {
  29227. goto IL_034a;
  29228. }
  29229. }
  29230. {
  29231. int32_t L_10 = ___ciphersuite1;
  29232. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)65296)))) <= ((uint32_t)5))))
  29233. {
  29234. goto IL_036b;
  29235. }
  29236. }
  29237. IL_034a:
  29238. {
  29239. // if (isTLSv12)
  29240. bool L_11 = V_0;
  29241. if (!L_11)
  29242. {
  29243. goto IL_034f;
  29244. }
  29245. }
  29246. {
  29247. // return PrfAlgorithm.tls_prf_sha256;
  29248. return 1;
  29249. }
  29250. IL_034f:
  29251. {
  29252. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  29253. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29254. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  29255. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var)));
  29256. }
  29257. IL_0357:
  29258. {
  29259. // if (isTLSv12)
  29260. bool L_13 = V_0;
  29261. if (!L_13)
  29262. {
  29263. goto IL_035c;
  29264. }
  29265. }
  29266. {
  29267. // return PrfAlgorithm.tls_prf_sha384;
  29268. return 2;
  29269. }
  29270. IL_035c:
  29271. {
  29272. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  29273. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_14 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29274. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_14, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  29275. IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var)));
  29276. }
  29277. IL_0364:
  29278. {
  29279. // if (isTLSv12)
  29280. bool L_15 = V_0;
  29281. if (!L_15)
  29282. {
  29283. goto IL_0369;
  29284. }
  29285. }
  29286. {
  29287. // return PrfAlgorithm.tls_prf_sha384;
  29288. return 2;
  29289. }
  29290. IL_0369:
  29291. {
  29292. // return PrfAlgorithm.tls_prf_legacy;
  29293. return 0;
  29294. }
  29295. IL_036b:
  29296. {
  29297. // if (isTLSv12)
  29298. bool L_16 = V_0;
  29299. if (!L_16)
  29300. {
  29301. goto IL_0370;
  29302. }
  29303. }
  29304. {
  29305. // return PrfAlgorithm.tls_prf_sha256;
  29306. return 1;
  29307. }
  29308. IL_0370:
  29309. {
  29310. // return PrfAlgorithm.tls_prf_legacy;
  29311. return 0;
  29312. }
  29313. }
  29314. #ifdef __clang__
  29315. #pragma clang diagnostic pop
  29316. #endif
  29317. #ifdef __clang__
  29318. #pragma clang diagnostic push
  29319. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  29320. #pragma clang diagnostic ignored "-Wunused-variable"
  29321. #endif
  29322. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  29323. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocolHandler__ctor_m91EFBA6C22F90B776BEE2589C060EB53AC017C70 (TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
  29324. {
  29325. {
  29326. // : base(stream, stream, secureRandom)
  29327. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
  29328. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___stream0;
  29329. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom1;
  29330. TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
  29331. // }
  29332. return;
  29333. }
  29334. }
  29335. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  29336. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocolHandler__ctor_m9F2C89041055278DDBA42C79A73988F5AA237205 (TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method)
  29337. {
  29338. {
  29339. // : base(input, output, secureRandom)
  29340. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  29341. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
  29342. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
  29343. TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
  29344. // }
  29345. return;
  29346. }
  29347. }
  29348. #ifdef __clang__
  29349. #pragma clang diagnostic pop
  29350. #endif
  29351. #ifdef __clang__
  29352. #pragma clang diagnostic push
  29353. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  29354. #pragma clang diagnostic ignored "-Wunused-variable"
  29355. #endif
  29356. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.Int32[],System.Byte[],System.Byte[])
  29357. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange__ctor_m0BD8C7608228894F45DD8EBF11826FDF5EF47789 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___pskIdentity2, RuntimeObject* ___pskIdentityManager3, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters4, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves5, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats6, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats7, const RuntimeMethod* method)
  29358. {
  29359. static bool s_Il2CppMethodInitialized;
  29360. if (!s_Il2CppMethodInitialized)
  29361. {
  29362. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  29363. s_Il2CppMethodInitialized = true;
  29364. }
  29365. {
  29366. // : this(keyExchange, supportedSignatureAlgorithms, pskIdentity, pskIdentityManager, new DefaultTlsDHVerifier(),
  29367. // dhParameters, namedCurves, clientECPointFormats, serverECPointFormats)
  29368. int32_t L_0 = ___keyExchange0;
  29369. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  29370. RuntimeObject* L_2 = ___pskIdentity2;
  29371. RuntimeObject* L_3 = ___pskIdentityManager3;
  29372. DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_4 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
  29373. DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_4, /*hidden argument*/NULL);
  29374. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___dhParameters4;
  29375. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ___namedCurves5;
  29376. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___clientECPointFormats6;
  29377. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___serverECPointFormats7;
  29378. TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, /*hidden argument*/NULL);
  29379. // }
  29380. return;
  29381. }
  29382. }
  29383. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.Int32[],System.Byte[],System.Byte[])
  29384. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, RuntimeObject* ___pskIdentity2, RuntimeObject* ___pskIdentityManager3, RuntimeObject* ___dhVerifier4, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters5, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves6, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientECPointFormats7, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverECPointFormats8, const RuntimeMethod* method)
  29385. {
  29386. {
  29387. // : base(keyExchange, supportedSignatureAlgorithms)
  29388. int32_t L_0 = ___keyExchange0;
  29389. RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
  29390. AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
  29391. int32_t L_2 = ___keyExchange0;
  29392. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)13)))) > ((uint32_t)2))))
  29393. {
  29394. goto IL_001f;
  29395. }
  29396. }
  29397. {
  29398. int32_t L_3 = ___keyExchange0;
  29399. if ((((int32_t)L_3) == ((int32_t)((int32_t)24))))
  29400. {
  29401. goto IL_001f;
  29402. }
  29403. }
  29404. {
  29405. // throw new InvalidOperationException("unsupported key exchange algorithm");
  29406. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_4 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  29407. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
  29408. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2_RuntimeMethod_var)));
  29409. }
  29410. IL_001f:
  29411. {
  29412. // this.mPskIdentity = pskIdentity;
  29413. RuntimeObject* L_5 = ___pskIdentity2;
  29414. __this->set_mPskIdentity_3(L_5);
  29415. // this.mPskIdentityManager = pskIdentityManager;
  29416. RuntimeObject* L_6 = ___pskIdentityManager3;
  29417. __this->set_mPskIdentityManager_4(L_6);
  29418. // this.mDHVerifier = dhVerifier;
  29419. RuntimeObject* L_7 = ___dhVerifier4;
  29420. __this->set_mDHVerifier_5(L_7);
  29421. // this.mDHParameters = dhParameters;
  29422. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8 = ___dhParameters5;
  29423. __this->set_mDHParameters_6(L_8);
  29424. // this.mNamedCurves = namedCurves;
  29425. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_9 = ___namedCurves6;
  29426. __this->set_mNamedCurves_7(L_9);
  29427. // this.mClientECPointFormats = clientECPointFormats;
  29428. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___clientECPointFormats7;
  29429. __this->set_mClientECPointFormats_8(L_10);
  29430. // this.mServerECPointFormats = serverECPointFormats;
  29431. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___serverECPointFormats8;
  29432. __this->set_mServerECPointFormats_9(L_11);
  29433. // }
  29434. return;
  29435. }
  29436. }
  29437. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::SkipServerCredentials()
  29438. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
  29439. {
  29440. {
  29441. // if (mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
  29442. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29443. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)15)))))
  29444. {
  29445. goto IL_0012;
  29446. }
  29447. }
  29448. {
  29449. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  29450. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29451. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  29452. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45_RuntimeMethod_var)));
  29453. }
  29454. IL_0012:
  29455. {
  29456. // }
  29457. return;
  29458. }
  29459. }
  29460. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  29461. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
  29462. {
  29463. static bool s_Il2CppMethodInitialized;
  29464. if (!s_Il2CppMethodInitialized)
  29465. {
  29466. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  29467. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
  29468. s_Il2CppMethodInitialized = true;
  29469. }
  29470. {
  29471. // if (!(serverCredentials is TlsEncryptionCredentials))
  29472. RuntimeObject* L_0 = ___serverCredentials0;
  29473. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)))
  29474. {
  29475. goto IL_0010;
  29476. }
  29477. }
  29478. {
  29479. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29480. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29481. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29482. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3_RuntimeMethod_var)));
  29483. }
  29484. IL_0010:
  29485. {
  29486. // ProcessServerCertificate(serverCredentials.Certificate);
  29487. RuntimeObject* L_2 = ___serverCredentials0;
  29488. NullCheck(L_2);
  29489. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
  29490. L_3 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_2);
  29491. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_3);
  29492. // this.mServerCredentials = (TlsEncryptionCredentials)serverCredentials;
  29493. RuntimeObject* L_4 = ___serverCredentials0;
  29494. __this->set_mServerCredentials_18(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)));
  29495. // }
  29496. return;
  29497. }
  29498. }
  29499. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateServerKeyExchange()
  29500. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
  29501. {
  29502. static bool s_Il2CppMethodInitialized;
  29503. if (!s_Il2CppMethodInitialized)
  29504. {
  29505. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  29506. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  29507. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  29508. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  29509. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var);
  29510. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29511. s_Il2CppMethodInitialized = true;
  29512. }
  29513. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  29514. {
  29515. // this.mPskIdentityHint = mPskIdentityManager.GetHint();
  29516. RuntimeObject* L_0 = __this->get_mPskIdentityManager_4();
  29517. NullCheck(L_0);
  29518. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  29519. L_1 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager::GetHint() */, TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var, L_0);
  29520. __this->set_mPskIdentityHint_10(L_1);
  29521. // if (this.mPskIdentityHint == null && !RequiresServerKeyExchange)
  29522. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mPskIdentityHint_10();
  29523. if (L_2)
  29524. {
  29525. goto IL_0023;
  29526. }
  29527. }
  29528. {
  29529. bool L_3;
  29530. L_3 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
  29531. if (L_3)
  29532. {
  29533. goto IL_0023;
  29534. }
  29535. }
  29536. {
  29537. // return null;
  29538. return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
  29539. }
  29540. IL_0023:
  29541. {
  29542. // MemoryStream buf = new MemoryStream();
  29543. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  29544. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_4, /*hidden argument*/NULL);
  29545. V_0 = L_4;
  29546. // if (this.mPskIdentityHint == null)
  29547. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mPskIdentityHint_10();
  29548. if (L_5)
  29549. {
  29550. goto IL_003e;
  29551. }
  29552. }
  29553. {
  29554. // TlsUtilities.WriteOpaque16(TlsUtilities.EmptyBytes, buf);
  29555. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29556. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  29557. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
  29558. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_6, L_7, /*hidden argument*/NULL);
  29559. // }
  29560. goto IL_004a;
  29561. }
  29562. IL_003e:
  29563. {
  29564. // TlsUtilities.WriteOpaque16(this.mPskIdentityHint, buf);
  29565. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_mPskIdentityHint_10();
  29566. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
  29567. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29568. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_8, L_9, /*hidden argument*/NULL);
  29569. }
  29570. IL_004a:
  29571. {
  29572. // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
  29573. int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29574. if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)14)))))
  29575. {
  29576. goto IL_0083;
  29577. }
  29578. }
  29579. {
  29580. // if (this.mDHParameters == null)
  29581. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_11 = __this->get_mDHParameters_6();
  29582. if (L_11)
  29583. {
  29584. goto IL_0064;
  29585. }
  29586. }
  29587. {
  29588. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29589. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29590. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29591. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F_RuntimeMethod_var)));
  29592. }
  29593. IL_0064:
  29594. {
  29595. // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
  29596. // this.mDHParameters, buf);
  29597. RuntimeObject* L_13 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  29598. NullCheck(L_13);
  29599. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_14;
  29600. L_14 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_13);
  29601. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_15 = __this->get_mDHParameters_6();
  29602. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
  29603. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  29604. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_17;
  29605. L_17 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_14, L_15, L_16, /*hidden argument*/NULL);
  29606. __this->set_mDHAgreePrivateKey_12(L_17);
  29607. // }
  29608. goto IL_00b0;
  29609. }
  29610. IL_0083:
  29611. {
  29612. // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
  29613. int32_t L_18 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29614. if ((!(((uint32_t)L_18) == ((uint32_t)((int32_t)24)))))
  29615. {
  29616. goto IL_00b0;
  29617. }
  29618. }
  29619. {
  29620. // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
  29621. // mNamedCurves, mClientECPointFormats, buf);
  29622. RuntimeObject* L_19 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  29623. NullCheck(L_19);
  29624. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_20;
  29625. L_20 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_19);
  29626. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_21 = __this->get_mNamedCurves_7();
  29627. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = __this->get_mClientECPointFormats_8();
  29628. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_23 = V_0;
  29629. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  29630. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_24;
  29631. L_24 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_20, L_21, L_22, L_23, /*hidden argument*/NULL);
  29632. __this->set_mECAgreePrivateKey_14(L_24);
  29633. }
  29634. IL_00b0:
  29635. {
  29636. // return buf.ToArray();
  29637. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = V_0;
  29638. NullCheck(L_25);
  29639. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
  29640. L_26 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_25);
  29641. return L_26;
  29642. }
  29643. }
  29644. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  29645. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
  29646. {
  29647. static bool s_Il2CppMethodInitialized;
  29648. if (!s_Il2CppMethodInitialized)
  29649. {
  29650. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
  29651. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29652. s_Il2CppMethodInitialized = true;
  29653. }
  29654. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
  29655. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
  29656. Exception_t * V_2 = NULL;
  29657. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  29658. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  29659. {
  29660. // if (mKeyExchange != KeyExchangeAlgorithm.RSA_PSK)
  29661. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29662. if ((((int32_t)L_0) == ((int32_t)((int32_t)15))))
  29663. {
  29664. goto IL_0012;
  29665. }
  29666. }
  29667. {
  29668. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  29669. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29670. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  29671. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
  29672. }
  29673. IL_0012:
  29674. {
  29675. // if (serverCertificate.IsEmpty)
  29676. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
  29677. NullCheck(L_2);
  29678. bool L_3;
  29679. L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
  29680. if (!L_3)
  29681. {
  29682. goto IL_0022;
  29683. }
  29684. }
  29685. {
  29686. // throw new TlsFatalAlert(AlertDescription.bad_certificate);
  29687. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29688. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
  29689. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
  29690. }
  29691. IL_0022:
  29692. {
  29693. // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
  29694. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
  29695. NullCheck(L_5);
  29696. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
  29697. L_6 = VirtualFuncInvoker1< X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 *, int32_t >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::GetCertificateAt(System.Int32) */, L_5, 0);
  29698. V_0 = L_6;
  29699. // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
  29700. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
  29701. NullCheck(L_7);
  29702. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
  29703. L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
  29704. V_1 = L_8;
  29705. }
  29706. IL_0031:
  29707. try
  29708. {// begin try (depth: 1)
  29709. // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
  29710. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
  29711. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
  29712. L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
  29713. __this->set_mServerPublicKey_16(L_10);
  29714. // }
  29715. goto IL_0049;
  29716. }// end try (depth: 1)
  29717. catch(Il2CppExceptionWrapper& e)
  29718. {
  29719. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  29720. {
  29721. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  29722. goto CATCH_003f;
  29723. }
  29724. throw e;
  29725. }
  29726. CATCH_003f:
  29727. {// begin catch(System.Exception)
  29728. // catch (Exception e)
  29729. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  29730. // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
  29731. Exception_t * L_11 = V_2;
  29732. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29733. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
  29734. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
  29735. }// end catch (depth: 1)
  29736. IL_0049:
  29737. {
  29738. // if (this.mServerPublicKey.IsPrivate)
  29739. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_13 = __this->get_mServerPublicKey_16();
  29740. NullCheck(L_13);
  29741. bool L_14;
  29742. L_14 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_13, /*hidden argument*/NULL);
  29743. if (!L_14)
  29744. {
  29745. goto IL_005e;
  29746. }
  29747. }
  29748. {
  29749. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29750. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_15 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29751. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_15, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29752. IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
  29753. }
  29754. IL_005e:
  29755. {
  29756. // this.mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)this.mServerPublicKey);
  29757. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_16 = __this->get_mServerPublicKey_16();
  29758. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_17;
  29759. L_17 = VirtualFuncInvoker1< RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * >::Invoke(36 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters) */, __this, ((RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *)CastclassClass((RuntimeObject*)L_16, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var)));
  29760. __this->set_mRsaServerPublicKey_17(L_17);
  29761. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyEncipherment);
  29762. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_18 = V_0;
  29763. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29764. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_18, ((int32_t)32), /*hidden argument*/NULL);
  29765. // base.ProcessServerCertificate(serverCertificate);
  29766. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_19 = ___serverCertificate0;
  29767. AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_19, /*hidden argument*/NULL);
  29768. // }
  29769. return;
  29770. }
  29771. }
  29772. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::get_RequiresServerKeyExchange()
  29773. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsPskKeyExchange_get_RequiresServerKeyExchange_m75F6C95E5912191CE8EAE709DCDFE0A892ECE7F8 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
  29774. {
  29775. int32_t V_0 = 0;
  29776. {
  29777. // switch (mKeyExchange)
  29778. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29779. V_0 = L_0;
  29780. int32_t L_1 = V_0;
  29781. if ((((int32_t)L_1) == ((int32_t)((int32_t)14))))
  29782. {
  29783. goto IL_0011;
  29784. }
  29785. }
  29786. {
  29787. int32_t L_2 = V_0;
  29788. if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)24)))))
  29789. {
  29790. goto IL_0013;
  29791. }
  29792. }
  29793. IL_0011:
  29794. {
  29795. // return true;
  29796. return (bool)1;
  29797. }
  29798. IL_0013:
  29799. {
  29800. // return false;
  29801. return (bool)0;
  29802. }
  29803. }
  29804. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
  29805. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerKeyExchange_m0AD67B5E6B0BB4D4B465C36B24C06B528939D8AE (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  29806. {
  29807. static bool s_Il2CppMethodInitialized;
  29808. if (!s_Il2CppMethodInitialized)
  29809. {
  29810. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  29811. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  29812. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  29813. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29814. s_Il2CppMethodInitialized = true;
  29815. }
  29816. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_0 = NULL;
  29817. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  29818. {
  29819. // this.mPskIdentityHint = TlsUtilities.ReadOpaque16(input);
  29820. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  29821. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29822. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  29823. L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
  29824. __this->set_mPskIdentityHint_10(L_1);
  29825. // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
  29826. int32_t L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29827. if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)14)))))
  29828. {
  29829. goto IL_0040;
  29830. }
  29831. }
  29832. {
  29833. // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input);
  29834. RuntimeObject* L_3 = __this->get_mDHVerifier_5();
  29835. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
  29836. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  29837. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5;
  29838. L_5 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_3, L_4, /*hidden argument*/NULL);
  29839. __this->set_mDHParameters_6(L_5);
  29840. // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
  29841. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___input0;
  29842. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
  29843. L_7 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_6, /*hidden argument*/NULL);
  29844. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8 = __this->get_mDHParameters_6();
  29845. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_9 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  29846. DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_9, L_7, L_8, /*hidden argument*/NULL);
  29847. __this->set_mDHAgreePublicKey_13(L_9);
  29848. // }
  29849. return;
  29850. }
  29851. IL_0040:
  29852. {
  29853. // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
  29854. int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  29855. if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)24)))))
  29856. {
  29857. goto IL_007c;
  29858. }
  29859. }
  29860. {
  29861. // ECDomainParameters ecParams = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input);
  29862. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11 = __this->get_mNamedCurves_7();
  29863. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = __this->get_mClientECPointFormats_8();
  29864. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___input0;
  29865. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  29866. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_14;
  29867. L_14 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_11, L_12, L_13, /*hidden argument*/NULL);
  29868. V_0 = L_14;
  29869. // byte[] point = TlsUtilities.ReadOpaque8(input);
  29870. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_15 = ___input0;
  29871. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29872. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
  29873. L_16 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_15, /*hidden argument*/NULL);
  29874. V_1 = L_16;
  29875. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
  29876. // mClientECPointFormats, ecParams, point));
  29877. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = __this->get_mClientECPointFormats_8();
  29878. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_18 = V_0;
  29879. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = V_1;
  29880. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_20;
  29881. L_20 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_17, L_18, L_19, /*hidden argument*/NULL);
  29882. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_21;
  29883. L_21 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_20, /*hidden argument*/NULL);
  29884. __this->set_mECAgreePublicKey_15(L_21);
  29885. }
  29886. IL_007c:
  29887. {
  29888. // }
  29889. return;
  29890. }
  29891. }
  29892. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  29893. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  29894. {
  29895. {
  29896. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  29897. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29898. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  29899. IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F_RuntimeMethod_var)));
  29900. }
  29901. }
  29902. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  29903. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
  29904. {
  29905. {
  29906. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29907. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29908. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29909. IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF_RuntimeMethod_var)));
  29910. }
  29911. }
  29912. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
  29913. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  29914. {
  29915. static bool s_Il2CppMethodInitialized;
  29916. if (!s_Il2CppMethodInitialized)
  29917. {
  29918. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  29919. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  29920. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  29921. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var);
  29922. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29923. s_Il2CppMethodInitialized = true;
  29924. }
  29925. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  29926. {
  29927. // if (mPskIdentityHint == null)
  29928. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPskIdentityHint_10();
  29929. if (L_0)
  29930. {
  29931. goto IL_0015;
  29932. }
  29933. }
  29934. {
  29935. // mPskIdentity.SkipIdentityHint();
  29936. RuntimeObject* L_1 = __this->get_mPskIdentity_3();
  29937. NullCheck(L_1);
  29938. InterfaceActionInvoker0::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::SkipIdentityHint() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_1);
  29939. // }
  29940. goto IL_0026;
  29941. }
  29942. IL_0015:
  29943. {
  29944. // mPskIdentity.NotifyIdentityHint(mPskIdentityHint);
  29945. RuntimeObject* L_2 = __this->get_mPskIdentity_3();
  29946. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mPskIdentityHint_10();
  29947. NullCheck(L_2);
  29948. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::NotifyIdentityHint(System.Byte[]) */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_2, L_3);
  29949. }
  29950. IL_0026:
  29951. {
  29952. // byte[] psk_identity = mPskIdentity.GetPskIdentity();
  29953. RuntimeObject* L_4 = __this->get_mPskIdentity_3();
  29954. NullCheck(L_4);
  29955. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  29956. L_5 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(2 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::GetPskIdentity() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_4);
  29957. V_0 = L_5;
  29958. // if (psk_identity == null)
  29959. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
  29960. if (L_6)
  29961. {
  29962. goto IL_003d;
  29963. }
  29964. }
  29965. {
  29966. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29967. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29968. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29969. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var)));
  29970. }
  29971. IL_003d:
  29972. {
  29973. // this.mPsk = mPskIdentity.GetPsk();
  29974. RuntimeObject* L_8 = __this->get_mPskIdentity_3();
  29975. NullCheck(L_8);
  29976. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  29977. L_9 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(3 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::GetPsk() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_8);
  29978. __this->set_mPsk_11(L_9);
  29979. // if (mPsk == null)
  29980. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = __this->get_mPsk_11();
  29981. if (L_10)
  29982. {
  29983. goto IL_005e;
  29984. }
  29985. }
  29986. {
  29987. // throw new TlsFatalAlert(AlertDescription.internal_error);
  29988. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  29989. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  29990. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var)));
  29991. }
  29992. IL_005e:
  29993. {
  29994. // TlsUtilities.WriteOpaque16(psk_identity, output);
  29995. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = V_0;
  29996. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___output0;
  29997. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  29998. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_12, L_13, /*hidden argument*/NULL);
  29999. // mContext.SecurityParameters.pskIdentity = psk_identity;
  30000. RuntimeObject* L_14 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30001. NullCheck(L_14);
  30002. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15;
  30003. L_15 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_14);
  30004. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_0;
  30005. NullCheck(L_15);
  30006. L_15->set_pskIdentity_9(L_16);
  30007. // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
  30008. int32_t L_17 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30009. if ((!(((uint32_t)L_17) == ((uint32_t)((int32_t)14)))))
  30010. {
  30011. goto IL_009e;
  30012. }
  30013. }
  30014. {
  30015. // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
  30016. // mDHParameters, output);
  30017. RuntimeObject* L_18 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30018. NullCheck(L_18);
  30019. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_19;
  30020. L_19 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_18);
  30021. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_20 = __this->get_mDHParameters_6();
  30022. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_21 = ___output0;
  30023. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  30024. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_22;
  30025. L_22 = TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3(L_19, L_20, L_21, /*hidden argument*/NULL);
  30026. __this->set_mDHAgreePrivateKey_12(L_22);
  30027. // }
  30028. return;
  30029. }
  30030. IL_009e:
  30031. {
  30032. // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
  30033. int32_t L_23 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30034. if ((!(((uint32_t)L_23) == ((uint32_t)((int32_t)24)))))
  30035. {
  30036. goto IL_00d1;
  30037. }
  30038. }
  30039. {
  30040. // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
  30041. // mServerECPointFormats, mECAgreePublicKey.Parameters, output);
  30042. RuntimeObject* L_24 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30043. NullCheck(L_24);
  30044. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_25;
  30045. L_25 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_24);
  30046. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = __this->get_mServerECPointFormats_9();
  30047. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_27 = __this->get_mECAgreePublicKey_15();
  30048. NullCheck(L_27);
  30049. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_28;
  30050. L_28 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_27, /*hidden argument*/NULL);
  30051. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output0;
  30052. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  30053. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_30;
  30054. L_30 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_25, L_26, L_28, L_29, /*hidden argument*/NULL);
  30055. __this->set_mECAgreePrivateKey_14(L_30);
  30056. // }
  30057. return;
  30058. }
  30059. IL_00d1:
  30060. {
  30061. // else if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
  30062. int32_t L_31 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30063. if ((!(((uint32_t)L_31) == ((uint32_t)((int32_t)15)))))
  30064. {
  30065. goto IL_00f3;
  30066. }
  30067. }
  30068. {
  30069. // this.mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext,
  30070. // this.mRsaServerPublicKey, output);
  30071. RuntimeObject* L_32 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30072. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_33 = __this->get_mRsaServerPublicKey_17();
  30073. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_34 = ___output0;
  30074. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
  30075. L_35 = TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD(L_32, L_33, L_34, /*hidden argument*/NULL);
  30076. __this->set_mPremasterSecret_19(L_35);
  30077. }
  30078. IL_00f3:
  30079. {
  30080. // }
  30081. return;
  30082. }
  30083. }
  30084. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
  30085. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  30086. {
  30087. static bool s_Il2CppMethodInitialized;
  30088. if (!s_Il2CppMethodInitialized)
  30089. {
  30090. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  30091. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  30092. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  30093. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  30094. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
  30095. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var);
  30096. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30097. s_Il2CppMethodInitialized = true;
  30098. }
  30099. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  30100. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  30101. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_2 = NULL;
  30102. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  30103. {
  30104. // byte[] psk_identity = TlsUtilities.ReadOpaque16(input);
  30105. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  30106. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30107. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  30108. L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
  30109. V_0 = L_1;
  30110. // this.mPsk = mPskIdentityManager.GetPsk(psk_identity);
  30111. RuntimeObject* L_2 = __this->get_mPskIdentityManager_4();
  30112. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  30113. NullCheck(L_2);
  30114. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  30115. L_4 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(1 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager::GetPsk(System.Byte[]) */, TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var, L_2, L_3);
  30116. __this->set_mPsk_11(L_4);
  30117. // if (mPsk == null)
  30118. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mPsk_11();
  30119. if (L_5)
  30120. {
  30121. goto IL_0029;
  30122. }
  30123. }
  30124. {
  30125. // throw new TlsFatalAlert(AlertDescription.unknown_psk_identity);
  30126. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30127. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)115), /*hidden argument*/NULL);
  30128. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A_RuntimeMethod_var)));
  30129. }
  30130. IL_0029:
  30131. {
  30132. // mContext.SecurityParameters.pskIdentity = psk_identity;
  30133. RuntimeObject* L_7 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30134. NullCheck(L_7);
  30135. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8;
  30136. L_8 = InterfaceFuncInvoker0< SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * >::Invoke(2 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecurityParameters() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_7);
  30137. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
  30138. NullCheck(L_8);
  30139. L_8->set_pskIdentity_9(L_9);
  30140. // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
  30141. int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30142. if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)14)))))
  30143. {
  30144. goto IL_005c;
  30145. }
  30146. }
  30147. {
  30148. // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
  30149. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_11 = ___input0;
  30150. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  30151. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_12;
  30152. L_12 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_11, /*hidden argument*/NULL);
  30153. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_13 = __this->get_mDHParameters_6();
  30154. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_14 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
  30155. DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_14, L_12, L_13, /*hidden argument*/NULL);
  30156. __this->set_mDHAgreePublicKey_13(L_14);
  30157. // }
  30158. return;
  30159. }
  30160. IL_005c:
  30161. {
  30162. // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
  30163. int32_t L_15 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30164. if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)24)))))
  30165. {
  30166. goto IL_0092;
  30167. }
  30168. }
  30169. {
  30170. // byte[] point = TlsUtilities.ReadOpaque8(input);
  30171. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___input0;
  30172. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30173. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
  30174. L_17 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_16, /*hidden argument*/NULL);
  30175. V_1 = L_17;
  30176. // ECDomainParameters curve_params = this.mECAgreePrivateKey.Parameters;
  30177. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_18 = __this->get_mECAgreePrivateKey_14();
  30178. NullCheck(L_18);
  30179. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_19;
  30180. L_19 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_18, /*hidden argument*/NULL);
  30181. V_2 = L_19;
  30182. // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
  30183. // mServerECPointFormats, curve_params, point));
  30184. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = __this->get_mServerECPointFormats_9();
  30185. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_21 = V_2;
  30186. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = V_1;
  30187. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  30188. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_23;
  30189. L_23 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_20, L_21, L_22, /*hidden argument*/NULL);
  30190. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_24;
  30191. L_24 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_23, /*hidden argument*/NULL);
  30192. __this->set_mECAgreePublicKey_15(L_24);
  30193. // }
  30194. return;
  30195. }
  30196. IL_0092:
  30197. {
  30198. // else if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
  30199. int32_t L_25 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30200. if ((!(((uint32_t)L_25) == ((uint32_t)((int32_t)15)))))
  30201. {
  30202. goto IL_00cb;
  30203. }
  30204. }
  30205. {
  30206. // if (TlsUtilities.IsSsl(mContext))
  30207. RuntimeObject* L_26 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30208. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30209. bool L_27;
  30210. L_27 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_26, /*hidden argument*/NULL);
  30211. if (!L_27)
  30212. {
  30213. goto IL_00b2;
  30214. }
  30215. }
  30216. {
  30217. // encryptedPreMasterSecret = Streams.ReadAll(input);
  30218. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_28 = ___input0;
  30219. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
  30220. L_29 = Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C(L_28, /*hidden argument*/NULL);
  30221. V_3 = L_29;
  30222. // }
  30223. goto IL_00b9;
  30224. }
  30225. IL_00b2:
  30226. {
  30227. // encryptedPreMasterSecret = TlsUtilities.ReadOpaque16(input);
  30228. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_30 = ___input0;
  30229. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30230. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
  30231. L_31 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_30, /*hidden argument*/NULL);
  30232. V_3 = L_31;
  30233. }
  30234. IL_00b9:
  30235. {
  30236. // this.mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret);
  30237. RuntimeObject* L_32 = __this->get_mServerCredentials_18();
  30238. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = V_3;
  30239. NullCheck(L_32);
  30240. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34;
  30241. L_34 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials::DecryptPreMasterSecret(System.Byte[]) */, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var, L_32, L_33);
  30242. __this->set_mPremasterSecret_19(L_34);
  30243. }
  30244. IL_00cb:
  30245. {
  30246. // }
  30247. return;
  30248. }
  30249. }
  30250. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GeneratePremasterSecret()
  30251. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GeneratePremasterSecret_m94182D722AD451930CC47868CB14364EA27BFE16 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
  30252. {
  30253. static bool s_Il2CppMethodInitialized;
  30254. if (!s_Il2CppMethodInitialized)
  30255. {
  30256. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  30257. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  30258. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30259. s_Il2CppMethodInitialized = true;
  30260. }
  30261. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  30262. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_1 = NULL;
  30263. {
  30264. // byte[] other_secret = GenerateOtherSecret(mPsk.Length);
  30265. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPsk_11();
  30266. NullCheck(L_0);
  30267. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  30268. L_1 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t >::Invoke(35 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateOtherSecret(System.Int32) */, __this, ((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
  30269. V_0 = L_1;
  30270. // MemoryStream buf = new MemoryStream(4 + other_secret.Length + mPsk.Length);
  30271. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  30272. NullCheck(L_2);
  30273. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mPsk_11();
  30274. NullCheck(L_3);
  30275. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  30276. MemoryStream__ctor_mCB4274FF375AD786CCED424E80B047E0DEC50938(L_4, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))))), (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))), /*hidden argument*/NULL);
  30277. V_1 = L_4;
  30278. // TlsUtilities.WriteOpaque16(other_secret, buf);
  30279. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
  30280. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = V_1;
  30281. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30282. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_5, L_6, /*hidden argument*/NULL);
  30283. // TlsUtilities.WriteOpaque16(mPsk, buf);
  30284. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = __this->get_mPsk_11();
  30285. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_1;
  30286. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_7, L_8, /*hidden argument*/NULL);
  30287. // Arrays.Fill(mPsk, (byte)0);
  30288. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = __this->get_mPsk_11();
  30289. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  30290. Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_9, (uint8_t)0, /*hidden argument*/NULL);
  30291. // this.mPsk = null;
  30292. __this->set_mPsk_11((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
  30293. // return buf.ToArray();
  30294. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_1;
  30295. NullCheck(L_10);
  30296. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
  30297. L_11 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_10);
  30298. return L_11;
  30299. }
  30300. }
  30301. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateOtherSecret(System.Int32)
  30302. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, int32_t ___pskLength0, const RuntimeMethod* method)
  30303. {
  30304. static bool s_Il2CppMethodInitialized;
  30305. if (!s_Il2CppMethodInitialized)
  30306. {
  30307. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  30308. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  30309. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  30310. s_Il2CppMethodInitialized = true;
  30311. }
  30312. {
  30313. // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
  30314. int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30315. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)14)))))
  30316. {
  30317. goto IL_002c;
  30318. }
  30319. }
  30320. {
  30321. // if (mDHAgreePrivateKey != null)
  30322. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_1 = __this->get_mDHAgreePrivateKey_12();
  30323. if (!L_1)
  30324. {
  30325. goto IL_0024;
  30326. }
  30327. }
  30328. {
  30329. // return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey);
  30330. DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_2 = __this->get_mDHAgreePublicKey_13();
  30331. DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_3 = __this->get_mDHAgreePrivateKey_12();
  30332. IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
  30333. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  30334. L_4 = TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770(L_2, L_3, /*hidden argument*/NULL);
  30335. return L_4;
  30336. }
  30337. IL_0024:
  30338. {
  30339. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30340. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30341. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30342. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var)));
  30343. }
  30344. IL_002c:
  30345. {
  30346. // if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
  30347. int32_t L_6 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30348. if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)24)))))
  30349. {
  30350. goto IL_0058;
  30351. }
  30352. }
  30353. {
  30354. // if (mECAgreePrivateKey != null)
  30355. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7 = __this->get_mECAgreePrivateKey_14();
  30356. if (!L_7)
  30357. {
  30358. goto IL_0050;
  30359. }
  30360. }
  30361. {
  30362. // return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey);
  30363. ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_8 = __this->get_mECAgreePublicKey_15();
  30364. ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_9 = __this->get_mECAgreePrivateKey_14();
  30365. IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
  30366. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
  30367. L_10 = TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5(L_8, L_9, /*hidden argument*/NULL);
  30368. return L_10;
  30369. }
  30370. IL_0050:
  30371. {
  30372. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30373. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30374. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30375. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var)));
  30376. }
  30377. IL_0058:
  30378. {
  30379. // if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
  30380. int32_t L_12 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
  30381. if ((!(((uint32_t)L_12) == ((uint32_t)((int32_t)15)))))
  30382. {
  30383. goto IL_0069;
  30384. }
  30385. }
  30386. {
  30387. // return this.mPremasterSecret;
  30388. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = __this->get_mPremasterSecret_19();
  30389. return L_13;
  30390. }
  30391. IL_0069:
  30392. {
  30393. // return new byte[pskLength];
  30394. int32_t L_14 = ___pskLength0;
  30395. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_14);
  30396. return L_15;
  30397. }
  30398. }
  30399. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters)
  30400. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key0, const RuntimeMethod* method)
  30401. {
  30402. {
  30403. // if (!key.Exponent.IsProbablePrime(2))
  30404. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_0 = ___key0;
  30405. NullCheck(L_0);
  30406. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  30407. L_1 = RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline(L_0, /*hidden argument*/NULL);
  30408. NullCheck(L_1);
  30409. bool L_2;
  30410. L_2 = BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD(L_1, 2, /*hidden argument*/NULL);
  30411. if (L_2)
  30412. {
  30413. goto IL_0016;
  30414. }
  30415. }
  30416. {
  30417. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  30418. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30419. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  30420. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3_RuntimeMethod_var)));
  30421. }
  30422. IL_0016:
  30423. {
  30424. // return key;
  30425. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_4 = ___key0;
  30426. return L_4;
  30427. }
  30428. }
  30429. #ifdef __clang__
  30430. #pragma clang diagnostic pop
  30431. #endif
  30432. #ifdef __clang__
  30433. #pragma clang diagnostic push
  30434. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  30435. #pragma clang diagnostic ignored "-Wunused-variable"
  30436. #endif
  30437. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::.ctor(System.Collections.IList)
  30438. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange__ctor_m5A0A860B08E1E99A7317323B4C5DB76D1C850D97 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___supportedSignatureAlgorithms0, const RuntimeMethod* method)
  30439. {
  30440. {
  30441. // : base(KeyExchangeAlgorithm.RSA, supportedSignatureAlgorithms)
  30442. RuntimeObject* L_0 = ___supportedSignatureAlgorithms0;
  30443. AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, 1, L_0, /*hidden argument*/NULL);
  30444. // }
  30445. return;
  30446. }
  30447. }
  30448. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::SkipServerCredentials()
  30449. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, const RuntimeMethod* method)
  30450. {
  30451. {
  30452. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  30453. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30454. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  30455. IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310_RuntimeMethod_var)));
  30456. }
  30457. }
  30458. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  30459. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
  30460. {
  30461. static bool s_Il2CppMethodInitialized;
  30462. if (!s_Il2CppMethodInitialized)
  30463. {
  30464. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  30465. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
  30466. s_Il2CppMethodInitialized = true;
  30467. }
  30468. {
  30469. // if (!(serverCredentials is TlsEncryptionCredentials))
  30470. RuntimeObject* L_0 = ___serverCredentials0;
  30471. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)))
  30472. {
  30473. goto IL_0010;
  30474. }
  30475. }
  30476. {
  30477. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30478. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30479. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30480. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72_RuntimeMethod_var)));
  30481. }
  30482. IL_0010:
  30483. {
  30484. // ProcessServerCertificate(serverCredentials.Certificate);
  30485. RuntimeObject* L_2 = ___serverCredentials0;
  30486. NullCheck(L_2);
  30487. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
  30488. L_3 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_2);
  30489. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_3);
  30490. // this.mServerCredentials = (TlsEncryptionCredentials)serverCredentials;
  30491. RuntimeObject* L_4 = ___serverCredentials0;
  30492. __this->set_mServerCredentials_5(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)));
  30493. // }
  30494. return;
  30495. }
  30496. }
  30497. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  30498. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
  30499. {
  30500. static bool s_Il2CppMethodInitialized;
  30501. if (!s_Il2CppMethodInitialized)
  30502. {
  30503. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
  30504. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30505. s_Il2CppMethodInitialized = true;
  30506. }
  30507. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
  30508. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
  30509. Exception_t * V_2 = NULL;
  30510. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  30511. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  30512. {
  30513. // if (serverCertificate.IsEmpty)
  30514. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_0 = ___serverCertificate0;
  30515. NullCheck(L_0);
  30516. bool L_1;
  30517. L_1 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_0);
  30518. if (!L_1)
  30519. {
  30520. goto IL_0010;
  30521. }
  30522. }
  30523. {
  30524. // throw new TlsFatalAlert(AlertDescription.bad_certificate);
  30525. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30526. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
  30527. IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
  30528. }
  30529. IL_0010:
  30530. {
  30531. // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
  30532. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3 = ___serverCertificate0;
  30533. NullCheck(L_3);
  30534. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_4;
  30535. L_4 = VirtualFuncInvoker1< X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 *, int32_t >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::GetCertificateAt(System.Int32) */, L_3, 0);
  30536. V_0 = L_4;
  30537. // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
  30538. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_5 = V_0;
  30539. NullCheck(L_5);
  30540. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_6;
  30541. L_6 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_5, /*hidden argument*/NULL);
  30542. V_1 = L_6;
  30543. }
  30544. IL_001f:
  30545. try
  30546. {// begin try (depth: 1)
  30547. // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
  30548. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_7 = V_1;
  30549. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_8;
  30550. L_8 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_7, /*hidden argument*/NULL);
  30551. __this->set_mServerPublicKey_3(L_8);
  30552. // }
  30553. goto IL_0037;
  30554. }// end try (depth: 1)
  30555. catch(Il2CppExceptionWrapper& e)
  30556. {
  30557. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  30558. {
  30559. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  30560. goto CATCH_002d;
  30561. }
  30562. throw e;
  30563. }
  30564. CATCH_002d:
  30565. {// begin catch(System.Exception)
  30566. // catch (Exception e)
  30567. V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  30568. // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
  30569. Exception_t * L_9 = V_2;
  30570. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30571. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_10, (uint8_t)((int32_t)43), L_9, /*hidden argument*/NULL);
  30572. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
  30573. }// end catch (depth: 1)
  30574. IL_0037:
  30575. {
  30576. // if (this.mServerPublicKey.IsPrivate)
  30577. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_11 = __this->get_mServerPublicKey_3();
  30578. NullCheck(L_11);
  30579. bool L_12;
  30580. L_12 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_11, /*hidden argument*/NULL);
  30581. if (!L_12)
  30582. {
  30583. goto IL_004c;
  30584. }
  30585. }
  30586. {
  30587. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30588. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_13 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30589. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_13, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30590. IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
  30591. }
  30592. IL_004c:
  30593. {
  30594. // this.mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)this.mServerPublicKey);
  30595. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_3();
  30596. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_15;
  30597. L_15 = VirtualFuncInvoker1< RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * >::Invoke(35 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters) */, __this, ((RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *)CastclassClass((RuntimeObject*)L_14, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var)));
  30598. __this->set_mRsaServerPublicKey_4(L_15);
  30599. // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyEncipherment);
  30600. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_16 = V_0;
  30601. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30602. TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_16, ((int32_t)32), /*hidden argument*/NULL);
  30603. // base.ProcessServerCertificate(serverCertificate);
  30604. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_17 = ___serverCertificate0;
  30605. AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_17, /*hidden argument*/NULL);
  30606. // }
  30607. return;
  30608. }
  30609. }
  30610. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  30611. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  30612. {
  30613. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  30614. int32_t V_1 = 0;
  30615. uint8_t V_2 = 0x0;
  30616. {
  30617. // byte[] types = certificateRequest.CertificateTypes;
  30618. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = ___certificateRequest0;
  30619. NullCheck(L_0);
  30620. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  30621. L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_0);
  30622. V_0 = L_1;
  30623. // for (int i = 0; i < types.Length; ++i)
  30624. V_1 = 0;
  30625. goto IL_0026;
  30626. }
  30627. IL_000b:
  30628. {
  30629. // switch (types[i])
  30630. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  30631. int32_t L_3 = V_1;
  30632. NullCheck(L_2);
  30633. int32_t L_4 = L_3;
  30634. uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
  30635. V_2 = L_5;
  30636. uint8_t L_6 = V_2;
  30637. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1))) > ((uint32_t)1))))
  30638. {
  30639. goto IL_0022;
  30640. }
  30641. }
  30642. {
  30643. uint8_t L_7 = V_2;
  30644. if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
  30645. {
  30646. goto IL_0022;
  30647. }
  30648. }
  30649. {
  30650. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  30651. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30652. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  30653. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E_RuntimeMethod_var)));
  30654. }
  30655. IL_0022:
  30656. {
  30657. // for (int i = 0; i < types.Length; ++i)
  30658. int32_t L_9 = V_1;
  30659. V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
  30660. }
  30661. IL_0026:
  30662. {
  30663. // for (int i = 0; i < types.Length; ++i)
  30664. int32_t L_10 = V_1;
  30665. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_0;
  30666. NullCheck(L_11);
  30667. if ((((int32_t)L_10) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))))
  30668. {
  30669. goto IL_000b;
  30670. }
  30671. }
  30672. {
  30673. // }
  30674. return;
  30675. }
  30676. }
  30677. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
  30678. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
  30679. {
  30680. static bool s_Il2CppMethodInitialized;
  30681. if (!s_Il2CppMethodInitialized)
  30682. {
  30683. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
  30684. s_Il2CppMethodInitialized = true;
  30685. }
  30686. {
  30687. // if (!(clientCredentials is TlsSignerCredentials))
  30688. RuntimeObject* L_0 = ___clientCredentials0;
  30689. if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
  30690. {
  30691. goto IL_0010;
  30692. }
  30693. }
  30694. {
  30695. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30696. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30697. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30698. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862_RuntimeMethod_var)));
  30699. }
  30700. IL_0010:
  30701. {
  30702. // }
  30703. return;
  30704. }
  30705. }
  30706. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
  30707. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_GenerateClientKeyExchange_mE879B32DB5E34C4492F8BD78BC262CC9AEFDC2ED (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
  30708. {
  30709. {
  30710. // this.mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext, mRsaServerPublicKey, output);
  30711. RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30712. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_1 = __this->get_mRsaServerPublicKey_4();
  30713. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output0;
  30714. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  30715. L_3 = TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD(L_0, L_1, L_2, /*hidden argument*/NULL);
  30716. __this->set_mPremasterSecret_6(L_3);
  30717. // }
  30718. return;
  30719. }
  30720. }
  30721. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
  30722. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessClientKeyExchange_m1787E4E3FD288C7B347858FB6C1FEC384B7E6489 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
  30723. {
  30724. static bool s_Il2CppMethodInitialized;
  30725. if (!s_Il2CppMethodInitialized)
  30726. {
  30727. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
  30728. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30729. s_Il2CppMethodInitialized = true;
  30730. }
  30731. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  30732. {
  30733. // if (TlsUtilities.IsSsl(mContext))
  30734. RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
  30735. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30736. bool L_1;
  30737. L_1 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_0, /*hidden argument*/NULL);
  30738. if (!L_1)
  30739. {
  30740. goto IL_0016;
  30741. }
  30742. }
  30743. {
  30744. // encryptedPreMasterSecret = Streams.ReadAll(input);
  30745. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___input0;
  30746. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
  30747. L_3 = Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C(L_2, /*hidden argument*/NULL);
  30748. V_0 = L_3;
  30749. // }
  30750. goto IL_001d;
  30751. }
  30752. IL_0016:
  30753. {
  30754. // encryptedPreMasterSecret = TlsUtilities.ReadOpaque16(input);
  30755. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
  30756. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30757. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
  30758. L_5 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_4, /*hidden argument*/NULL);
  30759. V_0 = L_5;
  30760. }
  30761. IL_001d:
  30762. {
  30763. // this.mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret);
  30764. RuntimeObject* L_6 = __this->get_mServerCredentials_5();
  30765. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
  30766. NullCheck(L_6);
  30767. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
  30768. L_8 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials::DecryptPreMasterSecret(System.Byte[]) */, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var, L_6, L_7);
  30769. __this->set_mPremasterSecret_6(L_8);
  30770. // }
  30771. return;
  30772. }
  30773. }
  30774. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::GeneratePremasterSecret()
  30775. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, const RuntimeMethod* method)
  30776. {
  30777. {
  30778. // if (this.mPremasterSecret == null)
  30779. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPremasterSecret_6();
  30780. if (L_0)
  30781. {
  30782. goto IL_0010;
  30783. }
  30784. }
  30785. {
  30786. // throw new TlsFatalAlert(AlertDescription.internal_error);
  30787. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30788. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  30789. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420_RuntimeMethod_var)));
  30790. }
  30791. IL_0010:
  30792. {
  30793. // byte[] tmp = this.mPremasterSecret;
  30794. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mPremasterSecret_6();
  30795. // this.mPremasterSecret = null;
  30796. __this->set_mPremasterSecret_6((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
  30797. // return tmp;
  30798. return L_2;
  30799. }
  30800. }
  30801. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters)
  30802. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key0, const RuntimeMethod* method)
  30803. {
  30804. {
  30805. // if (!key.Exponent.IsProbablePrime(2))
  30806. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_0 = ___key0;
  30807. NullCheck(L_0);
  30808. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
  30809. L_1 = RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline(L_0, /*hidden argument*/NULL);
  30810. NullCheck(L_1);
  30811. bool L_2;
  30812. L_2 = BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD(L_1, 2, /*hidden argument*/NULL);
  30813. if (L_2)
  30814. {
  30815. goto IL_0016;
  30816. }
  30817. }
  30818. {
  30819. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  30820. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  30821. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  30822. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D_RuntimeMethod_var)));
  30823. }
  30824. IL_0016:
  30825. {
  30826. // return key;
  30827. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_4 = ___key0;
  30828. return L_4;
  30829. }
  30830. }
  30831. #ifdef __clang__
  30832. #pragma clang diagnostic pop
  30833. #endif
  30834. #ifdef __clang__
  30835. #pragma clang diagnostic push
  30836. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  30837. #pragma clang diagnostic ignored "-Wunused-variable"
  30838. #endif
  30839. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::GenerateRawSignature(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])
  30840. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaSigner_GenerateRawSignature_m406E7A2FB286A97A7F36D5373C989D22A3FEE26E (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___hash2, const RuntimeMethod* method)
  30841. {
  30842. static bool s_Il2CppMethodInitialized;
  30843. if (!s_Il2CppMethodInitialized)
  30844. {
  30845. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  30846. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  30847. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  30848. s_Il2CppMethodInitialized = true;
  30849. }
  30850. {
  30851. // ISigner signer = MakeSigner(algorithm, true, true,
  30852. // new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
  30853. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  30854. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
  30855. RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
  30856. NullCheck(L_2);
  30857. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
  30858. L_3 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  30859. ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  30860. ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
  30861. RuntimeObject* L_5;
  30862. L_5 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)1, (bool)1, L_4);
  30863. // signer.BlockUpdate(hash, 0, hash.Length);
  30864. RuntimeObject* L_6 = L_5;
  30865. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___hash2;
  30866. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash2;
  30867. NullCheck(L_8);
  30868. NullCheck(L_6);
  30869. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_6, L_7, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length))));
  30870. // return signer.GenerateSignature();
  30871. NullCheck(L_6);
  30872. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
  30873. L_9 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::GenerateSignature() */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_6);
  30874. return L_9;
  30875. }
  30876. }
  30877. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::VerifyRawSignature(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[])
  30878. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsRsaSigner_VerifyRawSignature_m2B743E4C006B2659B89F8AA5FA64D5F05A8EE614 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sigBytes1, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey2, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___hash3, const RuntimeMethod* method)
  30879. {
  30880. static bool s_Il2CppMethodInitialized;
  30881. if (!s_Il2CppMethodInitialized)
  30882. {
  30883. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  30884. s_Il2CppMethodInitialized = true;
  30885. }
  30886. {
  30887. // ISigner signer = MakeSigner(algorithm, true, false, publicKey);
  30888. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  30889. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey2;
  30890. RuntimeObject* L_2;
  30891. L_2 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)1, (bool)0, L_1);
  30892. // signer.BlockUpdate(hash, 0, hash.Length);
  30893. RuntimeObject* L_3 = L_2;
  30894. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___hash3;
  30895. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___hash3;
  30896. NullCheck(L_5);
  30897. NullCheck(L_3);
  30898. InterfaceActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::BlockUpdate(System.Byte[],System.Int32,System.Int32) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_3, L_4, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length))));
  30899. // return signer.VerifySignature(sigBytes);
  30900. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___sigBytes1;
  30901. NullCheck(L_3);
  30902. bool L_7;
  30903. L_7 = InterfaceFuncInvoker1< bool, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::VerifySignature(System.Byte[]) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_3, L_6);
  30904. return L_7;
  30905. }
  30906. }
  30907. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  30908. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateSigner_m81FC95F1C66A621CB5B04AA8A5BA285EA4B53AA8 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, const RuntimeMethod* method)
  30909. {
  30910. static bool s_Il2CppMethodInitialized;
  30911. if (!s_Il2CppMethodInitialized)
  30912. {
  30913. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  30914. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  30915. s_Il2CppMethodInitialized = true;
  30916. }
  30917. {
  30918. // return MakeSigner(algorithm, false, true, new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
  30919. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  30920. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
  30921. RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
  30922. NullCheck(L_2);
  30923. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
  30924. L_3 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_2);
  30925. ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  30926. ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
  30927. RuntimeObject* L_5;
  30928. L_5 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)0, (bool)1, L_4);
  30929. return L_5;
  30930. }
  30931. }
  30932. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateVerifyer(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  30933. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateVerifyer_mBDC278CF4C41341B9036207F4C363F629218DA66 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey1, const RuntimeMethod* method)
  30934. {
  30935. {
  30936. // return MakeSigner(algorithm, false, false, publicKey);
  30937. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  30938. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey1;
  30939. RuntimeObject* L_2;
  30940. L_2 = VirtualFuncInvoker4< RuntimeObject*, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, bool, bool, RuntimeObject* >::Invoke(24 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, __this, L_0, (bool)0, (bool)0, L_1);
  30941. return L_2;
  30942. }
  30943. }
  30944. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
  30945. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsRsaSigner_IsValidPublicKey_m299A4EB2E603CCF53273424248C72B73F9D8E303 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
  30946. {
  30947. static bool s_Il2CppMethodInitialized;
  30948. if (!s_Il2CppMethodInitialized)
  30949. {
  30950. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
  30951. s_Il2CppMethodInitialized = true;
  30952. }
  30953. {
  30954. // return publicKey is RsaKeyParameters && !publicKey.IsPrivate;
  30955. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
  30956. if (!((RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *)IsInstClass((RuntimeObject*)L_0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var)))
  30957. {
  30958. goto IL_0012;
  30959. }
  30960. }
  30961. {
  30962. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey0;
  30963. NullCheck(L_1);
  30964. bool L_2;
  30965. L_2 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_1, /*hidden argument*/NULL);
  30966. return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
  30967. }
  30968. IL_0012:
  30969. {
  30970. return (bool)0;
  30971. }
  30972. }
  30973. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
  30974. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, bool ___raw1, bool ___forSigning2, RuntimeObject* ___cp3, const RuntimeMethod* method)
  30975. {
  30976. static bool s_Il2CppMethodInitialized;
  30977. if (!s_Il2CppMethodInitialized)
  30978. {
  30979. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var);
  30980. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var);
  30981. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
  30982. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
  30983. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var);
  30984. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30985. s_Il2CppMethodInitialized = true;
  30986. }
  30987. RuntimeObject* V_0 = NULL;
  30988. RuntimeObject* V_1 = NULL;
  30989. {
  30990. // if ((algorithm != null) != TlsUtilities.IsTlsV12(mContext))
  30991. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
  30992. RuntimeObject* L_1 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
  30993. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  30994. bool L_2;
  30995. L_2 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_1, /*hidden argument*/NULL);
  30996. if ((((int32_t)((!(((RuntimeObject*)(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)) == ((int32_t)L_2)))
  30997. {
  30998. goto IL_0017;
  30999. }
  31000. }
  31001. {
  31002. // throw new InvalidOperationException();
  31003. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  31004. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_3, /*hidden argument*/NULL);
  31005. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var)));
  31006. }
  31007. IL_0017:
  31008. {
  31009. // if (algorithm != null && algorithm.Signature != SignatureAlgorithm.rsa)
  31010. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_4 = ___algorithm0;
  31011. if (!L_4)
  31012. {
  31013. goto IL_0029;
  31014. }
  31015. }
  31016. {
  31017. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_5 = ___algorithm0;
  31018. NullCheck(L_5);
  31019. uint8_t L_6;
  31020. L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(5 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Signature() */, L_5);
  31021. if ((((int32_t)L_6) == ((int32_t)1)))
  31022. {
  31023. goto IL_0029;
  31024. }
  31025. }
  31026. {
  31027. // throw new InvalidOperationException();
  31028. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_7 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  31029. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_7, /*hidden argument*/NULL);
  31030. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var)));
  31031. }
  31032. IL_0029:
  31033. {
  31034. // if (raw)
  31035. bool L_8 = ___raw1;
  31036. if (!L_8)
  31037. {
  31038. goto IL_0034;
  31039. }
  31040. }
  31041. {
  31042. // d = new NullDigest();
  31043. NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * L_9 = (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 *)il2cpp_codegen_object_new(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
  31044. NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB(L_9, /*hidden argument*/NULL);
  31045. V_0 = L_9;
  31046. // }
  31047. goto IL_004b;
  31048. }
  31049. IL_0034:
  31050. {
  31051. // else if (algorithm == null)
  31052. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = ___algorithm0;
  31053. if (L_10)
  31054. {
  31055. goto IL_003f;
  31056. }
  31057. }
  31058. {
  31059. // d = new CombinedHash();
  31060. CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 * L_11 = (CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 *)il2cpp_codegen_object_new(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var);
  31061. CombinedHash__ctor_mAF1B1EC0CA417999390BD6FC66BC734372E19D4D(L_11, /*hidden argument*/NULL);
  31062. V_0 = L_11;
  31063. // }
  31064. goto IL_004b;
  31065. }
  31066. IL_003f:
  31067. {
  31068. // d = TlsUtilities.CreateHash(algorithm.Hash);
  31069. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_12 = ___algorithm0;
  31070. NullCheck(L_12);
  31071. uint8_t L_13;
  31072. L_13 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_12);
  31073. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31074. RuntimeObject* L_14;
  31075. L_14 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_13, /*hidden argument*/NULL);
  31076. V_0 = L_14;
  31077. }
  31078. IL_004b:
  31079. {
  31080. // if (algorithm != null)
  31081. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_15 = ___algorithm0;
  31082. if (!L_15)
  31083. {
  31084. goto IL_0062;
  31085. }
  31086. }
  31087. {
  31088. // s = new RsaDigestSigner(d, TlsUtilities.GetOidForHashAlgorithm(algorithm.Hash));
  31089. RuntimeObject* L_16 = V_0;
  31090. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_17 = ___algorithm0;
  31091. NullCheck(L_17);
  31092. uint8_t L_18;
  31093. L_18 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_17);
  31094. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31095. DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * L_19;
  31096. L_19 = TlsUtilities_GetOidForHashAlgorithm_mAED1F6BCB8CBF66A70EC441040D91A6C02DC17E7(L_18, /*hidden argument*/NULL);
  31097. RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC * L_20 = (RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC *)il2cpp_codegen_object_new(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var);
  31098. RsaDigestSigner__ctor_mD472AA69794114573ABDDF074D02205F4E89A5B6(L_20, L_16, L_19, /*hidden argument*/NULL);
  31099. V_1 = L_20;
  31100. // }
  31101. goto IL_006f;
  31102. }
  31103. IL_0062:
  31104. {
  31105. // s = new GenericSigner(CreateRsaImpl(), d);
  31106. RuntimeObject* L_21;
  31107. L_21 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateRsaImpl() */, __this);
  31108. RuntimeObject* L_22 = V_0;
  31109. GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E * L_23 = (GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E *)il2cpp_codegen_object_new(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var);
  31110. GenericSigner__ctor_mBA7C6A7161C93D290DF85B252DB80D515C4441E9(L_23, L_21, L_22, /*hidden argument*/NULL);
  31111. V_1 = L_23;
  31112. }
  31113. IL_006f:
  31114. {
  31115. // s.Init(forSigning, cp);
  31116. RuntimeObject* L_24 = V_1;
  31117. bool L_25 = ___forSigning2;
  31118. RuntimeObject* L_26 = ___cp3;
  31119. NullCheck(L_24);
  31120. InterfaceActionInvoker2< bool, RuntimeObject* >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_24, L_25, L_26);
  31121. // return s;
  31122. RuntimeObject* L_27 = V_1;
  31123. return L_27;
  31124. }
  31125. }
  31126. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateRsaImpl()
  31127. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateRsaImpl_m182C61CFED55FF7442B5A1C54FAFF10EAE2F6B7F (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method)
  31128. {
  31129. static bool s_Il2CppMethodInitialized;
  31130. if (!s_Il2CppMethodInitialized)
  31131. {
  31132. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31133. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31134. s_Il2CppMethodInitialized = true;
  31135. }
  31136. {
  31137. // return new Pkcs1Encoding(new RsaBlindedEngine());
  31138. RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_0 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31139. RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_0, /*hidden argument*/NULL);
  31140. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_1 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31141. Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7(L_1, L_0, /*hidden argument*/NULL);
  31142. return L_1;
  31143. }
  31144. }
  31145. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::.ctor()
  31146. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method)
  31147. {
  31148. {
  31149. AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121(__this, /*hidden argument*/NULL);
  31150. return;
  31151. }
  31152. }
  31153. #ifdef __clang__
  31154. #pragma clang diagnostic pop
  31155. #endif
  31156. #ifdef __clang__
  31157. #pragma clang diagnostic push
  31158. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  31159. #pragma clang diagnostic ignored "-Wunused-variable"
  31160. #endif
  31161. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities::GenerateEncryptedPreMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters,System.IO.Stream)
  31162. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPublicKey1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
  31163. {
  31164. static bool s_Il2CppMethodInitialized;
  31165. if (!s_Il2CppMethodInitialized)
  31166. {
  31167. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  31168. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  31169. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31170. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31171. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  31172. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31173. s_Il2CppMethodInitialized = true;
  31174. }
  31175. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  31176. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * V_1 = NULL;
  31177. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  31178. InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D * V_3 = NULL;
  31179. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  31180. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  31181. {
  31182. // byte[] premasterSecret = new byte[48];
  31183. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
  31184. V_0 = L_0;
  31185. // context.SecureRandom.NextBytes(premasterSecret);
  31186. RuntimeObject* L_1 = ___context0;
  31187. NullCheck(L_1);
  31188. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
  31189. L_2 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_1);
  31190. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  31191. NullCheck(L_2);
  31192. VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Void System.Random::NextBytes(System.Byte[]) */, L_2, L_3);
  31193. // TlsUtilities.WriteVersion(context.ClientVersion, premasterSecret, 0);
  31194. RuntimeObject* L_4 = ___context0;
  31195. NullCheck(L_4);
  31196. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
  31197. L_5 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ClientVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_4);
  31198. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
  31199. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31200. TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_5, L_6, 0, /*hidden argument*/NULL);
  31201. // Pkcs1Encoding encoding = new Pkcs1Encoding(new RsaBlindedEngine());
  31202. RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_7 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31203. RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_7, /*hidden argument*/NULL);
  31204. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_8 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31205. Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7(L_8, L_7, /*hidden argument*/NULL);
  31206. V_1 = L_8;
  31207. // encoding.Init(true, new ParametersWithRandom(rsaServerPublicKey, context.SecureRandom));
  31208. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_9 = V_1;
  31209. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_10 = ___rsaServerPublicKey1;
  31210. RuntimeObject* L_11 = ___context0;
  31211. NullCheck(L_11);
  31212. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_12;
  31213. L_12 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_11);
  31214. ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_13 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  31215. ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_13, L_10, L_12, /*hidden argument*/NULL);
  31216. NullCheck(L_9);
  31217. Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3(L_9, (bool)1, L_13, /*hidden argument*/NULL);
  31218. }
  31219. IL_003f:
  31220. try
  31221. {// begin try (depth: 1)
  31222. {
  31223. // byte[] encryptedPreMasterSecret = encoding.ProcessBlock(premasterSecret, 0, premasterSecret.Length);
  31224. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_14 = V_1;
  31225. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
  31226. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_0;
  31227. NullCheck(L_16);
  31228. NullCheck(L_14);
  31229. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
  31230. L_17 = Pkcs1Encoding_ProcessBlock_m3F83A5D5E8BB728A0F13518784DA63EB32E85843(L_14, L_15, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length))), /*hidden argument*/NULL);
  31231. V_2 = L_17;
  31232. // if (TlsUtilities.IsSsl(context))
  31233. RuntimeObject* L_18 = ___context0;
  31234. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31235. bool L_19;
  31236. L_19 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_18, /*hidden argument*/NULL);
  31237. if (!L_19)
  31238. {
  31239. goto IL_0060;
  31240. }
  31241. }
  31242. IL_0053:
  31243. {
  31244. // output.Write(encryptedPreMasterSecret, 0, encryptedPreMasterSecret.Length);
  31245. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_20 = ___output2;
  31246. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_2;
  31247. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = V_2;
  31248. NullCheck(L_22);
  31249. NullCheck(L_20);
  31250. VirtualActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(32 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_20, L_21, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length))));
  31251. // }
  31252. goto IL_0067;
  31253. }
  31254. IL_0060:
  31255. {
  31256. // TlsUtilities.WriteOpaque16(encryptedPreMasterSecret, output);
  31257. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_2;
  31258. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_24 = ___output2;
  31259. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31260. TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_23, L_24, /*hidden argument*/NULL);
  31261. }
  31262. IL_0067:
  31263. {
  31264. // }
  31265. goto IL_0073;
  31266. }
  31267. }// end try (depth: 1)
  31268. catch(Il2CppExceptionWrapper& e)
  31269. {
  31270. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  31271. {
  31272. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  31273. goto CATCH_0069;
  31274. }
  31275. throw e;
  31276. }
  31277. CATCH_0069:
  31278. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.InvalidCipherTextException)
  31279. // catch (InvalidCipherTextException e)
  31280. V_3 = ((InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D *));
  31281. // throw new TlsFatalAlert(AlertDescription.internal_error, e);
  31282. InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D * L_25 = V_3;
  31283. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  31284. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_26, (uint8_t)((int32_t)80), L_25, /*hidden argument*/NULL);
  31285. IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD_RuntimeMethod_var)));
  31286. }// end catch (depth: 1)
  31287. IL_0073:
  31288. {
  31289. // return premasterSecret;
  31290. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = V_0;
  31291. return L_27;
  31292. }
  31293. }
  31294. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities::SafeDecryptPreMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters,System.Byte[])
  31295. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_SafeDecryptPreMasterSecret_mA229110738A474EB3D8478973D585FF1311D9145 (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPrivateKey1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encryptedPreMasterSecret2, const RuntimeMethod* method)
  31296. {
  31297. static bool s_Il2CppMethodInitialized;
  31298. if (!s_Il2CppMethodInitialized)
  31299. {
  31300. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  31301. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  31302. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  31303. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var);
  31305. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31306. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  31307. s_Il2CppMethodInitialized = true;
  31308. }
  31309. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
  31310. bool V_1 = false;
  31311. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  31312. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  31313. int32_t V_4 = 0;
  31314. int32_t V_5 = 0;
  31315. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  31316. il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
  31317. {
  31318. // ProtocolVersion clientVersion = context.ClientVersion;
  31319. RuntimeObject* L_0 = ___context0;
  31320. NullCheck(L_0);
  31321. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
  31322. L_1 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ClientVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
  31323. V_0 = L_1;
  31324. // bool versionNumberCheckDisabled = false;
  31325. V_1 = (bool)0;
  31326. // byte[] fallback = new byte[48];
  31327. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
  31328. V_2 = L_2;
  31329. // context.SecureRandom.NextBytes(fallback);
  31330. RuntimeObject* L_3 = ___context0;
  31331. NullCheck(L_3);
  31332. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_4;
  31333. L_4 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_3);
  31334. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_2;
  31335. NullCheck(L_4);
  31336. VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Void System.Random::NextBytes(System.Byte[]) */, L_4, L_5);
  31337. // byte[] M = Arrays.Clone(fallback);
  31338. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_2;
  31339. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  31340. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  31341. L_7 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_6, /*hidden argument*/NULL);
  31342. V_3 = L_7;
  31343. }
  31344. IL_0024:
  31345. try
  31346. {// begin try (depth: 1)
  31347. // Pkcs1Encoding encoding = new Pkcs1Encoding(new RsaBlindedEngine(), fallback);
  31348. RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_8 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
  31349. RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_8, /*hidden argument*/NULL);
  31350. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_2;
  31351. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_10 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
  31352. Pkcs1Encoding__ctor_m7209D642D73AEEEA93FAD564BC62B57C58A3811F(L_10, L_8, L_9, /*hidden argument*/NULL);
  31353. // encoding.Init(false,
  31354. // new ParametersWithRandom(rsaServerPrivateKey, context.SecureRandom));
  31355. Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_11 = L_10;
  31356. RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_12 = ___rsaServerPrivateKey1;
  31357. RuntimeObject* L_13 = ___context0;
  31358. NullCheck(L_13);
  31359. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_14;
  31360. L_14 = InterfaceFuncInvoker0< SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * >::Invoke(1 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_SecureRandom() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_13);
  31361. ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_15 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
  31362. ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_15, L_12, L_14, /*hidden argument*/NULL);
  31363. NullCheck(L_11);
  31364. Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3(L_11, (bool)0, L_15, /*hidden argument*/NULL);
  31365. // M = encoding.ProcessBlock(encryptedPreMasterSecret, 0, encryptedPreMasterSecret.Length);
  31366. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___encryptedPreMasterSecret2;
  31367. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___encryptedPreMasterSecret2;
  31368. NullCheck(L_17);
  31369. NullCheck(L_11);
  31370. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
  31371. L_18 = Pkcs1Encoding_ProcessBlock_m3F83A5D5E8BB728A0F13518784DA63EB32E85843(L_11, L_16, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))), /*hidden argument*/NULL);
  31372. V_3 = L_18;
  31373. // }
  31374. goto IL_0052;
  31375. }// end try (depth: 1)
  31376. catch(Il2CppExceptionWrapper& e)
  31377. {
  31378. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  31379. {
  31380. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  31381. goto CATCH_004f;
  31382. }
  31383. throw e;
  31384. }
  31385. CATCH_004f:
  31386. {// begin catch(System.Exception)
  31387. // catch (Exception)
  31388. // }
  31389. IL2CPP_POP_ACTIVE_EXCEPTION();
  31390. goto IL_0052;
  31391. }// end catch (depth: 1)
  31392. IL_0052:
  31393. {
  31394. // if (versionNumberCheckDisabled && clientVersion.IsEqualOrEarlierVersionOf(ProtocolVersion.TLSv10))
  31395. bool L_19 = V_1;
  31396. if (!L_19)
  31397. {
  31398. goto IL_0062;
  31399. }
  31400. }
  31401. {
  31402. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_20 = V_0;
  31403. IL2CPP_RUNTIME_CLASS_INIT(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var);
  31404. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_21 = ((ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields*)il2cpp_codegen_static_fields_for(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var))->get_TLSv10_1();
  31405. NullCheck(L_20);
  31406. bool L_22;
  31407. L_22 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_20, L_21, /*hidden argument*/NULL);
  31408. if (L_22)
  31409. {
  31410. goto IL_00bc;
  31411. }
  31412. }
  31413. IL_0062:
  31414. {
  31415. // int correct = (clientVersion.MajorVersion ^ (M[0] & 0xff))
  31416. // | (clientVersion.MinorVersion ^ (M[1] & 0xff));
  31417. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_23 = V_0;
  31418. NullCheck(L_23);
  31419. int32_t L_24;
  31420. L_24 = ProtocolVersion_get_MajorVersion_mCDB5EA5B771D23FAD458103A4E528238B8A311C5(L_23, /*hidden argument*/NULL);
  31421. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = V_3;
  31422. NullCheck(L_25);
  31423. int32_t L_26 = 0;
  31424. uint8_t L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
  31425. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_28 = V_0;
  31426. NullCheck(L_28);
  31427. int32_t L_29;
  31428. L_29 = ProtocolVersion_get_MinorVersion_m4650B25C1A6717658D8DDFACB6C25EFF2F8A43C5(L_28, /*hidden argument*/NULL);
  31429. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = V_3;
  31430. NullCheck(L_30);
  31431. int32_t L_31 = 1;
  31432. uint8_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
  31433. // correct |= correct >> 1;
  31434. int32_t L_33 = ((int32_t)((int32_t)((int32_t)((int32_t)L_24^(int32_t)((int32_t)((int32_t)L_27&(int32_t)((int32_t)255)))))|(int32_t)((int32_t)((int32_t)L_29^(int32_t)((int32_t)((int32_t)L_32&(int32_t)((int32_t)255)))))));
  31435. // correct |= correct >> 2;
  31436. int32_t L_34 = ((int32_t)((int32_t)L_33|(int32_t)((int32_t)((int32_t)L_33>>(int32_t)1))));
  31437. // correct |= correct >> 4;
  31438. int32_t L_35 = ((int32_t)((int32_t)L_34|(int32_t)((int32_t)((int32_t)L_34>>(int32_t)2))));
  31439. // int mask = ~((correct & 1) - 1);
  31440. V_4 = ((~((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_35|(int32_t)((int32_t)((int32_t)L_35>>(int32_t)4))))&(int32_t)1)), (int32_t)1))));
  31441. // for (int i = 0; i < 48; i++)
  31442. V_5 = 0;
  31443. goto IL_00b6;
  31444. }
  31445. IL_009b:
  31446. {
  31447. // M[i] = (byte)((M[i] & (~mask)) | (fallback[i] & mask));
  31448. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_3;
  31449. int32_t L_37 = V_5;
  31450. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_38 = V_3;
  31451. int32_t L_39 = V_5;
  31452. NullCheck(L_38);
  31453. int32_t L_40 = L_39;
  31454. uint8_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
  31455. int32_t L_42 = V_4;
  31456. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_43 = V_2;
  31457. int32_t L_44 = V_5;
  31458. NullCheck(L_43);
  31459. int32_t L_45 = L_44;
  31460. uint8_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
  31461. int32_t L_47 = V_4;
  31462. NullCheck(L_36);
  31463. (L_36)->SetAt(static_cast<il2cpp_array_size_t>(L_37), (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_41&(int32_t)((~L_42))))|(int32_t)((int32_t)((int32_t)L_46&(int32_t)L_47)))))));
  31464. // for (int i = 0; i < 48; i++)
  31465. int32_t L_48 = V_5;
  31466. V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)1));
  31467. }
  31468. IL_00b6:
  31469. {
  31470. // for (int i = 0; i < 48; i++)
  31471. int32_t L_49 = V_5;
  31472. if ((((int32_t)L_49) < ((int32_t)((int32_t)48))))
  31473. {
  31474. goto IL_009b;
  31475. }
  31476. }
  31477. IL_00bc:
  31478. {
  31479. // return M;
  31480. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = V_3;
  31481. return L_50;
  31482. }
  31483. }
  31484. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities::.ctor()
  31485. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaUtilities__ctor_m1F1098D9E6A2B2389F1AA2163ECE45EE4D434806 (TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE * __this, const RuntimeMethod* method)
  31486. {
  31487. {
  31488. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  31489. return;
  31490. }
  31491. }
  31492. #ifdef __clang__
  31493. #pragma clang diagnostic pop
  31494. #endif
  31495. #ifdef __clang__
  31496. #pragma clang diagnostic push
  31497. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  31498. #pragma clang diagnostic ignored "-Wunused-variable"
  31499. #endif
  31500. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::AddUseSrtpExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
  31501. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSRTPUtils_AddUseSrtpExtension_mE7A796EEDB001E6BB4CBC29C0D4AE53569958AC4 (RuntimeObject* ___extensions0, UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSRTPData1, const RuntimeMethod* method)
  31502. {
  31503. static bool s_Il2CppMethodInitialized;
  31504. if (!s_Il2CppMethodInitialized)
  31505. {
  31506. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  31507. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  31508. s_Il2CppMethodInitialized = true;
  31509. }
  31510. {
  31511. // extensions[ExtensionType.use_srtp] = CreateUseSrtpExtension(useSRTPData);
  31512. RuntimeObject* L_0 = ___extensions0;
  31513. int32_t L_1 = ((int32_t)14);
  31514. RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
  31515. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_3 = ___useSRTPData1;
  31516. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
  31517. L_4 = TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A(L_3, /*hidden argument*/NULL);
  31518. NullCheck(L_0);
  31519. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0, L_2, (RuntimeObject *)(RuntimeObject *)L_4);
  31520. // }
  31521. return;
  31522. }
  31523. }
  31524. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::GetUseSrtpExtension(System.Collections.IDictionary)
  31525. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_GetUseSrtpExtension_m91EADE4046A457E9D7ABE478FE10061838BA7E55 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
  31526. {
  31527. static bool s_Il2CppMethodInitialized;
  31528. if (!s_Il2CppMethodInitialized)
  31529. {
  31530. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31531. s_Il2CppMethodInitialized = true;
  31532. }
  31533. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  31534. {
  31535. // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.use_srtp);
  31536. RuntimeObject* L_0 = ___extensions0;
  31537. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31538. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
  31539. L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)14), /*hidden argument*/NULL);
  31540. V_0 = L_1;
  31541. // return extensionData == null ? null : ReadUseSrtpExtension(extensionData);
  31542. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  31543. if (!L_2)
  31544. {
  31545. goto IL_0013;
  31546. }
  31547. }
  31548. {
  31549. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  31550. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_4;
  31551. L_4 = TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12(L_3, /*hidden argument*/NULL);
  31552. return L_4;
  31553. }
  31554. IL_0013:
  31555. {
  31556. return (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 *)NULL;
  31557. }
  31558. }
  31559. // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::CreateUseSrtpExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
  31560. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSrtpData0, const RuntimeMethod* method)
  31561. {
  31562. static bool s_Il2CppMethodInitialized;
  31563. if (!s_Il2CppMethodInitialized)
  31564. {
  31565. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  31566. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31567. s_Il2CppMethodInitialized = true;
  31568. }
  31569. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  31570. {
  31571. // if (useSrtpData == null)
  31572. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_0 = ___useSrtpData0;
  31573. if (L_0)
  31574. {
  31575. goto IL_000e;
  31576. }
  31577. }
  31578. {
  31579. // throw new ArgumentNullException("useSrtpData");
  31580. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  31581. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBDF96DF3EAF79369A531DDAF5811FC3B39F11FEC)), /*hidden argument*/NULL);
  31582. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A_RuntimeMethod_var)));
  31583. }
  31584. IL_000e:
  31585. {
  31586. // MemoryStream buf = new MemoryStream();
  31587. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  31588. MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
  31589. V_0 = L_2;
  31590. // TlsUtilities.WriteUint16ArrayWithUint16Length(useSrtpData.ProtectionProfiles, buf);
  31591. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_3 = ___useSrtpData0;
  31592. NullCheck(L_3);
  31593. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4;
  31594. L_4 = VirtualFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(4 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::get_ProtectionProfiles() */, L_3);
  31595. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
  31596. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31597. TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31(L_4, L_5, /*hidden argument*/NULL);
  31598. // TlsUtilities.WriteOpaque8(useSrtpData.Mki, buf);
  31599. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_6 = ___useSrtpData0;
  31600. NullCheck(L_6);
  31601. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
  31602. L_7 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::get_Mki() */, L_6);
  31603. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
  31604. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_7, L_8, /*hidden argument*/NULL);
  31605. // return buf.ToArray();
  31606. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
  31607. NullCheck(L_9);
  31608. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
  31609. L_10 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_9);
  31610. return L_10;
  31611. }
  31612. }
  31613. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::ReadUseSrtpExtension(System.Byte[])
  31614. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
  31615. {
  31616. static bool s_Il2CppMethodInitialized;
  31617. if (!s_Il2CppMethodInitialized)
  31618. {
  31619. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  31620. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31621. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var);
  31622. s_Il2CppMethodInitialized = true;
  31623. }
  31624. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
  31625. int32_t V_1 = 0;
  31626. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  31627. {
  31628. // if (extensionData == null)
  31629. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
  31630. if (L_0)
  31631. {
  31632. goto IL_000e;
  31633. }
  31634. }
  31635. {
  31636. // throw new ArgumentNullException("extensionData");
  31637. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  31638. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
  31639. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var)));
  31640. }
  31641. IL_000e:
  31642. {
  31643. // MemoryStream buf = new MemoryStream(extensionData, true);
  31644. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
  31645. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
  31646. MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)1, /*hidden argument*/NULL);
  31647. V_0 = L_3;
  31648. // int length = TlsUtilities.ReadUint16(buf);
  31649. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
  31650. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31651. int32_t L_5;
  31652. L_5 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_4, /*hidden argument*/NULL);
  31653. V_1 = L_5;
  31654. // if (length < 2 || (length & 1) != 0)
  31655. int32_t L_6 = V_1;
  31656. if ((((int32_t)L_6) < ((int32_t)2)))
  31657. {
  31658. goto IL_0026;
  31659. }
  31660. }
  31661. {
  31662. int32_t L_7 = V_1;
  31663. if (!((int32_t)((int32_t)L_7&(int32_t)1)))
  31664. {
  31665. goto IL_002e;
  31666. }
  31667. }
  31668. IL_0026:
  31669. {
  31670. // throw new TlsFatalAlert(AlertDescription.decode_error);
  31671. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  31672. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  31673. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var)));
  31674. }
  31675. IL_002e:
  31676. {
  31677. // int[] protectionProfiles = TlsUtilities.ReadUint16Array(length / 2, buf);
  31678. int32_t L_9 = V_1;
  31679. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
  31680. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31681. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11;
  31682. L_11 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_9/(int32_t)2)), L_10, /*hidden argument*/NULL);
  31683. // byte[] mki = TlsUtilities.ReadOpaque8(buf);
  31684. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = V_0;
  31685. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
  31686. L_13 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_12, /*hidden argument*/NULL);
  31687. V_2 = L_13;
  31688. // TlsProtocol.AssertEmpty(buf);
  31689. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_14 = V_0;
  31690. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_14, /*hidden argument*/NULL);
  31691. // return new UseSrtpData(protectionProfiles, mki);
  31692. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_2;
  31693. UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_16 = (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 *)il2cpp_codegen_object_new(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var);
  31694. UseSrtpData__ctor_m315F9112A763358E4E5BACC1B3D0E0B23BDF7AEC(L_16, L_11, L_15, /*hidden argument*/NULL);
  31695. return L_16;
  31696. }
  31697. }
  31698. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::.ctor()
  31699. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSRTPUtils__ctor_mC95E08DDD4719580EC6CE6A914621099E08F99FA (TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597 * __this, const RuntimeMethod* method)
  31700. {
  31701. {
  31702. Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
  31703. return;
  31704. }
  31705. }
  31706. #ifdef __clang__
  31707. #pragma clang diagnostic pop
  31708. #endif
  31709. #ifdef __clang__
  31710. #pragma clang diagnostic push
  31711. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  31712. #pragma clang diagnostic ignored "-Wunused-variable"
  31713. #endif
  31714. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
  31715. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9 (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method)
  31716. {
  31717. static bool s_Il2CppMethodInitialized;
  31718. if (!s_Il2CppMethodInitialized)
  31719. {
  31720. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
  31721. s_Il2CppMethodInitialized = true;
  31722. }
  31723. {
  31724. // : base(secureRandom, securityParameters)
  31725. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
  31726. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1 = ___securityParameters1;
  31727. IL2CPP_RUNTIME_CLASS_INIT(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
  31728. AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A(__this, L_0, L_1, /*hidden argument*/NULL);
  31729. // }
  31730. return;
  31731. }
  31732. }
  31733. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::get_IsServer()
  31734. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsServerContextImpl_get_IsServer_mE64C49D75EE934580777FFEDBCC877E167EC344F (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, const RuntimeMethod* method)
  31735. {
  31736. {
  31737. // get { return true; }
  31738. return (bool)1;
  31739. }
  31740. }
  31741. #ifdef __clang__
  31742. #pragma clang diagnostic pop
  31743. #endif
  31744. #ifdef __clang__
  31745. #pragma clang diagnostic push
  31746. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  31747. #pragma clang diagnostic ignored "-Wunused-variable"
  31748. #endif
  31749. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  31750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol__ctor_mA670BDECE5B385435D7FF0AC2FF84F064B82F293 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
  31751. {
  31752. {
  31753. // protected short mClientCertificateType = -1;
  31754. __this->set_mClientCertificateType_54((int16_t)(-1));
  31755. // : base(stream, secureRandom)
  31756. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
  31757. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_1 = ___secureRandom1;
  31758. TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221(__this, L_0, L_1, /*hidden argument*/NULL);
  31759. // }
  31760. return;
  31761. }
  31762. }
  31763. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  31764. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol__ctor_m987947E71479F51B49840B99C605CF76680ED7A1 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom2, const RuntimeMethod* method)
  31765. {
  31766. {
  31767. // protected short mClientCertificateType = -1;
  31768. __this->set_mClientCertificateType_54((int16_t)(-1));
  31769. // : base(input, output, secureRandom)
  31770. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
  31771. Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
  31772. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
  31773. TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
  31774. // }
  31775. return;
  31776. }
  31777. }
  31778. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
  31779. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol__ctor_m15A0827F8B2DB624CBE2D3424BEE5EC36EFA28ED (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
  31780. {
  31781. {
  31782. // protected short mClientCertificateType = -1;
  31783. __this->set_mClientCertificateType_54((int16_t)(-1));
  31784. // : base(secureRandom)
  31785. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
  31786. TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE(__this, L_0, /*hidden argument*/NULL);
  31787. // }
  31788. return;
  31789. }
  31790. }
  31791. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::Accept(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer)
  31792. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, RuntimeObject* ___tlsServer0, const RuntimeMethod* method)
  31793. {
  31794. static bool s_Il2CppMethodInitialized;
  31795. if (!s_Il2CppMethodInitialized)
  31796. {
  31797. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
  31798. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  31799. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var);
  31800. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  31801. s_Il2CppMethodInitialized = true;
  31802. }
  31803. {
  31804. // if (tlsServer == null)
  31805. RuntimeObject* L_0 = ___tlsServer0;
  31806. if (L_0)
  31807. {
  31808. goto IL_000e;
  31809. }
  31810. }
  31811. {
  31812. // throw new ArgumentNullException("tlsServer");
  31813. ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
  31814. ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF304F86AAE3300AAF6CC1D68596A5C135E98DA7F)), /*hidden argument*/NULL);
  31815. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var)));
  31816. }
  31817. IL_000e:
  31818. {
  31819. // if (this.mTlsServer != null)
  31820. RuntimeObject* L_2 = __this->get_mTlsServer_49();
  31821. if (!L_2)
  31822. {
  31823. goto IL_0021;
  31824. }
  31825. }
  31826. {
  31827. // throw new InvalidOperationException("'Accept' can only be called once");
  31828. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  31829. InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral411A64854237B0AD4EE521F452B977C964D0C11F)), /*hidden argument*/NULL);
  31830. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var)));
  31831. }
  31832. IL_0021:
  31833. {
  31834. // this.mTlsServer = tlsServer;
  31835. RuntimeObject* L_4 = ___tlsServer0;
  31836. __this->set_mTlsServer_49(L_4);
  31837. // this.mSecurityParameters = new SecurityParameters();
  31838. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 *)il2cpp_codegen_object_new(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
  31839. SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19(L_5, /*hidden argument*/NULL);
  31840. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecurityParameters_34(L_5);
  31841. // this.mSecurityParameters.entity = ConnectionEnd.server;
  31842. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  31843. NullCheck(L_6);
  31844. L_6->set_entity_0(0);
  31845. // this.mTlsServerContext = new TlsServerContextImpl(mSecureRandom, mSecurityParameters);
  31846. SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRandom_24();
  31847. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  31848. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_9 = (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 *)il2cpp_codegen_object_new(TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var);
  31849. TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9(L_9, L_7, L_8, /*hidden argument*/NULL);
  31850. __this->set_mTlsServerContext_50(L_9);
  31851. // this.mSecurityParameters.serverRandom = CreateRandomBlock(tlsServer.ShouldUseGmtUnixTime(),
  31852. // mTlsServerContext.NonceRandomGenerator);
  31853. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  31854. RuntimeObject* L_11 = ___tlsServer0;
  31855. NullCheck(L_11);
  31856. bool L_12;
  31857. L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::ShouldUseGmtUnixTime() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_11);
  31858. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_13 = __this->get_mTlsServerContext_50();
  31859. NullCheck(L_13);
  31860. RuntimeObject* L_14;
  31861. L_14 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(14 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::get_NonceRandomGenerator() */, L_13);
  31862. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
  31863. L_15 = TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63(L_12, L_14, /*hidden argument*/NULL);
  31864. NullCheck(L_10);
  31865. L_10->set_serverRandom_7(L_15);
  31866. // this.mTlsServer.Init(mTlsServerContext);
  31867. RuntimeObject* L_16 = __this->get_mTlsServer_49();
  31868. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_17 = __this->get_mTlsServerContext_50();
  31869. NullCheck(L_16);
  31870. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContext) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_16, L_17);
  31871. // this.mRecordStream.Init(mTlsServerContext);
  31872. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  31873. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_19 = __this->get_mTlsServerContext_50();
  31874. NullCheck(L_18);
  31875. RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF(L_18, L_19, /*hidden argument*/NULL);
  31876. // this.mRecordStream.SetRestrictReadVersion(false);
  31877. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_20 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  31878. NullCheck(L_20);
  31879. RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline(L_20, (bool)0, /*hidden argument*/NULL);
  31880. // BlockForHandshake();
  31881. VirtualActionInvoker0::Invoke(17 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake() */, __this);
  31882. // }
  31883. return;
  31884. }
  31885. }
  31886. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::CleanupHandshake()
  31887. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_CleanupHandshake_m25321ECA98E047C4BE3F44FFD9CEB1DDDB640608 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  31888. {
  31889. {
  31890. // base.CleanupHandshake();
  31891. TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B(__this, /*hidden argument*/NULL);
  31892. // this.mKeyExchange = null;
  31893. __this->set_mKeyExchange_51((RuntimeObject*)NULL);
  31894. // this.mServerCredentials = null;
  31895. __this->set_mServerCredentials_52((RuntimeObject*)NULL);
  31896. // this.mCertificateRequest = null;
  31897. __this->set_mCertificateRequest_53((CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 *)NULL);
  31898. // this.mPrepareFinishHash = null;
  31899. __this->set_mPrepareFinishHash_55((RuntimeObject*)NULL);
  31900. // }
  31901. return;
  31902. }
  31903. }
  31904. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_Context()
  31905. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsServerProtocol_get_Context_m2BDDFFF2C025B11C38098D111CEF5169EEA8534B (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  31906. {
  31907. {
  31908. // get { return mTlsServerContext; }
  31909. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_0 = __this->get_mTlsServerContext_50();
  31910. return L_0;
  31911. }
  31912. }
  31913. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_ContextAdmin()
  31914. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * TlsServerProtocol_get_ContextAdmin_mB3A40C3FDFADDD8647C1A927A678BCDB7188FFDE (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  31915. {
  31916. {
  31917. // get { return mTlsServerContext; }
  31918. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_0 = __this->get_mTlsServerContext_50();
  31919. return L_0;
  31920. }
  31921. }
  31922. // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_Peer()
  31923. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsServerProtocol_get_Peer_m99C119102B6F19B2E0BED604C692D0B0338632E1 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  31924. {
  31925. {
  31926. // get { return mTlsServer; }
  31927. RuntimeObject* L_0 = __this->get_mTlsServer_49();
  31928. return L_0;
  31929. }
  31930. }
  31931. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::HandleHandshakeMessage(System.Byte,System.IO.MemoryStream)
  31932. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, uint8_t ___type0, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf1, const RuntimeMethod* method)
  31933. {
  31934. static bool s_Il2CppMethodInitialized;
  31935. if (!s_Il2CppMethodInitialized)
  31936. {
  31937. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  31938. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  31939. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
  31940. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  31941. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  31942. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  31943. s_Il2CppMethodInitialized = true;
  31944. }
  31945. int16_t V_0 = 0;
  31946. RuntimeObject* V_1 = NULL;
  31947. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * V_2 = NULL;
  31948. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
  31949. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * V_4 = NULL;
  31950. {
  31951. uint8_t L_0 = ___type0;
  31952. switch (L_0)
  31953. {
  31954. case 0:
  31955. {
  31956. goto IL_03fe;
  31957. }
  31958. case 1:
  31959. {
  31960. goto IL_006b;
  31961. }
  31962. case 2:
  31963. {
  31964. goto IL_03fe;
  31965. }
  31966. case 3:
  31967. {
  31968. goto IL_03fe;
  31969. }
  31970. case 4:
  31971. {
  31972. goto IL_03fe;
  31973. }
  31974. case 5:
  31975. {
  31976. goto IL_03fe;
  31977. }
  31978. case 6:
  31979. {
  31980. goto IL_03fe;
  31981. }
  31982. case 7:
  31983. {
  31984. goto IL_03fe;
  31985. }
  31986. case 8:
  31987. {
  31988. goto IL_03fe;
  31989. }
  31990. case 9:
  31991. {
  31992. goto IL_03fe;
  31993. }
  31994. case 10:
  31995. {
  31996. goto IL_03fe;
  31997. }
  31998. case 11:
  31999. {
  32000. goto IL_026c;
  32001. }
  32002. case 12:
  32003. {
  32004. goto IL_03fe;
  32005. }
  32006. case 13:
  32007. {
  32008. goto IL_03fe;
  32009. }
  32010. case 14:
  32011. {
  32012. goto IL_03fe;
  32013. }
  32014. case 15:
  32015. {
  32016. goto IL_0351;
  32017. }
  32018. case 16:
  32019. {
  32020. goto IL_02b7;
  32021. }
  32022. case 17:
  32023. {
  32024. goto IL_03fe;
  32025. }
  32026. case 18:
  32027. {
  32028. goto IL_03fe;
  32029. }
  32030. case 19:
  32031. {
  32032. goto IL_03fe;
  32033. }
  32034. case 20:
  32035. {
  32036. goto IL_0383;
  32037. }
  32038. case 21:
  32039. {
  32040. goto IL_03fe;
  32041. }
  32042. case 22:
  32043. {
  32044. goto IL_03fe;
  32045. }
  32046. case 23:
  32047. {
  32048. goto IL_0241;
  32049. }
  32050. }
  32051. }
  32052. {
  32053. goto IL_03fe;
  32054. }
  32055. IL_006b:
  32056. {
  32057. // switch (this.mConnectionState)
  32058. int16_t L_1 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32059. V_0 = L_1;
  32060. int16_t L_2 = V_0;
  32061. if (!L_2)
  32062. {
  32063. goto IL_0082;
  32064. }
  32065. }
  32066. {
  32067. int16_t L_3 = V_0;
  32068. if ((((int32_t)L_3) == ((int32_t)((int32_t)16))))
  32069. {
  32070. goto IL_0232;
  32071. }
  32072. }
  32073. {
  32074. goto IL_0239;
  32075. }
  32076. IL_0082:
  32077. {
  32078. // ReceiveClientHelloMessage(buf);
  32079. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___buf1;
  32080. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(53 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientHelloMessage(System.IO.MemoryStream) */, __this, L_4);
  32081. // this.mConnectionState = CS_CLIENT_HELLO;
  32082. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)1);
  32083. // SendServerHelloMessage();
  32084. VirtualActionInvoker0::Invoke(58 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloMessage() */, __this);
  32085. // this.mConnectionState = CS_SERVER_HELLO;
  32086. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)2);
  32087. // mRecordStream.NotifyHelloComplete();
  32088. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  32089. NullCheck(L_5);
  32090. RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD(L_5, /*hidden argument*/NULL);
  32091. // IList serverSupplementalData = mTlsServer.GetServerSupplementalData();
  32092. RuntimeObject* L_6 = __this->get_mTlsServer_49();
  32093. NullCheck(L_6);
  32094. RuntimeObject* L_7;
  32095. L_7 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(10 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetServerSupplementalData() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_6);
  32096. V_1 = L_7;
  32097. // if (serverSupplementalData != null)
  32098. RuntimeObject* L_8 = V_1;
  32099. if (!L_8)
  32100. {
  32101. goto IL_00be;
  32102. }
  32103. }
  32104. {
  32105. // SendSupplementalDataMessage(serverSupplementalData);
  32106. RuntimeObject* L_9 = V_1;
  32107. VirtualActionInvoker1< RuntimeObject* >::Invoke(42 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList) */, __this, L_9);
  32108. }
  32109. IL_00be:
  32110. {
  32111. // this.mConnectionState = CS_SERVER_SUPPLEMENTAL_DATA;
  32112. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)3);
  32113. // this.mKeyExchange = mTlsServer.GetKeyExchange();
  32114. RuntimeObject* L_10 = __this->get_mTlsServer_49();
  32115. NullCheck(L_10);
  32116. RuntimeObject* L_11;
  32117. L_11 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(13 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetKeyExchange() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_10);
  32118. __this->set_mKeyExchange_51(L_11);
  32119. // this.mKeyExchange.Init(Context);
  32120. RuntimeObject* L_12 = __this->get_mKeyExchange_51();
  32121. RuntimeObject* L_13;
  32122. L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32123. NullCheck(L_12);
  32124. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_12, L_13);
  32125. // this.mServerCredentials = mTlsServer.GetCredentials();
  32126. RuntimeObject* L_14 = __this->get_mTlsServer_49();
  32127. NullCheck(L_14);
  32128. RuntimeObject* L_15;
  32129. L_15 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(11 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetCredentials() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_14);
  32130. __this->set_mServerCredentials_52(L_15);
  32131. // Certificate serverCertificate = null;
  32132. V_2 = (Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E *)NULL;
  32133. // if (this.mServerCredentials == null)
  32134. RuntimeObject* L_16 = __this->get_mServerCredentials_52();
  32135. if (L_16)
  32136. {
  32137. goto IL_010f;
  32138. }
  32139. }
  32140. {
  32141. // this.mKeyExchange.SkipServerCredentials();
  32142. RuntimeObject* L_17 = __this->get_mKeyExchange_51();
  32143. NullCheck(L_17);
  32144. InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_17);
  32145. // }
  32146. goto IL_0133;
  32147. }
  32148. IL_010f:
  32149. {
  32150. // this.mKeyExchange.ProcessServerCredentials(this.mServerCredentials);
  32151. RuntimeObject* L_18 = __this->get_mKeyExchange_51();
  32152. RuntimeObject* L_19 = __this->get_mServerCredentials_52();
  32153. NullCheck(L_18);
  32154. InterfaceActionInvoker1< RuntimeObject* >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_18, L_19);
  32155. // serverCertificate = this.mServerCredentials.Certificate;
  32156. RuntimeObject* L_20 = __this->get_mServerCredentials_52();
  32157. NullCheck(L_20);
  32158. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_21;
  32159. L_21 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_20);
  32160. V_2 = L_21;
  32161. // SendCertificateMessage(serverCertificate);
  32162. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_22 = V_2;
  32163. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(39 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendCertificateMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_22);
  32164. }
  32165. IL_0133:
  32166. {
  32167. // this.mConnectionState = CS_SERVER_CERTIFICATE;
  32168. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)4);
  32169. // if (serverCertificate == null || serverCertificate.IsEmpty)
  32170. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_23 = V_2;
  32171. if (!L_23)
  32172. {
  32173. goto IL_0145;
  32174. }
  32175. }
  32176. {
  32177. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_24 = V_2;
  32178. NullCheck(L_24);
  32179. bool L_25;
  32180. L_25 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_24);
  32181. if (!L_25)
  32182. {
  32183. goto IL_014c;
  32184. }
  32185. }
  32186. IL_0145:
  32187. {
  32188. // this.mAllowCertificateStatus = false;
  32189. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mAllowCertificateStatus_44((bool)0);
  32190. }
  32191. IL_014c:
  32192. {
  32193. // if (this.mAllowCertificateStatus)
  32194. bool L_26 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mAllowCertificateStatus_44();
  32195. if (!L_26)
  32196. {
  32197. goto IL_016d;
  32198. }
  32199. }
  32200. {
  32201. // CertificateStatus certificateStatus = mTlsServer.GetCertificateStatus();
  32202. RuntimeObject* L_27 = __this->get_mTlsServer_49();
  32203. NullCheck(L_27);
  32204. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_28;
  32205. L_28 = InterfaceFuncInvoker0< CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * >::Invoke(12 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetCertificateStatus() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_27);
  32206. V_4 = L_28;
  32207. // if (certificateStatus != null)
  32208. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_29 = V_4;
  32209. if (!L_29)
  32210. {
  32211. goto IL_016d;
  32212. }
  32213. }
  32214. {
  32215. // SendCertificateStatusMessage(certificateStatus);
  32216. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_30 = V_4;
  32217. VirtualActionInvoker1< CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * >::Invoke(56 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateStatusMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus) */, __this, L_30);
  32218. }
  32219. IL_016d:
  32220. {
  32221. // this.mConnectionState = CS_CERTIFICATE_STATUS;
  32222. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)5);
  32223. // byte[] serverKeyExchange = this.mKeyExchange.GenerateServerKeyExchange();
  32224. RuntimeObject* L_31 = __this->get_mKeyExchange_51();
  32225. NullCheck(L_31);
  32226. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_32;
  32227. L_32 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::GenerateServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_31);
  32228. V_3 = L_32;
  32229. // if (serverKeyExchange != null)
  32230. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = V_3;
  32231. if (!L_33)
  32232. {
  32233. goto IL_018a;
  32234. }
  32235. }
  32236. {
  32237. // SendServerKeyExchangeMessage(serverKeyExchange);
  32238. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34 = V_3;
  32239. VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(60 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerKeyExchangeMessage(System.Byte[]) */, __this, L_34);
  32240. }
  32241. IL_018a:
  32242. {
  32243. // this.mConnectionState = CS_SERVER_KEY_EXCHANGE;
  32244. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)6);
  32245. // if (this.mServerCredentials != null)
  32246. RuntimeObject* L_35 = __this->get_mServerCredentials_52();
  32247. if (!L_35)
  32248. {
  32249. goto IL_020d;
  32250. }
  32251. }
  32252. {
  32253. // this.mCertificateRequest = mTlsServer.GetCertificateRequest();
  32254. RuntimeObject* L_36 = __this->get_mTlsServer_49();
  32255. NullCheck(L_36);
  32256. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_37;
  32257. L_37 = InterfaceFuncInvoker0< CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * >::Invoke(14 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetCertificateRequest() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_36);
  32258. __this->set_mCertificateRequest_53(L_37);
  32259. // if (this.mCertificateRequest != null)
  32260. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_38 = __this->get_mCertificateRequest_53();
  32261. if (!L_38)
  32262. {
  32263. goto IL_020d;
  32264. }
  32265. }
  32266. {
  32267. // if (TlsUtilities.IsTlsV12(Context) != (mCertificateRequest.SupportedSignatureAlgorithms != null))
  32268. RuntimeObject* L_39;
  32269. L_39 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32270. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32271. bool L_40;
  32272. L_40 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_39, /*hidden argument*/NULL);
  32273. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_41 = __this->get_mCertificateRequest_53();
  32274. NullCheck(L_41);
  32275. RuntimeObject* L_42;
  32276. L_42 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_41);
  32277. if ((((int32_t)L_40) == ((int32_t)((!(((RuntimeObject*)(RuntimeObject*)L_42) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0))))
  32278. {
  32279. goto IL_01d5;
  32280. }
  32281. }
  32282. {
  32283. // throw new TlsFatalAlert(AlertDescription.internal_error);
  32284. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_43 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32285. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_43, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  32286. IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32287. }
  32288. IL_01d5:
  32289. {
  32290. // this.mKeyExchange.ValidateCertificateRequest(mCertificateRequest);
  32291. RuntimeObject* L_44 = __this->get_mKeyExchange_51();
  32292. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_45 = __this->get_mCertificateRequest_53();
  32293. NullCheck(L_44);
  32294. InterfaceActionInvoker1< CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_44, L_45);
  32295. // SendCertificateRequestMessage(mCertificateRequest);
  32296. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_46 = __this->get_mCertificateRequest_53();
  32297. VirtualActionInvoker1< CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * >::Invoke(55 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateRequestMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest) */, __this, L_46);
  32298. // TlsUtilities.TrackHashAlgorithms(this.mRecordStream.HandshakeHash,
  32299. // this.mCertificateRequest.SupportedSignatureAlgorithms);
  32300. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_47 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  32301. NullCheck(L_47);
  32302. RuntimeObject* L_48;
  32303. L_48 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_47, /*hidden argument*/NULL);
  32304. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_49 = __this->get_mCertificateRequest_53();
  32305. NullCheck(L_49);
  32306. RuntimeObject* L_50;
  32307. L_50 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_49);
  32308. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32309. TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B(L_48, L_50, /*hidden argument*/NULL);
  32310. }
  32311. IL_020d:
  32312. {
  32313. // this.mConnectionState = CS_CERTIFICATE_REQUEST;
  32314. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)7);
  32315. // SendServerHelloDoneMessage();
  32316. VirtualActionInvoker0::Invoke(59 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloDoneMessage() */, __this);
  32317. // this.mConnectionState = CS_SERVER_HELLO_DONE;
  32318. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)8);
  32319. // this.mRecordStream.HandshakeHash.SealHashAlgorithms();
  32320. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_51 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  32321. NullCheck(L_51);
  32322. RuntimeObject* L_52;
  32323. L_52 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_51, /*hidden argument*/NULL);
  32324. NullCheck(L_52);
  32325. InterfaceActionInvoker0::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::SealHashAlgorithms() */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_52);
  32326. // break;
  32327. return;
  32328. }
  32329. IL_0232:
  32330. {
  32331. // RefuseRenegotiation();
  32332. VirtualActionInvoker0::Invoke(48 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation() */, __this);
  32333. // break;
  32334. return;
  32335. }
  32336. IL_0239:
  32337. {
  32338. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32339. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_53 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32340. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_53, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32341. IL2CPP_RAISE_MANAGED_EXCEPTION(L_53, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32342. }
  32343. IL_0241:
  32344. {
  32345. // switch (this.mConnectionState)
  32346. int16_t L_54 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32347. if ((!(((uint32_t)L_54) == ((uint32_t)8))))
  32348. {
  32349. goto IL_0264;
  32350. }
  32351. }
  32352. {
  32353. // mTlsServer.ProcessClientSupplementalData(ReadSupplementalDataMessage(buf));
  32354. RuntimeObject* L_55 = __this->get_mTlsServer_49();
  32355. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_56 = ___buf1;
  32356. RuntimeObject* L_57;
  32357. L_57 = TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F(L_56, /*hidden argument*/NULL);
  32358. NullCheck(L_55);
  32359. InterfaceActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::ProcessClientSupplementalData(System.Collections.IList) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_55, L_57);
  32360. // this.mConnectionState = CS_CLIENT_SUPPLEMENTAL_DATA;
  32361. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)9));
  32362. // break;
  32363. return;
  32364. }
  32365. IL_0264:
  32366. {
  32367. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32368. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_58 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32369. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_58, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32370. IL2CPP_RAISE_MANAGED_EXCEPTION(L_58, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32371. }
  32372. IL_026c:
  32373. {
  32374. // switch (this.mConnectionState)
  32375. int16_t L_59 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32376. V_0 = L_59;
  32377. int16_t L_60 = V_0;
  32378. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_60, (int32_t)8))) <= ((uint32_t)1))))
  32379. {
  32380. goto IL_02af;
  32381. }
  32382. }
  32383. {
  32384. // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
  32385. int16_t L_61 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32386. if ((((int32_t)L_61) >= ((int32_t)((int32_t)9))))
  32387. {
  32388. goto IL_028f;
  32389. }
  32390. }
  32391. {
  32392. // mTlsServer.ProcessClientSupplementalData(null);
  32393. RuntimeObject* L_62 = __this->get_mTlsServer_49();
  32394. NullCheck(L_62);
  32395. InterfaceActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::ProcessClientSupplementalData(System.Collections.IList) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_62, (RuntimeObject*)NULL);
  32396. }
  32397. IL_028f:
  32398. {
  32399. // if (this.mCertificateRequest == null)
  32400. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_63 = __this->get_mCertificateRequest_53();
  32401. if (L_63)
  32402. {
  32403. goto IL_029f;
  32404. }
  32405. }
  32406. {
  32407. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32408. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_64 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32409. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_64, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32410. IL2CPP_RAISE_MANAGED_EXCEPTION(L_64, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32411. }
  32412. IL_029f:
  32413. {
  32414. // ReceiveCertificateMessage(buf);
  32415. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_65 = ___buf1;
  32416. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(51 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateMessage(System.IO.MemoryStream) */, __this, L_65);
  32417. // this.mConnectionState = CS_CLIENT_CERTIFICATE;
  32418. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
  32419. // break;
  32420. return;
  32421. }
  32422. IL_02af:
  32423. {
  32424. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32425. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32426. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_66, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32427. IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32428. }
  32429. IL_02b7:
  32430. {
  32431. // switch (this.mConnectionState)
  32432. int16_t L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32433. V_0 = L_67;
  32434. int16_t L_68 = V_0;
  32435. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_68, (int32_t)8))) <= ((uint32_t)2))))
  32436. {
  32437. goto IL_0349;
  32438. }
  32439. }
  32440. {
  32441. // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
  32442. int16_t L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32443. if ((((int32_t)L_69) >= ((int32_t)((int32_t)9))))
  32444. {
  32445. goto IL_02dd;
  32446. }
  32447. }
  32448. {
  32449. // mTlsServer.ProcessClientSupplementalData(null);
  32450. RuntimeObject* L_70 = __this->get_mTlsServer_49();
  32451. NullCheck(L_70);
  32452. InterfaceActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::ProcessClientSupplementalData(System.Collections.IList) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_70, (RuntimeObject*)NULL);
  32453. }
  32454. IL_02dd:
  32455. {
  32456. // if (mConnectionState < CS_CLIENT_CERTIFICATE)
  32457. int16_t L_71 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32458. if ((((int32_t)L_71) >= ((int32_t)((int32_t)10))))
  32459. {
  32460. goto IL_0339;
  32461. }
  32462. }
  32463. {
  32464. // if (this.mCertificateRequest == null)
  32465. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_72 = __this->get_mCertificateRequest_53();
  32466. if (L_72)
  32467. {
  32468. goto IL_02fc;
  32469. }
  32470. }
  32471. {
  32472. // this.mKeyExchange.SkipClientCredentials();
  32473. RuntimeObject* L_73 = __this->get_mKeyExchange_51();
  32474. NullCheck(L_73);
  32475. InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_73);
  32476. // }
  32477. goto IL_0339;
  32478. }
  32479. IL_02fc:
  32480. {
  32481. // if (TlsUtilities.IsTlsV12(Context))
  32482. RuntimeObject* L_74;
  32483. L_74 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32484. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32485. bool L_75;
  32486. L_75 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_74, /*hidden argument*/NULL);
  32487. if (!L_75)
  32488. {
  32489. goto IL_0311;
  32490. }
  32491. }
  32492. {
  32493. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32494. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_76 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32495. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_76, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32496. IL2CPP_RAISE_MANAGED_EXCEPTION(L_76, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32497. }
  32498. IL_0311:
  32499. {
  32500. // else if (TlsUtilities.IsSsl(Context))
  32501. RuntimeObject* L_77;
  32502. L_77 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32503. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32504. bool L_78;
  32505. L_78 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_77, /*hidden argument*/NULL);
  32506. if (!L_78)
  32507. {
  32508. goto IL_032e;
  32509. }
  32510. }
  32511. {
  32512. // if (this.mPeerCertificate == null)
  32513. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_79 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  32514. if (L_79)
  32515. {
  32516. goto IL_0339;
  32517. }
  32518. }
  32519. {
  32520. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32521. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_80 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32522. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_80, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32523. IL2CPP_RAISE_MANAGED_EXCEPTION(L_80, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32524. }
  32525. IL_032e:
  32526. {
  32527. // NotifyClientCertificate(Certificate.EmptyChain);
  32528. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  32529. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_81 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
  32530. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_81);
  32531. }
  32532. IL_0339:
  32533. {
  32534. // ReceiveClientKeyExchangeMessage(buf);
  32535. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_82 = ___buf1;
  32536. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(54 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientKeyExchangeMessage(System.IO.MemoryStream) */, __this, L_82);
  32537. // this.mConnectionState = CS_CLIENT_KEY_EXCHANGE;
  32538. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)11));
  32539. // break;
  32540. return;
  32541. }
  32542. IL_0349:
  32543. {
  32544. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32545. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32546. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32547. IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32548. }
  32549. IL_0351:
  32550. {
  32551. // switch (this.mConnectionState)
  32552. int16_t L_84 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32553. if ((!(((uint32_t)L_84) == ((uint32_t)((int32_t)11)))))
  32554. {
  32555. goto IL_037b;
  32556. }
  32557. }
  32558. {
  32559. // if (!ExpectCertificateVerifyMessage())
  32560. bool L_85;
  32561. L_85 = VirtualFuncInvoker0< bool >::Invoke(61 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage() */, __this);
  32562. if (L_85)
  32563. {
  32564. goto IL_036b;
  32565. }
  32566. }
  32567. {
  32568. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32569. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_86 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32570. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_86, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32571. IL2CPP_RAISE_MANAGED_EXCEPTION(L_86, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32572. }
  32573. IL_036b:
  32574. {
  32575. // ReceiveCertificateVerifyMessage(buf);
  32576. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_87 = ___buf1;
  32577. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(52 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateVerifyMessage(System.IO.MemoryStream) */, __this, L_87);
  32578. // this.mConnectionState = CS_CERTIFICATE_VERIFY;
  32579. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)12));
  32580. // break;
  32581. return;
  32582. }
  32583. IL_037b:
  32584. {
  32585. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32586. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_88 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32587. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_88, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32588. IL2CPP_RAISE_MANAGED_EXCEPTION(L_88, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32589. }
  32590. IL_0383:
  32591. {
  32592. // switch (this.mConnectionState)
  32593. int16_t L_89 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32594. V_0 = L_89;
  32595. int16_t L_90 = V_0;
  32596. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_90, (int32_t)((int32_t)11)))) <= ((uint32_t)1))))
  32597. {
  32598. goto IL_03f6;
  32599. }
  32600. }
  32601. {
  32602. // if (mConnectionState < CS_CERTIFICATE_VERIFY && ExpectCertificateVerifyMessage())
  32603. int16_t L_91 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32604. if ((((int32_t)L_91) >= ((int32_t)((int32_t)12))))
  32605. {
  32606. goto IL_03ab;
  32607. }
  32608. }
  32609. {
  32610. bool L_92;
  32611. L_92 = VirtualFuncInvoker0< bool >::Invoke(61 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage() */, __this);
  32612. if (!L_92)
  32613. {
  32614. goto IL_03ab;
  32615. }
  32616. }
  32617. {
  32618. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32619. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_93 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32620. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_93, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32621. IL2CPP_RAISE_MANAGED_EXCEPTION(L_93, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32622. }
  32623. IL_03ab:
  32624. {
  32625. // ProcessFinishedMessage(buf);
  32626. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_94 = ___buf1;
  32627. VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_94);
  32628. // this.mConnectionState = CS_CLIENT_FINISHED;
  32629. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
  32630. // if (this.mExpectSessionTicket)
  32631. bool L_95 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
  32632. if (!L_95)
  32633. {
  32634. goto IL_03d3;
  32635. }
  32636. }
  32637. {
  32638. // SendNewSessionTicketMessage(mTlsServer.GetNewSessionTicket());
  32639. RuntimeObject* L_96 = __this->get_mTlsServer_49();
  32640. NullCheck(L_96);
  32641. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_97;
  32642. L_97 = InterfaceFuncInvoker0< NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * >::Invoke(17 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetNewSessionTicket() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_96);
  32643. VirtualActionInvoker1< NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * >::Invoke(57 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendNewSessionTicketMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket) */, __this, L_97);
  32644. }
  32645. IL_03d3:
  32646. {
  32647. // this.mConnectionState = CS_SERVER_SESSION_TICKET;
  32648. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)14));
  32649. // SendChangeCipherSpecMessage();
  32650. VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
  32651. // SendFinishedMessage();
  32652. VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
  32653. // this.mConnectionState = CS_SERVER_FINISHED;
  32654. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
  32655. // CompleteHandshake();
  32656. VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
  32657. // break;
  32658. return;
  32659. }
  32660. IL_03f6:
  32661. {
  32662. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32663. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_98 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32664. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_98, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32665. IL2CPP_RAISE_MANAGED_EXCEPTION(L_98, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32666. }
  32667. IL_03fe:
  32668. {
  32669. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32670. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_99 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32671. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_99, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32672. IL2CPP_RAISE_MANAGED_EXCEPTION(L_99, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
  32673. }
  32674. }
  32675. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::HandleAlertWarningMessage(System.Byte)
  32676. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
  32677. {
  32678. static bool s_Il2CppMethodInitialized;
  32679. if (!s_Il2CppMethodInitialized)
  32680. {
  32681. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  32682. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  32683. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32684. s_Il2CppMethodInitialized = true;
  32685. }
  32686. int16_t V_0 = 0;
  32687. {
  32688. // base.HandleAlertWarningMessage(alertDescription);
  32689. uint8_t L_0 = ___alertDescription0;
  32690. TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E(__this, L_0, /*hidden argument*/NULL);
  32691. uint8_t L_1 = ___alertDescription0;
  32692. if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)41)))))
  32693. {
  32694. goto IL_0060;
  32695. }
  32696. }
  32697. {
  32698. // if (TlsUtilities.IsSsl(Context) && this.mCertificateRequest != null)
  32699. RuntimeObject* L_2;
  32700. L_2 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32701. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32702. bool L_3;
  32703. L_3 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_2, /*hidden argument*/NULL);
  32704. if (!L_3)
  32705. {
  32706. goto IL_0058;
  32707. }
  32708. }
  32709. {
  32710. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_4 = __this->get_mCertificateRequest_53();
  32711. if (!L_4)
  32712. {
  32713. goto IL_0058;
  32714. }
  32715. }
  32716. {
  32717. // switch (this.mConnectionState)
  32718. int16_t L_5 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32719. V_0 = L_5;
  32720. int16_t L_6 = V_0;
  32721. if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)8))) <= ((uint32_t)1))))
  32722. {
  32723. goto IL_0058;
  32724. }
  32725. }
  32726. {
  32727. // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
  32728. int16_t L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
  32729. if ((((int32_t)L_7) >= ((int32_t)((int32_t)9))))
  32730. {
  32731. goto IL_0044;
  32732. }
  32733. }
  32734. {
  32735. // mTlsServer.ProcessClientSupplementalData(null);
  32736. RuntimeObject* L_8 = __this->get_mTlsServer_49();
  32737. NullCheck(L_8);
  32738. InterfaceActionInvoker1< RuntimeObject* >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::ProcessClientSupplementalData(System.Collections.IList) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_8, (RuntimeObject*)NULL);
  32739. }
  32740. IL_0044:
  32741. {
  32742. // NotifyClientCertificate(Certificate.EmptyChain);
  32743. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  32744. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_9 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
  32745. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_9);
  32746. // this.mConnectionState = CS_CLIENT_CERTIFICATE;
  32747. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
  32748. // return;
  32749. return;
  32750. }
  32751. IL_0058:
  32752. {
  32753. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32754. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32755. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32756. IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9_RuntimeMethod_var)));
  32757. }
  32758. IL_0060:
  32759. {
  32760. // }
  32761. return;
  32762. }
  32763. }
  32764. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
  32765. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
  32766. {
  32767. static bool s_Il2CppMethodInitialized;
  32768. if (!s_Il2CppMethodInitialized)
  32769. {
  32770. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
  32771. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  32772. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  32773. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32774. s_Il2CppMethodInitialized = true;
  32775. }
  32776. {
  32777. // if (mCertificateRequest == null)
  32778. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = __this->get_mCertificateRequest_53();
  32779. if (L_0)
  32780. {
  32781. goto IL_000e;
  32782. }
  32783. }
  32784. {
  32785. // throw new InvalidOperationException();
  32786. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  32787. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_1, /*hidden argument*/NULL);
  32788. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var)));
  32789. }
  32790. IL_000e:
  32791. {
  32792. // if (mPeerCertificate != null)
  32793. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  32794. if (!L_2)
  32795. {
  32796. goto IL_001e;
  32797. }
  32798. }
  32799. {
  32800. // throw new TlsFatalAlert(AlertDescription.unexpected_message);
  32801. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  32802. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
  32803. IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var)));
  32804. }
  32805. IL_001e:
  32806. {
  32807. // this.mPeerCertificate = clientCertificate;
  32808. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_4 = ___clientCertificate0;
  32809. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mPeerCertificate_35(L_4);
  32810. // if (clientCertificate.IsEmpty)
  32811. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___clientCertificate0;
  32812. NullCheck(L_5);
  32813. bool L_6;
  32814. L_6 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_5);
  32815. if (!L_6)
  32816. {
  32817. goto IL_003a;
  32818. }
  32819. }
  32820. {
  32821. // this.mKeyExchange.SkipClientCredentials();
  32822. RuntimeObject* L_7 = __this->get_mKeyExchange_51();
  32823. NullCheck(L_7);
  32824. InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_7);
  32825. // }
  32826. goto IL_005d;
  32827. }
  32828. IL_003a:
  32829. {
  32830. // this.mClientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate,
  32831. // this.mServerCredentials.Certificate);
  32832. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_8 = ___clientCertificate0;
  32833. RuntimeObject* L_9 = __this->get_mServerCredentials_52();
  32834. NullCheck(L_9);
  32835. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_10;
  32836. L_10 = InterfaceFuncInvoker0< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(0 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials::get_Certificate() */, TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var, L_9);
  32837. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32838. int16_t L_11;
  32839. L_11 = TlsUtilities_GetClientCertificateType_mAE0F44C7FD3D721D4C0B7D82921FDD21AC2A4F29(L_8, L_10, /*hidden argument*/NULL);
  32840. __this->set_mClientCertificateType_54(L_11);
  32841. // this.mKeyExchange.ProcessClientCertificate(clientCertificate);
  32842. RuntimeObject* L_12 = __this->get_mKeyExchange_51();
  32843. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_13 = ___clientCertificate0;
  32844. NullCheck(L_12);
  32845. InterfaceActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(11 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_12, L_13);
  32846. }
  32847. IL_005d:
  32848. {
  32849. // this.mTlsServer.NotifyClientCertificate(clientCertificate);
  32850. RuntimeObject* L_14 = __this->get_mTlsServer_49();
  32851. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_15 = ___clientCertificate0;
  32852. NullCheck(L_14);
  32853. InterfaceActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_14, L_15);
  32854. // }
  32855. return;
  32856. }
  32857. }
  32858. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateMessage(System.IO.MemoryStream)
  32859. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveCertificateMessage_mC01C5340D1427120B8B5AF2F174713E1F793C33D (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  32860. {
  32861. static bool s_Il2CppMethodInitialized;
  32862. if (!s_Il2CppMethodInitialized)
  32863. {
  32864. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  32865. s_Il2CppMethodInitialized = true;
  32866. }
  32867. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * V_0 = NULL;
  32868. {
  32869. // Certificate clientCertificate = Certificate.Parse(buf);
  32870. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
  32871. IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
  32872. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_1;
  32873. L_1 = Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E(L_0, /*hidden argument*/NULL);
  32874. V_0 = L_1;
  32875. // AssertEmpty(buf);
  32876. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
  32877. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
  32878. // NotifyClientCertificate(clientCertificate);
  32879. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3 = V_0;
  32880. VirtualActionInvoker1< Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate) */, __this, L_3);
  32881. // }
  32882. return;
  32883. }
  32884. }
  32885. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateVerifyMessage(System.IO.MemoryStream)
  32886. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  32887. {
  32888. static bool s_Il2CppMethodInitialized;
  32889. if (!s_Il2CppMethodInitialized)
  32890. {
  32891. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
  32892. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
  32893. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32894. s_Il2CppMethodInitialized = true;
  32895. }
  32896. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_0 = NULL;
  32897. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * V_1 = NULL;
  32898. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
  32899. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * V_3 = NULL;
  32900. Exception_t * V_4 = NULL;
  32901. il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
  32902. il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
  32903. {
  32904. // if (mCertificateRequest == null)
  32905. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = __this->get_mCertificateRequest_53();
  32906. if (L_0)
  32907. {
  32908. goto IL_000e;
  32909. }
  32910. }
  32911. {
  32912. // throw new InvalidOperationException();
  32913. InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
  32914. InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_1, /*hidden argument*/NULL);
  32915. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
  32916. }
  32917. IL_000e:
  32918. {
  32919. // DigitallySigned clientCertificateVerify = DigitallySigned.Parse(Context, buf);
  32920. RuntimeObject* L_2;
  32921. L_2 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32922. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = ___buf0;
  32923. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_4;
  32924. L_4 = DigitallySigned_Parse_m258106102318F297392C5F9705890CCA96F399A2(L_2, L_3, /*hidden argument*/NULL);
  32925. V_0 = L_4;
  32926. // AssertEmpty(buf);
  32927. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = ___buf0;
  32928. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_5, /*hidden argument*/NULL);
  32929. }
  32930. IL_0021:
  32931. try
  32932. {// begin try (depth: 1)
  32933. {
  32934. // SignatureAndHashAlgorithm signatureAlgorithm = clientCertificateVerify.Algorithm;
  32935. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_6 = V_0;
  32936. NullCheck(L_6);
  32937. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_7;
  32938. L_7 = VirtualFuncInvoker0< SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Algorithm() */, L_6);
  32939. V_1 = L_7;
  32940. // if (TlsUtilities.IsTlsV12(Context))
  32941. RuntimeObject* L_8;
  32942. L_8 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  32943. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32944. bool L_9;
  32945. L_9 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_8, /*hidden argument*/NULL);
  32946. if (!L_9)
  32947. {
  32948. goto IL_005a;
  32949. }
  32950. }
  32951. IL_0035:
  32952. {
  32953. // TlsUtilities.VerifySupportedSignatureAlgorithm(mCertificateRequest.SupportedSignatureAlgorithms, signatureAlgorithm);
  32954. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_10 = __this->get_mCertificateRequest_53();
  32955. NullCheck(L_10);
  32956. RuntimeObject* L_11;
  32957. L_11 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_10);
  32958. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_12 = V_1;
  32959. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  32960. TlsUtilities_VerifySupportedSignatureAlgorithm_mB7A7E8BDC377BAB0E781A0537344D18F56F2E59A(L_11, L_12, /*hidden argument*/NULL);
  32961. // hash = mPrepareFinishHash.GetFinalHash(signatureAlgorithm.Hash);
  32962. RuntimeObject* L_13 = __this->get_mPrepareFinishHash_55();
  32963. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_14 = V_1;
  32964. NullCheck(L_14);
  32965. uint8_t L_15;
  32966. L_15 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_14);
  32967. NullCheck(L_13);
  32968. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
  32969. L_16 = InterfaceFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, uint8_t >::Invoke(6 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::GetFinalHash(System.Byte) */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_13, L_15);
  32970. V_2 = L_16;
  32971. // }
  32972. goto IL_0066;
  32973. }
  32974. IL_005a:
  32975. {
  32976. // hash = mSecurityParameters.SessionHash;
  32977. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  32978. NullCheck(L_17);
  32979. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
  32980. L_18 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(13 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SessionHash() */, L_17);
  32981. V_2 = L_18;
  32982. }
  32983. IL_0066:
  32984. {
  32985. // X509CertificateStructure x509Cert = mPeerCertificate.GetCertificateAt(0);
  32986. Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_19 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
  32987. NullCheck(L_19);
  32988. X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_20;
  32989. L_20 = VirtualFuncInvoker1< X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 *, int32_t >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::GetCertificateAt(System.Int32) */, L_19, 0);
  32990. // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
  32991. NullCheck(L_20);
  32992. SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_21;
  32993. L_21 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_20, /*hidden argument*/NULL);
  32994. // AsymmetricKeyParameter publicKey = PublicKeyFactory.CreateKey(keyInfo);
  32995. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_22;
  32996. L_22 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_21, /*hidden argument*/NULL);
  32997. V_3 = L_22;
  32998. // TlsSigner tlsSigner = TlsUtilities.CreateTlsSigner((byte)mClientCertificateType);
  32999. int16_t L_23 = __this->get_mClientCertificateType_54();
  33000. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33001. RuntimeObject* L_24;
  33002. L_24 = TlsUtilities_CreateTlsSigner_m7414649CB3AF308E08E9D2C2CA4D6ECA734A479F((uint8_t)((int32_t)((uint8_t)L_23)), /*hidden argument*/NULL);
  33003. // tlsSigner.Init(Context);
  33004. RuntimeObject* L_25 = L_24;
  33005. RuntimeObject* L_26;
  33006. L_26 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33007. NullCheck(L_25);
  33008. InterfaceActionInvoker1< RuntimeObject* >::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_25, L_26);
  33009. // if (!tlsSigner.VerifyRawSignature(signatureAlgorithm, clientCertificateVerify.Signature, publicKey, hash))
  33010. SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_27 = V_1;
  33011. DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_28 = V_0;
  33012. NullCheck(L_28);
  33013. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
  33014. L_29 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_28);
  33015. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_30 = V_3;
  33016. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = V_2;
  33017. NullCheck(L_25);
  33018. bool L_32;
  33019. L_32 = InterfaceFuncInvoker4< bool, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A *, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner::VerifyRawSignature(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,System.Byte[]) */, TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var, L_25, L_27, L_29, L_30, L_31);
  33020. if (L_32)
  33021. {
  33022. goto IL_00ad;
  33023. }
  33024. }
  33025. IL_00a5:
  33026. {
  33027. // throw new TlsFatalAlert(AlertDescription.decrypt_error);
  33028. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_33 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33029. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_33, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
  33030. IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
  33031. }
  33032. IL_00ad:
  33033. {
  33034. // }
  33035. goto IL_00bc;
  33036. }
  33037. }// end try (depth: 1)
  33038. catch(Il2CppExceptionWrapper& e)
  33039. {
  33040. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  33041. {
  33042. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  33043. goto CATCH_00af;
  33044. }
  33045. if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
  33046. {
  33047. IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
  33048. goto CATCH_00b0;
  33049. }
  33050. throw e;
  33051. }
  33052. CATCH_00af:
  33053. {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
  33054. // throw e;
  33055. IL2CPP_RAISE_MANAGED_EXCEPTION(((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)), ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
  33056. }// end catch (depth: 1)
  33057. CATCH_00b0:
  33058. {// begin catch(System.Exception)
  33059. // catch (Exception e)
  33060. V_4 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
  33061. // throw new TlsFatalAlert(AlertDescription.decrypt_error, e);
  33062. Exception_t * L_34 = V_4;
  33063. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33064. TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_35, (uint8_t)((int32_t)51), L_34, /*hidden argument*/NULL);
  33065. IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
  33066. }// end catch (depth: 1)
  33067. IL_00bc:
  33068. {
  33069. // }
  33070. return;
  33071. }
  33072. }
  33073. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientHelloMessage(System.IO.MemoryStream)
  33074. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  33075. {
  33076. static bool s_Il2CppMethodInitialized;
  33077. if (!s_Il2CppMethodInitialized)
  33078. {
  33079. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33080. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  33081. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  33082. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33083. s_Il2CppMethodInitialized = true;
  33084. }
  33085. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
  33086. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
  33087. int32_t V_2 = 0;
  33088. int32_t V_3 = 0;
  33089. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  33090. {
  33091. // ProtocolVersion client_version = TlsUtilities.ReadVersion(buf);
  33092. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
  33093. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33094. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
  33095. L_1 = TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A(L_0, /*hidden argument*/NULL);
  33096. V_0 = L_1;
  33097. // mRecordStream.SetWriteVersion(client_version);
  33098. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33099. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_3 = V_0;
  33100. NullCheck(L_2);
  33101. RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_2, L_3, /*hidden argument*/NULL);
  33102. // if (client_version.IsDtls)
  33103. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_4 = V_0;
  33104. NullCheck(L_4);
  33105. bool L_5;
  33106. L_5 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_4, /*hidden argument*/NULL);
  33107. if (!L_5)
  33108. {
  33109. goto IL_0023;
  33110. }
  33111. }
  33112. {
  33113. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  33114. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33115. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  33116. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33117. }
  33118. IL_0023:
  33119. {
  33120. // byte[] client_random = TlsUtilities.ReadFully(32, buf);
  33121. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = ___buf0;
  33122. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33123. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
  33124. L_8 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)32), L_7, /*hidden argument*/NULL);
  33125. V_1 = L_8;
  33126. // byte[] sessionID = TlsUtilities.ReadOpaque8(buf);
  33127. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = ___buf0;
  33128. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
  33129. L_10 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_9, /*hidden argument*/NULL);
  33130. // if (sessionID.Length > 32)
  33131. NullCheck(L_10);
  33132. if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))) <= ((int32_t)((int32_t)32))))
  33133. {
  33134. goto IL_0040;
  33135. }
  33136. }
  33137. {
  33138. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  33139. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33140. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  33141. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33142. }
  33143. IL_0040:
  33144. {
  33145. // int cipher_suites_length = TlsUtilities.ReadUint16(buf);
  33146. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = ___buf0;
  33147. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33148. int32_t L_13;
  33149. L_13 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_12, /*hidden argument*/NULL);
  33150. V_2 = L_13;
  33151. // if (cipher_suites_length < 2 || (cipher_suites_length & 1) != 0)
  33152. int32_t L_14 = V_2;
  33153. if ((((int32_t)L_14) < ((int32_t)2)))
  33154. {
  33155. goto IL_0050;
  33156. }
  33157. }
  33158. {
  33159. int32_t L_15 = V_2;
  33160. if (!((int32_t)((int32_t)L_15&(int32_t)1)))
  33161. {
  33162. goto IL_0058;
  33163. }
  33164. }
  33165. IL_0050:
  33166. {
  33167. // throw new TlsFatalAlert(AlertDescription.decode_error);
  33168. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_16 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33169. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_16, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
  33170. IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33171. }
  33172. IL_0058:
  33173. {
  33174. // this.mOfferedCipherSuites = TlsUtilities.ReadUint16Array(cipher_suites_length / 2, buf);
  33175. int32_t L_17 = V_2;
  33176. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_18 = ___buf0;
  33177. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33178. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_19;
  33179. L_19 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_17/(int32_t)2)), L_18, /*hidden argument*/NULL);
  33180. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_19);
  33181. // int compression_methods_length = TlsUtilities.ReadUint8(buf);
  33182. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_20 = ___buf0;
  33183. uint8_t L_21;
  33184. L_21 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_20, /*hidden argument*/NULL);
  33185. V_3 = L_21;
  33186. // if (compression_methods_length < 1)
  33187. int32_t L_22 = V_3;
  33188. if ((((int32_t)L_22) >= ((int32_t)1)))
  33189. {
  33190. goto IL_007a;
  33191. }
  33192. }
  33193. {
  33194. // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
  33195. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33196. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
  33197. IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33198. }
  33199. IL_007a:
  33200. {
  33201. // this.mOfferedCompressionMethods = TlsUtilities.ReadUint8Array(compression_methods_length, buf);
  33202. int32_t L_24 = V_3;
  33203. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf0;
  33204. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33205. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
  33206. L_26 = TlsUtilities_ReadUint8Array_m24B3E47B01E3CC1A702DAD1088D1DBF3CD2459D7(L_24, L_25, /*hidden argument*/NULL);
  33207. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCompressionMethods_37(L_26);
  33208. // this.mClientExtensions = ReadExtensions(buf);
  33209. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_27 = ___buf0;
  33210. RuntimeObject* L_28;
  33211. L_28 = TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649(L_27, /*hidden argument*/NULL);
  33212. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mClientExtensions_38(L_28);
  33213. // this.mSecurityParameters.extendedMasterSecret = TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mClientExtensions);
  33214. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_29 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33215. RuntimeObject* L_30 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33216. bool L_31;
  33217. L_31 = TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215(L_30, /*hidden argument*/NULL);
  33218. NullCheck(L_29);
  33219. L_29->set_extendedMasterSecret_14(L_31);
  33220. // if (!mSecurityParameters.IsExtendedMasterSecret && mTlsServer.RequiresExtendedMasterSecret())
  33221. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33222. NullCheck(L_32);
  33223. bool L_33;
  33224. L_33 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_32);
  33225. if (L_33)
  33226. {
  33227. goto IL_00cb;
  33228. }
  33229. }
  33230. {
  33231. RuntimeObject* L_34 = __this->get_mTlsServer_49();
  33232. NullCheck(L_34);
  33233. bool L_35;
  33234. L_35 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::RequiresExtendedMasterSecret() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_34);
  33235. if (!L_35)
  33236. {
  33237. goto IL_00cb;
  33238. }
  33239. }
  33240. {
  33241. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  33242. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_36 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33243. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_36, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  33244. IL2CPP_RAISE_MANAGED_EXCEPTION(L_36, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33245. }
  33246. IL_00cb:
  33247. {
  33248. // ContextAdmin.SetClientVersion(client_version);
  33249. AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_37;
  33250. L_37 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
  33251. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_38 = V_0;
  33252. NullCheck(L_37);
  33253. VirtualActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(19 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::SetClientVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, L_37, L_38);
  33254. // mTlsServer.NotifyClientVersion(client_version);
  33255. RuntimeObject* L_39 = __this->get_mTlsServer_49();
  33256. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_40 = V_0;
  33257. NullCheck(L_39);
  33258. InterfaceActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::NotifyClientVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_39, L_40);
  33259. // mTlsServer.NotifyFallback(Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV));
  33260. RuntimeObject* L_41 = __this->get_mTlsServer_49();
  33261. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_42 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  33262. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33263. bool L_43;
  33264. L_43 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_42, ((int32_t)22016), /*hidden argument*/NULL);
  33265. NullCheck(L_41);
  33266. InterfaceActionInvoker1< bool >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::NotifyFallback(System.Boolean) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_41, L_43);
  33267. // mSecurityParameters.clientRandom = client_random;
  33268. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_44 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33269. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45 = V_1;
  33270. NullCheck(L_44);
  33271. L_44->set_clientRandom_6(L_45);
  33272. // mTlsServer.NotifyOfferedCipherSuites(mOfferedCipherSuites);
  33273. RuntimeObject* L_46 = __this->get_mTlsServer_49();
  33274. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_47 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  33275. NullCheck(L_46);
  33276. InterfaceActionInvoker1< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::NotifyOfferedCipherSuites(System.Int32[]) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_46, L_47);
  33277. // mTlsServer.NotifyOfferedCompressionMethods(mOfferedCompressionMethods);
  33278. RuntimeObject* L_48 = __this->get_mTlsServer_49();
  33279. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_49 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
  33280. NullCheck(L_48);
  33281. InterfaceActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::NotifyOfferedCompressionMethods(System.Byte[]) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_48, L_49);
  33282. // if (Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV))
  33283. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_50 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  33284. bool L_51;
  33285. L_51 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_50, ((int32_t)255), /*hidden argument*/NULL);
  33286. if (!L_51)
  33287. {
  33288. goto IL_0145;
  33289. }
  33290. }
  33291. {
  33292. // this.mSecureRenegotiation = true;
  33293. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
  33294. }
  33295. IL_0145:
  33296. {
  33297. // byte[] renegExtData = TlsUtilities.GetExtensionData(mClientExtensions, ExtensionType.renegotiation_info);
  33298. RuntimeObject* L_52 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33299. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33300. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53;
  33301. L_53 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_52, ((int32_t)65281), /*hidden argument*/NULL);
  33302. V_4 = L_53;
  33303. // if (renegExtData != null)
  33304. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = V_4;
  33305. if (!L_54)
  33306. {
  33307. goto IL_017d;
  33308. }
  33309. }
  33310. {
  33311. // this.mSecureRenegotiation = true;
  33312. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
  33313. // if (!Arrays.ConstantTimeAreEqual(renegExtData, CreateRenegotiationInfo(TlsUtilities.EmptyBytes)))
  33314. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_55 = V_4;
  33315. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33316. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_56 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  33317. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57;
  33318. L_57 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_56, /*hidden argument*/NULL);
  33319. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33320. bool L_58;
  33321. L_58 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_55, L_57, /*hidden argument*/NULL);
  33322. if (L_58)
  33323. {
  33324. goto IL_017d;
  33325. }
  33326. }
  33327. {
  33328. // throw new TlsFatalAlert(AlertDescription.handshake_failure);
  33329. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_59 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33330. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_59, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
  33331. IL2CPP_RAISE_MANAGED_EXCEPTION(L_59, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
  33332. }
  33333. IL_017d:
  33334. {
  33335. // mTlsServer.NotifySecureRenegotiation(this.mSecureRenegotiation);
  33336. RuntimeObject* L_60 = __this->get_mTlsServer_49();
  33337. bool L_61 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
  33338. NullCheck(L_60);
  33339. InterfaceActionInvoker1< bool >::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifySecureRenegotiation(System.Boolean) */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_60, L_61);
  33340. // if (mClientExtensions != null)
  33341. RuntimeObject* L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33342. if (!L_62)
  33343. {
  33344. goto IL_01b3;
  33345. }
  33346. }
  33347. {
  33348. // TlsExtensionsUtilities.GetPaddingExtension(mClientExtensions);
  33349. RuntimeObject* L_63 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33350. int32_t L_64;
  33351. L_64 = TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576(L_63, /*hidden argument*/NULL);
  33352. // mTlsServer.ProcessClientExtensions(mClientExtensions);
  33353. RuntimeObject* L_65 = __this->get_mTlsServer_49();
  33354. RuntimeObject* L_66 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33355. NullCheck(L_65);
  33356. InterfaceActionInvoker1< RuntimeObject* >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::ProcessClientExtensions(System.Collections.IDictionary) */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_65, L_66);
  33357. }
  33358. IL_01b3:
  33359. {
  33360. // }
  33361. return;
  33362. }
  33363. }
  33364. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientKeyExchangeMessage(System.IO.MemoryStream)
  33365. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveClientKeyExchangeMessage_m24ACA9687D7D9E8323958DFF5A887F0F16232FEF (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
  33366. {
  33367. static bool s_Il2CppMethodInitialized;
  33368. if (!s_Il2CppMethodInitialized)
  33369. {
  33370. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
  33371. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
  33372. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33373. s_Il2CppMethodInitialized = true;
  33374. }
  33375. {
  33376. // mKeyExchange.ProcessClientKeyExchange(buf);
  33377. RuntimeObject* L_0 = __this->get_mKeyExchange_51();
  33378. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = ___buf0;
  33379. NullCheck(L_0);
  33380. InterfaceActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(13 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::ProcessClientKeyExchange(System.IO.Stream) */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_0, L_1);
  33381. // AssertEmpty(buf);
  33382. MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
  33383. TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
  33384. // if (TlsUtilities.IsSsl(Context))
  33385. RuntimeObject* L_3;
  33386. L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33387. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33388. bool L_4;
  33389. L_4 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_3, /*hidden argument*/NULL);
  33390. if (!L_4)
  33391. {
  33392. goto IL_0030;
  33393. }
  33394. }
  33395. {
  33396. // EstablishMasterSecret(Context, mKeyExchange);
  33397. RuntimeObject* L_5;
  33398. L_5 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33399. RuntimeObject* L_6 = __this->get_mKeyExchange_51();
  33400. TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_5, L_6, /*hidden argument*/NULL);
  33401. }
  33402. IL_0030:
  33403. {
  33404. // this.mPrepareFinishHash = mRecordStream.PrepareToFinish();
  33405. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33406. NullCheck(L_7);
  33407. RuntimeObject* L_8;
  33408. L_8 = RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0(L_7, /*hidden argument*/NULL);
  33409. __this->set_mPrepareFinishHash_55(L_8);
  33410. // this.mSecurityParameters.sessionHash = GetCurrentPrfHash(Context, mPrepareFinishHash, null);
  33411. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_9 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33412. RuntimeObject* L_10;
  33413. L_10 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33414. RuntimeObject* L_11 = __this->get_mPrepareFinishHash_55();
  33415. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
  33416. L_12 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_10, L_11, (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL, /*hidden argument*/NULL);
  33417. NullCheck(L_9);
  33418. L_9->set_sessionHash_8(L_12);
  33419. // if (!TlsUtilities.IsSsl(Context))
  33420. RuntimeObject* L_13;
  33421. L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33422. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33423. bool L_14;
  33424. L_14 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_13, /*hidden argument*/NULL);
  33425. if (L_14)
  33426. {
  33427. goto IL_007c;
  33428. }
  33429. }
  33430. {
  33431. // EstablishMasterSecret(Context, mKeyExchange);
  33432. RuntimeObject* L_15;
  33433. L_15 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33434. RuntimeObject* L_16 = __this->get_mKeyExchange_51();
  33435. TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_15, L_16, /*hidden argument*/NULL);
  33436. }
  33437. IL_007c:
  33438. {
  33439. // mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
  33440. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_17 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33441. RuntimeObject* L_18;
  33442. L_18 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  33443. NullCheck(L_18);
  33444. RuntimeObject* L_19;
  33445. L_19 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(3 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCompression() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_18);
  33446. RuntimeObject* L_20;
  33447. L_20 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
  33448. NullCheck(L_20);
  33449. RuntimeObject* L_21;
  33450. L_21 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::GetCipher() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_20);
  33451. NullCheck(L_17);
  33452. RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_17, L_19, L_21, /*hidden argument*/NULL);
  33453. // }
  33454. return;
  33455. }
  33456. }
  33457. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateRequestMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
  33458. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendCertificateRequestMessage_m3F3F1C8D618B8E0E1142E8224D6CA969FB3303A3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
  33459. {
  33460. static bool s_Il2CppMethodInitialized;
  33461. if (!s_Il2CppMethodInitialized)
  33462. {
  33463. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33464. s_Il2CppMethodInitialized = true;
  33465. }
  33466. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  33467. {
  33468. // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_request);
  33469. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33470. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
  33471. V_0 = L_0;
  33472. // certificateRequest.Encode(message);
  33473. CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_1 = ___certificateRequest0;
  33474. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
  33475. NullCheck(L_1);
  33476. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::Encode(System.IO.Stream) */, L_1, L_2);
  33477. // message.WriteToRecordStream(this);
  33478. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
  33479. NullCheck(L_3);
  33480. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
  33481. // }
  33482. return;
  33483. }
  33484. }
  33485. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateStatusMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus)
  33486. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendCertificateStatusMessage_m9EC84556012DAC27F69F78A99105307737BF377A (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * ___certificateStatus0, const RuntimeMethod* method)
  33487. {
  33488. static bool s_Il2CppMethodInitialized;
  33489. if (!s_Il2CppMethodInitialized)
  33490. {
  33491. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33492. s_Il2CppMethodInitialized = true;
  33493. }
  33494. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  33495. {
  33496. // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_status);
  33497. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33498. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)22), /*hidden argument*/NULL);
  33499. V_0 = L_0;
  33500. // certificateStatus.Encode(message);
  33501. CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_1 = ___certificateStatus0;
  33502. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
  33503. NullCheck(L_1);
  33504. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::Encode(System.IO.Stream) */, L_1, L_2);
  33505. // message.WriteToRecordStream(this);
  33506. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
  33507. NullCheck(L_3);
  33508. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
  33509. // }
  33510. return;
  33511. }
  33512. }
  33513. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendNewSessionTicketMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket)
  33514. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * ___newSessionTicket0, const RuntimeMethod* method)
  33515. {
  33516. static bool s_Il2CppMethodInitialized;
  33517. if (!s_Il2CppMethodInitialized)
  33518. {
  33519. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33520. s_Il2CppMethodInitialized = true;
  33521. }
  33522. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  33523. {
  33524. // if (newSessionTicket == null)
  33525. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_0 = ___newSessionTicket0;
  33526. if (L_0)
  33527. {
  33528. goto IL_000b;
  33529. }
  33530. }
  33531. {
  33532. // throw new TlsFatalAlert(AlertDescription.internal_error);
  33533. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33534. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33535. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF_RuntimeMethod_var)));
  33536. }
  33537. IL_000b:
  33538. {
  33539. // HandshakeMessage message = new HandshakeMessage(HandshakeType.session_ticket);
  33540. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33541. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_2, (uint8_t)4, /*hidden argument*/NULL);
  33542. V_0 = L_2;
  33543. // newSessionTicket.Encode(message);
  33544. NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_3 = ___newSessionTicket0;
  33545. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_4 = V_0;
  33546. NullCheck(L_3);
  33547. VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::Encode(System.IO.Stream) */, L_3, L_4);
  33548. // message.WriteToRecordStream(this);
  33549. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_5 = V_0;
  33550. NullCheck(L_5);
  33551. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_5, __this, /*hidden argument*/NULL);
  33552. // }
  33553. return;
  33554. }
  33555. }
  33556. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloMessage()
  33557. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  33558. {
  33559. static bool s_Il2CppMethodInitialized;
  33560. if (!s_Il2CppMethodInitialized)
  33561. {
  33562. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33563. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33564. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var);
  33565. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
  33566. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
  33567. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
  33568. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
  33569. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33570. s_Il2CppMethodInitialized = true;
  33571. }
  33572. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
  33573. int32_t V_1 = 0;
  33574. uint8_t V_2 = 0x0;
  33575. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_3 = NULL;
  33576. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
  33577. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B19_0 = NULL;
  33578. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B18_0 = NULL;
  33579. int32_t G_B20_0 = 0;
  33580. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B20_1 = NULL;
  33581. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B22_0 = NULL;
  33582. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B21_0 = NULL;
  33583. int32_t G_B23_0 = 0;
  33584. TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B23_1 = NULL;
  33585. {
  33586. // HandshakeMessage message = new HandshakeMessage(HandshakeType.server_hello);
  33587. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  33588. HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)2, /*hidden argument*/NULL);
  33589. V_0 = L_0;
  33590. // ProtocolVersion server_version = mTlsServer.GetServerVersion();
  33591. RuntimeObject* L_1 = __this->get_mTlsServer_49();
  33592. NullCheck(L_1);
  33593. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2;
  33594. L_2 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetServerVersion() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_1);
  33595. V_3 = L_2;
  33596. // if (!server_version.IsEqualOrEarlierVersionOf(Context.ClientVersion))
  33597. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_3 = V_3;
  33598. RuntimeObject* L_4;
  33599. L_4 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33600. NullCheck(L_4);
  33601. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
  33602. L_5 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ClientVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_4);
  33603. NullCheck(L_3);
  33604. bool L_6;
  33605. L_6 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_3, L_5, /*hidden argument*/NULL);
  33606. if (L_6)
  33607. {
  33608. goto IL_002e;
  33609. }
  33610. }
  33611. {
  33612. // throw new TlsFatalAlert(AlertDescription.internal_error);
  33613. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33614. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33615. IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
  33616. }
  33617. IL_002e:
  33618. {
  33619. // mRecordStream.ReadVersion = server_version;
  33620. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33621. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_9 = V_3;
  33622. NullCheck(L_8);
  33623. RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline(L_8, L_9, /*hidden argument*/NULL);
  33624. // mRecordStream.SetWriteVersion(server_version);
  33625. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33626. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_11 = V_3;
  33627. NullCheck(L_10);
  33628. RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_10, L_11, /*hidden argument*/NULL);
  33629. // mRecordStream.SetRestrictReadVersion(true);
  33630. RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
  33631. NullCheck(L_12);
  33632. RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline(L_12, (bool)1, /*hidden argument*/NULL);
  33633. // ContextAdmin.SetServerVersion(server_version);
  33634. AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_13;
  33635. L_13 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
  33636. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_14 = V_3;
  33637. NullCheck(L_13);
  33638. VirtualActionInvoker1< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(21 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::SetServerVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion) */, L_13, L_14);
  33639. // TlsUtilities.WriteVersion(server_version, message);
  33640. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_15 = V_3;
  33641. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_16 = V_0;
  33642. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33643. TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509(L_15, L_16, /*hidden argument*/NULL);
  33644. // message.Write(this.mSecurityParameters.serverRandom);
  33645. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_17 = V_0;
  33646. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33647. NullCheck(L_18);
  33648. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = L_18->get_serverRandom_7();
  33649. NullCheck(L_17);
  33650. HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_17, L_19, /*hidden argument*/NULL);
  33651. // TlsUtilities.WriteOpaque8(TlsUtilities.EmptyBytes, message);
  33652. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  33653. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_21 = V_0;
  33654. TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_20, L_21, /*hidden argument*/NULL);
  33655. // int selectedCipherSuite = mTlsServer.GetSelectedCipherSuite();
  33656. RuntimeObject* L_22 = __this->get_mTlsServer_49();
  33657. NullCheck(L_22);
  33658. int32_t L_23;
  33659. L_23 = InterfaceFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetSelectedCipherSuite() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_22);
  33660. V_1 = L_23;
  33661. // if (!Arrays.Contains(mOfferedCipherSuites, selectedCipherSuite)
  33662. // || selectedCipherSuite == CipherSuite.TLS_NULL_WITH_NULL_NULL
  33663. // || CipherSuite.IsScsv(selectedCipherSuite)
  33664. // || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, Context.ServerVersion))
  33665. Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_24 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
  33666. int32_t L_25 = V_1;
  33667. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33668. bool L_26;
  33669. L_26 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_24, L_25, /*hidden argument*/NULL);
  33670. if (!L_26)
  33671. {
  33672. goto IL_00b9;
  33673. }
  33674. }
  33675. {
  33676. int32_t L_27 = V_1;
  33677. if (!L_27)
  33678. {
  33679. goto IL_00b9;
  33680. }
  33681. }
  33682. {
  33683. int32_t L_28 = V_1;
  33684. bool L_29;
  33685. L_29 = CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD(L_28, /*hidden argument*/NULL);
  33686. if (L_29)
  33687. {
  33688. goto IL_00b9;
  33689. }
  33690. }
  33691. {
  33692. int32_t L_30 = V_1;
  33693. RuntimeObject* L_31;
  33694. L_31 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33695. NullCheck(L_31);
  33696. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_32;
  33697. L_32 = InterfaceFuncInvoker0< ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_ServerVersion() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_31);
  33698. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33699. bool L_33;
  33700. L_33 = TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182(L_30, L_32, /*hidden argument*/NULL);
  33701. if (L_33)
  33702. {
  33703. goto IL_00c1;
  33704. }
  33705. }
  33706. IL_00b9:
  33707. {
  33708. // throw new TlsFatalAlert(AlertDescription.internal_error);
  33709. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_34 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33710. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_34, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33711. IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
  33712. }
  33713. IL_00c1:
  33714. {
  33715. // mSecurityParameters.cipherSuite = selectedCipherSuite;
  33716. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_35 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33717. int32_t L_36 = V_1;
  33718. NullCheck(L_35);
  33719. L_35->set_cipherSuite_1(L_36);
  33720. // byte selectedCompressionMethod = mTlsServer.GetSelectedCompressionMethod();
  33721. RuntimeObject* L_37 = __this->get_mTlsServer_49();
  33722. NullCheck(L_37);
  33723. uint8_t L_38;
  33724. L_38 = InterfaceFuncInvoker0< uint8_t >::Invoke(8 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetSelectedCompressionMethod() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_37);
  33725. V_2 = L_38;
  33726. // if (!Arrays.Contains(mOfferedCompressionMethods, selectedCompressionMethod))
  33727. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
  33728. uint8_t L_40 = V_2;
  33729. IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
  33730. bool L_41;
  33731. L_41 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_39, L_40, /*hidden argument*/NULL);
  33732. if (L_41)
  33733. {
  33734. goto IL_00ef;
  33735. }
  33736. }
  33737. {
  33738. // throw new TlsFatalAlert(AlertDescription.internal_error);
  33739. TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_42 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
  33740. TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_42, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33741. IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
  33742. }
  33743. IL_00ef:
  33744. {
  33745. // mSecurityParameters.compressionAlgorithm = selectedCompressionMethod;
  33746. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_43 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33747. uint8_t L_44 = V_2;
  33748. NullCheck(L_43);
  33749. L_43->set_compressionAlgorithm_2(L_44);
  33750. // TlsUtilities.WriteUint16(selectedCipherSuite, message);
  33751. int32_t L_45 = V_1;
  33752. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_46 = V_0;
  33753. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33754. TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_45, L_46, /*hidden argument*/NULL);
  33755. // TlsUtilities.WriteUint8(selectedCompressionMethod, message);
  33756. uint8_t L_47 = V_2;
  33757. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_48 = V_0;
  33758. TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825(L_47, L_48, /*hidden argument*/NULL);
  33759. // this.mServerExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(mTlsServer.GetServerExtensions());
  33760. RuntimeObject* L_49 = __this->get_mTlsServer_49();
  33761. NullCheck(L_49);
  33762. RuntimeObject* L_50;
  33763. L_50 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(9 /* System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetServerExtensions() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_49);
  33764. RuntimeObject* L_51;
  33765. L_51 = TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963(L_50, /*hidden argument*/NULL);
  33766. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mServerExtensions_39(L_51);
  33767. // if (this.mSecureRenegotiation)
  33768. bool L_52 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
  33769. if (!L_52)
  33770. {
  33771. goto IL_015f;
  33772. }
  33773. }
  33774. {
  33775. // byte[] renegExtData = TlsUtilities.GetExtensionData(this.mServerExtensions, ExtensionType.renegotiation_info);
  33776. RuntimeObject* L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33777. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33778. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54;
  33779. L_54 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_53, ((int32_t)65281), /*hidden argument*/NULL);
  33780. V_4 = L_54;
  33781. // bool noRenegExt = (null == renegExtData);
  33782. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_55 = V_4;
  33783. // if (noRenegExt)
  33784. if (!((((RuntimeObject*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)L_55) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0))
  33785. {
  33786. goto IL_015f;
  33787. }
  33788. }
  33789. {
  33790. // this.mServerExtensions[ExtensionType.renegotiation_info] = CreateRenegotiationInfo(TlsUtilities.EmptyBytes);
  33791. RuntimeObject* L_56 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33792. int32_t L_57 = ((int32_t)65281);
  33793. RuntimeObject * L_58 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_57);
  33794. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33795. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  33796. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_60;
  33797. L_60 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_59, /*hidden argument*/NULL);
  33798. NullCheck(L_56);
  33799. InterfaceActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(1 /* System.Void System.Collections.IDictionary::set_Item(System.Object,System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_56, L_58, (RuntimeObject *)(RuntimeObject *)L_60);
  33800. }
  33801. IL_015f:
  33802. {
  33803. // if (TlsUtilities.IsSsl(mTlsServerContext))
  33804. TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_61 = __this->get_mTlsServerContext_50();
  33805. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33806. bool L_62;
  33807. L_62 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_61, /*hidden argument*/NULL);
  33808. if (!L_62)
  33809. {
  33810. goto IL_017a;
  33811. }
  33812. }
  33813. {
  33814. // mSecurityParameters.extendedMasterSecret = false;
  33815. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_63 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33816. NullCheck(L_63);
  33817. L_63->set_extendedMasterSecret_14((bool)0);
  33818. // }
  33819. goto IL_0192;
  33820. }
  33821. IL_017a:
  33822. {
  33823. // else if (mSecurityParameters.IsExtendedMasterSecret)
  33824. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_64 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33825. NullCheck(L_64);
  33826. bool L_65;
  33827. L_65 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_64);
  33828. if (!L_65)
  33829. {
  33830. goto IL_0192;
  33831. }
  33832. }
  33833. {
  33834. // TlsExtensionsUtilities.AddExtendedMasterSecretExtension(mServerExtensions);
  33835. RuntimeObject* L_66 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33836. TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1(L_66, /*hidden argument*/NULL);
  33837. }
  33838. IL_0192:
  33839. {
  33840. // if (this.mServerExtensions.Count > 0)
  33841. RuntimeObject* L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33842. NullCheck(L_67);
  33843. int32_t L_68;
  33844. L_68 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var, L_67);
  33845. if ((((int32_t)L_68) <= ((int32_t)0)))
  33846. {
  33847. goto IL_0239;
  33848. }
  33849. }
  33850. {
  33851. // this.mSecurityParameters.encryptThenMac = TlsExtensionsUtilities.HasEncryptThenMacExtension(mServerExtensions);
  33852. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33853. RuntimeObject* L_70 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33854. bool L_71;
  33855. L_71 = TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B(L_70, /*hidden argument*/NULL);
  33856. NullCheck(L_69);
  33857. L_69->set_encryptThenMac_13(L_71);
  33858. // this.mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(mClientExtensions,
  33859. // mServerExtensions, AlertDescription.internal_error);
  33860. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_72 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33861. RuntimeObject* L_73 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
  33862. RuntimeObject* L_74 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33863. int16_t L_75;
  33864. L_75 = VirtualFuncInvoker3< int16_t, RuntimeObject*, RuntimeObject*, uint8_t >::Invoke(47 /* System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessMaxFragmentLengthExtension(System.Collections.IDictionary,System.Collections.IDictionary,System.Byte) */, __this, L_73, L_74, (uint8_t)((int32_t)80));
  33865. NullCheck(L_72);
  33866. L_72->set_maxFragmentLength_11(L_75);
  33867. // this.mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(mServerExtensions);
  33868. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_76 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33869. RuntimeObject* L_77 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33870. bool L_78;
  33871. L_78 = TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F(L_77, /*hidden argument*/NULL);
  33872. NullCheck(L_76);
  33873. L_76->set_truncatedHMac_12(L_78);
  33874. // this.mAllowCertificateStatus = !mResumedSession
  33875. // && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, ExtensionType.status_request,
  33876. // AlertDescription.internal_error);
  33877. bool L_79 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  33878. G_B18_0 = __this;
  33879. if (L_79)
  33880. {
  33881. G_B19_0 = __this;
  33882. goto IL_0207;
  33883. }
  33884. }
  33885. {
  33886. RuntimeObject* L_80 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33887. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33888. bool L_81;
  33889. L_81 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_80, 5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33890. G_B20_0 = ((int32_t)(L_81));
  33891. G_B20_1 = G_B18_0;
  33892. goto IL_0208;
  33893. }
  33894. IL_0207:
  33895. {
  33896. G_B20_0 = 0;
  33897. G_B20_1 = G_B19_0;
  33898. }
  33899. IL_0208:
  33900. {
  33901. NullCheck(G_B20_1);
  33902. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B20_1)->set_mAllowCertificateStatus_44((bool)G_B20_0);
  33903. // this.mExpectSessionTicket = !mResumedSession
  33904. // && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, ExtensionType.session_ticket,
  33905. // AlertDescription.internal_error);
  33906. bool L_82 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
  33907. G_B21_0 = __this;
  33908. if (L_82)
  33909. {
  33910. G_B22_0 = __this;
  33911. goto IL_0227;
  33912. }
  33913. }
  33914. {
  33915. RuntimeObject* L_83 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33916. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33917. bool L_84;
  33918. L_84 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_83, ((int32_t)35), (uint8_t)((int32_t)80), /*hidden argument*/NULL);
  33919. G_B23_0 = ((int32_t)(L_84));
  33920. G_B23_1 = G_B21_0;
  33921. goto IL_0228;
  33922. }
  33923. IL_0227:
  33924. {
  33925. G_B23_0 = 0;
  33926. G_B23_1 = G_B22_0;
  33927. }
  33928. IL_0228:
  33929. {
  33930. NullCheck(G_B23_1);
  33931. ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B23_1)->set_mExpectSessionTicket_45((bool)G_B23_0);
  33932. // WriteExtensions(message, this.mServerExtensions);
  33933. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_85 = V_0;
  33934. RuntimeObject* L_86 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
  33935. TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0(L_85, L_86, /*hidden argument*/NULL);
  33936. }
  33937. IL_0239:
  33938. {
  33939. // mSecurityParameters.prfAlgorithm = GetPrfAlgorithm(Context, mSecurityParameters.CipherSuite);
  33940. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_87 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33941. RuntimeObject* L_88;
  33942. L_88 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
  33943. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_89 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33944. NullCheck(L_89);
  33945. int32_t L_90;
  33946. L_90 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_89);
  33947. int32_t L_91;
  33948. L_91 = TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3(L_88, L_90, /*hidden argument*/NULL);
  33949. NullCheck(L_87);
  33950. L_87->set_prfAlgorithm_3(L_91);
  33951. // mSecurityParameters.verifyDataLength = 12;
  33952. SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_92 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
  33953. NullCheck(L_92);
  33954. L_92->set_verifyDataLength_4(((int32_t)12));
  33955. // ApplyMaxFragmentLengthExtension();
  33956. VirtualActionInvoker0::Invoke(14 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension() */, __this);
  33957. // message.WriteToRecordStream(this);
  33958. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_93 = V_0;
  33959. NullCheck(L_93);
  33960. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_93, __this, /*hidden argument*/NULL);
  33961. // }
  33962. return;
  33963. }
  33964. }
  33965. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloDoneMessage()
  33966. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerHelloDoneMessage_mC2C79727F106A24C645AE286E03A81D4EC7C6B33 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  33967. {
  33968. static bool s_Il2CppMethodInitialized;
  33969. if (!s_Il2CppMethodInitialized)
  33970. {
  33971. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
  33972. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33973. s_Il2CppMethodInitialized = true;
  33974. }
  33975. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
  33976. {
  33977. // byte[] message = new byte[4];
  33978. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)4);
  33979. V_0 = L_0;
  33980. // TlsUtilities.WriteUint8(HandshakeType.server_hello_done, message, 0);
  33981. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = V_0;
  33982. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  33983. TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186((uint8_t)((int32_t)14), L_1, 0, /*hidden argument*/NULL);
  33984. // TlsUtilities.WriteUint24(0, message, 1);
  33985. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
  33986. TlsUtilities_WriteUint24_mCF0566BA8435AE3747917DE7F5A575C323C40ECF(0, L_2, 1, /*hidden argument*/NULL);
  33987. // WriteHandshakeMessage(message, 0, message.Length);
  33988. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
  33989. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
  33990. NullCheck(L_4);
  33991. VirtualActionInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t >::Invoke(26 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteHandshakeMessage(System.Byte[],System.Int32,System.Int32) */, __this, L_3, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))));
  33992. // }
  33993. return;
  33994. }
  33995. }
  33996. // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerKeyExchangeMessage(System.Byte[])
  33997. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerKeyExchangeMessage_m429B360C8A1CD0F68690987C6BB3B25EE57751D3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverKeyExchange0, const RuntimeMethod* method)
  33998. {
  33999. static bool s_Il2CppMethodInitialized;
  34000. if (!s_Il2CppMethodInitialized)
  34001. {
  34002. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  34003. s_Il2CppMethodInitialized = true;
  34004. }
  34005. {
  34006. // HandshakeMessage message = new HandshakeMessage(HandshakeType.server_key_exchange, serverKeyExchange.Length);
  34007. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___serverKeyExchange0;
  34008. NullCheck(L_0);
  34009. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_1 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
  34010. HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852(L_1, (uint8_t)((int32_t)12), ((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))), /*hidden argument*/NULL);
  34011. // message.Write(serverKeyExchange);
  34012. HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = L_1;
  34013. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___serverKeyExchange0;
  34014. NullCheck(L_2);
  34015. HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_2, L_3, /*hidden argument*/NULL);
  34016. // message.WriteToRecordStream(this);
  34017. NullCheck(L_2);
  34018. HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_2, __this, /*hidden argument*/NULL);
  34019. // }
  34020. return;
  34021. }
  34022. }
  34023. // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage()
  34024. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsServerProtocol_ExpectCertificateVerifyMessage_m97FEF17AE96C8AF4448CD7AE7AF366F820A2D391 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
  34025. {
  34026. static bool s_Il2CppMethodInitialized;
  34027. if (!s_Il2CppMethodInitialized)
  34028. {
  34029. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  34030. s_Il2CppMethodInitialized = true;
  34031. }
  34032. {
  34033. // return mClientCertificateType >= 0 && TlsUtilities.HasSigningCapability((byte)mClientCertificateType);
  34034. int16_t L_0 = __this->get_mClientCertificateType_54();
  34035. if ((((int32_t)L_0) < ((int32_t)0)))
  34036. {
  34037. goto IL_0016;
  34038. }
  34039. }
  34040. {
  34041. int16_t L_1 = __this->get_mClientCertificateType_54();
  34042. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  34043. bool L_2;
  34044. L_2 = TlsUtilities_HasSigningCapability_mFFC9436C58DCC2B37C956BB17DB94F8BD8B6360D((uint8_t)((int32_t)((uint8_t)L_1)), /*hidden argument*/NULL);
  34045. return L_2;
  34046. }
  34047. IL_0016:
  34048. {
  34049. return (bool)0;
  34050. }
  34051. }
  34052. #ifdef __clang__
  34053. #pragma clang diagnostic pop
  34054. #endif
  34055. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline (Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * __this, const RuntimeMethod* method)
  34056. {
  34057. {
  34058. // get { return this._armatureData; }
  34059. ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_0 = __this->get__armatureData_17();
  34060. return L_0;
  34061. }
  34062. }
  34063. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
  34064. {
  34065. {
  34066. // get { return mExtendedMasterSecret; }
  34067. bool L_0 = __this->get_mExtendedMasterSecret_7();
  34068. return L_0;
  34069. }
  34070. }
  34071. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
  34072. {
  34073. {
  34074. // get { return mMasterSecret; }
  34075. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mMasterSecret_2();
  34076. return L_0;
  34077. }
  34078. }
  34079. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
  34080. {
  34081. {
  34082. // get { return mHandshakeHash; }
  34083. RuntimeObject* L_0 = __this->get_mHandshakeHash_17();
  34084. return L_0;
  34085. }
  34086. }
  34087. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
  34088. {
  34089. {
  34090. // get { return mReadVersion; }
  34091. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = __this->get_mReadVersion_19();
  34092. return L_0;
  34093. }
  34094. }
  34095. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___writeVersion0, const RuntimeMethod* method)
  34096. {
  34097. {
  34098. // this.mWriteVersion = writeVersion;
  34099. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = ___writeVersion0;
  34100. __this->set_mWriteVersion_20(L_0);
  34101. // }
  34102. return;
  34103. }
  34104. }
  34105. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
  34106. {
  34107. {
  34108. // get { return mCipherSuite; }
  34109. int32_t L_0 = __this->get_mCipherSuite_0();
  34110. return L_0;
  34111. }
  34112. }
  34113. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
  34114. {
  34115. {
  34116. // get { return mCompressionAlgorithm; }
  34117. uint8_t L_0 = __this->get_mCompressionAlgorithm_1();
  34118. return L_0;
  34119. }
  34120. }
  34121. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline (DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 * __this, const RuntimeMethod* method)
  34122. {
  34123. {
  34124. // get { return parameters; }
  34125. DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = __this->get_parameters_1();
  34126. return L_0;
  34127. }
  34128. }
  34129. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
  34130. {
  34131. {
  34132. // get { return p; }
  34133. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_p_1();
  34134. return L_0;
  34135. }
  34136. }
  34137. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
  34138. {
  34139. {
  34140. // get { return g; }
  34141. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_g_2();
  34142. return L_0;
  34143. }
  34144. }
  34145. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
  34146. {
  34147. {
  34148. // get { return q; }
  34149. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_q_3();
  34150. return L_0;
  34151. }
  34152. }
  34153. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method)
  34154. {
  34155. {
  34156. // get { return publicParameter; }
  34157. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = __this->get_publicParameter_0();
  34158. return L_0;
  34159. }
  34160. }
  34161. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method)
  34162. {
  34163. {
  34164. // get { return privateParameter; }
  34165. AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = __this->get_privateParameter_1();
  34166. return L_0;
  34167. }
  34168. }
  34169. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline (ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * __this, const RuntimeMethod* method)
  34170. {
  34171. {
  34172. // get { return parameters; }
  34173. ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = __this->get_parameters_3();
  34174. return L_0;
  34175. }
  34176. }
  34177. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
  34178. {
  34179. {
  34180. // get { return curve; }
  34181. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_0 = __this->get_curve_3();
  34182. return L_0;
  34183. }
  34184. }
  34185. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
  34186. {
  34187. {
  34188. // get { return n; }
  34189. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_n_5();
  34190. return L_0;
  34191. }
  34192. }
  34193. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
  34194. {
  34195. {
  34196. // get { return h; }
  34197. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_h_6();
  34198. return L_0;
  34199. }
  34200. }
  34201. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
  34202. {
  34203. {
  34204. // return seed;
  34205. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_seed_7();
  34206. return L_0;
  34207. }
  34208. }
  34209. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, const RuntimeMethod* method)
  34210. {
  34211. {
  34212. // get { return q; }
  34213. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = __this->get_q_5();
  34214. return L_0;
  34215. }
  34216. }
  34217. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
  34218. {
  34219. {
  34220. // get { return curve; }
  34221. ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_0 = __this->get_curve_0();
  34222. return L_0;
  34223. }
  34224. }
  34225. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
  34226. {
  34227. {
  34228. // get { return g; }
  34229. ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = __this->get_g_2();
  34230. return L_0;
  34231. }
  34232. }
  34233. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
  34234. {
  34235. {
  34236. // get { return n; }
  34237. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_n_3();
  34238. return L_0;
  34239. }
  34240. }
  34241. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
  34242. {
  34243. {
  34244. // get { return h; }
  34245. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_h_4();
  34246. return L_0;
  34247. }
  34248. }
  34249. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline (const RuntimeMethod* method)
  34250. {
  34251. static bool s_Il2CppMethodInitialized;
  34252. if (!s_Il2CppMethodInitialized)
  34253. {
  34254. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  34255. s_Il2CppMethodInitialized = true;
  34256. }
  34257. {
  34258. // return TlsUtilities.EmptyBytes;
  34259. IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
  34260. ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
  34261. return L_0;
  34262. }
  34263. }
  34264. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method)
  34265. {
  34266. {
  34267. // get { return available; }
  34268. int32_t L_0 = __this->get_available_3();
  34269. return L_0;
  34270. }
  34271. }
  34272. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
  34273. {
  34274. {
  34275. // get { return mHandshakeHashUpdater; }
  34276. BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * L_0 = __this->get_mHandshakeHashUpdater_18();
  34277. return L_0;
  34278. }
  34279. }
  34280. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
  34281. {
  34282. {
  34283. // return mPlaintextLimit;
  34284. int32_t L_0 = __this->get_mPlaintextLimit_22();
  34285. return L_0;
  34286. }
  34287. }
  34288. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline (AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * __this, const RuntimeMethod* method)
  34289. {
  34290. {
  34291. // get { return privateKey; }
  34292. bool L_0 = __this->get_privateKey_0();
  34293. return L_0;
  34294. }
  34295. }
  34296. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline (RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * __this, const RuntimeMethod* method)
  34297. {
  34298. {
  34299. // get { return exponent; }
  34300. BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_exponent_3();
  34301. return L_0;
  34302. }
  34303. }
  34304. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, bool ___enabled0, const RuntimeMethod* method)
  34305. {
  34306. {
  34307. // this.mRestrictReadVersion = enabled;
  34308. bool L_0 = ___enabled0;
  34309. __this->set_mRestrictReadVersion_21(L_0);
  34310. // }
  34311. return;
  34312. }
  34313. }
  34314. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___value0, const RuntimeMethod* method)
  34315. {
  34316. {
  34317. // set { this.mReadVersion = value; }
  34318. ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = ___value0;
  34319. __this->set_mReadVersion_19(L_0);
  34320. // set { this.mReadVersion = value; }
  34321. return;
  34322. }
  34323. }
  34324. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint32_t List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_gshared_inline (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * __this, int32_t ___index0, const RuntimeMethod* method)
  34325. {
  34326. {
  34327. int32_t L_0 = ___index0;
  34328. int32_t L_1 = (int32_t)__this->get__size_2();
  34329. if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
  34330. {
  34331. goto IL_000e;
  34332. }
  34333. }
  34334. {
  34335. ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929(/*hidden argument*/NULL);
  34336. }
  34337. IL_000e:
  34338. {
  34339. UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* L_2 = (UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF*)__this->get__items_1();
  34340. int32_t L_3 = ___index0;
  34341. uint32_t L_4;
  34342. L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF*)L_2, (int32_t)L_3);
  34343. return (uint32_t)L_4;
  34344. }
  34345. }