| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223 |
- #include "pch-cpp.hpp"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <limits>
- #include <stdint.h>
- struct VirtualActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- template <typename T1>
- struct VirtualActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct VirtualActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename T1, typename T2, typename T3>
- struct VirtualActionInvoker3
- {
- typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
- }
- };
- template <typename T1, typename T2, typename T3, typename T4>
- struct VirtualActionInvoker4
- {
- typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
- }
- };
- template <typename R>
- struct VirtualFuncInvoker0
- {
- typedef R (*Func)(void*, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- template <typename R, typename T1>
- struct VirtualFuncInvoker1
- {
- typedef R (*Func)(void*, T1, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2>
- struct VirtualFuncInvoker2
- {
- typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3>
- struct VirtualFuncInvoker3
- {
- typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3, typename T4>
- struct VirtualFuncInvoker4
- {
- typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
- struct VirtualFuncInvoker5
- {
- typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
- struct VirtualFuncInvoker7
- {
- typedef R (*Func)(void*, T1, T2, T3, T4, T5, T6, T7, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, p6, p7, invokeData.method);
- }
- };
- struct InterfaceActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- template <typename T1>
- struct InterfaceActionInvoker1
- {
- typedef void (*Action)(void*, T1, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename T1, typename T2>
- struct InterfaceActionInvoker2
- {
- typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename T1, typename T2, typename T3>
- struct InterfaceActionInvoker3
- {
- typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
- }
- };
- template <typename T1, typename T2, typename T3, typename T4>
- struct InterfaceActionInvoker4
- {
- typedef void (*Action)(void*, T1, T2, T3, T4, const RuntimeMethod*);
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- ((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
- }
- };
- template <typename R>
- struct InterfaceFuncInvoker0
- {
- typedef R (*Func)(void*, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- return ((Func)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- template <typename R, typename T1>
- struct InterfaceFuncInvoker1
- {
- typedef R (*Func)(void*, T1, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2>
- struct InterfaceFuncInvoker2
- {
- typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3, typename T4>
- struct InterfaceFuncInvoker4
- {
- typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
- }
- };
- template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
- struct InterfaceFuncInvoker5
- {
- typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
- return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
- }
- };
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>>
- struct Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>>
- struct Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.AnimationData>
- struct Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ArmatureData>
- struct Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BoneData>
- struct Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BonePose>
- struct Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ConstraintData>
- struct Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SkinData>
- struct Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SlotData>
- struct Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE;
- // System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<DragonBones.BaseObject>>
- struct Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC;
- // System.Collections.Generic.Dictionary`2<System.Type,System.UInt32>
- struct Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188;
- // System.Collections.Generic.List`1<DragonBones.ActionData>
- struct List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4;
- // System.Collections.Generic.List`1<DragonBones.Bone>
- struct List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A;
- // System.Collections.Generic.List`1<DragonBones.BoneData>
- struct List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA;
- // System.Collections.Generic.List`1<DragonBones.BoneTimelineState>
- struct List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52;
- // System.Collections.Generic.List`1<System.Boolean>
- struct List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3;
- // System.Collections.Generic.List`1<DragonBones.Constraint>
- struct List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6;
- // System.Collections.Generic.List`1<DragonBones.ConstraintTimelineState>
- struct List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E;
- // System.Collections.Generic.List`1<DragonBones.EventObject>
- struct List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA;
- // System.Collections.Generic.List`1<System.Single>
- struct List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA;
- // System.Collections.Generic.List`1<DragonBones.Slot>
- struct List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2;
- // System.Collections.Generic.List`1<DragonBones.SlotData>
- struct List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE;
- // System.Collections.Generic.List`1<DragonBones.SlotTimelineState>
- struct List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443;
- // System.Collections.Generic.List`1<System.String>
- struct List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3;
- // System.Collections.Generic.List`1<DragonBones.TimelineState>
- struct List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17;
- // System.Collections.Generic.List`1<System.UInt32>
- struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731;
- // System.Threading.Tasks.Task`1<System.Int32>
- struct Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725;
- // System.Byte[][]
- struct ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D;
- // System.Int32[][]
- struct Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[]
- struct BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED;
- // System.Boolean[]
- struct BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C;
- // System.Byte[]
- struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
- // System.Char[]
- struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier[]
- struct DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[]
- struct ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E;
- // System.Int16[]
- struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
- // System.Int32[]
- struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
- // System.Int64[]
- struct Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6;
- // System.IntPtr[]
- struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
- // System.Single[]
- struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
- // System.Diagnostics.StackTrace[]
- struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
- // System.String[]
- struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
- // System.UInt16[]
- struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67;
- // System.UInt32[]
- struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF;
- // System.UInt64[]
- struct UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure[]
- struct X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext
- struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange
- struct AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner
- struct AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1;
- // DragonBones.ActionTimelineState
- struct ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Adler32
- struct Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters
- struct AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier
- struct AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9;
- // DragonBones.AnimationDB
- struct AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A;
- // DragonBones.AnimationData
- struct AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9;
- // DragonBones.AnimationState
- struct AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E;
- // System.ArgumentException
- struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00;
- // System.ArgumentNullException
- struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB;
- // DragonBones.Armature
- struct Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD;
- // DragonBones.ArmatureData
- struct ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
- struct AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter
- struct AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A;
- // DragonBones.BaseObject
- struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream
- struct BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger
- struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9;
- // DragonBones.BlendState
- struct BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue
- struct ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream
- struct ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8;
- // DragonBones.CanvasData
- struct CanvasData_t378879F059E749546F485846D8FC31F4A489A774;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate
- struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest
- struct CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus
- struct CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest
- struct CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash
- struct CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82;
- // UnityEngine.Component
- struct Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement
- struct DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator
- struct DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters
- struct DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters
- struct DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters
- struct DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters
- struct DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters
- struct DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHValidationParameters
- struct DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier
- struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Deflate
- struct Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString
- struct DerBitString_t305465793A47445626D3541AB8CEDE347D874524;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier
- struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer
- struct DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned
- struct DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288;
- // DragonBones.DragonBones
- struct DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D;
- // DragonBones.DragonBonesData
- struct DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner
- struct DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters
- struct DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters
- struct DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner
- struct DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve
- struct ECCurve_t850A42EEB1867F313B111B5A75430D443165B926;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement
- struct ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters
- struct ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner
- struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Endo.ECEndomorphism
- struct ECEndomorphism_tC94CEDEA023268D74990A2B2C08487E5D3DE2F7E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement
- struct ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters
- struct ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator
- struct ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters
- struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier
- struct ECMultiplier_t157DBBD8C0030BD905D93F22A7EDD2DD8AF2C0AC;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint
- struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters
- struct ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters
- struct ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB;
- // System.IO.EndOfStreamException
- struct EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059;
- // System.Exception
- struct Exception_t;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve
- struct F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mPoint
- struct F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve
- struct FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpPoint
- struct FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278;
- // UnityEngine.GameObject
- struct GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner
- struct GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac
- struct HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator
- struct HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension
- struct HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher
- struct IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E;
- // DragonBones.IArmatureProxy
- struct IArmatureProxy_t264634E14E2F74A501F20AF6A1F3C30F58ADE2D6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher
- struct IAsymmetricBlockCipher_tD85974B803F5DD17452DA8A4405647D1B2942F23;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher
- struct IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters
- struct ICipherParameters_t34CE1534DC151ED2EAE336C7381B86567D158F03;
- // System.Collections.IDictionary
- struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest
- struct IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa
- struct IDsa_tC562A77682146D4D0C2A08CDC84191FF987D1270;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaEncoding
- struct IDsaEncoding_t23B673213D9BC239133EE9D68497EA04B1080A25;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator
- struct IDsaKCalculator_tF50AA36AFBA3B4D88C26A1C64ECF2E23FF6A11E2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField
- struct IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C;
- // System.Collections.IList
- struct IList_tB15A9D6625D09661D6E47976BB626C703EC81910;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac
- struct IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable
- struct IMemoable_tCAA06406EC7801BBF87BFBDB788638640A87D5BC;
- // System.IO.IOException
- struct IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator
- struct IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IRsa
- struct IRsa_t5A726381CECF18A2B9E14F74788E42C24FD7D46F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner
- struct ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Inflate
- struct Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638;
- // System.InvalidOperationException
- struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters
- struct KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter
- struct KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC;
- // System.IO.MemoryStream
- struct MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C;
- // UnityEngine.MonoBehaviour
- struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket
- struct NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest
- struct NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82;
- // UnityEngine.Object
- struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV
- struct ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom
- struct ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding
- struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion
- struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream
- struct RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E;
- // DragonBones.Rectangle
- struct Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine
- struct RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner
- struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
- struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801;
- // System.Runtime.Serialization.SafeSerializationManager
- struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom
- struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters
- struct SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803;
- // System.Threading.SemaphoreSlim
- struct SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList
- struct ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters
- struct SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm
- struct SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer
- struct SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF;
- // DragonBones.SkinData
- struct SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8;
- // DragonBones.Slot
- struct Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac
- struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E;
- // System.IO.Stream
- struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB;
- // System.String
- struct String_t;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo
- struct SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry
- struct SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TbsCertificateStructure
- struct TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream
- struct TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C;
- // DragonBones.TextureAtlasData
- struct TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1;
- // UnityStandardAssets.Utility.TimedObjectDestructor
- struct TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993;
- // DragonBones.TimelineData
- struct TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D;
- // DragonBones.TimelineState
- struct TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times
- struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher
- struct TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials
- struct TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication
- struct TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher
- struct TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher
- struct TlsCipher_t5712DE46CB373D72FA5DDFDBC21DB15309ACA191;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient
- struct TlsClient_tADD26470896CB199F4C404BD9550034A74297513;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl
- struct TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol
- struct TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression
- struct TlsCompression_tF3A24709C14F149989D3AC05D919AA3B4A8160B3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext
- struct TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials
- struct TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange
- struct TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities
- struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier
- struct TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression
- struct TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange
- struct TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner
- struct TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner
- struct TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange
- struct TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange
- struct TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner
- struct TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities
- struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials
- struct TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException
- struct TlsException_t1732743E62B1390C3072EA484D216C08D2C75983;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities
- struct TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert
- struct TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived
- struct TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash
- struct TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange
- struct TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac
- struct TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException
- struct TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher
- struct TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression
- struct TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer
- struct TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol
- struct TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler
- struct TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity
- struct TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager
- struct TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange
- struct TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange
- struct TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner
- struct TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities
- struct TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils
- struct TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer
- struct TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl
- struct TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol
- struct TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession
- struct TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl
- struct TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner
- struct TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials
- struct TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream
- struct TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A;
- // UnityEngine.Transform
- struct Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData
- struct UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935;
- // DragonBones.UserData
- struct UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A;
- // System.Void
- struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
- // DragonBones.WorldClock
- struct WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure
- struct X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters
- struct X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint
- struct X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9FieldID
- struct X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8;
- // DragonBones.ZOrderTimelineState
- struct ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream
- struct ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber
- struct SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder
- struct Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917;
- // System.IO.Stream/ReadWriteTask
- struct ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream
- struct DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage
- struct HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F;
- IL2CPP_EXTERN_C RuntimeClass* AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IList_tB15A9D6625D09661D6E47976BB626C703EC81910_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C String_t* _stringLiteral01535C3A4EAE804DC02CB15CE4D83CCCFA82D872;
- IL2CPP_EXTERN_C String_t* _stringLiteral0CDD452B2C2336D2C4DE572858BA380389E9CC5B;
- IL2CPP_EXTERN_C String_t* _stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE;
- IL2CPP_EXTERN_C String_t* _stringLiteral190F59210696C8475CFA176585CFF1622879DBE1;
- IL2CPP_EXTERN_C String_t* _stringLiteral1CA53064AC037645AEB61E213593B732DEA39811;
- IL2CPP_EXTERN_C String_t* _stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69;
- IL2CPP_EXTERN_C String_t* _stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C;
- IL2CPP_EXTERN_C String_t* _stringLiteral294687797ABDD257E21658BA5C1227138C09DD53;
- IL2CPP_EXTERN_C String_t* _stringLiteral2C4D71076EDBBCCA2E9D07081C00234E302AEF79;
- IL2CPP_EXTERN_C String_t* _stringLiteral2F72190F9E764CFA6673369A9C490B95A085AFF0;
- IL2CPP_EXTERN_C String_t* _stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98;
- IL2CPP_EXTERN_C String_t* _stringLiteral344D51DD192D0862CE0E9711FD4A3E4B873165CB;
- IL2CPP_EXTERN_C String_t* _stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D;
- IL2CPP_EXTERN_C String_t* _stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB;
- IL2CPP_EXTERN_C String_t* _stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252;
- IL2CPP_EXTERN_C String_t* _stringLiteral411A64854237B0AD4EE521F452B977C964D0C11F;
- IL2CPP_EXTERN_C String_t* _stringLiteral456163A21AEEF94F6A4BF779794AB694A79B40C1;
- IL2CPP_EXTERN_C String_t* _stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0;
- IL2CPP_EXTERN_C String_t* _stringLiteral4E05F5E4D1E688C1EA07D3556298D06AC8B37E2B;
- IL2CPP_EXTERN_C String_t* _stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43;
- IL2CPP_EXTERN_C String_t* _stringLiteral5250BA63551725419B95C420601F0567BA750D2F;
- IL2CPP_EXTERN_C String_t* _stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4;
- IL2CPP_EXTERN_C String_t* _stringLiteral611C94FC30E43698E7F2C06CC525082A41D50E80;
- IL2CPP_EXTERN_C String_t* _stringLiteral6B72FA35D4EDE9CDE7DB7A03F8847CC07EACFF93;
- IL2CPP_EXTERN_C String_t* _stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256;
- IL2CPP_EXTERN_C String_t* _stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42;
- IL2CPP_EXTERN_C String_t* _stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC;
- IL2CPP_EXTERN_C String_t* _stringLiteral860394B6123C56DF23862D0E8E5C111DAA5373E7;
- IL2CPP_EXTERN_C String_t* _stringLiteral884724CC95307DD596874FA08EE010892E4A183C;
- IL2CPP_EXTERN_C String_t* _stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4;
- IL2CPP_EXTERN_C String_t* _stringLiteral91EB9A41A3555C40AF9D99A5C03E2C5EE594DA43;
- IL2CPP_EXTERN_C String_t* _stringLiteral9321FD50B206A4430EA7A890E40061232A9C2BD2;
- IL2CPP_EXTERN_C String_t* _stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644;
- IL2CPP_EXTERN_C String_t* _stringLiteral9F89FBEA2D349D4A3C6BC61466CA166C572D5AC7;
- IL2CPP_EXTERN_C String_t* _stringLiteralA04466B10E83D10F494805142BC26E01FC2FAB6E;
- IL2CPP_EXTERN_C String_t* _stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7;
- IL2CPP_EXTERN_C String_t* _stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B;
- IL2CPP_EXTERN_C String_t* _stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E;
- IL2CPP_EXTERN_C String_t* _stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D;
- IL2CPP_EXTERN_C String_t* _stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C;
- IL2CPP_EXTERN_C String_t* _stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71;
- IL2CPP_EXTERN_C String_t* _stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303;
- IL2CPP_EXTERN_C String_t* _stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78;
- IL2CPP_EXTERN_C String_t* _stringLiteralAE246C9E6549E0B6B82491683E4A61128F0E8131;
- IL2CPP_EXTERN_C String_t* _stringLiteralAF56843B4028CD637013BC262E54C485F386B807;
- IL2CPP_EXTERN_C String_t* _stringLiteralB0A3497D5BED2CF28F1583DF6E3B1EF34D0E5099;
- IL2CPP_EXTERN_C String_t* _stringLiteralB2CAB479468CF767096ACC4632C28817AA097913;
- IL2CPP_EXTERN_C String_t* _stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD;
- IL2CPP_EXTERN_C String_t* _stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E;
- IL2CPP_EXTERN_C String_t* _stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442;
- IL2CPP_EXTERN_C String_t* _stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5;
- IL2CPP_EXTERN_C String_t* _stringLiteralBDF96DF3EAF79369A531DDAF5811FC3B39F11FEC;
- IL2CPP_EXTERN_C String_t* _stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2;
- IL2CPP_EXTERN_C String_t* _stringLiteralC4DD6340633814C3151204675FB9D82D4702E319;
- IL2CPP_EXTERN_C String_t* _stringLiteralD220CDF0569B079DA9155148CBAAD45EEA57A983;
- IL2CPP_EXTERN_C String_t* _stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26;
- IL2CPP_EXTERN_C String_t* _stringLiteralD7DAD16955D2DF014C7B8CD1EFB4EB61C01BABE4;
- IL2CPP_EXTERN_C String_t* _stringLiteralDB77F5662969C68C9C6D5ECF666ADD5C9D634441;
- IL2CPP_EXTERN_C String_t* _stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC;
- IL2CPP_EXTERN_C String_t* _stringLiteralE7ABFF9F62676E7B9EF244C1CD1C83FA6AD2F1B3;
- IL2CPP_EXTERN_C String_t* _stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084;
- IL2CPP_EXTERN_C String_t* _stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C;
- IL2CPP_EXTERN_C String_t* _stringLiteralF2CCF1E7FF46A317D4B9ADE22CC36C02BB238336;
- IL2CPP_EXTERN_C String_t* _stringLiteralF304F86AAE3300AAF6CC1D68596A5C135E98DA7F;
- IL2CPP_EXTERN_C String_t* _stringLiteralF43EEDBB08A088CD7B0F2B40B4DE6C94C2A1FB0C;
- IL2CPP_EXTERN_C String_t* _stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813;
- IL2CPP_EXTERN_C String_t* _stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034;
- IL2CPP_EXTERN_C const RuntimeMethod* Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsBlockCipher__ctor_mFF4377D1F46CE5D20AE89B4EFDDF99C372CC3A08_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadInput_m821F828B96E180B52B278F1E9D8CD2DCC55C7247_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_ReadOutput_mF64CE8A336C80C6C7F048A721A0F0F4A27B62744_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_WriteData_m2A2ECAABD80A44BCD27764FF07C7A9ADCF01419B_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_WriteHandshakeMessage_m59149BE5A93B0D651A1AA6F1460292D73C08F563_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var;
- struct Exception_t_marshaled_com;
- struct Exception_t_marshaled_pinvoke;
- struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
- struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD;
- struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
- struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA;
- struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
- struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67;
- struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF;
- IL2CPP_EXTERN_C_BEGIN
- IL2CPP_EXTERN_C_END
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Object
- // System.Collections.Generic.List`1<System.UInt32>
- struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 : public RuntimeObject
- {
- public:
- // T[] System.Collections.Generic.List`1::_items
- UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* ____items_1;
- // System.Int32 System.Collections.Generic.List`1::_size
- int32_t ____size_2;
- // System.Int32 System.Collections.Generic.List`1::_version
- int32_t ____version_3;
- // System.Object System.Collections.Generic.List`1::_syncRoot
- RuntimeObject * ____syncRoot_4;
- public:
- inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____items_1)); }
- inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* get__items_1() const { return ____items_1; }
- inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF** get_address_of__items_1() { return &____items_1; }
- inline void set__items_1(UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* value)
- {
- ____items_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
- }
- inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____size_2)); }
- inline int32_t get__size_2() const { return ____size_2; }
- inline int32_t* get_address_of__size_2() { return &____size_2; }
- inline void set__size_2(int32_t value)
- {
- ____size_2 = value;
- }
- inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____version_3)); }
- inline int32_t get__version_3() const { return ____version_3; }
- inline int32_t* get_address_of__version_3() { return &____version_3; }
- inline void set__version_3(int32_t value)
- {
- ____version_3 = value;
- }
- inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731, ____syncRoot_4)); }
- inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
- inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
- inline void set__syncRoot_4(RuntimeObject * value)
- {
- ____syncRoot_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
- }
- };
- struct List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731_StaticFields
- {
- public:
- // T[] System.Collections.Generic.List`1::_emptyArray
- UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* ____emptyArray_5;
- public:
- inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731_StaticFields, ____emptyArray_5)); }
- inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* get__emptyArray_5() const { return ____emptyArray_5; }
- inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF** get_address_of__emptyArray_5() { return &____emptyArray_5; }
- inline void set__emptyArray_5(UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* value)
- {
- ____emptyArray_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext
- struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mNonceRandom
- RuntimeObject* ___mNonceRandom_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSecureRandom
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___mSecureRandom_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSecurityParameters
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___mSecurityParameters_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mClientVersion
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mClientVersion_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mServerVersion
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mServerVersion_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mSession
- RuntimeObject* ___mSession_6;
- // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::mUserObject
- RuntimeObject * ___mUserObject_7;
- public:
- inline static int32_t get_offset_of_mNonceRandom_1() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mNonceRandom_1)); }
- inline RuntimeObject* get_mNonceRandom_1() const { return ___mNonceRandom_1; }
- inline RuntimeObject** get_address_of_mNonceRandom_1() { return &___mNonceRandom_1; }
- inline void set_mNonceRandom_1(RuntimeObject* value)
- {
- ___mNonceRandom_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mNonceRandom_1), (void*)value);
- }
- inline static int32_t get_offset_of_mSecureRandom_2() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSecureRandom_2)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_mSecureRandom_2() const { return ___mSecureRandom_2; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_mSecureRandom_2() { return &___mSecureRandom_2; }
- inline void set_mSecureRandom_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___mSecureRandom_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSecureRandom_2), (void*)value);
- }
- inline static int32_t get_offset_of_mSecurityParameters_3() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSecurityParameters_3)); }
- inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * get_mSecurityParameters_3() const { return ___mSecurityParameters_3; }
- inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 ** get_address_of_mSecurityParameters_3() { return &___mSecurityParameters_3; }
- inline void set_mSecurityParameters_3(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * value)
- {
- ___mSecurityParameters_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSecurityParameters_3), (void*)value);
- }
- inline static int32_t get_offset_of_mClientVersion_4() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mClientVersion_4)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mClientVersion_4() const { return ___mClientVersion_4; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mClientVersion_4() { return &___mClientVersion_4; }
- inline void set_mClientVersion_4(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___mClientVersion_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mClientVersion_4), (void*)value);
- }
- inline static int32_t get_offset_of_mServerVersion_5() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mServerVersion_5)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mServerVersion_5() const { return ___mServerVersion_5; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mServerVersion_5() { return &___mServerVersion_5; }
- inline void set_mServerVersion_5(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___mServerVersion_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerVersion_5), (void*)value);
- }
- inline static int32_t get_offset_of_mSession_6() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mSession_6)); }
- inline RuntimeObject* get_mSession_6() const { return ___mSession_6; }
- inline RuntimeObject** get_address_of_mSession_6() { return &___mSession_6; }
- inline void set_mSession_6(RuntimeObject* value)
- {
- ___mSession_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSession_6), (void*)value);
- }
- inline static int32_t get_offset_of_mUserObject_7() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836, ___mUserObject_7)); }
- inline RuntimeObject * get_mUserObject_7() const { return ___mUserObject_7; }
- inline RuntimeObject ** get_address_of_mUserObject_7() { return &___mUserObject_7; }
- inline void set_mUserObject_7(RuntimeObject * value)
- {
- ___mUserObject_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mUserObject_7), (void*)value);
- }
- };
- struct AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_StaticFields
- {
- public:
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::counter
- int64_t ___counter_0;
- public:
- inline static int32_t get_offset_of_counter_0() { return static_cast<int32_t>(offsetof(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_StaticFields, ___counter_0)); }
- inline int64_t get_counter_0() const { return ___counter_0; }
- inline int64_t* get_address_of_counter_0() { return &___counter_0; }
- inline void set_counter_0(int64_t value)
- {
- ___counter_0 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange
- struct AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mKeyExchange
- int32_t ___mKeyExchange_0;
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mSupportedSignatureAlgorithms
- RuntimeObject* ___mSupportedSignatureAlgorithms_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::mContext
- RuntimeObject* ___mContext_2;
- public:
- inline static int32_t get_offset_of_mKeyExchange_0() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mKeyExchange_0)); }
- inline int32_t get_mKeyExchange_0() const { return ___mKeyExchange_0; }
- inline int32_t* get_address_of_mKeyExchange_0() { return &___mKeyExchange_0; }
- inline void set_mKeyExchange_0(int32_t value)
- {
- ___mKeyExchange_0 = value;
- }
- inline static int32_t get_offset_of_mSupportedSignatureAlgorithms_1() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mSupportedSignatureAlgorithms_1)); }
- inline RuntimeObject* get_mSupportedSignatureAlgorithms_1() const { return ___mSupportedSignatureAlgorithms_1; }
- inline RuntimeObject** get_address_of_mSupportedSignatureAlgorithms_1() { return &___mSupportedSignatureAlgorithms_1; }
- inline void set_mSupportedSignatureAlgorithms_1(RuntimeObject* value)
- {
- ___mSupportedSignatureAlgorithms_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSupportedSignatureAlgorithms_1), (void*)value);
- }
- inline static int32_t get_offset_of_mContext_2() { return static_cast<int32_t>(offsetof(AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA, ___mContext_2)); }
- inline RuntimeObject* get_mContext_2() const { return ___mContext_2; }
- inline RuntimeObject** get_address_of_mContext_2() { return &___mContext_2; }
- inline void set_mContext_2(RuntimeObject* value)
- {
- ___mContext_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mContext_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner
- struct AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner::mContext
- RuntimeObject* ___mContext_0;
- public:
- inline static int32_t get_offset_of_mContext_0() { return static_cast<int32_t>(offsetof(AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1, ___mContext_0)); }
- inline RuntimeObject* get_mContext_0() const { return ___mContext_0; }
- inline RuntimeObject** get_address_of_mContext_0() { return &___mContext_0; }
- inline void set_mContext_0(RuntimeObject* value)
- {
- ___mContext_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mContext_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters
- struct AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::associatedText
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___associatedText_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::nonce
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___nonce_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::key
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * ___key_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::macSize
- int32_t ___macSize_3;
- public:
- inline static int32_t get_offset_of_associatedText_0() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___associatedText_0)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_associatedText_0() const { return ___associatedText_0; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_associatedText_0() { return &___associatedText_0; }
- inline void set_associatedText_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___associatedText_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___associatedText_0), (void*)value);
- }
- inline static int32_t get_offset_of_nonce_1() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___nonce_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_nonce_1() const { return ___nonce_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_nonce_1() { return &___nonce_1; }
- inline void set_nonce_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___nonce_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___nonce_1), (void*)value);
- }
- inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___key_2)); }
- inline KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * get_key_2() const { return ___key_2; }
- inline KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC ** get_address_of_key_2() { return &___key_2; }
- inline void set_key_2(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * value)
- {
- ___key_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
- }
- inline static int32_t get_offset_of_macSize_3() { return static_cast<int32_t>(offsetof(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64, ___macSize_3)); }
- inline int32_t get_macSize_3() const { return ___macSize_3; }
- inline int32_t* get_address_of_macSize_3() { return &___macSize_3; }
- inline void set_macSize_3(int32_t value)
- {
- ___macSize_3 = value;
- }
- };
- struct Il2CppArrayBounds;
- // System.Array
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable
- struct Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
- struct AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::publicParameter
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicParameter_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::privateParameter
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateParameter_1;
- public:
- inline static int32_t get_offset_of_publicParameter_0() { return static_cast<int32_t>(offsetof(AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929, ___publicParameter_0)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_publicParameter_0() const { return ___publicParameter_0; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_publicParameter_0() { return &___publicParameter_0; }
- inline void set_publicParameter_0(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___publicParameter_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___publicParameter_0), (void*)value);
- }
- inline static int32_t get_offset_of_privateParameter_1() { return static_cast<int32_t>(offsetof(AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929, ___privateParameter_1)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_privateParameter_1() const { return ___privateParameter_1; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_privateParameter_1() { return &___privateParameter_1; }
- inline void set_privateParameter_1(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___privateParameter_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___privateParameter_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter
- struct AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A : public RuntimeObject
- {
- public:
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter::privateKey
- bool ___privateKey_0;
- public:
- inline static int32_t get_offset_of_privateKey_0() { return static_cast<int32_t>(offsetof(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A, ___privateKey_0)); }
- inline bool get_privateKey_0() const { return ___privateKey_0; }
- inline bool* get_address_of_privateKey_0() { return &___privateKey_0; }
- inline void set_privateKey_0(bool value)
- {
- ___privateKey_0 = value;
- }
- };
- // DragonBones.BaseObject
- struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424 : public RuntimeObject
- {
- public:
- // System.UInt32 DragonBones.BaseObject::hashCode
- uint32_t ___hashCode_4;
- public:
- inline static int32_t get_offset_of_hashCode_4() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424, ___hashCode_4)); }
- inline uint32_t get_hashCode_4() const { return ___hashCode_4; }
- inline uint32_t* get_address_of_hashCode_4() { return &___hashCode_4; }
- inline void set_hashCode_4(uint32_t value)
- {
- ___hashCode_4 = value;
- }
- };
- struct BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields
- {
- public:
- // System.UInt32 DragonBones.BaseObject::_hashCode
- uint32_t ____hashCode_0;
- // System.UInt32 DragonBones.BaseObject::_defaultMaxCount
- uint32_t ____defaultMaxCount_1;
- // System.Collections.Generic.Dictionary`2<System.Type,System.UInt32> DragonBones.BaseObject::_maxCountMap
- Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * ____maxCountMap_2;
- // System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<DragonBones.BaseObject>> DragonBones.BaseObject::_poolsMap
- Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * ____poolsMap_3;
- public:
- inline static int32_t get_offset_of__hashCode_0() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____hashCode_0)); }
- inline uint32_t get__hashCode_0() const { return ____hashCode_0; }
- inline uint32_t* get_address_of__hashCode_0() { return &____hashCode_0; }
- inline void set__hashCode_0(uint32_t value)
- {
- ____hashCode_0 = value;
- }
- inline static int32_t get_offset_of__defaultMaxCount_1() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____defaultMaxCount_1)); }
- inline uint32_t get__defaultMaxCount_1() const { return ____defaultMaxCount_1; }
- inline uint32_t* get_address_of__defaultMaxCount_1() { return &____defaultMaxCount_1; }
- inline void set__defaultMaxCount_1(uint32_t value)
- {
- ____defaultMaxCount_1 = value;
- }
- inline static int32_t get_offset_of__maxCountMap_2() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____maxCountMap_2)); }
- inline Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * get__maxCountMap_2() const { return ____maxCountMap_2; }
- inline Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 ** get_address_of__maxCountMap_2() { return &____maxCountMap_2; }
- inline void set__maxCountMap_2(Dictionary_2_t4C9705E9093402846FF0A84B5A6A514BB1B61188 * value)
- {
- ____maxCountMap_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____maxCountMap_2), (void*)value);
- }
- inline static int32_t get_offset_of__poolsMap_3() { return static_cast<int32_t>(offsetof(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_StaticFields, ____poolsMap_3)); }
- inline Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * get__poolsMap_3() const { return ____poolsMap_3; }
- inline Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC ** get_address_of__poolsMap_3() { return &____poolsMap_3; }
- inline void set__poolsMap_3(Dictionary_2_t0D9FE4F55E8D8F5436135E39FBEE635CC7D362DC * value)
- {
- ____poolsMap_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____poolsMap_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger
- struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 : public RuntimeObject
- {
- public:
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::magnitude
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___magnitude_30;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::sign
- int32_t ___sign_31;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::nBits
- int32_t ___nBits_32;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::nBitLength
- int32_t ___nBitLength_33;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::mQuote
- int32_t ___mQuote_34;
- public:
- inline static int32_t get_offset_of_magnitude_30() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___magnitude_30)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_magnitude_30() const { return ___magnitude_30; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_magnitude_30() { return &___magnitude_30; }
- inline void set_magnitude_30(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___magnitude_30 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___magnitude_30), (void*)value);
- }
- inline static int32_t get_offset_of_sign_31() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___sign_31)); }
- inline int32_t get_sign_31() const { return ___sign_31; }
- inline int32_t* get_address_of_sign_31() { return &___sign_31; }
- inline void set_sign_31(int32_t value)
- {
- ___sign_31 = value;
- }
- inline static int32_t get_offset_of_nBits_32() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___nBits_32)); }
- inline int32_t get_nBits_32() const { return ___nBits_32; }
- inline int32_t* get_address_of_nBits_32() { return &___nBits_32; }
- inline void set_nBits_32(int32_t value)
- {
- ___nBits_32 = value;
- }
- inline static int32_t get_offset_of_nBitLength_33() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___nBitLength_33)); }
- inline int32_t get_nBitLength_33() const { return ___nBitLength_33; }
- inline int32_t* get_address_of_nBitLength_33() { return &___nBitLength_33; }
- inline void set_nBitLength_33(int32_t value)
- {
- ___nBitLength_33 = value;
- }
- inline static int32_t get_offset_of_mQuote_34() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9, ___mQuote_34)); }
- inline int32_t get_mQuote_34() const { return ___mQuote_34; }
- inline int32_t* get_address_of_mQuote_34() { return &___mQuote_34; }
- inline void set_mQuote_34(int32_t value)
- {
- ___mQuote_34 = value;
- }
- };
- struct BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields
- {
- public:
- // System.Int32[][] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::primeLists
- Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* ___primeLists_0;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::primeProducts
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___primeProducts_1;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ZeroMagnitude
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___ZeroMagnitude_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ZeroEncoding
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ZeroEncoding_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::SMALL_CONSTANTS
- BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* ___SMALL_CONSTANTS_6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Zero
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Zero_7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::One
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___One_8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Two
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Two_9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Three
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Three_10;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::Ten
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Ten_11;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::BitLengthTable
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___BitLengthTable_12;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix2
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix2_17;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix2E
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix2E_18;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix8
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix8_19;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix8E
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix8E_20;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix10
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix10_21;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix10E
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix10E_22;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix16
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix16_23;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::radix16E
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___radix16E_24;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::RandomSource
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___RandomSource_25;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ExpWindowThresholds
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___ExpWindowThresholds_26;
- public:
- inline static int32_t get_offset_of_primeLists_0() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___primeLists_0)); }
- inline Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* get_primeLists_0() const { return ___primeLists_0; }
- inline Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF** get_address_of_primeLists_0() { return &___primeLists_0; }
- inline void set_primeLists_0(Int32U5BU5DU5BU5D_t104DBF1B996084AA19567FD32B02EDF88D044FAF* value)
- {
- ___primeLists_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___primeLists_0), (void*)value);
- }
- inline static int32_t get_offset_of_primeProducts_1() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___primeProducts_1)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_primeProducts_1() const { return ___primeProducts_1; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_primeProducts_1() { return &___primeProducts_1; }
- inline void set_primeProducts_1(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___primeProducts_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___primeProducts_1), (void*)value);
- }
- inline static int32_t get_offset_of_ZeroMagnitude_4() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ZeroMagnitude_4)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_ZeroMagnitude_4() const { return ___ZeroMagnitude_4; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_ZeroMagnitude_4() { return &___ZeroMagnitude_4; }
- inline void set_ZeroMagnitude_4(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___ZeroMagnitude_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___ZeroMagnitude_4), (void*)value);
- }
- inline static int32_t get_offset_of_ZeroEncoding_5() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ZeroEncoding_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_ZeroEncoding_5() const { return ___ZeroEncoding_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_ZeroEncoding_5() { return &___ZeroEncoding_5; }
- inline void set_ZeroEncoding_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___ZeroEncoding_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___ZeroEncoding_5), (void*)value);
- }
- inline static int32_t get_offset_of_SMALL_CONSTANTS_6() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___SMALL_CONSTANTS_6)); }
- inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* get_SMALL_CONSTANTS_6() const { return ___SMALL_CONSTANTS_6; }
- inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED** get_address_of_SMALL_CONSTANTS_6() { return &___SMALL_CONSTANTS_6; }
- inline void set_SMALL_CONSTANTS_6(BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* value)
- {
- ___SMALL_CONSTANTS_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SMALL_CONSTANTS_6), (void*)value);
- }
- inline static int32_t get_offset_of_Zero_7() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Zero_7)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Zero_7() const { return ___Zero_7; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Zero_7() { return &___Zero_7; }
- inline void set_Zero_7(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Zero_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Zero_7), (void*)value);
- }
- inline static int32_t get_offset_of_One_8() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___One_8)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_One_8() const { return ___One_8; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_One_8() { return &___One_8; }
- inline void set_One_8(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___One_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___One_8), (void*)value);
- }
- inline static int32_t get_offset_of_Two_9() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Two_9)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Two_9() const { return ___Two_9; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Two_9() { return &___Two_9; }
- inline void set_Two_9(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Two_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Two_9), (void*)value);
- }
- inline static int32_t get_offset_of_Three_10() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Three_10)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Three_10() const { return ___Three_10; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Three_10() { return &___Three_10; }
- inline void set_Three_10(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Three_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Three_10), (void*)value);
- }
- inline static int32_t get_offset_of_Ten_11() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___Ten_11)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Ten_11() const { return ___Ten_11; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Ten_11() { return &___Ten_11; }
- inline void set_Ten_11(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Ten_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Ten_11), (void*)value);
- }
- inline static int32_t get_offset_of_BitLengthTable_12() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___BitLengthTable_12)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_BitLengthTable_12() const { return ___BitLengthTable_12; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_BitLengthTable_12() { return &___BitLengthTable_12; }
- inline void set_BitLengthTable_12(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___BitLengthTable_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___BitLengthTable_12), (void*)value);
- }
- inline static int32_t get_offset_of_radix2_17() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix2_17)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix2_17() const { return ___radix2_17; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix2_17() { return &___radix2_17; }
- inline void set_radix2_17(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix2_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix2_17), (void*)value);
- }
- inline static int32_t get_offset_of_radix2E_18() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix2E_18)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix2E_18() const { return ___radix2E_18; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix2E_18() { return &___radix2E_18; }
- inline void set_radix2E_18(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix2E_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix2E_18), (void*)value);
- }
- inline static int32_t get_offset_of_radix8_19() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix8_19)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix8_19() const { return ___radix8_19; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix8_19() { return &___radix8_19; }
- inline void set_radix8_19(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix8_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix8_19), (void*)value);
- }
- inline static int32_t get_offset_of_radix8E_20() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix8E_20)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix8E_20() const { return ___radix8E_20; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix8E_20() { return &___radix8E_20; }
- inline void set_radix8E_20(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix8E_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix8E_20), (void*)value);
- }
- inline static int32_t get_offset_of_radix10_21() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix10_21)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix10_21() const { return ___radix10_21; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix10_21() { return &___radix10_21; }
- inline void set_radix10_21(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix10_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix10_21), (void*)value);
- }
- inline static int32_t get_offset_of_radix10E_22() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix10E_22)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix10E_22() const { return ___radix10E_22; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix10E_22() { return &___radix10E_22; }
- inline void set_radix10E_22(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix10E_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix10E_22), (void*)value);
- }
- inline static int32_t get_offset_of_radix16_23() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix16_23)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix16_23() const { return ___radix16_23; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix16_23() { return &___radix16_23; }
- inline void set_radix16_23(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix16_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix16_23), (void*)value);
- }
- inline static int32_t get_offset_of_radix16E_24() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___radix16E_24)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_radix16E_24() const { return ___radix16E_24; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_radix16E_24() { return &___radix16E_24; }
- inline void set_radix16E_24(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___radix16E_24 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___radix16E_24), (void*)value);
- }
- inline static int32_t get_offset_of_RandomSource_25() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___RandomSource_25)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_RandomSource_25() const { return ___RandomSource_25; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_RandomSource_25() { return &___RandomSource_25; }
- inline void set_RandomSource_25(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___RandomSource_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___RandomSource_25), (void*)value);
- }
- inline static int32_t get_offset_of_ExpWindowThresholds_26() { return static_cast<int32_t>(offsetof(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields, ___ExpWindowThresholds_26)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_ExpWindowThresholds_26() const { return ___ExpWindowThresholds_26; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_ExpWindowThresholds_26() { return &___ExpWindowThresholds_26; }
- inline void set_ExpWindowThresholds_26(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___ExpWindowThresholds_26 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___ExpWindowThresholds_26), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue
- struct ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::databuf
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___databuf_1;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::skipped
- int32_t ___skipped_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::available
- int32_t ___available_3;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::readOnlyBuf
- bool ___readOnlyBuf_4;
- public:
- inline static int32_t get_offset_of_databuf_1() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___databuf_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_databuf_1() const { return ___databuf_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_databuf_1() { return &___databuf_1; }
- inline void set_databuf_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___databuf_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___databuf_1), (void*)value);
- }
- inline static int32_t get_offset_of_skipped_2() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___skipped_2)); }
- inline int32_t get_skipped_2() const { return ___skipped_2; }
- inline int32_t* get_address_of_skipped_2() { return &___skipped_2; }
- inline void set_skipped_2(int32_t value)
- {
- ___skipped_2 = value;
- }
- inline static int32_t get_offset_of_available_3() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___available_3)); }
- inline int32_t get_available_3() const { return ___available_3; }
- inline int32_t* get_address_of_available_3() { return &___available_3; }
- inline void set_available_3(int32_t value)
- {
- ___available_3 = value;
- }
- inline static int32_t get_offset_of_readOnlyBuf_4() { return static_cast<int32_t>(offsetof(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471, ___readOnlyBuf_4)); }
- inline bool get_readOnlyBuf_4() const { return ___readOnlyBuf_4; }
- inline bool* get_address_of_readOnlyBuf_4() { return &___readOnlyBuf_4; }
- inline void set_readOnlyBuf_4(bool value)
- {
- ___readOnlyBuf_4 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate
- struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::mCertificateList
- X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* ___mCertificateList_1;
- public:
- inline static int32_t get_offset_of_mCertificateList_1() { return static_cast<int32_t>(offsetof(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E, ___mCertificateList_1)); }
- inline X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* get_mCertificateList_1() const { return ___mCertificateList_1; }
- inline X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58** get_address_of_mCertificateList_1() { return &___mCertificateList_1; }
- inline void set_mCertificateList_1(X509CertificateStructureU5BU5D_t2F3A4833FE6F77F1E0B95CFEAD767253B6538B58* value)
- {
- ___mCertificateList_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateList_1), (void*)value);
- }
- };
- struct Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::EmptyChain
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___EmptyChain_0;
- public:
- inline static int32_t get_offset_of_EmptyChain_0() { return static_cast<int32_t>(offsetof(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields, ___EmptyChain_0)); }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_EmptyChain_0() const { return ___EmptyChain_0; }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_EmptyChain_0() { return &___EmptyChain_0; }
- inline void set_EmptyChain_0(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
- {
- ___EmptyChain_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EmptyChain_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest
- struct CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mCertificateTypes
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mCertificateTypes_0;
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mSupportedSignatureAlgorithms
- RuntimeObject* ___mSupportedSignatureAlgorithms_1;
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::mCertificateAuthorities
- RuntimeObject* ___mCertificateAuthorities_2;
- public:
- inline static int32_t get_offset_of_mCertificateTypes_0() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mCertificateTypes_0)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mCertificateTypes_0() const { return ___mCertificateTypes_0; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mCertificateTypes_0() { return &___mCertificateTypes_0; }
- inline void set_mCertificateTypes_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mCertificateTypes_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateTypes_0), (void*)value);
- }
- inline static int32_t get_offset_of_mSupportedSignatureAlgorithms_1() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mSupportedSignatureAlgorithms_1)); }
- inline RuntimeObject* get_mSupportedSignatureAlgorithms_1() const { return ___mSupportedSignatureAlgorithms_1; }
- inline RuntimeObject** get_address_of_mSupportedSignatureAlgorithms_1() { return &___mSupportedSignatureAlgorithms_1; }
- inline void set_mSupportedSignatureAlgorithms_1(RuntimeObject* value)
- {
- ___mSupportedSignatureAlgorithms_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSupportedSignatureAlgorithms_1), (void*)value);
- }
- inline static int32_t get_offset_of_mCertificateAuthorities_2() { return static_cast<int32_t>(offsetof(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620, ___mCertificateAuthorities_2)); }
- inline RuntimeObject* get_mCertificateAuthorities_2() const { return ___mCertificateAuthorities_2; }
- inline RuntimeObject** get_address_of_mCertificateAuthorities_2() { return &___mCertificateAuthorities_2; }
- inline void set_mCertificateAuthorities_2(RuntimeObject* value)
- {
- ___mCertificateAuthorities_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateAuthorities_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus
- struct CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 : public RuntimeObject
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::mStatusType
- uint8_t ___mStatusType_0;
- // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::mResponse
- RuntimeObject * ___mResponse_1;
- public:
- inline static int32_t get_offset_of_mStatusType_0() { return static_cast<int32_t>(offsetof(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3, ___mStatusType_0)); }
- inline uint8_t get_mStatusType_0() const { return ___mStatusType_0; }
- inline uint8_t* get_address_of_mStatusType_0() { return &___mStatusType_0; }
- inline void set_mStatusType_0(uint8_t value)
- {
- ___mStatusType_0 = value;
- }
- inline static int32_t get_offset_of_mResponse_1() { return static_cast<int32_t>(offsetof(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3, ___mResponse_1)); }
- inline RuntimeObject * get_mResponse_1() const { return ___mResponse_1; }
- inline RuntimeObject ** get_address_of_mResponse_1() { return &___mResponse_1; }
- inline void set_mResponse_1(RuntimeObject * value)
- {
- ___mResponse_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mResponse_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest
- struct CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 : public RuntimeObject
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::mStatusType
- uint8_t ___mStatusType_0;
- // System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::mRequest
- RuntimeObject * ___mRequest_1;
- public:
- inline static int32_t get_offset_of_mStatusType_0() { return static_cast<int32_t>(offsetof(CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30, ___mStatusType_0)); }
- inline uint8_t get_mStatusType_0() const { return ___mStatusType_0; }
- inline uint8_t* get_address_of_mStatusType_0() { return &___mStatusType_0; }
- inline void set_mStatusType_0(uint8_t value)
- {
- ___mStatusType_0 = value;
- }
- inline static int32_t get_offset_of_mRequest_1() { return static_cast<int32_t>(offsetof(CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30, ___mRequest_1)); }
- inline RuntimeObject * get_mRequest_1() const { return ___mRequest_1; }
- inline RuntimeObject ** get_address_of_mRequest_1() { return &___mRequest_1; }
- inline void set_mRequest_1(RuntimeObject * value)
- {
- ___mRequest_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mRequest_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash
- struct CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mContext
- RuntimeObject* ___mContext_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mMd5
- RuntimeObject* ___mMd5_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::mSha1
- RuntimeObject* ___mSha1_2;
- public:
- inline static int32_t get_offset_of_mContext_0() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mContext_0)); }
- inline RuntimeObject* get_mContext_0() const { return ___mContext_0; }
- inline RuntimeObject** get_address_of_mContext_0() { return &___mContext_0; }
- inline void set_mContext_0(RuntimeObject* value)
- {
- ___mContext_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mContext_0), (void*)value);
- }
- inline static int32_t get_offset_of_mMd5_1() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mMd5_1)); }
- inline RuntimeObject* get_mMd5_1() const { return ___mMd5_1; }
- inline RuntimeObject** get_address_of_mMd5_1() { return &___mMd5_1; }
- inline void set_mMd5_1(RuntimeObject* value)
- {
- ___mMd5_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mMd5_1), (void*)value);
- }
- inline static int32_t get_offset_of_mSha1_2() { return static_cast<int32_t>(offsetof(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82, ___mSha1_2)); }
- inline RuntimeObject* get_mSha1_2() const { return ___mSha1_2; }
- inline RuntimeObject** get_address_of_mSha1_2() { return &___mSha1_2; }
- inline void set_mSha1_2(RuntimeObject* value)
- {
- ___mSha1_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSha1_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement
- struct DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::key
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___key_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::dhParams
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams_1;
- public:
- inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99, ___key_0)); }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_key_0() const { return ___key_0; }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_key_0() { return &___key_0; }
- inline void set_key_0(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
- {
- ___key_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
- }
- inline static int32_t get_offset_of_dhParams_1() { return static_cast<int32_t>(offsetof(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99, ___dhParams_1)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_dhParams_1() const { return ___dhParams_1; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_dhParams_1() { return &___dhParams_1; }
- inline void set_dhParams_1(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___dhParams_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___dhParams_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator
- struct DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::param
- DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * ___param_0;
- public:
- inline static int32_t get_offset_of_param_0() { return static_cast<int32_t>(offsetof(DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519, ___param_0)); }
- inline DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * get_param_0() const { return ___param_0; }
- inline DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 ** get_address_of_param_0() { return &___param_0; }
- inline void set_param_0(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * value)
- {
- ___param_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___param_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters
- struct DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::p
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___p_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::g
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___g_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::q
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___q_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::j
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___j_4;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::m
- int32_t ___m_5;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::l
- int32_t ___l_6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHValidationParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::validation
- DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * ___validation_7;
- public:
- inline static int32_t get_offset_of_p_1() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___p_1)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_p_1() const { return ___p_1; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_p_1() { return &___p_1; }
- inline void set_p_1(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___p_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___p_1), (void*)value);
- }
- inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___g_2)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_g_2() const { return ___g_2; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_g_2() { return &___g_2; }
- inline void set_g_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___g_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___g_2), (void*)value);
- }
- inline static int32_t get_offset_of_q_3() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___q_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_q_3() const { return ___q_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_q_3() { return &___q_3; }
- inline void set_q_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___q_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___q_3), (void*)value);
- }
- inline static int32_t get_offset_of_j_4() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___j_4)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_j_4() const { return ___j_4; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_j_4() { return &___j_4; }
- inline void set_j_4(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___j_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___j_4), (void*)value);
- }
- inline static int32_t get_offset_of_m_5() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___m_5)); }
- inline int32_t get_m_5() const { return ___m_5; }
- inline int32_t* get_address_of_m_5() { return &___m_5; }
- inline void set_m_5(int32_t value)
- {
- ___m_5 = value;
- }
- inline static int32_t get_offset_of_l_6() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___l_6)); }
- inline int32_t get_l_6() const { return ___l_6; }
- inline int32_t* get_address_of_l_6() { return &___l_6; }
- inline void set_l_6(int32_t value)
- {
- ___l_6 = value;
- }
- inline static int32_t get_offset_of_validation_7() { return static_cast<int32_t>(offsetof(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C, ___validation_7)); }
- inline DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * get_validation_7() const { return ___validation_7; }
- inline DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B ** get_address_of_validation_7() { return &___validation_7; }
- inline void set_validation_7(DHValidationParameters_tCDBD8028A8BCB6006359D79B96AED0C1AEC0433B * value)
- {
- ___validation_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___validation_7), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier
- struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 : public RuntimeObject
- {
- public:
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::mGroups
- RuntimeObject* ___mGroups_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::mMinimumPrimeBits
- int32_t ___mMinimumPrimeBits_3;
- public:
- inline static int32_t get_offset_of_mGroups_2() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1, ___mGroups_2)); }
- inline RuntimeObject* get_mGroups_2() const { return ___mGroups_2; }
- inline RuntimeObject** get_address_of_mGroups_2() { return &___mGroups_2; }
- inline void set_mGroups_2(RuntimeObject* value)
- {
- ___mGroups_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mGroups_2), (void*)value);
- }
- inline static int32_t get_offset_of_mMinimumPrimeBits_3() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1, ___mMinimumPrimeBits_3)); }
- inline int32_t get_mMinimumPrimeBits_3() const { return ___mMinimumPrimeBits_3; }
- inline int32_t* get_address_of_mMinimumPrimeBits_3() { return &___mMinimumPrimeBits_3; }
- inline void set_mMinimumPrimeBits_3(int32_t value)
- {
- ___mMinimumPrimeBits_3 = value;
- }
- };
- struct DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::DefaultMinimumPrimeBits
- int32_t ___DefaultMinimumPrimeBits_0;
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::DefaultGroups
- RuntimeObject* ___DefaultGroups_1;
- public:
- inline static int32_t get_offset_of_DefaultMinimumPrimeBits_0() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields, ___DefaultMinimumPrimeBits_0)); }
- inline int32_t get_DefaultMinimumPrimeBits_0() const { return ___DefaultMinimumPrimeBits_0; }
- inline int32_t* get_address_of_DefaultMinimumPrimeBits_0() { return &___DefaultMinimumPrimeBits_0; }
- inline void set_DefaultMinimumPrimeBits_0(int32_t value)
- {
- ___DefaultMinimumPrimeBits_0 = value;
- }
- inline static int32_t get_offset_of_DefaultGroups_1() { return static_cast<int32_t>(offsetof(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_StaticFields, ___DefaultGroups_1)); }
- inline RuntimeObject* get_DefaultGroups_1() const { return ___DefaultGroups_1; }
- inline RuntimeObject** get_address_of_DefaultGroups_1() { return &___DefaultGroups_1; }
- inline void set_DefaultGroups_1(RuntimeObject* value)
- {
- ___DefaultGroups_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___DefaultGroups_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned
- struct DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::mAlgorithm
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___mAlgorithm_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::mSignature
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSignature_1;
- public:
- inline static int32_t get_offset_of_mAlgorithm_0() { return static_cast<int32_t>(offsetof(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288, ___mAlgorithm_0)); }
- inline SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * get_mAlgorithm_0() const { return ___mAlgorithm_0; }
- inline SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 ** get_address_of_mAlgorithm_0() { return &___mAlgorithm_0; }
- inline void set_mAlgorithm_0(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * value)
- {
- ___mAlgorithm_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mAlgorithm_0), (void*)value);
- }
- inline static int32_t get_offset_of_mSignature_1() { return static_cast<int32_t>(offsetof(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288, ___mSignature_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSignature_1() const { return ___mSignature_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSignature_1() { return &___mSignature_1; }
- inline void set_mSignature_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mSignature_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSignature_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner
- struct DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::dsa
- RuntimeObject* ___dsa_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::digest
- RuntimeObject* ___digest_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaEncoding BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::encoding
- RuntimeObject* ___encoding_2;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::forSigning
- bool ___forSigning_3;
- public:
- inline static int32_t get_offset_of_dsa_0() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___dsa_0)); }
- inline RuntimeObject* get_dsa_0() const { return ___dsa_0; }
- inline RuntimeObject** get_address_of_dsa_0() { return &___dsa_0; }
- inline void set_dsa_0(RuntimeObject* value)
- {
- ___dsa_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___dsa_0), (void*)value);
- }
- inline static int32_t get_offset_of_digest_1() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___digest_1)); }
- inline RuntimeObject* get_digest_1() const { return ___digest_1; }
- inline RuntimeObject** get_address_of_digest_1() { return &___digest_1; }
- inline void set_digest_1(RuntimeObject* value)
- {
- ___digest_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___digest_1), (void*)value);
- }
- inline static int32_t get_offset_of_encoding_2() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___encoding_2)); }
- inline RuntimeObject* get_encoding_2() const { return ___encoding_2; }
- inline RuntimeObject** get_address_of_encoding_2() { return &___encoding_2; }
- inline void set_encoding_2(RuntimeObject* value)
- {
- ___encoding_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___encoding_2), (void*)value);
- }
- inline static int32_t get_offset_of_forSigning_3() { return static_cast<int32_t>(offsetof(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55, ___forSigning_3)); }
- inline bool get_forSigning_3() const { return ___forSigning_3; }
- inline bool* get_address_of_forSigning_3() { return &___forSigning_3; }
- inline void set_forSigning_3(bool value)
- {
- ___forSigning_3 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner
- struct DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::kCalculator
- RuntimeObject* ___kCalculator_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::key
- DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * ___key_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_2;
- public:
- inline static int32_t get_offset_of_kCalculator_0() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___kCalculator_0)); }
- inline RuntimeObject* get_kCalculator_0() const { return ___kCalculator_0; }
- inline RuntimeObject** get_address_of_kCalculator_0() { return &___kCalculator_0; }
- inline void set_kCalculator_0(RuntimeObject* value)
- {
- ___kCalculator_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___kCalculator_0), (void*)value);
- }
- inline static int32_t get_offset_of_key_1() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___key_1)); }
- inline DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * get_key_1() const { return ___key_1; }
- inline DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 ** get_address_of_key_1() { return &___key_1; }
- inline void set_key_1(DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 * value)
- {
- ___key_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_1), (void*)value);
- }
- inline static int32_t get_offset_of_random_2() { return static_cast<int32_t>(offsetof(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22, ___random_2)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_2() const { return ___random_2; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_2() { return &___random_2; }
- inline void set_random_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve
- struct ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_field
- RuntimeObject* ___m_field_8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_a
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_a_9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_b
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_b_10;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_order
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_order_11;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_cofactor
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_cofactor_12;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_coord
- int32_t ___m_coord_13;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Endo.ECEndomorphism BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_endomorphism
- RuntimeObject* ___m_endomorphism_14;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier.ECMultiplier BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::m_multiplier
- RuntimeObject* ___m_multiplier_15;
- public:
- inline static int32_t get_offset_of_m_field_8() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_field_8)); }
- inline RuntimeObject* get_m_field_8() const { return ___m_field_8; }
- inline RuntimeObject** get_address_of_m_field_8() { return &___m_field_8; }
- inline void set_m_field_8(RuntimeObject* value)
- {
- ___m_field_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_field_8), (void*)value);
- }
- inline static int32_t get_offset_of_m_a_9() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_a_9)); }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_a_9() const { return ___m_a_9; }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_a_9() { return &___m_a_9; }
- inline void set_m_a_9(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
- {
- ___m_a_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_a_9), (void*)value);
- }
- inline static int32_t get_offset_of_m_b_10() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_b_10)); }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_b_10() const { return ___m_b_10; }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_b_10() { return &___m_b_10; }
- inline void set_m_b_10(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
- {
- ___m_b_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_b_10), (void*)value);
- }
- inline static int32_t get_offset_of_m_order_11() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_order_11)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_order_11() const { return ___m_order_11; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_order_11() { return &___m_order_11; }
- inline void set_m_order_11(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___m_order_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_order_11), (void*)value);
- }
- inline static int32_t get_offset_of_m_cofactor_12() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_cofactor_12)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_cofactor_12() const { return ___m_cofactor_12; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_cofactor_12() { return &___m_cofactor_12; }
- inline void set_m_cofactor_12(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___m_cofactor_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_cofactor_12), (void*)value);
- }
- inline static int32_t get_offset_of_m_coord_13() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_coord_13)); }
- inline int32_t get_m_coord_13() const { return ___m_coord_13; }
- inline int32_t* get_address_of_m_coord_13() { return &___m_coord_13; }
- inline void set_m_coord_13(int32_t value)
- {
- ___m_coord_13 = value;
- }
- inline static int32_t get_offset_of_m_endomorphism_14() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_endomorphism_14)); }
- inline RuntimeObject* get_m_endomorphism_14() const { return ___m_endomorphism_14; }
- inline RuntimeObject** get_address_of_m_endomorphism_14() { return &___m_endomorphism_14; }
- inline void set_m_endomorphism_14(RuntimeObject* value)
- {
- ___m_endomorphism_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_endomorphism_14), (void*)value);
- }
- inline static int32_t get_offset_of_m_multiplier_15() { return static_cast<int32_t>(offsetof(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926, ___m_multiplier_15)); }
- inline RuntimeObject* get_m_multiplier_15() const { return ___m_multiplier_15; }
- inline RuntimeObject** get_address_of_m_multiplier_15() { return &___m_multiplier_15; }
- inline void set_m_multiplier_15(RuntimeObject* value)
- {
- ___m_multiplier_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_multiplier_15), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement
- struct ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::privKey
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privKey_0;
- public:
- inline static int32_t get_offset_of_privKey_0() { return static_cast<int32_t>(offsetof(ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914, ___privKey_0)); }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_privKey_0() const { return ___privKey_0; }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_privKey_0() { return &___privKey_0; }
- inline void set_privKey_0(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
- {
- ___privKey_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___privKey_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters
- struct ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::curve
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::seed
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___seed_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::g
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___g_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::n
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::h
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::hInv
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___hInv_5;
- public:
- inline static int32_t get_offset_of_curve_0() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___curve_0)); }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_curve_0() const { return ___curve_0; }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_curve_0() { return &___curve_0; }
- inline void set_curve_0(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
- {
- ___curve_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___curve_0), (void*)value);
- }
- inline static int32_t get_offset_of_seed_1() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___seed_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_seed_1() const { return ___seed_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_seed_1() { return &___seed_1; }
- inline void set_seed_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___seed_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___seed_1), (void*)value);
- }
- inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___g_2)); }
- inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * get_g_2() const { return ___g_2; }
- inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA ** get_address_of_g_2() { return &___g_2; }
- inline void set_g_2(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * value)
- {
- ___g_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___g_2), (void*)value);
- }
- inline static int32_t get_offset_of_n_3() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___n_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_3() const { return ___n_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_3() { return &___n_3; }
- inline void set_n_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___n_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___n_3), (void*)value);
- }
- inline static int32_t get_offset_of_h_4() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___h_4)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_h_4() const { return ___h_4; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_h_4() { return &___h_4; }
- inline void set_h_4(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___h_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___h_4), (void*)value);
- }
- inline static int32_t get_offset_of_hInv_5() { return static_cast<int32_t>(offsetof(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC, ___hInv_5)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_hInv_5() const { return ___hInv_5; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_hInv_5() { return &___hInv_5; }
- inline void set_hInv_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___hInv_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___hInv_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner
- struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::kCalculator
- RuntimeObject* ___kCalculator_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::key
- ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * ___key_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
- public:
- inline static int32_t get_offset_of_kCalculator_1() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___kCalculator_1)); }
- inline RuntimeObject* get_kCalculator_1() const { return ___kCalculator_1; }
- inline RuntimeObject** get_address_of_kCalculator_1() { return &___kCalculator_1; }
- inline void set_kCalculator_1(RuntimeObject* value)
- {
- ___kCalculator_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___kCalculator_1), (void*)value);
- }
- inline static int32_t get_offset_of_key_2() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___key_2)); }
- inline ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * get_key_2() const { return ___key_2; }
- inline ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 ** get_address_of_key_2() { return &___key_2; }
- inline void set_key_2(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * value)
- {
- ___key_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_2), (void*)value);
- }
- inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760, ___random_3)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
- inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
- }
- };
- struct ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::Eight
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Eight_0;
- public:
- inline static int32_t get_offset_of_Eight_0() { return static_cast<int32_t>(offsetof(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_StaticFields, ___Eight_0)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Eight_0() const { return ___Eight_0; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Eight_0() { return &___Eight_0; }
- inline void set_Eight_0(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Eight_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Eight_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement
- struct ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator
- struct ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D : public RuntimeObject
- {
- public:
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::algorithm
- String_t* ___algorithm_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::parameters
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::publicKeyParamSet
- DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
- public:
- inline static int32_t get_offset_of_algorithm_0() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___algorithm_0)); }
- inline String_t* get_algorithm_0() const { return ___algorithm_0; }
- inline String_t** get_address_of_algorithm_0() { return &___algorithm_0; }
- inline void set_algorithm_0(String_t* value)
- {
- ___algorithm_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algorithm_0), (void*)value);
- }
- inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___parameters_1)); }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_parameters_1() const { return ___parameters_1; }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_parameters_1() { return &___parameters_1; }
- inline void set_parameters_1(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
- {
- ___parameters_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
- }
- inline static int32_t get_offset_of_publicKeyParamSet_2() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___publicKeyParamSet_2)); }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_2() const { return ___publicKeyParamSet_2; }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_2() { return &___publicKeyParamSet_2; }
- inline void set_publicKeyParamSet_2(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
- {
- ___publicKeyParamSet_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_2), (void*)value);
- }
- inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D, ___random_3)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
- inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint
- struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_curve
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___m_curve_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_x
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_x_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_y
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___m_y_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_zs
- ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* ___m_zs_4;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_withCompression
- bool ___m_withCompression_5;
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::m_preCompTable
- RuntimeObject* ___m_preCompTable_6;
- public:
- inline static int32_t get_offset_of_m_curve_1() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_curve_1)); }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_m_curve_1() const { return ___m_curve_1; }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_m_curve_1() { return &___m_curve_1; }
- inline void set_m_curve_1(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
- {
- ___m_curve_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_curve_1), (void*)value);
- }
- inline static int32_t get_offset_of_m_x_2() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_x_2)); }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_x_2() const { return ___m_x_2; }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_x_2() { return &___m_x_2; }
- inline void set_m_x_2(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
- {
- ___m_x_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_x_2), (void*)value);
- }
- inline static int32_t get_offset_of_m_y_3() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_y_3)); }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * get_m_y_3() const { return ___m_y_3; }
- inline ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 ** get_address_of_m_y_3() { return &___m_y_3; }
- inline void set_m_y_3(ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * value)
- {
- ___m_y_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_y_3), (void*)value);
- }
- inline static int32_t get_offset_of_m_zs_4() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_zs_4)); }
- inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* get_m_zs_4() const { return ___m_zs_4; }
- inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E** get_address_of_m_zs_4() { return &___m_zs_4; }
- inline void set_m_zs_4(ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* value)
- {
- ___m_zs_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_zs_4), (void*)value);
- }
- inline static int32_t get_offset_of_m_withCompression_5() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_withCompression_5)); }
- inline bool get_m_withCompression_5() const { return ___m_withCompression_5; }
- inline bool* get_address_of_m_withCompression_5() { return &___m_withCompression_5; }
- inline void set_m_withCompression_5(bool value)
- {
- ___m_withCompression_5 = value;
- }
- inline static int32_t get_offset_of_m_preCompTable_6() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA, ___m_preCompTable_6)); }
- inline RuntimeObject* get_m_preCompTable_6() const { return ___m_preCompTable_6; }
- inline RuntimeObject** get_address_of_m_preCompTable_6() { return &___m_preCompTable_6; }
- inline void set_m_preCompTable_6(RuntimeObject* value)
- {
- ___m_preCompTable_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_preCompTable_6), (void*)value);
- }
- };
- struct ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::EMPTY_ZS
- ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* ___EMPTY_ZS_0;
- public:
- inline static int32_t get_offset_of_EMPTY_ZS_0() { return static_cast<int32_t>(offsetof(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA_StaticFields, ___EMPTY_ZS_0)); }
- inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* get_EMPTY_ZS_0() const { return ___EMPTY_ZS_0; }
- inline ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E** get_address_of_EMPTY_ZS_0() { return &___EMPTY_ZS_0; }
- inline void set_EMPTY_ZS_0(ECFieldElementU5BU5D_tED7137DB1C0FB7E75B3A30A606822D4ED381D94E* value)
- {
- ___EMPTY_ZS_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EMPTY_ZS_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType
- struct ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64 : public RuntimeObject
- {
- public:
- public:
- };
- struct ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType::DRAFT_token_binding
- int32_t ___DRAFT_token_binding_25;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ExtensionType::negotiated_ff_dhe_groups
- int32_t ___negotiated_ff_dhe_groups_28;
- public:
- inline static int32_t get_offset_of_DRAFT_token_binding_25() { return static_cast<int32_t>(offsetof(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields, ___DRAFT_token_binding_25)); }
- inline int32_t get_DRAFT_token_binding_25() const { return ___DRAFT_token_binding_25; }
- inline int32_t* get_address_of_DRAFT_token_binding_25() { return &___DRAFT_token_binding_25; }
- inline void set_DRAFT_token_binding_25(int32_t value)
- {
- ___DRAFT_token_binding_25 = value;
- }
- 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)); }
- inline int32_t get_negotiated_ff_dhe_groups_28() const { return ___negotiated_ff_dhe_groups_28; }
- inline int32_t* get_address_of_negotiated_ff_dhe_groups_28() { return &___negotiated_ff_dhe_groups_28; }
- inline void set_negotiated_ff_dhe_groups_28(int32_t value)
- {
- ___negotiated_ff_dhe_groups_28 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner
- struct GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::engine
- RuntimeObject* ___engine_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::digest
- RuntimeObject* ___digest_1;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::forSigning
- bool ___forSigning_2;
- public:
- inline static int32_t get_offset_of_engine_0() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___engine_0)); }
- inline RuntimeObject* get_engine_0() const { return ___engine_0; }
- inline RuntimeObject** get_address_of_engine_0() { return &___engine_0; }
- inline void set_engine_0(RuntimeObject* value)
- {
- ___engine_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___engine_0), (void*)value);
- }
- inline static int32_t get_offset_of_digest_1() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___digest_1)); }
- inline RuntimeObject* get_digest_1() const { return ___digest_1; }
- inline RuntimeObject** get_address_of_digest_1() { return &___digest_1; }
- inline void set_digest_1(RuntimeObject* value)
- {
- ___digest_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___digest_1), (void*)value);
- }
- inline static int32_t get_offset_of_forSigning_2() { return static_cast<int32_t>(offsetof(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E, ___forSigning_2)); }
- inline bool get_forSigning_2() const { return ___forSigning_2; }
- inline bool* get_address_of_forSigning_2() { return &___forSigning_2; }
- inline void set_forSigning_2(bool value)
- {
- ___forSigning_2 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac
- struct HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::digest
- RuntimeObject* ___digest_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::digestSize
- int32_t ___digestSize_3;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::blockLength
- int32_t ___blockLength_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::ipadState
- RuntimeObject* ___ipadState_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::opadState
- RuntimeObject* ___opadState_6;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::inputPad
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___inputPad_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::outputBuf
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___outputBuf_8;
- public:
- inline static int32_t get_offset_of_digest_2() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___digest_2)); }
- inline RuntimeObject* get_digest_2() const { return ___digest_2; }
- inline RuntimeObject** get_address_of_digest_2() { return &___digest_2; }
- inline void set_digest_2(RuntimeObject* value)
- {
- ___digest_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___digest_2), (void*)value);
- }
- inline static int32_t get_offset_of_digestSize_3() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___digestSize_3)); }
- inline int32_t get_digestSize_3() const { return ___digestSize_3; }
- inline int32_t* get_address_of_digestSize_3() { return &___digestSize_3; }
- inline void set_digestSize_3(int32_t value)
- {
- ___digestSize_3 = value;
- }
- inline static int32_t get_offset_of_blockLength_4() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___blockLength_4)); }
- inline int32_t get_blockLength_4() const { return ___blockLength_4; }
- inline int32_t* get_address_of_blockLength_4() { return &___blockLength_4; }
- inline void set_blockLength_4(int32_t value)
- {
- ___blockLength_4 = value;
- }
- inline static int32_t get_offset_of_ipadState_5() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___ipadState_5)); }
- inline RuntimeObject* get_ipadState_5() const { return ___ipadState_5; }
- inline RuntimeObject** get_address_of_ipadState_5() { return &___ipadState_5; }
- inline void set_ipadState_5(RuntimeObject* value)
- {
- ___ipadState_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___ipadState_5), (void*)value);
- }
- inline static int32_t get_offset_of_opadState_6() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___opadState_6)); }
- inline RuntimeObject* get_opadState_6() const { return ___opadState_6; }
- inline RuntimeObject** get_address_of_opadState_6() { return &___opadState_6; }
- inline void set_opadState_6(RuntimeObject* value)
- {
- ___opadState_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___opadState_6), (void*)value);
- }
- inline static int32_t get_offset_of_inputPad_7() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___inputPad_7)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_inputPad_7() const { return ___inputPad_7; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_inputPad_7() { return &___inputPad_7; }
- inline void set_inputPad_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___inputPad_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___inputPad_7), (void*)value);
- }
- inline static int32_t get_offset_of_outputBuf_8() { return static_cast<int32_t>(offsetof(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B, ___outputBuf_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_outputBuf_8() const { return ___outputBuf_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_outputBuf_8() { return &___outputBuf_8; }
- inline void set_outputBuf_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___outputBuf_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___outputBuf_8), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator
- struct HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::hMac
- HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * ___hMac_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::K
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___K_1;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::V
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___V_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::n
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_3;
- public:
- inline static int32_t get_offset_of_hMac_0() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___hMac_0)); }
- inline HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * get_hMac_0() const { return ___hMac_0; }
- inline HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B ** get_address_of_hMac_0() { return &___hMac_0; }
- inline void set_hMac_0(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * value)
- {
- ___hMac_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___hMac_0), (void*)value);
- }
- inline static int32_t get_offset_of_K_1() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___K_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_K_1() const { return ___K_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_K_1() { return &___K_1; }
- inline void set_K_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___K_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___K_1), (void*)value);
- }
- inline static int32_t get_offset_of_V_2() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___V_2)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_V_2() const { return ___V_2; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_V_2() { return &___V_2; }
- inline void set_V_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___V_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___V_2), (void*)value);
- }
- inline static int32_t get_offset_of_n_3() { return static_cast<int32_t>(offsetof(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E, ___n_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_3() const { return ___n_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_3() { return &___n_3; }
- inline void set_n_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___n_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___n_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension
- struct HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 : public RuntimeObject
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::mMode
- uint8_t ___mMode_0;
- public:
- inline static int32_t get_offset_of_mMode_0() { return static_cast<int32_t>(offsetof(HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7, ___mMode_0)); }
- inline uint8_t get_mMode_0() const { return ___mMode_0; }
- inline uint8_t* get_address_of_mMode_0() { return &___mMode_0; }
- inline void set_mMode_0(uint8_t value)
- {
- ___mMode_0 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters
- struct KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_0;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters::strength
- int32_t ___strength_1;
- public:
- inline static int32_t get_offset_of_random_0() { return static_cast<int32_t>(offsetof(KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39, ___random_0)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_0() const { return ___random_0; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_0() { return &___random_0; }
- inline void set_random_0(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_0), (void*)value);
- }
- inline static int32_t get_offset_of_strength_1() { return static_cast<int32_t>(offsetof(KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39, ___strength_1)); }
- inline int32_t get_strength_1() const { return ___strength_1; }
- inline int32_t* get_address_of_strength_1() { return &___strength_1; }
- inline void set_strength_1(int32_t value)
- {
- ___strength_1 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter
- struct KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::key
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___key_0;
- public:
- inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC, ___key_0)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_key_0() const { return ___key_0; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_key_0() { return &___key_0; }
- inline void set_key_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___key_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest
- struct LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::MyByteLength
- int32_t ___MyByteLength_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::xBuf
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___xBuf_1;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::xBufOff
- int32_t ___xBufOff_2;
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::byteCount1
- int64_t ___byteCount1_3;
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::byteCount2
- int64_t ___byteCount2_4;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H1
- uint64_t ___H1_5;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H2
- uint64_t ___H2_6;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H3
- uint64_t ___H3_7;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H4
- uint64_t ___H4_8;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H5
- uint64_t ___H5_9;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H6
- uint64_t ___H6_10;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H7
- uint64_t ___H7_11;
- // System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::H8
- uint64_t ___H8_12;
- // System.UInt64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::W
- UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* ___W_13;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::wOff
- int32_t ___wOff_14;
- public:
- inline static int32_t get_offset_of_MyByteLength_0() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___MyByteLength_0)); }
- inline int32_t get_MyByteLength_0() const { return ___MyByteLength_0; }
- inline int32_t* get_address_of_MyByteLength_0() { return &___MyByteLength_0; }
- inline void set_MyByteLength_0(int32_t value)
- {
- ___MyByteLength_0 = value;
- }
- inline static int32_t get_offset_of_xBuf_1() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___xBuf_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_xBuf_1() const { return ___xBuf_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_xBuf_1() { return &___xBuf_1; }
- inline void set_xBuf_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___xBuf_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___xBuf_1), (void*)value);
- }
- inline static int32_t get_offset_of_xBufOff_2() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___xBufOff_2)); }
- inline int32_t get_xBufOff_2() const { return ___xBufOff_2; }
- inline int32_t* get_address_of_xBufOff_2() { return &___xBufOff_2; }
- inline void set_xBufOff_2(int32_t value)
- {
- ___xBufOff_2 = value;
- }
- inline static int32_t get_offset_of_byteCount1_3() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___byteCount1_3)); }
- inline int64_t get_byteCount1_3() const { return ___byteCount1_3; }
- inline int64_t* get_address_of_byteCount1_3() { return &___byteCount1_3; }
- inline void set_byteCount1_3(int64_t value)
- {
- ___byteCount1_3 = value;
- }
- inline static int32_t get_offset_of_byteCount2_4() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___byteCount2_4)); }
- inline int64_t get_byteCount2_4() const { return ___byteCount2_4; }
- inline int64_t* get_address_of_byteCount2_4() { return &___byteCount2_4; }
- inline void set_byteCount2_4(int64_t value)
- {
- ___byteCount2_4 = value;
- }
- inline static int32_t get_offset_of_H1_5() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H1_5)); }
- inline uint64_t get_H1_5() const { return ___H1_5; }
- inline uint64_t* get_address_of_H1_5() { return &___H1_5; }
- inline void set_H1_5(uint64_t value)
- {
- ___H1_5 = value;
- }
- inline static int32_t get_offset_of_H2_6() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H2_6)); }
- inline uint64_t get_H2_6() const { return ___H2_6; }
- inline uint64_t* get_address_of_H2_6() { return &___H2_6; }
- inline void set_H2_6(uint64_t value)
- {
- ___H2_6 = value;
- }
- inline static int32_t get_offset_of_H3_7() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H3_7)); }
- inline uint64_t get_H3_7() const { return ___H3_7; }
- inline uint64_t* get_address_of_H3_7() { return &___H3_7; }
- inline void set_H3_7(uint64_t value)
- {
- ___H3_7 = value;
- }
- inline static int32_t get_offset_of_H4_8() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H4_8)); }
- inline uint64_t get_H4_8() const { return ___H4_8; }
- inline uint64_t* get_address_of_H4_8() { return &___H4_8; }
- inline void set_H4_8(uint64_t value)
- {
- ___H4_8 = value;
- }
- inline static int32_t get_offset_of_H5_9() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H5_9)); }
- inline uint64_t get_H5_9() const { return ___H5_9; }
- inline uint64_t* get_address_of_H5_9() { return &___H5_9; }
- inline void set_H5_9(uint64_t value)
- {
- ___H5_9 = value;
- }
- inline static int32_t get_offset_of_H6_10() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H6_10)); }
- inline uint64_t get_H6_10() const { return ___H6_10; }
- inline uint64_t* get_address_of_H6_10() { return &___H6_10; }
- inline void set_H6_10(uint64_t value)
- {
- ___H6_10 = value;
- }
- inline static int32_t get_offset_of_H7_11() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H7_11)); }
- inline uint64_t get_H7_11() const { return ___H7_11; }
- inline uint64_t* get_address_of_H7_11() { return &___H7_11; }
- inline void set_H7_11(uint64_t value)
- {
- ___H7_11 = value;
- }
- inline static int32_t get_offset_of_H8_12() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___H8_12)); }
- inline uint64_t get_H8_12() const { return ___H8_12; }
- inline uint64_t* get_address_of_H8_12() { return &___H8_12; }
- inline void set_H8_12(uint64_t value)
- {
- ___H8_12 = value;
- }
- inline static int32_t get_offset_of_W_13() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___W_13)); }
- inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* get_W_13() const { return ___W_13; }
- inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2** get_address_of_W_13() { return &___W_13; }
- inline void set_W_13(UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* value)
- {
- ___W_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___W_13), (void*)value);
- }
- inline static int32_t get_offset_of_wOff_14() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F, ___wOff_14)); }
- inline int32_t get_wOff_14() const { return ___wOff_14; }
- inline int32_t* get_address_of_wOff_14() { return &___wOff_14; }
- inline void set_wOff_14(int32_t value)
- {
- ___wOff_14 = value;
- }
- };
- struct LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_StaticFields
- {
- public:
- // System.UInt64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.LongDigest::K
- UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* ___K_15;
- public:
- inline static int32_t get_offset_of_K_15() { return static_cast<int32_t>(offsetof(LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_StaticFields, ___K_15)); }
- inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* get_K_15() const { return ___K_15; }
- inline UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2** get_address_of_K_15() { return &___K_15; }
- inline void set_K_15(UInt64U5BU5D_t7C6E32D10F47677C1CEF3C30F4E4CE95B3A633E2* value)
- {
- ___K_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___K_15), (void*)value);
- }
- };
- // System.MarshalByRefObject
- struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8 : public RuntimeObject
- {
- public:
- // System.Object System.MarshalByRefObject::_identity
- RuntimeObject * ____identity_0;
- public:
- inline static int32_t get_offset_of__identity_0() { return static_cast<int32_t>(offsetof(MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8, ____identity_0)); }
- inline RuntimeObject * get__identity_0() const { return ____identity_0; }
- inline RuntimeObject ** get_address_of__identity_0() { return &____identity_0; }
- inline void set__identity_0(RuntimeObject * value)
- {
- ____identity_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____identity_0), (void*)value);
- }
- };
- // Native definition for P/Invoke marshalling of System.MarshalByRefObject
- struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8_marshaled_pinvoke
- {
- Il2CppIUnknown* ____identity_0;
- };
- // Native definition for COM marshalling of System.MarshalByRefObject
- struct MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8_marshaled_com
- {
- Il2CppIUnknown* ____identity_0;
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket
- struct NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF : public RuntimeObject
- {
- public:
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::mTicketLifetimeHint
- int64_t ___mTicketLifetimeHint_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::mTicket
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mTicket_1;
- public:
- inline static int32_t get_offset_of_mTicketLifetimeHint_0() { return static_cast<int32_t>(offsetof(NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF, ___mTicketLifetimeHint_0)); }
- inline int64_t get_mTicketLifetimeHint_0() const { return ___mTicketLifetimeHint_0; }
- inline int64_t* get_address_of_mTicketLifetimeHint_0() { return &___mTicketLifetimeHint_0; }
- inline void set_mTicketLifetimeHint_0(int64_t value)
- {
- ___mTicketLifetimeHint_0 = value;
- }
- inline static int32_t get_offset_of_mTicket_1() { return static_cast<int32_t>(offsetof(NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF, ___mTicket_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mTicket_1() const { return ___mTicket_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mTicket_1() { return &___mTicket_1; }
- inline void set_mTicket_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mTicket_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTicket_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest
- struct NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 : public RuntimeObject
- {
- public:
- // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest::bOut
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___bOut_0;
- public:
- inline static int32_t get_offset_of_bOut_0() { return static_cast<int32_t>(offsetof(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82, ___bOut_0)); }
- inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * get_bOut_0() const { return ___bOut_0; }
- inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C ** get_address_of_bOut_0() { return &___bOut_0; }
- inline void set_bOut_0(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * value)
- {
- ___bOut_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___bOut_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV
- struct ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::parameters
- RuntimeObject* ___parameters_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::iv
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___iv_1;
- public:
- inline static int32_t get_offset_of_parameters_0() { return static_cast<int32_t>(offsetof(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0, ___parameters_0)); }
- inline RuntimeObject* get_parameters_0() const { return ___parameters_0; }
- inline RuntimeObject** get_address_of_parameters_0() { return &___parameters_0; }
- inline void set_parameters_0(RuntimeObject* value)
- {
- ___parameters_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_0), (void*)value);
- }
- inline static int32_t get_offset_of_iv_1() { return static_cast<int32_t>(offsetof(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0, ___iv_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_iv_1() const { return ___iv_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_iv_1() { return &___iv_1; }
- inline void set_iv_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___iv_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___iv_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom
- struct ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::parameters
- RuntimeObject* ___parameters_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_1;
- public:
- inline static int32_t get_offset_of_parameters_0() { return static_cast<int32_t>(offsetof(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC, ___parameters_0)); }
- inline RuntimeObject* get_parameters_0() const { return ___parameters_0; }
- inline RuntimeObject** get_address_of_parameters_0() { return &___parameters_0; }
- inline void set_parameters_0(RuntimeObject* value)
- {
- ___parameters_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_0), (void*)value);
- }
- inline static int32_t get_offset_of_random_1() { return static_cast<int32_t>(offsetof(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC, ___random_1)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_1() const { return ___random_1; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_1() { return &___random_1; }
- inline void set_random_1(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding
- struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::engine
- RuntimeObject* ___engine_4;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::forEncryption
- bool ___forEncryption_5;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::forPrivateKey
- bool ___forPrivateKey_6;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::useStrictLength
- bool ___useStrictLength_7;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::pLen
- int32_t ___pLen_8;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::fallback
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___fallback_9;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::blockBuffer
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___blockBuffer_10;
- public:
- inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___random_3)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_3() const { return ___random_3; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_3() { return &___random_3; }
- inline void set_random_3(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
- }
- inline static int32_t get_offset_of_engine_4() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___engine_4)); }
- inline RuntimeObject* get_engine_4() const { return ___engine_4; }
- inline RuntimeObject** get_address_of_engine_4() { return &___engine_4; }
- inline void set_engine_4(RuntimeObject* value)
- {
- ___engine_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___engine_4), (void*)value);
- }
- inline static int32_t get_offset_of_forEncryption_5() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___forEncryption_5)); }
- inline bool get_forEncryption_5() const { return ___forEncryption_5; }
- inline bool* get_address_of_forEncryption_5() { return &___forEncryption_5; }
- inline void set_forEncryption_5(bool value)
- {
- ___forEncryption_5 = value;
- }
- inline static int32_t get_offset_of_forPrivateKey_6() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___forPrivateKey_6)); }
- inline bool get_forPrivateKey_6() const { return ___forPrivateKey_6; }
- inline bool* get_address_of_forPrivateKey_6() { return &___forPrivateKey_6; }
- inline void set_forPrivateKey_6(bool value)
- {
- ___forPrivateKey_6 = value;
- }
- inline static int32_t get_offset_of_useStrictLength_7() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___useStrictLength_7)); }
- inline bool get_useStrictLength_7() const { return ___useStrictLength_7; }
- inline bool* get_address_of_useStrictLength_7() { return &___useStrictLength_7; }
- inline void set_useStrictLength_7(bool value)
- {
- ___useStrictLength_7 = value;
- }
- inline static int32_t get_offset_of_pLen_8() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___pLen_8)); }
- inline int32_t get_pLen_8() const { return ___pLen_8; }
- inline int32_t* get_address_of_pLen_8() { return &___pLen_8; }
- inline void set_pLen_8(int32_t value)
- {
- ___pLen_8 = value;
- }
- inline static int32_t get_offset_of_fallback_9() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___fallback_9)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_fallback_9() const { return ___fallback_9; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_fallback_9() { return &___fallback_9; }
- inline void set_fallback_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___fallback_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___fallback_9), (void*)value);
- }
- inline static int32_t get_offset_of_blockBuffer_10() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818, ___blockBuffer_10)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_blockBuffer_10() const { return ___blockBuffer_10; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_blockBuffer_10() { return &___blockBuffer_10; }
- inline void set_blockBuffer_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___blockBuffer_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___blockBuffer_10), (void*)value);
- }
- };
- struct Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_StaticFields
- {
- public:
- // System.Boolean[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::strictLengthEnabled
- BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* ___strictLengthEnabled_2;
- public:
- inline static int32_t get_offset_of_strictLengthEnabled_2() { return static_cast<int32_t>(offsetof(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_StaticFields, ___strictLengthEnabled_2)); }
- inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* get_strictLengthEnabled_2() const { return ___strictLengthEnabled_2; }
- inline BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C** get_address_of_strictLengthEnabled_2() { return &___strictLengthEnabled_2; }
- inline void set_strictLengthEnabled_2(BooleanU5BU5D_tEC7BAF93C44F875016DAADC8696EE3A465644D3C* value)
- {
- ___strictLengthEnabled_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___strictLengthEnabled_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion
- struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::version
- int32_t ___version_6;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::name
- String_t* ___name_7;
- public:
- inline static int32_t get_offset_of_version_6() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915, ___version_6)); }
- inline int32_t get_version_6() const { return ___version_6; }
- inline int32_t* get_address_of_version_6() { return &___version_6; }
- inline void set_version_6(int32_t value)
- {
- ___version_6 = value;
- }
- inline static int32_t get_offset_of_name_7() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915, ___name_7)); }
- inline String_t* get_name_7() const { return ___name_7; }
- inline String_t** get_address_of_name_7() { return &___name_7; }
- inline void set_name_7(String_t* value)
- {
- ___name_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___name_7), (void*)value);
- }
- };
- struct ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::SSLv3
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___SSLv3_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv10
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv10_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv11
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv11_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::TLSv12
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___TLSv12_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::DTLSv10
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___DTLSv10_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::DTLSv12
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___DTLSv12_5;
- public:
- inline static int32_t get_offset_of_SSLv3_0() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___SSLv3_0)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_SSLv3_0() const { return ___SSLv3_0; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_SSLv3_0() { return &___SSLv3_0; }
- inline void set_SSLv3_0(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___SSLv3_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SSLv3_0), (void*)value);
- }
- inline static int32_t get_offset_of_TLSv10_1() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv10_1)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv10_1() const { return ___TLSv10_1; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv10_1() { return &___TLSv10_1; }
- inline void set_TLSv10_1(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___TLSv10_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___TLSv10_1), (void*)value);
- }
- inline static int32_t get_offset_of_TLSv11_2() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv11_2)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv11_2() const { return ___TLSv11_2; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv11_2() { return &___TLSv11_2; }
- inline void set_TLSv11_2(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___TLSv11_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___TLSv11_2), (void*)value);
- }
- inline static int32_t get_offset_of_TLSv12_3() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___TLSv12_3)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_TLSv12_3() const { return ___TLSv12_3; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_TLSv12_3() { return &___TLSv12_3; }
- inline void set_TLSv12_3(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___TLSv12_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___TLSv12_3), (void*)value);
- }
- inline static int32_t get_offset_of_DTLSv10_4() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___DTLSv10_4)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_DTLSv10_4() const { return ___DTLSv10_4; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_DTLSv10_4() { return &___DTLSv10_4; }
- inline void set_DTLSv10_4(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___DTLSv10_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___DTLSv10_4), (void*)value);
- }
- inline static int32_t get_offset_of_DTLSv12_5() { return static_cast<int32_t>(offsetof(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields, ___DTLSv12_5)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_DTLSv12_5() const { return ___DTLSv12_5; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_DTLSv12_5() { return &___DTLSv12_5; }
- inline void set_DTLSv12_5(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___DTLSv12_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___DTLSv12_5), (void*)value);
- }
- };
- // System.Random
- struct Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 : public RuntimeObject
- {
- public:
- // System.Int32 System.Random::inext
- int32_t ___inext_0;
- // System.Int32 System.Random::inextp
- int32_t ___inextp_1;
- // System.Int32[] System.Random::SeedArray
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___SeedArray_2;
- public:
- inline static int32_t get_offset_of_inext_0() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inext_0)); }
- inline int32_t get_inext_0() const { return ___inext_0; }
- inline int32_t* get_address_of_inext_0() { return &___inext_0; }
- inline void set_inext_0(int32_t value)
- {
- ___inext_0 = value;
- }
- inline static int32_t get_offset_of_inextp_1() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inextp_1)); }
- inline int32_t get_inextp_1() const { return ___inextp_1; }
- inline int32_t* get_address_of_inextp_1() { return &___inextp_1; }
- inline void set_inextp_1(int32_t value)
- {
- ___inextp_1 = value;
- }
- inline static int32_t get_offset_of_SeedArray_2() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___SeedArray_2)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_SeedArray_2() const { return ___SeedArray_2; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_SeedArray_2() { return &___SeedArray_2; }
- inline void set_SeedArray_2(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___SeedArray_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SeedArray_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream
- struct RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandler
- TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___mHandler_5;
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mInput
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___mInput_6;
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mOutput
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___mOutput_7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPendingCompression
- RuntimeObject* ___mPendingCompression_8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadCompression
- RuntimeObject* ___mReadCompression_9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteCompression
- RuntimeObject* ___mWriteCompression_10;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPendingCipher
- RuntimeObject* ___mPendingCipher_11;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadCipher
- RuntimeObject* ___mReadCipher_12;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteCipher
- RuntimeObject* ___mWriteCipher_13;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadSeqNo
- SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * ___mReadSeqNo_14;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream/SequenceNumber BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteSeqNo
- SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * ___mWriteSeqNo_15;
- // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mBuffer
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___mBuffer_16;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandshakeHash
- RuntimeObject* ___mHandshakeHash_17;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mHandshakeHashUpdater
- BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * ___mHandshakeHashUpdater_18;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mReadVersion
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mReadVersion_19;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mWriteVersion
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___mWriteVersion_20;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mRestrictReadVersion
- bool ___mRestrictReadVersion_21;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mPlaintextLimit
- int32_t ___mPlaintextLimit_22;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mCompressedLimit
- int32_t ___mCompressedLimit_23;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::mCiphertextLimit
- int32_t ___mCiphertextLimit_24;
- public:
- inline static int32_t get_offset_of_mHandler_5() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandler_5)); }
- inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * get_mHandler_5() const { return ___mHandler_5; }
- inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 ** get_address_of_mHandler_5() { return &___mHandler_5; }
- inline void set_mHandler_5(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * value)
- {
- ___mHandler_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mHandler_5), (void*)value);
- }
- inline static int32_t get_offset_of_mInput_6() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mInput_6)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_mInput_6() const { return ___mInput_6; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_mInput_6() { return &___mInput_6; }
- inline void set_mInput_6(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___mInput_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mInput_6), (void*)value);
- }
- inline static int32_t get_offset_of_mOutput_7() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mOutput_7)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_mOutput_7() const { return ___mOutput_7; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_mOutput_7() { return &___mOutput_7; }
- inline void set_mOutput_7(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___mOutput_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mOutput_7), (void*)value);
- }
- inline static int32_t get_offset_of_mPendingCompression_8() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPendingCompression_8)); }
- inline RuntimeObject* get_mPendingCompression_8() const { return ___mPendingCompression_8; }
- inline RuntimeObject** get_address_of_mPendingCompression_8() { return &___mPendingCompression_8; }
- inline void set_mPendingCompression_8(RuntimeObject* value)
- {
- ___mPendingCompression_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPendingCompression_8), (void*)value);
- }
- inline static int32_t get_offset_of_mReadCompression_9() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadCompression_9)); }
- inline RuntimeObject* get_mReadCompression_9() const { return ___mReadCompression_9; }
- inline RuntimeObject** get_address_of_mReadCompression_9() { return &___mReadCompression_9; }
- inline void set_mReadCompression_9(RuntimeObject* value)
- {
- ___mReadCompression_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mReadCompression_9), (void*)value);
- }
- inline static int32_t get_offset_of_mWriteCompression_10() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteCompression_10)); }
- inline RuntimeObject* get_mWriteCompression_10() const { return ___mWriteCompression_10; }
- inline RuntimeObject** get_address_of_mWriteCompression_10() { return &___mWriteCompression_10; }
- inline void set_mWriteCompression_10(RuntimeObject* value)
- {
- ___mWriteCompression_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mWriteCompression_10), (void*)value);
- }
- inline static int32_t get_offset_of_mPendingCipher_11() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPendingCipher_11)); }
- inline RuntimeObject* get_mPendingCipher_11() const { return ___mPendingCipher_11; }
- inline RuntimeObject** get_address_of_mPendingCipher_11() { return &___mPendingCipher_11; }
- inline void set_mPendingCipher_11(RuntimeObject* value)
- {
- ___mPendingCipher_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPendingCipher_11), (void*)value);
- }
- inline static int32_t get_offset_of_mReadCipher_12() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadCipher_12)); }
- inline RuntimeObject* get_mReadCipher_12() const { return ___mReadCipher_12; }
- inline RuntimeObject** get_address_of_mReadCipher_12() { return &___mReadCipher_12; }
- inline void set_mReadCipher_12(RuntimeObject* value)
- {
- ___mReadCipher_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mReadCipher_12), (void*)value);
- }
- inline static int32_t get_offset_of_mWriteCipher_13() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteCipher_13)); }
- inline RuntimeObject* get_mWriteCipher_13() const { return ___mWriteCipher_13; }
- inline RuntimeObject** get_address_of_mWriteCipher_13() { return &___mWriteCipher_13; }
- inline void set_mWriteCipher_13(RuntimeObject* value)
- {
- ___mWriteCipher_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mWriteCipher_13), (void*)value);
- }
- inline static int32_t get_offset_of_mReadSeqNo_14() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadSeqNo_14)); }
- inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * get_mReadSeqNo_14() const { return ___mReadSeqNo_14; }
- inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 ** get_address_of_mReadSeqNo_14() { return &___mReadSeqNo_14; }
- inline void set_mReadSeqNo_14(SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * value)
- {
- ___mReadSeqNo_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mReadSeqNo_14), (void*)value);
- }
- inline static int32_t get_offset_of_mWriteSeqNo_15() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteSeqNo_15)); }
- inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * get_mWriteSeqNo_15() const { return ___mWriteSeqNo_15; }
- inline SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 ** get_address_of_mWriteSeqNo_15() { return &___mWriteSeqNo_15; }
- inline void set_mWriteSeqNo_15(SequenceNumber_t3A86B85D034EB1D898C53B257FBB18A25618A175 * value)
- {
- ___mWriteSeqNo_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mWriteSeqNo_15), (void*)value);
- }
- inline static int32_t get_offset_of_mBuffer_16() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mBuffer_16)); }
- inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * get_mBuffer_16() const { return ___mBuffer_16; }
- inline MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C ** get_address_of_mBuffer_16() { return &___mBuffer_16; }
- inline void set_mBuffer_16(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * value)
- {
- ___mBuffer_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mBuffer_16), (void*)value);
- }
- inline static int32_t get_offset_of_mHandshakeHash_17() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandshakeHash_17)); }
- inline RuntimeObject* get_mHandshakeHash_17() const { return ___mHandshakeHash_17; }
- inline RuntimeObject** get_address_of_mHandshakeHash_17() { return &___mHandshakeHash_17; }
- inline void set_mHandshakeHash_17(RuntimeObject* value)
- {
- ___mHandshakeHash_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeHash_17), (void*)value);
- }
- inline static int32_t get_offset_of_mHandshakeHashUpdater_18() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mHandshakeHashUpdater_18)); }
- inline BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * get_mHandshakeHashUpdater_18() const { return ___mHandshakeHashUpdater_18; }
- inline BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D ** get_address_of_mHandshakeHashUpdater_18() { return &___mHandshakeHashUpdater_18; }
- inline void set_mHandshakeHashUpdater_18(BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * value)
- {
- ___mHandshakeHashUpdater_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeHashUpdater_18), (void*)value);
- }
- inline static int32_t get_offset_of_mReadVersion_19() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mReadVersion_19)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mReadVersion_19() const { return ___mReadVersion_19; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mReadVersion_19() { return &___mReadVersion_19; }
- inline void set_mReadVersion_19(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___mReadVersion_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mReadVersion_19), (void*)value);
- }
- inline static int32_t get_offset_of_mWriteVersion_20() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mWriteVersion_20)); }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * get_mWriteVersion_20() const { return ___mWriteVersion_20; }
- inline ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 ** get_address_of_mWriteVersion_20() { return &___mWriteVersion_20; }
- inline void set_mWriteVersion_20(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * value)
- {
- ___mWriteVersion_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mWriteVersion_20), (void*)value);
- }
- inline static int32_t get_offset_of_mRestrictReadVersion_21() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mRestrictReadVersion_21)); }
- inline bool get_mRestrictReadVersion_21() const { return ___mRestrictReadVersion_21; }
- inline bool* get_address_of_mRestrictReadVersion_21() { return &___mRestrictReadVersion_21; }
- inline void set_mRestrictReadVersion_21(bool value)
- {
- ___mRestrictReadVersion_21 = value;
- }
- inline static int32_t get_offset_of_mPlaintextLimit_22() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mPlaintextLimit_22)); }
- inline int32_t get_mPlaintextLimit_22() const { return ___mPlaintextLimit_22; }
- inline int32_t* get_address_of_mPlaintextLimit_22() { return &___mPlaintextLimit_22; }
- inline void set_mPlaintextLimit_22(int32_t value)
- {
- ___mPlaintextLimit_22 = value;
- }
- inline static int32_t get_offset_of_mCompressedLimit_23() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mCompressedLimit_23)); }
- inline int32_t get_mCompressedLimit_23() const { return ___mCompressedLimit_23; }
- inline int32_t* get_address_of_mCompressedLimit_23() { return &___mCompressedLimit_23; }
- inline void set_mCompressedLimit_23(int32_t value)
- {
- ___mCompressedLimit_23 = value;
- }
- inline static int32_t get_offset_of_mCiphertextLimit_24() { return static_cast<int32_t>(offsetof(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E, ___mCiphertextLimit_24)); }
- inline int32_t get_mCiphertextLimit_24() const { return ___mCiphertextLimit_24; }
- inline int32_t* get_address_of_mCiphertextLimit_24() { return &___mCiphertextLimit_24; }
- inline void set_mCiphertextLimit_24(int32_t value)
- {
- ___mCiphertextLimit_24 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine
- struct RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IRsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::core
- RuntimeObject* ___core_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::key
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::random
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random_2;
- public:
- inline static int32_t get_offset_of_core_0() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___core_0)); }
- inline RuntimeObject* get_core_0() const { return ___core_0; }
- inline RuntimeObject** get_address_of_core_0() { return &___core_0; }
- inline void set_core_0(RuntimeObject* value)
- {
- ___core_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___core_0), (void*)value);
- }
- inline static int32_t get_offset_of_key_1() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___key_1)); }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_key_1() const { return ___key_1; }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_key_1() { return &___key_1; }
- inline void set_key_1(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
- {
- ___key_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___key_1), (void*)value);
- }
- inline static int32_t get_offset_of_random_2() { return static_cast<int32_t>(offsetof(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2, ___random_2)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_random_2() const { return ___random_2; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_random_2() { return &___random_2; }
- inline void set_random_2(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___random_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___random_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner
- struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::rsaEngine
- RuntimeObject* ___rsaEngine_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::algId
- AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___algId_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::digest
- RuntimeObject* ___digest_2;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::forSigning
- bool ___forSigning_3;
- public:
- inline static int32_t get_offset_of_rsaEngine_0() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___rsaEngine_0)); }
- inline RuntimeObject* get_rsaEngine_0() const { return ___rsaEngine_0; }
- inline RuntimeObject** get_address_of_rsaEngine_0() { return &___rsaEngine_0; }
- inline void set_rsaEngine_0(RuntimeObject* value)
- {
- ___rsaEngine_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___rsaEngine_0), (void*)value);
- }
- inline static int32_t get_offset_of_algId_1() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___algId_1)); }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_algId_1() const { return ___algId_1; }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_algId_1() { return &___algId_1; }
- inline void set_algId_1(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
- {
- ___algId_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algId_1), (void*)value);
- }
- inline static int32_t get_offset_of_digest_2() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___digest_2)); }
- inline RuntimeObject* get_digest_2() const { return ___digest_2; }
- inline RuntimeObject** get_address_of_digest_2() { return &___digest_2; }
- inline void set_digest_2(RuntimeObject* value)
- {
- ___digest_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___digest_2), (void*)value);
- }
- inline static int32_t get_offset_of_forSigning_3() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC, ___forSigning_3)); }
- inline bool get_forSigning_3() const { return ___forSigning_3; }
- inline bool* get_address_of_forSigning_3() { return &___forSigning_3; }
- inline void set_forSigning_3(bool value)
- {
- ___forSigning_3 = value;
- }
- };
- struct RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_StaticFields
- {
- public:
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::oidMap
- RuntimeObject* ___oidMap_4;
- public:
- inline static int32_t get_offset_of_oidMap_4() { return static_cast<int32_t>(offsetof(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_StaticFields, ___oidMap_4)); }
- inline RuntimeObject* get_oidMap_4() const { return ___oidMap_4; }
- inline RuntimeObject** get_address_of_oidMap_4() { return &___oidMap_4; }
- inline void set_oidMap_4(RuntimeObject* value)
- {
- ___oidMap_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___oidMap_4), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters
- struct SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::entity
- int32_t ___entity_0;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::cipherSuite
- int32_t ___cipherSuite_1;
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::compressionAlgorithm
- uint8_t ___compressionAlgorithm_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::prfAlgorithm
- int32_t ___prfAlgorithm_3;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::verifyDataLength
- int32_t ___verifyDataLength_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::masterSecret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___masterSecret_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::clientRandom
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___clientRandom_6;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::serverRandom
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverRandom_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::sessionHash
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sessionHash_8;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::pskIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pskIdentity_9;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::srpIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___srpIdentity_10;
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::maxFragmentLength
- int16_t ___maxFragmentLength_11;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::truncatedHMac
- bool ___truncatedHMac_12;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::encryptThenMac
- bool ___encryptThenMac_13;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::extendedMasterSecret
- bool ___extendedMasterSecret_14;
- public:
- inline static int32_t get_offset_of_entity_0() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___entity_0)); }
- inline int32_t get_entity_0() const { return ___entity_0; }
- inline int32_t* get_address_of_entity_0() { return &___entity_0; }
- inline void set_entity_0(int32_t value)
- {
- ___entity_0 = value;
- }
- inline static int32_t get_offset_of_cipherSuite_1() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___cipherSuite_1)); }
- inline int32_t get_cipherSuite_1() const { return ___cipherSuite_1; }
- inline int32_t* get_address_of_cipherSuite_1() { return &___cipherSuite_1; }
- inline void set_cipherSuite_1(int32_t value)
- {
- ___cipherSuite_1 = value;
- }
- inline static int32_t get_offset_of_compressionAlgorithm_2() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___compressionAlgorithm_2)); }
- inline uint8_t get_compressionAlgorithm_2() const { return ___compressionAlgorithm_2; }
- inline uint8_t* get_address_of_compressionAlgorithm_2() { return &___compressionAlgorithm_2; }
- inline void set_compressionAlgorithm_2(uint8_t value)
- {
- ___compressionAlgorithm_2 = value;
- }
- inline static int32_t get_offset_of_prfAlgorithm_3() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___prfAlgorithm_3)); }
- inline int32_t get_prfAlgorithm_3() const { return ___prfAlgorithm_3; }
- inline int32_t* get_address_of_prfAlgorithm_3() { return &___prfAlgorithm_3; }
- inline void set_prfAlgorithm_3(int32_t value)
- {
- ___prfAlgorithm_3 = value;
- }
- inline static int32_t get_offset_of_verifyDataLength_4() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___verifyDataLength_4)); }
- inline int32_t get_verifyDataLength_4() const { return ___verifyDataLength_4; }
- inline int32_t* get_address_of_verifyDataLength_4() { return &___verifyDataLength_4; }
- inline void set_verifyDataLength_4(int32_t value)
- {
- ___verifyDataLength_4 = value;
- }
- inline static int32_t get_offset_of_masterSecret_5() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___masterSecret_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_masterSecret_5() const { return ___masterSecret_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_masterSecret_5() { return &___masterSecret_5; }
- inline void set_masterSecret_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___masterSecret_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___masterSecret_5), (void*)value);
- }
- inline static int32_t get_offset_of_clientRandom_6() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___clientRandom_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_clientRandom_6() const { return ___clientRandom_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_clientRandom_6() { return &___clientRandom_6; }
- inline void set_clientRandom_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___clientRandom_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___clientRandom_6), (void*)value);
- }
- inline static int32_t get_offset_of_serverRandom_7() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___serverRandom_7)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_serverRandom_7() const { return ___serverRandom_7; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_serverRandom_7() { return &___serverRandom_7; }
- inline void set_serverRandom_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___serverRandom_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___serverRandom_7), (void*)value);
- }
- inline static int32_t get_offset_of_sessionHash_8() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___sessionHash_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_sessionHash_8() const { return ___sessionHash_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_sessionHash_8() { return &___sessionHash_8; }
- inline void set_sessionHash_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___sessionHash_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___sessionHash_8), (void*)value);
- }
- inline static int32_t get_offset_of_pskIdentity_9() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___pskIdentity_9)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_pskIdentity_9() const { return ___pskIdentity_9; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_pskIdentity_9() { return &___pskIdentity_9; }
- inline void set_pskIdentity_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___pskIdentity_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___pskIdentity_9), (void*)value);
- }
- inline static int32_t get_offset_of_srpIdentity_10() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___srpIdentity_10)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_srpIdentity_10() const { return ___srpIdentity_10; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_srpIdentity_10() { return &___srpIdentity_10; }
- inline void set_srpIdentity_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___srpIdentity_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___srpIdentity_10), (void*)value);
- }
- inline static int32_t get_offset_of_maxFragmentLength_11() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___maxFragmentLength_11)); }
- inline int16_t get_maxFragmentLength_11() const { return ___maxFragmentLength_11; }
- inline int16_t* get_address_of_maxFragmentLength_11() { return &___maxFragmentLength_11; }
- inline void set_maxFragmentLength_11(int16_t value)
- {
- ___maxFragmentLength_11 = value;
- }
- inline static int32_t get_offset_of_truncatedHMac_12() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___truncatedHMac_12)); }
- inline bool get_truncatedHMac_12() const { return ___truncatedHMac_12; }
- inline bool* get_address_of_truncatedHMac_12() { return &___truncatedHMac_12; }
- inline void set_truncatedHMac_12(bool value)
- {
- ___truncatedHMac_12 = value;
- }
- inline static int32_t get_offset_of_encryptThenMac_13() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___encryptThenMac_13)); }
- inline bool get_encryptThenMac_13() const { return ___encryptThenMac_13; }
- inline bool* get_address_of_encryptThenMac_13() { return &___encryptThenMac_13; }
- inline void set_encryptThenMac_13(bool value)
- {
- ___encryptThenMac_13 = value;
- }
- inline static int32_t get_offset_of_extendedMasterSecret_14() { return static_cast<int32_t>(offsetof(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803, ___extendedMasterSecret_14)); }
- inline bool get_extendedMasterSecret_14() const { return ___extendedMasterSecret_14; }
- inline bool* get_address_of_extendedMasterSecret_14() { return &___extendedMasterSecret_14; }
- inline void set_extendedMasterSecret_14(bool value)
- {
- ___extendedMasterSecret_14 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList
- struct ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 : public RuntimeObject
- {
- public:
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::mServerNameList
- RuntimeObject* ___mServerNameList_0;
- public:
- inline static int32_t get_offset_of_mServerNameList_0() { return static_cast<int32_t>(offsetof(ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676, ___mServerNameList_0)); }
- inline RuntimeObject* get_mServerNameList_0() const { return ___mServerNameList_0; }
- inline RuntimeObject** get_address_of_mServerNameList_0() { return &___mServerNameList_0; }
- inline void set_mServerNameList_0(RuntimeObject* value)
- {
- ___mServerNameList_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerNameList_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters
- struct SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mCipherSuite
- int32_t ___mCipherSuite_0;
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mCompressionAlgorithm
- uint8_t ___mCompressionAlgorithm_1;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mMasterSecret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMasterSecret_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mPeerCertificate
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_3;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mPskIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentity_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mSrpIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSrpIdentity_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mEncodedServerExtensions
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mEncodedServerExtensions_6;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::mExtendedMasterSecret
- bool ___mExtendedMasterSecret_7;
- public:
- inline static int32_t get_offset_of_mCipherSuite_0() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mCipherSuite_0)); }
- inline int32_t get_mCipherSuite_0() const { return ___mCipherSuite_0; }
- inline int32_t* get_address_of_mCipherSuite_0() { return &___mCipherSuite_0; }
- inline void set_mCipherSuite_0(int32_t value)
- {
- ___mCipherSuite_0 = value;
- }
- inline static int32_t get_offset_of_mCompressionAlgorithm_1() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mCompressionAlgorithm_1)); }
- inline uint8_t get_mCompressionAlgorithm_1() const { return ___mCompressionAlgorithm_1; }
- inline uint8_t* get_address_of_mCompressionAlgorithm_1() { return &___mCompressionAlgorithm_1; }
- inline void set_mCompressionAlgorithm_1(uint8_t value)
- {
- ___mCompressionAlgorithm_1 = value;
- }
- inline static int32_t get_offset_of_mMasterSecret_2() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mMasterSecret_2)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMasterSecret_2() const { return ___mMasterSecret_2; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMasterSecret_2() { return &___mMasterSecret_2; }
- inline void set_mMasterSecret_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mMasterSecret_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mMasterSecret_2), (void*)value);
- }
- inline static int32_t get_offset_of_mPeerCertificate_3() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mPeerCertificate_3)); }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_3() const { return ___mPeerCertificate_3; }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_3() { return &___mPeerCertificate_3; }
- inline void set_mPeerCertificate_3(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
- {
- ___mPeerCertificate_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_3), (void*)value);
- }
- inline static int32_t get_offset_of_mPskIdentity_4() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mPskIdentity_4)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentity_4() const { return ___mPskIdentity_4; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentity_4() { return &___mPskIdentity_4; }
- inline void set_mPskIdentity_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPskIdentity_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_4), (void*)value);
- }
- inline static int32_t get_offset_of_mSrpIdentity_5() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mSrpIdentity_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSrpIdentity_5() const { return ___mSrpIdentity_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSrpIdentity_5() { return &___mSrpIdentity_5; }
- inline void set_mSrpIdentity_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mSrpIdentity_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSrpIdentity_5), (void*)value);
- }
- inline static int32_t get_offset_of_mEncodedServerExtensions_6() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mEncodedServerExtensions_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mEncodedServerExtensions_6() const { return ___mEncodedServerExtensions_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mEncodedServerExtensions_6() { return &___mEncodedServerExtensions_6; }
- inline void set_mEncodedServerExtensions_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mEncodedServerExtensions_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mEncodedServerExtensions_6), (void*)value);
- }
- inline static int32_t get_offset_of_mExtendedMasterSecret_7() { return static_cast<int32_t>(offsetof(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D, ___mExtendedMasterSecret_7)); }
- inline bool get_mExtendedMasterSecret_7() const { return ___mExtendedMasterSecret_7; }
- inline bool* get_address_of_mExtendedMasterSecret_7() { return &___mExtendedMasterSecret_7; }
- inline void set_mExtendedMasterSecret_7(bool value)
- {
- ___mExtendedMasterSecret_7 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm
- struct SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 : public RuntimeObject
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::mHash
- uint8_t ___mHash_0;
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::mSignature
- uint8_t ___mSignature_1;
- public:
- inline static int32_t get_offset_of_mHash_0() { return static_cast<int32_t>(offsetof(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25, ___mHash_0)); }
- inline uint8_t get_mHash_0() const { return ___mHash_0; }
- inline uint8_t* get_address_of_mHash_0() { return &___mHash_0; }
- inline void set_mHash_0(uint8_t value)
- {
- ___mHash_0 = value;
- }
- inline static int32_t get_offset_of_mSignature_1() { return static_cast<int32_t>(offsetof(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25, ___mSignature_1)); }
- inline uint8_t get_mSignature_1() const { return ___mSignature_1; }
- inline uint8_t* get_address_of_mSignature_1() { return &___mSignature_1; }
- inline void set_mSignature_1(uint8_t value)
- {
- ___mSignature_1 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac
- struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::digest
- RuntimeObject* ___digest_4;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::padLength
- int32_t ___padLength_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::secret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___secret_6;
- public:
- inline static int32_t get_offset_of_digest_4() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___digest_4)); }
- inline RuntimeObject* get_digest_4() const { return ___digest_4; }
- inline RuntimeObject** get_address_of_digest_4() { return &___digest_4; }
- inline void set_digest_4(RuntimeObject* value)
- {
- ___digest_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___digest_4), (void*)value);
- }
- inline static int32_t get_offset_of_padLength_5() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___padLength_5)); }
- inline int32_t get_padLength_5() const { return ___padLength_5; }
- inline int32_t* get_address_of_padLength_5() { return &___padLength_5; }
- inline void set_padLength_5(int32_t value)
- {
- ___padLength_5 = value;
- }
- inline static int32_t get_offset_of_secret_6() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E, ___secret_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_secret_6() const { return ___secret_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_secret_6() { return &___secret_6; }
- inline void set_secret_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___secret_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___secret_6), (void*)value);
- }
- };
- struct Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::IPAD
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___IPAD_2;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::OPAD
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___OPAD_3;
- public:
- inline static int32_t get_offset_of_IPAD_2() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields, ___IPAD_2)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_IPAD_2() const { return ___IPAD_2; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_IPAD_2() { return &___IPAD_2; }
- inline void set_IPAD_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___IPAD_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___IPAD_2), (void*)value);
- }
- inline static int32_t get_offset_of_OPAD_3() { return static_cast<int32_t>(offsetof(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_StaticFields, ___OPAD_3)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_OPAD_3() const { return ___OPAD_3; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_OPAD_3() { return &___OPAD_3; }
- inline void set_OPAD_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___OPAD_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___OPAD_3), (void*)value);
- }
- };
- // System.String
- struct String_t : public RuntimeObject
- {
- public:
- // System.Int32 System.String::m_stringLength
- int32_t ___m_stringLength_0;
- // System.Char System.String::m_firstChar
- Il2CppChar ___m_firstChar_1;
- public:
- inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
- inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
- inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
- inline void set_m_stringLength_0(int32_t value)
- {
- ___m_stringLength_0 = value;
- }
- inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
- inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
- inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
- inline void set_m_firstChar_1(Il2CppChar value)
- {
- ___m_firstChar_1 = value;
- }
- };
- struct String_t_StaticFields
- {
- public:
- // System.String System.String::Empty
- String_t* ___Empty_5;
- public:
- inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
- inline String_t* get_Empty_5() const { return ___Empty_5; }
- inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
- inline void set_Empty_5(String_t* value)
- {
- ___Empty_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry
- struct SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::mDataType
- int32_t ___mDataType_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::mData
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mData_1;
- public:
- inline static int32_t get_offset_of_mDataType_0() { return static_cast<int32_t>(offsetof(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7, ___mDataType_0)); }
- inline int32_t get_mDataType_0() const { return ___mDataType_0; }
- inline int32_t* get_address_of_mDataType_0() { return &___mDataType_0; }
- inline void set_mDataType_0(int32_t value)
- {
- ___mDataType_0 = value;
- }
- inline static int32_t get_offset_of_mData_1() { return static_cast<int32_t>(offsetof(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7, ___mData_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mData_1() const { return ___mData_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mData_1() { return &___mData_1; }
- inline void set_mData_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mData_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mData_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times
- struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F : public RuntimeObject
- {
- public:
- public:
- };
- struct Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields
- {
- public:
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::NanosecondsPerTick
- int64_t ___NanosecondsPerTick_0;
- public:
- inline static int32_t get_offset_of_NanosecondsPerTick_0() { return static_cast<int32_t>(offsetof(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields, ___NanosecondsPerTick_0)); }
- inline int64_t get_NanosecondsPerTick_0() const { return ___NanosecondsPerTick_0; }
- inline int64_t* get_address_of_NanosecondsPerTick_0() { return &___NanosecondsPerTick_0; }
- inline void set_NanosecondsPerTick_0(int64_t value)
- {
- ___NanosecondsPerTick_0 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher
- struct TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::context
- RuntimeObject* ___context_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::macSize
- int32_t ___macSize_3;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::record_iv_length
- int32_t ___record_iv_length_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::encryptCipher
- RuntimeObject* ___encryptCipher_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.IAeadBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::decryptCipher
- RuntimeObject* ___decryptCipher_6;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::encryptImplicitNonce
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encryptImplicitNonce_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::decryptImplicitNonce
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___decryptImplicitNonce_8;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::nonceMode
- int32_t ___nonceMode_9;
- public:
- inline static int32_t get_offset_of_context_2() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___context_2)); }
- inline RuntimeObject* get_context_2() const { return ___context_2; }
- inline RuntimeObject** get_address_of_context_2() { return &___context_2; }
- inline void set_context_2(RuntimeObject* value)
- {
- ___context_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___context_2), (void*)value);
- }
- inline static int32_t get_offset_of_macSize_3() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___macSize_3)); }
- inline int32_t get_macSize_3() const { return ___macSize_3; }
- inline int32_t* get_address_of_macSize_3() { return &___macSize_3; }
- inline void set_macSize_3(int32_t value)
- {
- ___macSize_3 = value;
- }
- inline static int32_t get_offset_of_record_iv_length_4() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___record_iv_length_4)); }
- inline int32_t get_record_iv_length_4() const { return ___record_iv_length_4; }
- inline int32_t* get_address_of_record_iv_length_4() { return &___record_iv_length_4; }
- inline void set_record_iv_length_4(int32_t value)
- {
- ___record_iv_length_4 = value;
- }
- inline static int32_t get_offset_of_encryptCipher_5() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___encryptCipher_5)); }
- inline RuntimeObject* get_encryptCipher_5() const { return ___encryptCipher_5; }
- inline RuntimeObject** get_address_of_encryptCipher_5() { return &___encryptCipher_5; }
- inline void set_encryptCipher_5(RuntimeObject* value)
- {
- ___encryptCipher_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___encryptCipher_5), (void*)value);
- }
- inline static int32_t get_offset_of_decryptCipher_6() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___decryptCipher_6)); }
- inline RuntimeObject* get_decryptCipher_6() const { return ___decryptCipher_6; }
- inline RuntimeObject** get_address_of_decryptCipher_6() { return &___decryptCipher_6; }
- inline void set_decryptCipher_6(RuntimeObject* value)
- {
- ___decryptCipher_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___decryptCipher_6), (void*)value);
- }
- inline static int32_t get_offset_of_encryptImplicitNonce_7() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___encryptImplicitNonce_7)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_encryptImplicitNonce_7() const { return ___encryptImplicitNonce_7; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_encryptImplicitNonce_7() { return &___encryptImplicitNonce_7; }
- inline void set_encryptImplicitNonce_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___encryptImplicitNonce_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___encryptImplicitNonce_7), (void*)value);
- }
- inline static int32_t get_offset_of_decryptImplicitNonce_8() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___decryptImplicitNonce_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_decryptImplicitNonce_8() const { return ___decryptImplicitNonce_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_decryptImplicitNonce_8() { return &___decryptImplicitNonce_8; }
- inline void set_decryptImplicitNonce_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___decryptImplicitNonce_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___decryptImplicitNonce_8), (void*)value);
- }
- inline static int32_t get_offset_of_nonceMode_9() { return static_cast<int32_t>(offsetof(TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342, ___nonceMode_9)); }
- inline int32_t get_nonceMode_9() const { return ___nonceMode_9; }
- inline int32_t* get_address_of_nonceMode_9() { return &___nonceMode_9; }
- inline void set_nonceMode_9(int32_t value)
- {
- ___nonceMode_9 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher
- struct TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::context
- RuntimeObject* ___context_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::randomData
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___randomData_1;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::useExplicitIV
- bool ___useExplicitIV_2;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::encryptThenMac
- bool ___encryptThenMac_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::encryptCipher
- RuntimeObject* ___encryptCipher_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::decryptCipher
- RuntimeObject* ___decryptCipher_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::mWriteMac
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___mWriteMac_6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::mReadMac
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___mReadMac_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::explicitIV
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___explicitIV_8;
- public:
- inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___context_0)); }
- inline RuntimeObject* get_context_0() const { return ___context_0; }
- inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
- inline void set_context_0(RuntimeObject* value)
- {
- ___context_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
- }
- inline static int32_t get_offset_of_randomData_1() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___randomData_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_randomData_1() const { return ___randomData_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_randomData_1() { return &___randomData_1; }
- inline void set_randomData_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___randomData_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___randomData_1), (void*)value);
- }
- inline static int32_t get_offset_of_useExplicitIV_2() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___useExplicitIV_2)); }
- inline bool get_useExplicitIV_2() const { return ___useExplicitIV_2; }
- inline bool* get_address_of_useExplicitIV_2() { return &___useExplicitIV_2; }
- inline void set_useExplicitIV_2(bool value)
- {
- ___useExplicitIV_2 = value;
- }
- inline static int32_t get_offset_of_encryptThenMac_3() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___encryptThenMac_3)); }
- inline bool get_encryptThenMac_3() const { return ___encryptThenMac_3; }
- inline bool* get_address_of_encryptThenMac_3() { return &___encryptThenMac_3; }
- inline void set_encryptThenMac_3(bool value)
- {
- ___encryptThenMac_3 = value;
- }
- inline static int32_t get_offset_of_encryptCipher_4() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___encryptCipher_4)); }
- inline RuntimeObject* get_encryptCipher_4() const { return ___encryptCipher_4; }
- inline RuntimeObject** get_address_of_encryptCipher_4() { return &___encryptCipher_4; }
- inline void set_encryptCipher_4(RuntimeObject* value)
- {
- ___encryptCipher_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___encryptCipher_4), (void*)value);
- }
- inline static int32_t get_offset_of_decryptCipher_5() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___decryptCipher_5)); }
- inline RuntimeObject* get_decryptCipher_5() const { return ___decryptCipher_5; }
- inline RuntimeObject** get_address_of_decryptCipher_5() { return &___decryptCipher_5; }
- inline void set_decryptCipher_5(RuntimeObject* value)
- {
- ___decryptCipher_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___decryptCipher_5), (void*)value);
- }
- inline static int32_t get_offset_of_mWriteMac_6() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___mWriteMac_6)); }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_mWriteMac_6() const { return ___mWriteMac_6; }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_mWriteMac_6() { return &___mWriteMac_6; }
- inline void set_mWriteMac_6(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
- {
- ___mWriteMac_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mWriteMac_6), (void*)value);
- }
- inline static int32_t get_offset_of_mReadMac_7() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___mReadMac_7)); }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_mReadMac_7() const { return ___mReadMac_7; }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_mReadMac_7() { return &___mReadMac_7; }
- inline void set_mReadMac_7(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
- {
- ___mReadMac_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mReadMac_7), (void*)value);
- }
- inline static int32_t get_offset_of_explicitIV_8() { return static_cast<int32_t>(offsetof(TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1, ___explicitIV_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_explicitIV_8() const { return ___explicitIV_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_explicitIV_8() { return &___explicitIV_8; }
- inline void set_explicitIV_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___explicitIV_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___explicitIV_8), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities
- struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC : public RuntimeObject
- {
- public:
- public:
- };
- struct TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::Two
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___Two_0;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe2432_p
- String_t* ___draft_ffdhe2432_p_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe2432
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe2432_2;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe3072_p
- String_t* ___draft_ffdhe3072_p_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe3072
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe3072_4;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe4096_p
- String_t* ___draft_ffdhe4096_p_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe4096
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe4096_6;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe6144_p
- String_t* ___draft_ffdhe6144_p_7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe6144
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe6144_8;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe8192_p
- String_t* ___draft_ffdhe8192_p_9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::draft_ffdhe8192
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___draft_ffdhe8192_10;
- public:
- inline static int32_t get_offset_of_Two_0() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___Two_0)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_Two_0() const { return ___Two_0; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_Two_0() { return &___Two_0; }
- inline void set_Two_0(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___Two_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Two_0), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe2432_p_1() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe2432_p_1)); }
- inline String_t* get_draft_ffdhe2432_p_1() const { return ___draft_ffdhe2432_p_1; }
- inline String_t** get_address_of_draft_ffdhe2432_p_1() { return &___draft_ffdhe2432_p_1; }
- inline void set_draft_ffdhe2432_p_1(String_t* value)
- {
- ___draft_ffdhe2432_p_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe2432_p_1), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe2432_2() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe2432_2)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe2432_2() const { return ___draft_ffdhe2432_2; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe2432_2() { return &___draft_ffdhe2432_2; }
- inline void set_draft_ffdhe2432_2(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___draft_ffdhe2432_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe2432_2), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe3072_p_3() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe3072_p_3)); }
- inline String_t* get_draft_ffdhe3072_p_3() const { return ___draft_ffdhe3072_p_3; }
- inline String_t** get_address_of_draft_ffdhe3072_p_3() { return &___draft_ffdhe3072_p_3; }
- inline void set_draft_ffdhe3072_p_3(String_t* value)
- {
- ___draft_ffdhe3072_p_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe3072_p_3), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe3072_4() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe3072_4)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe3072_4() const { return ___draft_ffdhe3072_4; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe3072_4() { return &___draft_ffdhe3072_4; }
- inline void set_draft_ffdhe3072_4(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___draft_ffdhe3072_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe3072_4), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe4096_p_5() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe4096_p_5)); }
- inline String_t* get_draft_ffdhe4096_p_5() const { return ___draft_ffdhe4096_p_5; }
- inline String_t** get_address_of_draft_ffdhe4096_p_5() { return &___draft_ffdhe4096_p_5; }
- inline void set_draft_ffdhe4096_p_5(String_t* value)
- {
- ___draft_ffdhe4096_p_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe4096_p_5), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe4096_6() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe4096_6)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe4096_6() const { return ___draft_ffdhe4096_6; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe4096_6() { return &___draft_ffdhe4096_6; }
- inline void set_draft_ffdhe4096_6(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___draft_ffdhe4096_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe4096_6), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe6144_p_7() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe6144_p_7)); }
- inline String_t* get_draft_ffdhe6144_p_7() const { return ___draft_ffdhe6144_p_7; }
- inline String_t** get_address_of_draft_ffdhe6144_p_7() { return &___draft_ffdhe6144_p_7; }
- inline void set_draft_ffdhe6144_p_7(String_t* value)
- {
- ___draft_ffdhe6144_p_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe6144_p_7), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe6144_8() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe6144_8)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe6144_8() const { return ___draft_ffdhe6144_8; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe6144_8() { return &___draft_ffdhe6144_8; }
- inline void set_draft_ffdhe6144_8(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___draft_ffdhe6144_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe6144_8), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe8192_p_9() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe8192_p_9)); }
- inline String_t* get_draft_ffdhe8192_p_9() const { return ___draft_ffdhe8192_p_9; }
- inline String_t** get_address_of_draft_ffdhe8192_p_9() { return &___draft_ffdhe8192_p_9; }
- inline void set_draft_ffdhe8192_p_9(String_t* value)
- {
- ___draft_ffdhe8192_p_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe8192_p_9), (void*)value);
- }
- inline static int32_t get_offset_of_draft_ffdhe8192_10() { return static_cast<int32_t>(offsetof(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields, ___draft_ffdhe8192_10)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_draft_ffdhe8192_10() const { return ___draft_ffdhe8192_10; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_draft_ffdhe8192_10() { return &___draft_ffdhe8192_10; }
- inline void set_draft_ffdhe8192_10(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___draft_ffdhe8192_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___draft_ffdhe8192_10), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression
- struct TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::zIn
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___zIn_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::zOut
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___zOut_5;
- public:
- inline static int32_t get_offset_of_zIn_4() { return static_cast<int32_t>(offsetof(TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9, ___zIn_4)); }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_zIn_4() const { return ___zIn_4; }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_zIn_4() { return &___zIn_4; }
- inline void set_zIn_4(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
- {
- ___zIn_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___zIn_4), (void*)value);
- }
- inline static int32_t get_offset_of_zOut_5() { return static_cast<int32_t>(offsetof(TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9, ___zOut_5)); }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_zOut_5() const { return ___zOut_5; }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_zOut_5() { return &___zOut_5; }
- inline void set_zOut_5(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
- {
- ___zOut_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___zOut_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities
- struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD : public RuntimeObject
- {
- public:
- public:
- };
- struct TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields
- {
- public:
- // System.String[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CurveNames
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___CurveNames_0;
- public:
- inline static int32_t get_offset_of_CurveNames_0() { return static_cast<int32_t>(offsetof(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields, ___CurveNames_0)); }
- inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_CurveNames_0() const { return ___CurveNames_0; }
- inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_CurveNames_0() { return &___CurveNames_0; }
- inline void set_CurveNames_0(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
- {
- ___CurveNames_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___CurveNames_0), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities
- struct TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247 : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac
- struct TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::context
- RuntimeObject* ___context_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::secret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___secret_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::mac
- RuntimeObject* ___mac_2;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::digestBlockSize
- int32_t ___digestBlockSize_3;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::digestOverhead
- int32_t ___digestOverhead_4;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::macLength
- int32_t ___macLength_5;
- public:
- inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___context_0)); }
- inline RuntimeObject* get_context_0() const { return ___context_0; }
- inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
- inline void set_context_0(RuntimeObject* value)
- {
- ___context_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
- }
- inline static int32_t get_offset_of_secret_1() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___secret_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_secret_1() const { return ___secret_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_secret_1() { return &___secret_1; }
- inline void set_secret_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___secret_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___secret_1), (void*)value);
- }
- inline static int32_t get_offset_of_mac_2() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___mac_2)); }
- inline RuntimeObject* get_mac_2() const { return ___mac_2; }
- inline RuntimeObject** get_address_of_mac_2() { return &___mac_2; }
- inline void set_mac_2(RuntimeObject* value)
- {
- ___mac_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mac_2), (void*)value);
- }
- inline static int32_t get_offset_of_digestBlockSize_3() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___digestBlockSize_3)); }
- inline int32_t get_digestBlockSize_3() const { return ___digestBlockSize_3; }
- inline int32_t* get_address_of_digestBlockSize_3() { return &___digestBlockSize_3; }
- inline void set_digestBlockSize_3(int32_t value)
- {
- ___digestBlockSize_3 = value;
- }
- inline static int32_t get_offset_of_digestOverhead_4() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___digestOverhead_4)); }
- inline int32_t get_digestOverhead_4() const { return ___digestOverhead_4; }
- inline int32_t* get_address_of_digestOverhead_4() { return &___digestOverhead_4; }
- inline void set_digestOverhead_4(int32_t value)
- {
- ___digestOverhead_4 = value;
- }
- inline static int32_t get_offset_of_macLength_5() { return static_cast<int32_t>(offsetof(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C, ___macLength_5)); }
- inline int32_t get_macLength_5() const { return ___macLength_5; }
- inline int32_t* get_address_of_macLength_5() { return &___macLength_5; }
- inline void set_macLength_5(int32_t value)
- {
- ___macLength_5 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher
- struct TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::context
- RuntimeObject* ___context_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::writeMac
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___writeMac_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::readMac
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * ___readMac_2;
- public:
- inline static int32_t get_offset_of_context_0() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___context_0)); }
- inline RuntimeObject* get_context_0() const { return ___context_0; }
- inline RuntimeObject** get_address_of_context_0() { return &___context_0; }
- inline void set_context_0(RuntimeObject* value)
- {
- ___context_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___context_0), (void*)value);
- }
- inline static int32_t get_offset_of_writeMac_1() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___writeMac_1)); }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_writeMac_1() const { return ___writeMac_1; }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_writeMac_1() { return &___writeMac_1; }
- inline void set_writeMac_1(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
- {
- ___writeMac_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___writeMac_1), (void*)value);
- }
- inline static int32_t get_offset_of_readMac_2() { return static_cast<int32_t>(offsetof(TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3, ___readMac_2)); }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * get_readMac_2() const { return ___readMac_2; }
- inline TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C ** get_address_of_readMac_2() { return &___readMac_2; }
- inline void set_readMac_2(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * value)
- {
- ___readMac_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___readMac_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression
- struct TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities
- struct TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils
- struct TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597 : public RuntimeObject
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl
- struct TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mSessionID
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSessionID_0;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mSessionParameters
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___mSessionParameters_1;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::mResumable
- bool ___mResumable_2;
- public:
- inline static int32_t get_offset_of_mSessionID_0() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mSessionID_0)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSessionID_0() const { return ___mSessionID_0; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSessionID_0() { return &___mSessionID_0; }
- inline void set_mSessionID_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mSessionID_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSessionID_0), (void*)value);
- }
- inline static int32_t get_offset_of_mSessionParameters_1() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mSessionParameters_1)); }
- inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * get_mSessionParameters_1() const { return ___mSessionParameters_1; }
- inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D ** get_address_of_mSessionParameters_1() { return &___mSessionParameters_1; }
- inline void set_mSessionParameters_1(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * value)
- {
- ___mSessionParameters_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSessionParameters_1), (void*)value);
- }
- inline static int32_t get_offset_of_mResumable_2() { return static_cast<int32_t>(offsetof(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2, ___mResumable_2)); }
- inline bool get_mResumable_2() const { return ___mResumable_2; }
- inline bool* get_address_of_mResumable_2() { return &___mResumable_2; }
- inline void set_mResumable_2(bool value)
- {
- ___mResumable_2 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities
- struct TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352 : public RuntimeObject
- {
- public:
- public:
- };
- struct TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyBytes
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___EmptyBytes_0;
- // System.Int16[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyShorts
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___EmptyShorts_1;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyInts
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___EmptyInts_2;
- // System.Int64[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EmptyLongs
- Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* ___EmptyLongs_3;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL_CLIENT
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___SSL_CLIENT_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL_SERVER
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___SSL_SERVER_5;
- // System.Byte[][] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::SSL3_CONST
- ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* ___SSL3_CONST_6;
- public:
- inline static int32_t get_offset_of_EmptyBytes_0() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyBytes_0)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_EmptyBytes_0() const { return ___EmptyBytes_0; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_EmptyBytes_0() { return &___EmptyBytes_0; }
- inline void set_EmptyBytes_0(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___EmptyBytes_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EmptyBytes_0), (void*)value);
- }
- inline static int32_t get_offset_of_EmptyShorts_1() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyShorts_1)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_EmptyShorts_1() const { return ___EmptyShorts_1; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_EmptyShorts_1() { return &___EmptyShorts_1; }
- inline void set_EmptyShorts_1(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ___EmptyShorts_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EmptyShorts_1), (void*)value);
- }
- inline static int32_t get_offset_of_EmptyInts_2() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyInts_2)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_EmptyInts_2() const { return ___EmptyInts_2; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_EmptyInts_2() { return &___EmptyInts_2; }
- inline void set_EmptyInts_2(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___EmptyInts_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EmptyInts_2), (void*)value);
- }
- inline static int32_t get_offset_of_EmptyLongs_3() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___EmptyLongs_3)); }
- inline Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* get_EmptyLongs_3() const { return ___EmptyLongs_3; }
- inline Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6** get_address_of_EmptyLongs_3() { return &___EmptyLongs_3; }
- inline void set_EmptyLongs_3(Int64U5BU5D_tCA61E42872C63A4286B24EEE6E0650143B43DCE6* value)
- {
- ___EmptyLongs_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___EmptyLongs_3), (void*)value);
- }
- inline static int32_t get_offset_of_SSL_CLIENT_4() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL_CLIENT_4)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_SSL_CLIENT_4() const { return ___SSL_CLIENT_4; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_SSL_CLIENT_4() { return &___SSL_CLIENT_4; }
- inline void set_SSL_CLIENT_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___SSL_CLIENT_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SSL_CLIENT_4), (void*)value);
- }
- inline static int32_t get_offset_of_SSL_SERVER_5() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL_SERVER_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_SSL_SERVER_5() const { return ___SSL_SERVER_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_SSL_SERVER_5() { return &___SSL_SERVER_5; }
- inline void set_SSL_SERVER_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___SSL_SERVER_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SSL_SERVER_5), (void*)value);
- }
- inline static int32_t get_offset_of_SSL3_CONST_6() { return static_cast<int32_t>(offsetof(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields, ___SSL3_CONST_6)); }
- inline ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* get_SSL3_CONST_6() const { return ___SSL3_CONST_6; }
- inline ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D** get_address_of_SSL3_CONST_6() { return &___SSL3_CONST_6; }
- inline void set_SSL3_CONST_6(ByteU5BU5DU5BU5D_t95107DE217CCFA8CD77945AC2CB9492D4D01FE8D* value)
- {
- ___SSL3_CONST_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SSL3_CONST_6), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData
- struct UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 : public RuntimeObject
- {
- public:
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::mProtectionProfiles
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mProtectionProfiles_0;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::mMki
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMki_1;
- public:
- inline static int32_t get_offset_of_mProtectionProfiles_0() { return static_cast<int32_t>(offsetof(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935, ___mProtectionProfiles_0)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mProtectionProfiles_0() const { return ___mProtectionProfiles_0; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mProtectionProfiles_0() { return &___mProtectionProfiles_0; }
- inline void set_mProtectionProfiles_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___mProtectionProfiles_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mProtectionProfiles_0), (void*)value);
- }
- inline static int32_t get_offset_of_mMki_1() { return static_cast<int32_t>(offsetof(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935, ___mMki_1)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMki_1() const { return ___mMki_1; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMki_1() { return &___mMki_1; }
- inline void set_mMki_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mMki_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mMki_1), (void*)value);
- }
- };
- // System.ValueType
- struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
- {
- public:
- public:
- };
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
- {
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream
- struct ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C : public RuntimeObject
- {
- public:
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_in
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___next_in_17;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_in_index
- int32_t ___next_in_index_18;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::avail_in
- int32_t ___avail_in_19;
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::total_in
- int64_t ___total_in_20;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_out
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___next_out_21;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::next_out_index
- int32_t ___next_out_index_22;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::avail_out
- int32_t ___avail_out_23;
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::total_out
- int64_t ___total_out_24;
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::msg
- String_t* ___msg_25;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Deflate BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::dstate
- Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * ___dstate_26;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Inflate BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::istate
- Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * ___istate_27;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::data_type
- int32_t ___data_type_28;
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::adler
- int64_t ___adler_29;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.Adler32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::_adler
- Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * ____adler_30;
- public:
- inline static int32_t get_offset_of_next_in_17() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_in_17)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_next_in_17() const { return ___next_in_17; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_next_in_17() { return &___next_in_17; }
- inline void set_next_in_17(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___next_in_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___next_in_17), (void*)value);
- }
- inline static int32_t get_offset_of_next_in_index_18() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_in_index_18)); }
- inline int32_t get_next_in_index_18() const { return ___next_in_index_18; }
- inline int32_t* get_address_of_next_in_index_18() { return &___next_in_index_18; }
- inline void set_next_in_index_18(int32_t value)
- {
- ___next_in_index_18 = value;
- }
- inline static int32_t get_offset_of_avail_in_19() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___avail_in_19)); }
- inline int32_t get_avail_in_19() const { return ___avail_in_19; }
- inline int32_t* get_address_of_avail_in_19() { return &___avail_in_19; }
- inline void set_avail_in_19(int32_t value)
- {
- ___avail_in_19 = value;
- }
- inline static int32_t get_offset_of_total_in_20() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___total_in_20)); }
- inline int64_t get_total_in_20() const { return ___total_in_20; }
- inline int64_t* get_address_of_total_in_20() { return &___total_in_20; }
- inline void set_total_in_20(int64_t value)
- {
- ___total_in_20 = value;
- }
- inline static int32_t get_offset_of_next_out_21() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_out_21)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_next_out_21() const { return ___next_out_21; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_next_out_21() { return &___next_out_21; }
- inline void set_next_out_21(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___next_out_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___next_out_21), (void*)value);
- }
- inline static int32_t get_offset_of_next_out_index_22() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___next_out_index_22)); }
- inline int32_t get_next_out_index_22() const { return ___next_out_index_22; }
- inline int32_t* get_address_of_next_out_index_22() { return &___next_out_index_22; }
- inline void set_next_out_index_22(int32_t value)
- {
- ___next_out_index_22 = value;
- }
- inline static int32_t get_offset_of_avail_out_23() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___avail_out_23)); }
- inline int32_t get_avail_out_23() const { return ___avail_out_23; }
- inline int32_t* get_address_of_avail_out_23() { return &___avail_out_23; }
- inline void set_avail_out_23(int32_t value)
- {
- ___avail_out_23 = value;
- }
- inline static int32_t get_offset_of_total_out_24() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___total_out_24)); }
- inline int64_t get_total_out_24() const { return ___total_out_24; }
- inline int64_t* get_address_of_total_out_24() { return &___total_out_24; }
- inline void set_total_out_24(int64_t value)
- {
- ___total_out_24 = value;
- }
- inline static int32_t get_offset_of_msg_25() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___msg_25)); }
- inline String_t* get_msg_25() const { return ___msg_25; }
- inline String_t** get_address_of_msg_25() { return &___msg_25; }
- inline void set_msg_25(String_t* value)
- {
- ___msg_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___msg_25), (void*)value);
- }
- inline static int32_t get_offset_of_dstate_26() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___dstate_26)); }
- inline Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * get_dstate_26() const { return ___dstate_26; }
- inline Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 ** get_address_of_dstate_26() { return &___dstate_26; }
- inline void set_dstate_26(Deflate_t2AE4FB95702F6B4AAB462CA24EB839E5DFF6C169 * value)
- {
- ___dstate_26 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___dstate_26), (void*)value);
- }
- inline static int32_t get_offset_of_istate_27() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___istate_27)); }
- inline Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * get_istate_27() const { return ___istate_27; }
- inline Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 ** get_address_of_istate_27() { return &___istate_27; }
- inline void set_istate_27(Inflate_tA57633237054BCAD6EDC8DBC06F34D50C1680638 * value)
- {
- ___istate_27 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___istate_27), (void*)value);
- }
- inline static int32_t get_offset_of_data_type_28() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___data_type_28)); }
- inline int32_t get_data_type_28() const { return ___data_type_28; }
- inline int32_t* get_address_of_data_type_28() { return &___data_type_28; }
- inline void set_data_type_28(int32_t value)
- {
- ___data_type_28 = value;
- }
- inline static int32_t get_offset_of_adler_29() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ___adler_29)); }
- inline int64_t get_adler_29() const { return ___adler_29; }
- inline int64_t* get_address_of_adler_29() { return &___adler_29; }
- inline void set_adler_29(int64_t value)
- {
- ___adler_29 = value;
- }
- inline static int32_t get_offset_of__adler_30() { return static_cast<int32_t>(offsetof(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C, ____adler_30)); }
- inline Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * get__adler_30() const { return ____adler_30; }
- inline Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 ** get_address_of__adler_30() { return &____adler_30; }
- inline void set__adler_30(Adler32_tA7FF29BBF4C9B4738DDE9CA1F7F5B6457DDF5EC2 * value)
- {
- ____adler_30 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____adler_30), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder
- struct Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 : public RuntimeObject
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mCipherSuite
- int32_t ___mCipherSuite_0;
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mCompressionAlgorithm
- int16_t ___mCompressionAlgorithm_1;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mMasterSecret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mMasterSecret_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mPeerCertificate
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_3;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mPskIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentity_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mSrpIdentity
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSrpIdentity_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mEncodedServerExtensions
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mEncodedServerExtensions_6;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::mExtendedMasterSecret
- bool ___mExtendedMasterSecret_7;
- public:
- inline static int32_t get_offset_of_mCipherSuite_0() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mCipherSuite_0)); }
- inline int32_t get_mCipherSuite_0() const { return ___mCipherSuite_0; }
- inline int32_t* get_address_of_mCipherSuite_0() { return &___mCipherSuite_0; }
- inline void set_mCipherSuite_0(int32_t value)
- {
- ___mCipherSuite_0 = value;
- }
- inline static int32_t get_offset_of_mCompressionAlgorithm_1() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mCompressionAlgorithm_1)); }
- inline int16_t get_mCompressionAlgorithm_1() const { return ___mCompressionAlgorithm_1; }
- inline int16_t* get_address_of_mCompressionAlgorithm_1() { return &___mCompressionAlgorithm_1; }
- inline void set_mCompressionAlgorithm_1(int16_t value)
- {
- ___mCompressionAlgorithm_1 = value;
- }
- inline static int32_t get_offset_of_mMasterSecret_2() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mMasterSecret_2)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mMasterSecret_2() const { return ___mMasterSecret_2; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mMasterSecret_2() { return &___mMasterSecret_2; }
- inline void set_mMasterSecret_2(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mMasterSecret_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mMasterSecret_2), (void*)value);
- }
- inline static int32_t get_offset_of_mPeerCertificate_3() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mPeerCertificate_3)); }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_3() const { return ___mPeerCertificate_3; }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_3() { return &___mPeerCertificate_3; }
- inline void set_mPeerCertificate_3(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
- {
- ___mPeerCertificate_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_3), (void*)value);
- }
- inline static int32_t get_offset_of_mPskIdentity_4() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mPskIdentity_4)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentity_4() const { return ___mPskIdentity_4; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentity_4() { return &___mPskIdentity_4; }
- inline void set_mPskIdentity_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPskIdentity_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_4), (void*)value);
- }
- inline static int32_t get_offset_of_mSrpIdentity_5() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mSrpIdentity_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSrpIdentity_5() const { return ___mSrpIdentity_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSrpIdentity_5() { return &___mSrpIdentity_5; }
- inline void set_mSrpIdentity_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mSrpIdentity_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSrpIdentity_5), (void*)value);
- }
- inline static int32_t get_offset_of_mEncodedServerExtensions_6() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mEncodedServerExtensions_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mEncodedServerExtensions_6() const { return ___mEncodedServerExtensions_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mEncodedServerExtensions_6() { return &___mEncodedServerExtensions_6; }
- inline void set_mEncodedServerExtensions_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mEncodedServerExtensions_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mEncodedServerExtensions_6), (void*)value);
- }
- inline static int32_t get_offset_of_mExtendedMasterSecret_7() { return static_cast<int32_t>(offsetof(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917, ___mExtendedMasterSecret_7)); }
- inline bool get_mExtendedMasterSecret_7() const { return ___mExtendedMasterSecret_7; }
- inline bool* get_address_of_mExtendedMasterSecret_7() { return &___mExtendedMasterSecret_7; }
- inline void set_mExtendedMasterSecret_7(bool value)
- {
- ___mExtendedMasterSecret_7 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractF2mCurve
- struct AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE : public ECCurve_t850A42EEB1867F313B111B5A75430D443165B926
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractF2mCurve::si
- BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* ___si_16;
- public:
- inline static int32_t get_offset_of_si_16() { return static_cast<int32_t>(offsetof(AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE, ___si_16)); }
- inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* get_si_16() const { return ___si_16; }
- inline BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED** get_address_of_si_16() { return &___si_16; }
- inline void set_si_16(BigIntegerU5BU5D_tE8B77B5B8A588D40881DE1C7EE373965BF9E33ED* value)
- {
- ___si_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___si_16), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.AbstractFpCurve
- struct AbstractFpCurve_tE0B6ADB825360C35FC7DFFBCC3473DCA2198D5EF : public ECCurve_t850A42EEB1867F313B111B5A75430D443165B926
- {
- public:
- public:
- };
- // DragonBones.AnimationData
- struct AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // System.UInt32 DragonBones.AnimationData::frameIntOffset
- uint32_t ___frameIntOffset_5;
- // System.UInt32 DragonBones.AnimationData::frameFloatOffset
- uint32_t ___frameFloatOffset_6;
- // System.UInt32 DragonBones.AnimationData::frameOffset
- uint32_t ___frameOffset_7;
- // System.UInt32 DragonBones.AnimationData::frameCount
- uint32_t ___frameCount_8;
- // System.UInt32 DragonBones.AnimationData::playTimes
- uint32_t ___playTimes_9;
- // System.Single DragonBones.AnimationData::duration
- float ___duration_10;
- // System.Single DragonBones.AnimationData::scale
- float ___scale_11;
- // System.Single DragonBones.AnimationData::fadeInTime
- float ___fadeInTime_12;
- // System.Single DragonBones.AnimationData::cacheFrameRate
- float ___cacheFrameRate_13;
- // System.String DragonBones.AnimationData::name
- String_t* ___name_14;
- // System.Collections.Generic.List`1<System.Boolean> DragonBones.AnimationData::cachedFrames
- List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * ___cachedFrames_15;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::boneTimelines
- Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___boneTimelines_16;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::slotTimelines
- Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___slotTimelines_17;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<DragonBones.TimelineData>> DragonBones.AnimationData::constraintTimelines
- Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * ___constraintTimelines_18;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>> DragonBones.AnimationData::boneCachedFrameIndices
- Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * ___boneCachedFrameIndices_19;
- // System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<System.Int32>> DragonBones.AnimationData::slotCachedFrameIndices
- Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * ___slotCachedFrameIndices_20;
- // DragonBones.TimelineData DragonBones.AnimationData::actionTimeline
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ___actionTimeline_21;
- // DragonBones.TimelineData DragonBones.AnimationData::zOrderTimeline
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ___zOrderTimeline_22;
- // DragonBones.ArmatureData DragonBones.AnimationData::parent
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ___parent_23;
- public:
- inline static int32_t get_offset_of_frameIntOffset_5() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameIntOffset_5)); }
- inline uint32_t get_frameIntOffset_5() const { return ___frameIntOffset_5; }
- inline uint32_t* get_address_of_frameIntOffset_5() { return &___frameIntOffset_5; }
- inline void set_frameIntOffset_5(uint32_t value)
- {
- ___frameIntOffset_5 = value;
- }
- inline static int32_t get_offset_of_frameFloatOffset_6() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameFloatOffset_6)); }
- inline uint32_t get_frameFloatOffset_6() const { return ___frameFloatOffset_6; }
- inline uint32_t* get_address_of_frameFloatOffset_6() { return &___frameFloatOffset_6; }
- inline void set_frameFloatOffset_6(uint32_t value)
- {
- ___frameFloatOffset_6 = value;
- }
- inline static int32_t get_offset_of_frameOffset_7() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameOffset_7)); }
- inline uint32_t get_frameOffset_7() const { return ___frameOffset_7; }
- inline uint32_t* get_address_of_frameOffset_7() { return &___frameOffset_7; }
- inline void set_frameOffset_7(uint32_t value)
- {
- ___frameOffset_7 = value;
- }
- inline static int32_t get_offset_of_frameCount_8() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___frameCount_8)); }
- inline uint32_t get_frameCount_8() const { return ___frameCount_8; }
- inline uint32_t* get_address_of_frameCount_8() { return &___frameCount_8; }
- inline void set_frameCount_8(uint32_t value)
- {
- ___frameCount_8 = value;
- }
- inline static int32_t get_offset_of_playTimes_9() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___playTimes_9)); }
- inline uint32_t get_playTimes_9() const { return ___playTimes_9; }
- inline uint32_t* get_address_of_playTimes_9() { return &___playTimes_9; }
- inline void set_playTimes_9(uint32_t value)
- {
- ___playTimes_9 = value;
- }
- inline static int32_t get_offset_of_duration_10() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___duration_10)); }
- inline float get_duration_10() const { return ___duration_10; }
- inline float* get_address_of_duration_10() { return &___duration_10; }
- inline void set_duration_10(float value)
- {
- ___duration_10 = value;
- }
- inline static int32_t get_offset_of_scale_11() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___scale_11)); }
- inline float get_scale_11() const { return ___scale_11; }
- inline float* get_address_of_scale_11() { return &___scale_11; }
- inline void set_scale_11(float value)
- {
- ___scale_11 = value;
- }
- inline static int32_t get_offset_of_fadeInTime_12() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___fadeInTime_12)); }
- inline float get_fadeInTime_12() const { return ___fadeInTime_12; }
- inline float* get_address_of_fadeInTime_12() { return &___fadeInTime_12; }
- inline void set_fadeInTime_12(float value)
- {
- ___fadeInTime_12 = value;
- }
- inline static int32_t get_offset_of_cacheFrameRate_13() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___cacheFrameRate_13)); }
- inline float get_cacheFrameRate_13() const { return ___cacheFrameRate_13; }
- inline float* get_address_of_cacheFrameRate_13() { return &___cacheFrameRate_13; }
- inline void set_cacheFrameRate_13(float value)
- {
- ___cacheFrameRate_13 = value;
- }
- inline static int32_t get_offset_of_name_14() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___name_14)); }
- inline String_t* get_name_14() const { return ___name_14; }
- inline String_t** get_address_of_name_14() { return &___name_14; }
- inline void set_name_14(String_t* value)
- {
- ___name_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___name_14), (void*)value);
- }
- inline static int32_t get_offset_of_cachedFrames_15() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___cachedFrames_15)); }
- inline List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * get_cachedFrames_15() const { return ___cachedFrames_15; }
- inline List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 ** get_address_of_cachedFrames_15() { return &___cachedFrames_15; }
- inline void set_cachedFrames_15(List_1_tD4D2BACE5281B6C85799892C1F12F5F2F81A2DF3 * value)
- {
- ___cachedFrames_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___cachedFrames_15), (void*)value);
- }
- inline static int32_t get_offset_of_boneTimelines_16() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___boneTimelines_16)); }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_boneTimelines_16() const { return ___boneTimelines_16; }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_boneTimelines_16() { return &___boneTimelines_16; }
- inline void set_boneTimelines_16(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
- {
- ___boneTimelines_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___boneTimelines_16), (void*)value);
- }
- inline static int32_t get_offset_of_slotTimelines_17() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___slotTimelines_17)); }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_slotTimelines_17() const { return ___slotTimelines_17; }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_slotTimelines_17() { return &___slotTimelines_17; }
- inline void set_slotTimelines_17(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
- {
- ___slotTimelines_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___slotTimelines_17), (void*)value);
- }
- inline static int32_t get_offset_of_constraintTimelines_18() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___constraintTimelines_18)); }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * get_constraintTimelines_18() const { return ___constraintTimelines_18; }
- inline Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD ** get_address_of_constraintTimelines_18() { return &___constraintTimelines_18; }
- inline void set_constraintTimelines_18(Dictionary_2_t8600A2BB374B87EA640B1C0066BE42EA3F8C56BD * value)
- {
- ___constraintTimelines_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___constraintTimelines_18), (void*)value);
- }
- inline static int32_t get_offset_of_boneCachedFrameIndices_19() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___boneCachedFrameIndices_19)); }
- inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * get_boneCachedFrameIndices_19() const { return ___boneCachedFrameIndices_19; }
- inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 ** get_address_of_boneCachedFrameIndices_19() { return &___boneCachedFrameIndices_19; }
- inline void set_boneCachedFrameIndices_19(Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * value)
- {
- ___boneCachedFrameIndices_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___boneCachedFrameIndices_19), (void*)value);
- }
- inline static int32_t get_offset_of_slotCachedFrameIndices_20() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___slotCachedFrameIndices_20)); }
- inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * get_slotCachedFrameIndices_20() const { return ___slotCachedFrameIndices_20; }
- inline Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 ** get_address_of_slotCachedFrameIndices_20() { return &___slotCachedFrameIndices_20; }
- inline void set_slotCachedFrameIndices_20(Dictionary_2_t0141BC6966873E9827CA2F0856EF6D6EA51AD929 * value)
- {
- ___slotCachedFrameIndices_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___slotCachedFrameIndices_20), (void*)value);
- }
- inline static int32_t get_offset_of_actionTimeline_21() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___actionTimeline_21)); }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get_actionTimeline_21() const { return ___actionTimeline_21; }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of_actionTimeline_21() { return &___actionTimeline_21; }
- inline void set_actionTimeline_21(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
- {
- ___actionTimeline_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___actionTimeline_21), (void*)value);
- }
- inline static int32_t get_offset_of_zOrderTimeline_22() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___zOrderTimeline_22)); }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get_zOrderTimeline_22() const { return ___zOrderTimeline_22; }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of_zOrderTimeline_22() { return &___zOrderTimeline_22; }
- inline void set_zOrderTimeline_22(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
- {
- ___zOrderTimeline_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___zOrderTimeline_22), (void*)value);
- }
- inline static int32_t get_offset_of_parent_23() { return static_cast<int32_t>(offsetof(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9, ___parent_23)); }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get_parent_23() const { return ___parent_23; }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of_parent_23() { return &___parent_23; }
- inline void set_parent_23(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
- {
- ___parent_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parent_23), (void*)value);
- }
- };
- // DragonBones.AnimationState
- struct AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // System.Boolean DragonBones.AnimationState::actionEnabled
- bool ___actionEnabled_5;
- // System.Boolean DragonBones.AnimationState::additiveBlending
- bool ___additiveBlending_6;
- // System.Boolean DragonBones.AnimationState::displayControl
- bool ___displayControl_7;
- // System.Boolean DragonBones.AnimationState::resetToPose
- bool ___resetToPose_8;
- // System.Int32 DragonBones.AnimationState::playTimes
- int32_t ___playTimes_9;
- // System.Int32 DragonBones.AnimationState::layer
- int32_t ___layer_10;
- // System.Single DragonBones.AnimationState::timeScale
- float ___timeScale_11;
- // System.Single DragonBones.AnimationState::weight
- float ___weight_12;
- // System.Single DragonBones.AnimationState::autoFadeOutTime
- float ___autoFadeOutTime_13;
- // System.Single DragonBones.AnimationState::fadeTotalTime
- float ___fadeTotalTime_14;
- // System.String DragonBones.AnimationState::name
- String_t* ___name_15;
- // System.String DragonBones.AnimationState::group
- String_t* ___group_16;
- // System.Int32 DragonBones.AnimationState::_timelineDirty
- int32_t ____timelineDirty_17;
- // System.Int32 DragonBones.AnimationState::_playheadState
- int32_t ____playheadState_18;
- // System.Int32 DragonBones.AnimationState::_fadeState
- int32_t ____fadeState_19;
- // System.Int32 DragonBones.AnimationState::_subFadeState
- int32_t ____subFadeState_20;
- // System.Single DragonBones.AnimationState::_position
- float ____position_21;
- // System.Single DragonBones.AnimationState::_duration
- float ____duration_22;
- // System.Single DragonBones.AnimationState::_fadeTime
- float ____fadeTime_23;
- // System.Single DragonBones.AnimationState::_time
- float ____time_24;
- // System.Single DragonBones.AnimationState::_fadeProgress
- float ____fadeProgress_25;
- // System.Single DragonBones.AnimationState::_weightResult
- float ____weightResult_26;
- // DragonBones.BlendState DragonBones.AnimationState::_blendState
- BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * ____blendState_27;
- // System.Collections.Generic.List`1<System.String> DragonBones.AnimationState::_boneMask
- List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ____boneMask_28;
- // System.Collections.Generic.List`1<DragonBones.BoneTimelineState> DragonBones.AnimationState::_boneTimelines
- List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * ____boneTimelines_29;
- // System.Collections.Generic.List`1<DragonBones.SlotTimelineState> DragonBones.AnimationState::_slotTimelines
- List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * ____slotTimelines_30;
- // System.Collections.Generic.List`1<DragonBones.ConstraintTimelineState> DragonBones.AnimationState::_constraintTimelines
- List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * ____constraintTimelines_31;
- // System.Collections.Generic.List`1<DragonBones.TimelineState> DragonBones.AnimationState::_poseTimelines
- List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * ____poseTimelines_32;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BonePose> DragonBones.AnimationState::_bonePoses
- Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * ____bonePoses_33;
- // DragonBones.AnimationData DragonBones.AnimationState::_animationData
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ____animationData_34;
- // DragonBones.Armature DragonBones.AnimationState::_armature
- Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * ____armature_35;
- // DragonBones.ActionTimelineState DragonBones.AnimationState::_actionTimeline
- ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * ____actionTimeline_36;
- // DragonBones.ZOrderTimelineState DragonBones.AnimationState::_zOrderTimeline
- ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * ____zOrderTimeline_37;
- // DragonBones.AnimationState DragonBones.AnimationState::_parent
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * ____parent_38;
- public:
- inline static int32_t get_offset_of_actionEnabled_5() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___actionEnabled_5)); }
- inline bool get_actionEnabled_5() const { return ___actionEnabled_5; }
- inline bool* get_address_of_actionEnabled_5() { return &___actionEnabled_5; }
- inline void set_actionEnabled_5(bool value)
- {
- ___actionEnabled_5 = value;
- }
- inline static int32_t get_offset_of_additiveBlending_6() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___additiveBlending_6)); }
- inline bool get_additiveBlending_6() const { return ___additiveBlending_6; }
- inline bool* get_address_of_additiveBlending_6() { return &___additiveBlending_6; }
- inline void set_additiveBlending_6(bool value)
- {
- ___additiveBlending_6 = value;
- }
- inline static int32_t get_offset_of_displayControl_7() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___displayControl_7)); }
- inline bool get_displayControl_7() const { return ___displayControl_7; }
- inline bool* get_address_of_displayControl_7() { return &___displayControl_7; }
- inline void set_displayControl_7(bool value)
- {
- ___displayControl_7 = value;
- }
- inline static int32_t get_offset_of_resetToPose_8() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___resetToPose_8)); }
- inline bool get_resetToPose_8() const { return ___resetToPose_8; }
- inline bool* get_address_of_resetToPose_8() { return &___resetToPose_8; }
- inline void set_resetToPose_8(bool value)
- {
- ___resetToPose_8 = value;
- }
- inline static int32_t get_offset_of_playTimes_9() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___playTimes_9)); }
- inline int32_t get_playTimes_9() const { return ___playTimes_9; }
- inline int32_t* get_address_of_playTimes_9() { return &___playTimes_9; }
- inline void set_playTimes_9(int32_t value)
- {
- ___playTimes_9 = value;
- }
- inline static int32_t get_offset_of_layer_10() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___layer_10)); }
- inline int32_t get_layer_10() const { return ___layer_10; }
- inline int32_t* get_address_of_layer_10() { return &___layer_10; }
- inline void set_layer_10(int32_t value)
- {
- ___layer_10 = value;
- }
- inline static int32_t get_offset_of_timeScale_11() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___timeScale_11)); }
- inline float get_timeScale_11() const { return ___timeScale_11; }
- inline float* get_address_of_timeScale_11() { return &___timeScale_11; }
- inline void set_timeScale_11(float value)
- {
- ___timeScale_11 = value;
- }
- inline static int32_t get_offset_of_weight_12() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___weight_12)); }
- inline float get_weight_12() const { return ___weight_12; }
- inline float* get_address_of_weight_12() { return &___weight_12; }
- inline void set_weight_12(float value)
- {
- ___weight_12 = value;
- }
- inline static int32_t get_offset_of_autoFadeOutTime_13() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___autoFadeOutTime_13)); }
- inline float get_autoFadeOutTime_13() const { return ___autoFadeOutTime_13; }
- inline float* get_address_of_autoFadeOutTime_13() { return &___autoFadeOutTime_13; }
- inline void set_autoFadeOutTime_13(float value)
- {
- ___autoFadeOutTime_13 = value;
- }
- inline static int32_t get_offset_of_fadeTotalTime_14() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___fadeTotalTime_14)); }
- inline float get_fadeTotalTime_14() const { return ___fadeTotalTime_14; }
- inline float* get_address_of_fadeTotalTime_14() { return &___fadeTotalTime_14; }
- inline void set_fadeTotalTime_14(float value)
- {
- ___fadeTotalTime_14 = value;
- }
- inline static int32_t get_offset_of_name_15() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___name_15)); }
- inline String_t* get_name_15() const { return ___name_15; }
- inline String_t** get_address_of_name_15() { return &___name_15; }
- inline void set_name_15(String_t* value)
- {
- ___name_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___name_15), (void*)value);
- }
- inline static int32_t get_offset_of_group_16() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ___group_16)); }
- inline String_t* get_group_16() const { return ___group_16; }
- inline String_t** get_address_of_group_16() { return &___group_16; }
- inline void set_group_16(String_t* value)
- {
- ___group_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___group_16), (void*)value);
- }
- inline static int32_t get_offset_of__timelineDirty_17() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____timelineDirty_17)); }
- inline int32_t get__timelineDirty_17() const { return ____timelineDirty_17; }
- inline int32_t* get_address_of__timelineDirty_17() { return &____timelineDirty_17; }
- inline void set__timelineDirty_17(int32_t value)
- {
- ____timelineDirty_17 = value;
- }
- inline static int32_t get_offset_of__playheadState_18() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____playheadState_18)); }
- inline int32_t get__playheadState_18() const { return ____playheadState_18; }
- inline int32_t* get_address_of__playheadState_18() { return &____playheadState_18; }
- inline void set__playheadState_18(int32_t value)
- {
- ____playheadState_18 = value;
- }
- inline static int32_t get_offset_of__fadeState_19() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeState_19)); }
- inline int32_t get__fadeState_19() const { return ____fadeState_19; }
- inline int32_t* get_address_of__fadeState_19() { return &____fadeState_19; }
- inline void set__fadeState_19(int32_t value)
- {
- ____fadeState_19 = value;
- }
- inline static int32_t get_offset_of__subFadeState_20() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____subFadeState_20)); }
- inline int32_t get__subFadeState_20() const { return ____subFadeState_20; }
- inline int32_t* get_address_of__subFadeState_20() { return &____subFadeState_20; }
- inline void set__subFadeState_20(int32_t value)
- {
- ____subFadeState_20 = value;
- }
- inline static int32_t get_offset_of__position_21() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____position_21)); }
- inline float get__position_21() const { return ____position_21; }
- inline float* get_address_of__position_21() { return &____position_21; }
- inline void set__position_21(float value)
- {
- ____position_21 = value;
- }
- inline static int32_t get_offset_of__duration_22() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____duration_22)); }
- inline float get__duration_22() const { return ____duration_22; }
- inline float* get_address_of__duration_22() { return &____duration_22; }
- inline void set__duration_22(float value)
- {
- ____duration_22 = value;
- }
- inline static int32_t get_offset_of__fadeTime_23() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeTime_23)); }
- inline float get__fadeTime_23() const { return ____fadeTime_23; }
- inline float* get_address_of__fadeTime_23() { return &____fadeTime_23; }
- inline void set__fadeTime_23(float value)
- {
- ____fadeTime_23 = value;
- }
- inline static int32_t get_offset_of__time_24() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____time_24)); }
- inline float get__time_24() const { return ____time_24; }
- inline float* get_address_of__time_24() { return &____time_24; }
- inline void set__time_24(float value)
- {
- ____time_24 = value;
- }
- inline static int32_t get_offset_of__fadeProgress_25() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____fadeProgress_25)); }
- inline float get__fadeProgress_25() const { return ____fadeProgress_25; }
- inline float* get_address_of__fadeProgress_25() { return &____fadeProgress_25; }
- inline void set__fadeProgress_25(float value)
- {
- ____fadeProgress_25 = value;
- }
- inline static int32_t get_offset_of__weightResult_26() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____weightResult_26)); }
- inline float get__weightResult_26() const { return ____weightResult_26; }
- inline float* get_address_of__weightResult_26() { return &____weightResult_26; }
- inline void set__weightResult_26(float value)
- {
- ____weightResult_26 = value;
- }
- inline static int32_t get_offset_of__blendState_27() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____blendState_27)); }
- inline BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * get__blendState_27() const { return ____blendState_27; }
- inline BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE ** get_address_of__blendState_27() { return &____blendState_27; }
- inline void set__blendState_27(BlendState_tCBAA0DE4CF9B4CC352E7A9DB94E50969FFE82BBE * value)
- {
- ____blendState_27 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____blendState_27), (void*)value);
- }
- inline static int32_t get_offset_of__boneMask_28() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____boneMask_28)); }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get__boneMask_28() const { return ____boneMask_28; }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of__boneMask_28() { return &____boneMask_28; }
- inline void set__boneMask_28(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
- {
- ____boneMask_28 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____boneMask_28), (void*)value);
- }
- inline static int32_t get_offset_of__boneTimelines_29() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____boneTimelines_29)); }
- inline List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * get__boneTimelines_29() const { return ____boneTimelines_29; }
- inline List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 ** get_address_of__boneTimelines_29() { return &____boneTimelines_29; }
- inline void set__boneTimelines_29(List_1_tE9D4B1308758B015E7896CFC7B7539E7BA125A52 * value)
- {
- ____boneTimelines_29 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____boneTimelines_29), (void*)value);
- }
- inline static int32_t get_offset_of__slotTimelines_30() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____slotTimelines_30)); }
- inline List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * get__slotTimelines_30() const { return ____slotTimelines_30; }
- inline List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 ** get_address_of__slotTimelines_30() { return &____slotTimelines_30; }
- inline void set__slotTimelines_30(List_1_t49E0D36FEF6F7F303A2639D59E5E4BC720E21443 * value)
- {
- ____slotTimelines_30 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____slotTimelines_30), (void*)value);
- }
- inline static int32_t get_offset_of__constraintTimelines_31() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____constraintTimelines_31)); }
- inline List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * get__constraintTimelines_31() const { return ____constraintTimelines_31; }
- inline List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E ** get_address_of__constraintTimelines_31() { return &____constraintTimelines_31; }
- inline void set__constraintTimelines_31(List_1_tA9C6A826FF8894E1473AECD79B02D415610E1E0E * value)
- {
- ____constraintTimelines_31 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____constraintTimelines_31), (void*)value);
- }
- inline static int32_t get_offset_of__poseTimelines_32() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____poseTimelines_32)); }
- inline List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * get__poseTimelines_32() const { return ____poseTimelines_32; }
- inline List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 ** get_address_of__poseTimelines_32() { return &____poseTimelines_32; }
- inline void set__poseTimelines_32(List_1_tB80B48012D1DE98AB4A4278987A96DCDAB63BE17 * value)
- {
- ____poseTimelines_32 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____poseTimelines_32), (void*)value);
- }
- inline static int32_t get_offset_of__bonePoses_33() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____bonePoses_33)); }
- inline Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * get__bonePoses_33() const { return ____bonePoses_33; }
- inline Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 ** get_address_of__bonePoses_33() { return &____bonePoses_33; }
- inline void set__bonePoses_33(Dictionary_2_tF0C151F99B9B255CCACEC634462B2A4E94B81155 * value)
- {
- ____bonePoses_33 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____bonePoses_33), (void*)value);
- }
- inline static int32_t get_offset_of__animationData_34() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____animationData_34)); }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get__animationData_34() const { return ____animationData_34; }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of__animationData_34() { return &____animationData_34; }
- inline void set__animationData_34(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
- {
- ____animationData_34 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____animationData_34), (void*)value);
- }
- inline static int32_t get_offset_of__armature_35() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____armature_35)); }
- inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * get__armature_35() const { return ____armature_35; }
- inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD ** get_address_of__armature_35() { return &____armature_35; }
- inline void set__armature_35(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * value)
- {
- ____armature_35 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____armature_35), (void*)value);
- }
- inline static int32_t get_offset_of__actionTimeline_36() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____actionTimeline_36)); }
- inline ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * get__actionTimeline_36() const { return ____actionTimeline_36; }
- inline ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B ** get_address_of__actionTimeline_36() { return &____actionTimeline_36; }
- inline void set__actionTimeline_36(ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * value)
- {
- ____actionTimeline_36 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____actionTimeline_36), (void*)value);
- }
- inline static int32_t get_offset_of__zOrderTimeline_37() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____zOrderTimeline_37)); }
- inline ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * get__zOrderTimeline_37() const { return ____zOrderTimeline_37; }
- inline ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF ** get_address_of__zOrderTimeline_37() { return &____zOrderTimeline_37; }
- inline void set__zOrderTimeline_37(ZOrderTimelineState_t2AD5BF4D8D8CDA7B357E37BC7FAF9492F73A24AF * value)
- {
- ____zOrderTimeline_37 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____zOrderTimeline_37), (void*)value);
- }
- inline static int32_t get_offset_of__parent_38() { return static_cast<int32_t>(offsetof(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E, ____parent_38)); }
- inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * get__parent_38() const { return ____parent_38; }
- inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E ** get_address_of__parent_38() { return &____parent_38; }
- inline void set__parent_38(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * value)
- {
- ____parent_38 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____parent_38), (void*)value);
- }
- };
- // DragonBones.Armature
- struct Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // System.Boolean DragonBones.Armature::inheritAnimation
- bool ___inheritAnimation_5;
- // System.Object DragonBones.Armature::userData
- RuntimeObject * ___userData_6;
- // System.Boolean DragonBones.Armature::_lockUpdate
- bool ____lockUpdate_7;
- // System.Boolean DragonBones.Armature::_slotsDirty
- bool ____slotsDirty_8;
- // System.Boolean DragonBones.Armature::_zOrderDirty
- bool ____zOrderDirty_9;
- // System.Boolean DragonBones.Armature::_flipX
- bool ____flipX_10;
- // System.Boolean DragonBones.Armature::_flipY
- bool ____flipY_11;
- // System.Int32 DragonBones.Armature::_cacheFrameIndex
- int32_t ____cacheFrameIndex_12;
- // System.Collections.Generic.List`1<DragonBones.Bone> DragonBones.Armature::_bones
- List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * ____bones_13;
- // System.Collections.Generic.List`1<DragonBones.Slot> DragonBones.Armature::_slots
- List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * ____slots_14;
- // System.Collections.Generic.List`1<DragonBones.Constraint> DragonBones.Armature::_constraints
- List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * ____constraints_15;
- // System.Collections.Generic.List`1<DragonBones.EventObject> DragonBones.Armature::_actions
- List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * ____actions_16;
- // DragonBones.ArmatureData DragonBones.Armature::_armatureData
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ____armatureData_17;
- // DragonBones.AnimationDB DragonBones.Armature::_animation
- AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * ____animation_18;
- // DragonBones.IArmatureProxy DragonBones.Armature::_proxy
- RuntimeObject* ____proxy_19;
- // System.Object DragonBones.Armature::_display
- RuntimeObject * ____display_20;
- // DragonBones.TextureAtlasData DragonBones.Armature::_replaceTextureAtlasData
- TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * ____replaceTextureAtlasData_21;
- // System.Object DragonBones.Armature::_replacedTexture
- RuntimeObject * ____replacedTexture_22;
- // DragonBones.DragonBones DragonBones.Armature::_dragonBones
- DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * ____dragonBones_23;
- // DragonBones.WorldClock DragonBones.Armature::_clock
- WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * ____clock_24;
- // DragonBones.Slot DragonBones.Armature::_parent
- Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * ____parent_25;
- public:
- inline static int32_t get_offset_of_inheritAnimation_5() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ___inheritAnimation_5)); }
- inline bool get_inheritAnimation_5() const { return ___inheritAnimation_5; }
- inline bool* get_address_of_inheritAnimation_5() { return &___inheritAnimation_5; }
- inline void set_inheritAnimation_5(bool value)
- {
- ___inheritAnimation_5 = value;
- }
- inline static int32_t get_offset_of_userData_6() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ___userData_6)); }
- inline RuntimeObject * get_userData_6() const { return ___userData_6; }
- inline RuntimeObject ** get_address_of_userData_6() { return &___userData_6; }
- inline void set_userData_6(RuntimeObject * value)
- {
- ___userData_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___userData_6), (void*)value);
- }
- inline static int32_t get_offset_of__lockUpdate_7() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____lockUpdate_7)); }
- inline bool get__lockUpdate_7() const { return ____lockUpdate_7; }
- inline bool* get_address_of__lockUpdate_7() { return &____lockUpdate_7; }
- inline void set__lockUpdate_7(bool value)
- {
- ____lockUpdate_7 = value;
- }
- inline static int32_t get_offset_of__slotsDirty_8() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____slotsDirty_8)); }
- inline bool get__slotsDirty_8() const { return ____slotsDirty_8; }
- inline bool* get_address_of__slotsDirty_8() { return &____slotsDirty_8; }
- inline void set__slotsDirty_8(bool value)
- {
- ____slotsDirty_8 = value;
- }
- inline static int32_t get_offset_of__zOrderDirty_9() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____zOrderDirty_9)); }
- inline bool get__zOrderDirty_9() const { return ____zOrderDirty_9; }
- inline bool* get_address_of__zOrderDirty_9() { return &____zOrderDirty_9; }
- inline void set__zOrderDirty_9(bool value)
- {
- ____zOrderDirty_9 = value;
- }
- inline static int32_t get_offset_of__flipX_10() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____flipX_10)); }
- inline bool get__flipX_10() const { return ____flipX_10; }
- inline bool* get_address_of__flipX_10() { return &____flipX_10; }
- inline void set__flipX_10(bool value)
- {
- ____flipX_10 = value;
- }
- inline static int32_t get_offset_of__flipY_11() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____flipY_11)); }
- inline bool get__flipY_11() const { return ____flipY_11; }
- inline bool* get_address_of__flipY_11() { return &____flipY_11; }
- inline void set__flipY_11(bool value)
- {
- ____flipY_11 = value;
- }
- inline static int32_t get_offset_of__cacheFrameIndex_12() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____cacheFrameIndex_12)); }
- inline int32_t get__cacheFrameIndex_12() const { return ____cacheFrameIndex_12; }
- inline int32_t* get_address_of__cacheFrameIndex_12() { return &____cacheFrameIndex_12; }
- inline void set__cacheFrameIndex_12(int32_t value)
- {
- ____cacheFrameIndex_12 = value;
- }
- inline static int32_t get_offset_of__bones_13() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____bones_13)); }
- inline List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * get__bones_13() const { return ____bones_13; }
- inline List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A ** get_address_of__bones_13() { return &____bones_13; }
- inline void set__bones_13(List_1_tF1E43011AB0614B670EB6F2FD37F6D93F021532A * value)
- {
- ____bones_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____bones_13), (void*)value);
- }
- inline static int32_t get_offset_of__slots_14() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____slots_14)); }
- inline List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * get__slots_14() const { return ____slots_14; }
- inline List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 ** get_address_of__slots_14() { return &____slots_14; }
- inline void set__slots_14(List_1_tD5011B3B37F10870ED1FCD07BFCB547839C431F2 * value)
- {
- ____slots_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____slots_14), (void*)value);
- }
- inline static int32_t get_offset_of__constraints_15() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____constraints_15)); }
- inline List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * get__constraints_15() const { return ____constraints_15; }
- inline List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 ** get_address_of__constraints_15() { return &____constraints_15; }
- inline void set__constraints_15(List_1_tFC7A21B357A2CA14833C1F80F8B0B3E30CA239B6 * value)
- {
- ____constraints_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____constraints_15), (void*)value);
- }
- inline static int32_t get_offset_of__actions_16() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____actions_16)); }
- inline List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * get__actions_16() const { return ____actions_16; }
- inline List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA ** get_address_of__actions_16() { return &____actions_16; }
- inline void set__actions_16(List_1_t511ED3368709A93A1ABAAFE077E7F1E4AFDEA6CA * value)
- {
- ____actions_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____actions_16), (void*)value);
- }
- inline static int32_t get_offset_of__armatureData_17() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____armatureData_17)); }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get__armatureData_17() const { return ____armatureData_17; }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of__armatureData_17() { return &____armatureData_17; }
- inline void set__armatureData_17(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
- {
- ____armatureData_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____armatureData_17), (void*)value);
- }
- inline static int32_t get_offset_of__animation_18() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____animation_18)); }
- inline AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * get__animation_18() const { return ____animation_18; }
- inline AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A ** get_address_of__animation_18() { return &____animation_18; }
- inline void set__animation_18(AnimationDB_tF70F91FFB479C920940D12539504E8C09E6A671A * value)
- {
- ____animation_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____animation_18), (void*)value);
- }
- inline static int32_t get_offset_of__proxy_19() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____proxy_19)); }
- inline RuntimeObject* get__proxy_19() const { return ____proxy_19; }
- inline RuntimeObject** get_address_of__proxy_19() { return &____proxy_19; }
- inline void set__proxy_19(RuntimeObject* value)
- {
- ____proxy_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____proxy_19), (void*)value);
- }
- inline static int32_t get_offset_of__display_20() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____display_20)); }
- inline RuntimeObject * get__display_20() const { return ____display_20; }
- inline RuntimeObject ** get_address_of__display_20() { return &____display_20; }
- inline void set__display_20(RuntimeObject * value)
- {
- ____display_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____display_20), (void*)value);
- }
- inline static int32_t get_offset_of__replaceTextureAtlasData_21() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____replaceTextureAtlasData_21)); }
- inline TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * get__replaceTextureAtlasData_21() const { return ____replaceTextureAtlasData_21; }
- inline TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 ** get_address_of__replaceTextureAtlasData_21() { return &____replaceTextureAtlasData_21; }
- inline void set__replaceTextureAtlasData_21(TextureAtlasData_t63D713BB2F2C8E09E79429F66A30C120417BCDC1 * value)
- {
- ____replaceTextureAtlasData_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____replaceTextureAtlasData_21), (void*)value);
- }
- inline static int32_t get_offset_of__replacedTexture_22() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____replacedTexture_22)); }
- inline RuntimeObject * get__replacedTexture_22() const { return ____replacedTexture_22; }
- inline RuntimeObject ** get_address_of__replacedTexture_22() { return &____replacedTexture_22; }
- inline void set__replacedTexture_22(RuntimeObject * value)
- {
- ____replacedTexture_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____replacedTexture_22), (void*)value);
- }
- inline static int32_t get_offset_of__dragonBones_23() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____dragonBones_23)); }
- inline DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * get__dragonBones_23() const { return ____dragonBones_23; }
- inline DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D ** get_address_of__dragonBones_23() { return &____dragonBones_23; }
- inline void set__dragonBones_23(DragonBones_t55B72059DE83224550C18D6930D37489D9BABE5D * value)
- {
- ____dragonBones_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____dragonBones_23), (void*)value);
- }
- inline static int32_t get_offset_of__clock_24() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____clock_24)); }
- inline WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * get__clock_24() const { return ____clock_24; }
- inline WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 ** get_address_of__clock_24() { return &____clock_24; }
- inline void set__clock_24(WorldClock_t7E5935BC6FAF9D62AB7B62BBA3399E6E879B9AF8 * value)
- {
- ____clock_24 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____clock_24), (void*)value);
- }
- inline static int32_t get_offset_of__parent_25() { return static_cast<int32_t>(offsetof(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD, ____parent_25)); }
- inline Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * get__parent_25() const { return ____parent_25; }
- inline Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE ** get_address_of__parent_25() { return &____parent_25; }
- inline void set__parent_25(Slot_t6711FF9C47F7E12EF0C2FDB88CBC50988598DEEE * value)
- {
- ____parent_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____parent_25), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object
- struct Asn1Object_t6EBED9F28280E72844A4F6F176D7E2A5B94FFCFC : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
- {
- public:
- public:
- };
- // System.Boolean
- struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
- {
- public:
- // System.Boolean System.Boolean::m_value
- bool ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
- inline bool get_m_value_0() const { return ___m_value_0; }
- inline bool* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(bool value)
- {
- ___m_value_0 = value;
- }
- };
- struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
- {
- public:
- // System.String System.Boolean::TrueString
- String_t* ___TrueString_5;
- // System.String System.Boolean::FalseString
- String_t* ___FalseString_6;
- public:
- inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
- inline String_t* get_TrueString_5() const { return ___TrueString_5; }
- inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
- inline void set_TrueString_5(String_t* value)
- {
- ___TrueString_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
- }
- inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
- inline String_t* get_FalseString_6() const { return ___FalseString_6; }
- inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
- inline void set_FalseString_6(String_t* value)
- {
- ___FalseString_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
- }
- };
- // System.Byte
- struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
- {
- public:
- // System.Byte System.Byte::m_value
- uint8_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___m_value_0)); }
- inline uint8_t get_m_value_0() const { return ___m_value_0; }
- inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(uint8_t value)
- {
- ___m_value_0 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters
- struct DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 : public KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters::parameters
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters_2;
- public:
- inline static int32_t get_offset_of_parameters_2() { return static_cast<int32_t>(offsetof(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553, ___parameters_2)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_parameters_2() const { return ___parameters_2; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_parameters_2() { return &___parameters_2; }
- inline void set_parameters_2(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___parameters_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters
- struct DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::parameters
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters_1;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::algorithmOid
- DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___algorithmOid_2;
- public:
- inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626, ___parameters_1)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_parameters_1() const { return ___parameters_1; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_parameters_1() { return &___parameters_1; }
- inline void set_parameters_1(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___parameters_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
- }
- inline static int32_t get_offset_of_algorithmOid_2() { return static_cast<int32_t>(offsetof(DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626, ___algorithmOid_2)); }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_algorithmOid_2() const { return ___algorithmOid_2; }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_algorithmOid_2() { return &___algorithmOid_2; }
- inline void set_algorithmOid_2(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
- {
- ___algorithmOid_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algorithmOid_2), (void*)value);
- }
- };
- // System.DateTime
- struct DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405
- {
- public:
- // System.UInt64 System.DateTime::dateData
- uint64_t ___dateData_44;
- public:
- inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405, ___dateData_44)); }
- inline uint64_t get_dateData_44() const { return ___dateData_44; }
- inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
- inline void set_dateData_44(uint64_t value)
- {
- ___dateData_44 = value;
- }
- };
- struct DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields
- {
- public:
- // System.Int32[] System.DateTime::DaysToMonth365
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___DaysToMonth365_29;
- // System.Int32[] System.DateTime::DaysToMonth366
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___DaysToMonth366_30;
- // System.DateTime System.DateTime::MinValue
- DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 ___MinValue_31;
- // System.DateTime System.DateTime::MaxValue
- DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 ___MaxValue_32;
- public:
- inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___DaysToMonth365_29)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
- inline void set_DaysToMonth365_29(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___DaysToMonth365_29 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
- }
- inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___DaysToMonth366_30)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
- inline void set_DaysToMonth366_30(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___DaysToMonth366_30 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
- }
- inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___MinValue_31)); }
- inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 get_MinValue_31() const { return ___MinValue_31; }
- inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * get_address_of_MinValue_31() { return &___MinValue_31; }
- inline void set_MinValue_31(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 value)
- {
- ___MinValue_31 = value;
- }
- inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_StaticFields, ___MaxValue_32)); }
- inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 get_MaxValue_32() const { return ___MaxValue_32; }
- inline DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
- inline void set_MaxValue_32(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 value)
- {
- ___MaxValue_32 = value;
- }
- };
- // System.Double
- struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181
- {
- public:
- // System.Double System.Double::m_value
- double ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181, ___m_value_0)); }
- inline double get_m_value_0() const { return ___m_value_0; }
- inline double* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(double value)
- {
- ___m_value_0 = value;
- }
- };
- struct Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields
- {
- public:
- // System.Double System.Double::NegativeZero
- double ___NegativeZero_7;
- public:
- inline static int32_t get_offset_of_NegativeZero_7() { return static_cast<int32_t>(offsetof(Double_t42821932CB52DE2057E685D0E1AF3DE5033D2181_StaticFields, ___NegativeZero_7)); }
- inline double get_NegativeZero_7() const { return ___NegativeZero_7; }
- inline double* get_address_of_NegativeZero_7() { return &___NegativeZero_7; }
- inline void set_NegativeZero_7(double value)
- {
- ___NegativeZero_7 = value;
- }
- };
- // DragonBones.DragonBonesData
- struct DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // System.Boolean DragonBones.DragonBonesData::autoSearch
- bool ___autoSearch_5;
- // System.UInt32 DragonBones.DragonBonesData::frameRate
- uint32_t ___frameRate_6;
- // System.String DragonBones.DragonBonesData::version
- String_t* ___version_7;
- // System.String DragonBones.DragonBonesData::name
- String_t* ___name_8;
- // DragonBones.ArmatureData DragonBones.DragonBonesData::stage
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * ___stage_9;
- // System.Collections.Generic.List`1<System.UInt32> DragonBones.DragonBonesData::frameIndices
- List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * ___frameIndices_10;
- // System.Collections.Generic.List`1<System.Single> DragonBones.DragonBonesData::cachedFrames
- List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * ___cachedFrames_11;
- // System.Collections.Generic.List`1<System.String> DragonBones.DragonBonesData::armatureNames
- List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ___armatureNames_12;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ArmatureData> DragonBones.DragonBonesData::armatures
- Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * ___armatures_13;
- // System.Byte[] DragonBones.DragonBonesData::binary
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___binary_14;
- // System.Int16[] DragonBones.DragonBonesData::intArray
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___intArray_15;
- // System.Single[] DragonBones.DragonBonesData::floatArray
- SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___floatArray_16;
- // System.Int16[] DragonBones.DragonBonesData::frameIntArray
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___frameIntArray_17;
- // System.Single[] DragonBones.DragonBonesData::frameFloatArray
- SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ___frameFloatArray_18;
- // System.Int16[] DragonBones.DragonBonesData::frameArray
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ___frameArray_19;
- // System.UInt16[] DragonBones.DragonBonesData::timelineArray
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* ___timelineArray_20;
- // DragonBones.UserData DragonBones.DragonBonesData::userData
- UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * ___userData_21;
- public:
- inline static int32_t get_offset_of_autoSearch_5() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___autoSearch_5)); }
- inline bool get_autoSearch_5() const { return ___autoSearch_5; }
- inline bool* get_address_of_autoSearch_5() { return &___autoSearch_5; }
- inline void set_autoSearch_5(bool value)
- {
- ___autoSearch_5 = value;
- }
- inline static int32_t get_offset_of_frameRate_6() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameRate_6)); }
- inline uint32_t get_frameRate_6() const { return ___frameRate_6; }
- inline uint32_t* get_address_of_frameRate_6() { return &___frameRate_6; }
- inline void set_frameRate_6(uint32_t value)
- {
- ___frameRate_6 = value;
- }
- inline static int32_t get_offset_of_version_7() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___version_7)); }
- inline String_t* get_version_7() const { return ___version_7; }
- inline String_t** get_address_of_version_7() { return &___version_7; }
- inline void set_version_7(String_t* value)
- {
- ___version_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___version_7), (void*)value);
- }
- inline static int32_t get_offset_of_name_8() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___name_8)); }
- inline String_t* get_name_8() const { return ___name_8; }
- inline String_t** get_address_of_name_8() { return &___name_8; }
- inline void set_name_8(String_t* value)
- {
- ___name_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___name_8), (void*)value);
- }
- inline static int32_t get_offset_of_stage_9() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___stage_9)); }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * get_stage_9() const { return ___stage_9; }
- inline ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 ** get_address_of_stage_9() { return &___stage_9; }
- inline void set_stage_9(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * value)
- {
- ___stage_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___stage_9), (void*)value);
- }
- inline static int32_t get_offset_of_frameIndices_10() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameIndices_10)); }
- inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * get_frameIndices_10() const { return ___frameIndices_10; }
- inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 ** get_address_of_frameIndices_10() { return &___frameIndices_10; }
- inline void set_frameIndices_10(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * value)
- {
- ___frameIndices_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___frameIndices_10), (void*)value);
- }
- inline static int32_t get_offset_of_cachedFrames_11() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___cachedFrames_11)); }
- inline List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * get_cachedFrames_11() const { return ___cachedFrames_11; }
- inline List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA ** get_address_of_cachedFrames_11() { return &___cachedFrames_11; }
- inline void set_cachedFrames_11(List_1_t6726F9309570A0BDC5D42E10777F3E2931C487AA * value)
- {
- ___cachedFrames_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___cachedFrames_11), (void*)value);
- }
- inline static int32_t get_offset_of_armatureNames_12() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___armatureNames_12)); }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get_armatureNames_12() const { return ___armatureNames_12; }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of_armatureNames_12() { return &___armatureNames_12; }
- inline void set_armatureNames_12(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
- {
- ___armatureNames_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___armatureNames_12), (void*)value);
- }
- inline static int32_t get_offset_of_armatures_13() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___armatures_13)); }
- inline Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * get_armatures_13() const { return ___armatures_13; }
- inline Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 ** get_address_of_armatures_13() { return &___armatures_13; }
- inline void set_armatures_13(Dictionary_2_tDE1849D7E67BFF624AFCB09A93BE238548E44290 * value)
- {
- ___armatures_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___armatures_13), (void*)value);
- }
- inline static int32_t get_offset_of_binary_14() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___binary_14)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_binary_14() const { return ___binary_14; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_binary_14() { return &___binary_14; }
- inline void set_binary_14(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___binary_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___binary_14), (void*)value);
- }
- inline static int32_t get_offset_of_intArray_15() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___intArray_15)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_intArray_15() const { return ___intArray_15; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_intArray_15() { return &___intArray_15; }
- inline void set_intArray_15(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ___intArray_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___intArray_15), (void*)value);
- }
- inline static int32_t get_offset_of_floatArray_16() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___floatArray_16)); }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get_floatArray_16() const { return ___floatArray_16; }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of_floatArray_16() { return &___floatArray_16; }
- inline void set_floatArray_16(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
- {
- ___floatArray_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___floatArray_16), (void*)value);
- }
- inline static int32_t get_offset_of_frameIntArray_17() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameIntArray_17)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_frameIntArray_17() const { return ___frameIntArray_17; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_frameIntArray_17() { return &___frameIntArray_17; }
- inline void set_frameIntArray_17(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ___frameIntArray_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___frameIntArray_17), (void*)value);
- }
- inline static int32_t get_offset_of_frameFloatArray_18() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameFloatArray_18)); }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get_frameFloatArray_18() const { return ___frameFloatArray_18; }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of_frameFloatArray_18() { return &___frameFloatArray_18; }
- inline void set_frameFloatArray_18(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
- {
- ___frameFloatArray_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___frameFloatArray_18), (void*)value);
- }
- inline static int32_t get_offset_of_frameArray_19() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___frameArray_19)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get_frameArray_19() const { return ___frameArray_19; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of_frameArray_19() { return &___frameArray_19; }
- inline void set_frameArray_19(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ___frameArray_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___frameArray_19), (void*)value);
- }
- inline static int32_t get_offset_of_timelineArray_20() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___timelineArray_20)); }
- inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* get_timelineArray_20() const { return ___timelineArray_20; }
- inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67** get_address_of_timelineArray_20() { return &___timelineArray_20; }
- inline void set_timelineArray_20(UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* value)
- {
- ___timelineArray_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___timelineArray_20), (void*)value);
- }
- inline static int32_t get_offset_of_userData_21() { return static_cast<int32_t>(offsetof(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6, ___userData_21)); }
- inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * get_userData_21() const { return ___userData_21; }
- inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A ** get_address_of_userData_21() { return &___userData_21; }
- inline void set_userData_21(UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * value)
- {
- ___userData_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___userData_21), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters
- struct DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaKeyParameters::parameters
- DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * ___parameters_1;
- public:
- inline static int32_t get_offset_of_parameters_1() { return static_cast<int32_t>(offsetof(DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81, ___parameters_1)); }
- inline DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * get_parameters_1() const { return ___parameters_1; }
- inline DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 ** get_address_of_parameters_1() { return &___parameters_1; }
- inline void set_parameters_1(DsaParameters_t47EC24036618CF52C5EF89B4929A5611E1F90245 * value)
- {
- ___parameters_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters
- struct ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 : public KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::domainParams
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___domainParams_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::publicKeyParamSet
- DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_3;
- public:
- inline static int32_t get_offset_of_domainParams_2() { return static_cast<int32_t>(offsetof(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565, ___domainParams_2)); }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_domainParams_2() const { return ___domainParams_2; }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_domainParams_2() { return &___domainParams_2; }
- inline void set_domainParams_2(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
- {
- ___domainParams_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___domainParams_2), (void*)value);
- }
- inline static int32_t get_offset_of_publicKeyParamSet_3() { return static_cast<int32_t>(offsetof(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565, ___publicKeyParamSet_3)); }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_3() const { return ___publicKeyParamSet_3; }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_3() { return &___publicKeyParamSet_3; }
- inline void set_publicKeyParamSet_3(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
- {
- ___publicKeyParamSet_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters
- struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
- {
- public:
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::algorithm
- String_t* ___algorithm_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::parameters
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::publicKeyParamSet
- DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___publicKeyParamSet_4;
- public:
- inline static int32_t get_offset_of_algorithm_2() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___algorithm_2)); }
- inline String_t* get_algorithm_2() const { return ___algorithm_2; }
- inline String_t** get_address_of_algorithm_2() { return &___algorithm_2; }
- inline void set_algorithm_2(String_t* value)
- {
- ___algorithm_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algorithm_2), (void*)value);
- }
- inline static int32_t get_offset_of_parameters_3() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___parameters_3)); }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * get_parameters_3() const { return ___parameters_3; }
- inline ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC ** get_address_of_parameters_3() { return &___parameters_3; }
- inline void set_parameters_3(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * value)
- {
- ___parameters_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parameters_3), (void*)value);
- }
- inline static int32_t get_offset_of_publicKeyParamSet_4() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141, ___publicKeyParamSet_4)); }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * get_publicKeyParamSet_4() const { return ___publicKeyParamSet_4; }
- inline DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 ** get_address_of_publicKeyParamSet_4() { return &___publicKeyParamSet_4; }
- inline void set_publicKeyParamSet_4(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * value)
- {
- ___publicKeyParamSet_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___publicKeyParamSet_4), (void*)value);
- }
- };
- struct ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141_StaticFields
- {
- public:
- // System.String[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::algorithms
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___algorithms_1;
- public:
- inline static int32_t get_offset_of_algorithms_1() { return static_cast<int32_t>(offsetof(ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141_StaticFields, ___algorithms_1)); }
- inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_algorithms_1() const { return ___algorithms_1; }
- inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_algorithms_1() { return &___algorithms_1; }
- inline void set_algorithms_1(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
- {
- ___algorithms_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algorithms_1), (void*)value);
- }
- };
- // System.Enum
- struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
- {
- public:
- public:
- };
- struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
- {
- public:
- // System.Char[] System.Enum::enumSeperatorCharArray
- CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
- public:
- inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
- inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
- inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
- inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
- {
- ___enumSeperatorCharArray_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
- }
- };
- // Native definition for P/Invoke marshalling of System.Enum
- struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.Enum
- struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
- {
- };
- // System.Int16
- struct Int16_tD0F031114106263BB459DA1F099FF9F42691295A
- {
- public:
- // System.Int16 System.Int16::m_value
- int16_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_tD0F031114106263BB459DA1F099FF9F42691295A, ___m_value_0)); }
- inline int16_t get_m_value_0() const { return ___m_value_0; }
- inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(int16_t value)
- {
- ___m_value_0 = value;
- }
- };
- // System.Int32
- struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
- {
- public:
- // System.Int32 System.Int32::m_value
- int32_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___m_value_0)); }
- inline int32_t get_m_value_0() const { return ___m_value_0; }
- inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(int32_t value)
- {
- ___m_value_0 = value;
- }
- };
- // System.Int64
- struct Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3
- {
- public:
- // System.Int64 System.Int64::m_value
- int64_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3, ___m_value_0)); }
- inline int64_t get_m_value_0() const { return ___m_value_0; }
- inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(int64_t value)
- {
- ___m_value_0 = value;
- }
- };
- // System.IntPtr
- struct IntPtr_t
- {
- public:
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
- inline void* get_m_value_0() const { return ___m_value_0; }
- inline void** get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(void* value)
- {
- ___m_value_0 = value;
- }
- };
- struct IntPtr_t_StaticFields
- {
- public:
- // System.IntPtr System.IntPtr::Zero
- intptr_t ___Zero_1;
- public:
- inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
- inline intptr_t get_Zero_1() const { return ___Zero_1; }
- inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
- inline void set_Zero_1(intptr_t value)
- {
- ___Zero_1 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
- struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 : public AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::modulus
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___modulus_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::exponent
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___exponent_3;
- public:
- inline static int32_t get_offset_of_modulus_2() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801, ___modulus_2)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_modulus_2() const { return ___modulus_2; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_modulus_2() { return &___modulus_2; }
- inline void set_modulus_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___modulus_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___modulus_2), (void*)value);
- }
- inline static int32_t get_offset_of_exponent_3() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801, ___exponent_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_exponent_3() const { return ___exponent_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_exponent_3() { return &___exponent_3; }
- inline void set_exponent_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___exponent_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___exponent_3), (void*)value);
- }
- };
- struct RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::SmallPrimesProduct
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___SmallPrimesProduct_1;
- public:
- inline static int32_t get_offset_of_SmallPrimesProduct_1() { return static_cast<int32_t>(offsetof(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_StaticFields, ___SmallPrimesProduct_1)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_SmallPrimesProduct_1() const { return ___SmallPrimesProduct_1; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_SmallPrimesProduct_1() { return &___SmallPrimesProduct_1; }
- inline void set_SmallPrimesProduct_1(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___SmallPrimesProduct_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___SmallPrimesProduct_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom
- struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 : public Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::generator
- RuntimeObject* ___generator_5;
- public:
- inline static int32_t get_offset_of_generator_5() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28, ___generator_5)); }
- inline RuntimeObject* get_generator_5() const { return ___generator_5; }
- inline RuntimeObject** get_address_of_generator_5() { return &___generator_5; }
- inline void set_generator_5(RuntimeObject* value)
- {
- ___generator_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___generator_5), (void*)value);
- }
- };
- struct SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields
- {
- public:
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::counter
- int64_t ___counter_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::master
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___master_4;
- // System.Double BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::DoubleScale
- double ___DoubleScale_6;
- public:
- inline static int32_t get_offset_of_counter_3() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___counter_3)); }
- inline int64_t get_counter_3() const { return ___counter_3; }
- inline int64_t* get_address_of_counter_3() { return &___counter_3; }
- inline void set_counter_3(int64_t value)
- {
- ___counter_3 = value;
- }
- inline static int32_t get_offset_of_master_4() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___master_4)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_master_4() const { return ___master_4; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_master_4() { return &___master_4; }
- inline void set_master_4(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___master_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___master_4), (void*)value);
- }
- inline static int32_t get_offset_of_DoubleScale_6() { return static_cast<int32_t>(offsetof(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28_StaticFields, ___DoubleScale_6)); }
- inline double get_DoubleScale_6() const { return ___DoubleScale_6; }
- inline double* get_address_of_DoubleScale_6() { return &___DoubleScale_6; }
- inline void set_DoubleScale_6(double value)
- {
- ___DoubleScale_6 = value;
- }
- };
- // System.Single
- struct Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E
- {
- public:
- // System.Single System.Single::m_value
- float ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E, ___m_value_0)); }
- inline float get_m_value_0() const { return ___m_value_0; }
- inline float* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(float value)
- {
- ___m_value_0 = value;
- }
- };
- // System.IO.Stream
- struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB : public MarshalByRefObject_tD4DF91B488B284F899417EC468D8E50E933306A8
- {
- public:
- // System.IO.Stream/ReadWriteTask System.IO.Stream::_activeReadWriteTask
- ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * ____activeReadWriteTask_3;
- // System.Threading.SemaphoreSlim System.IO.Stream::_asyncActiveSemaphore
- SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * ____asyncActiveSemaphore_4;
- public:
- inline static int32_t get_offset_of__activeReadWriteTask_3() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB, ____activeReadWriteTask_3)); }
- inline ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * get__activeReadWriteTask_3() const { return ____activeReadWriteTask_3; }
- inline ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 ** get_address_of__activeReadWriteTask_3() { return &____activeReadWriteTask_3; }
- inline void set__activeReadWriteTask_3(ReadWriteTask_t32CD2C230786712954C1DB518DBE420A1F4C7974 * value)
- {
- ____activeReadWriteTask_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____activeReadWriteTask_3), (void*)value);
- }
- inline static int32_t get_offset_of__asyncActiveSemaphore_4() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB, ____asyncActiveSemaphore_4)); }
- inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * get__asyncActiveSemaphore_4() const { return ____asyncActiveSemaphore_4; }
- inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 ** get_address_of__asyncActiveSemaphore_4() { return &____asyncActiveSemaphore_4; }
- inline void set__asyncActiveSemaphore_4(SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * value)
- {
- ____asyncActiveSemaphore_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____asyncActiveSemaphore_4), (void*)value);
- }
- };
- struct Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB_StaticFields
- {
- public:
- // System.IO.Stream System.IO.Stream::Null
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___Null_1;
- public:
- inline static int32_t get_offset_of_Null_1() { return static_cast<int32_t>(offsetof(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB_StaticFields, ___Null_1)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_Null_1() const { return ___Null_1; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_Null_1() { return &___Null_1; }
- inline void set_Null_1(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___Null_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___Null_1), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo
- struct SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo::algID
- AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___algID_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo::keyData
- DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * ___keyData_3;
- public:
- inline static int32_t get_offset_of_algID_2() { return static_cast<int32_t>(offsetof(SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB, ___algID_2)); }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_algID_2() const { return ___algID_2; }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_algID_2() { return &___algID_2; }
- inline void set_algID_2(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
- {
- ___algID_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___algID_2), (void*)value);
- }
- inline static int32_t get_offset_of_keyData_3() { return static_cast<int32_t>(offsetof(SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB, ___keyData_3)); }
- inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * get_keyData_3() const { return ___keyData_3; }
- inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 ** get_address_of_keyData_3() { return &___keyData_3; }
- inline void set_keyData_3(DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * value)
- {
- ___keyData_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___keyData_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl
- struct TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF : public AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange
- struct TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mTlsSigner
- RuntimeObject* ___mTlsSigner_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHVerifier
- RuntimeObject* ___mDHVerifier_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHParameters
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___mDHParameters_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mServerPublicKey
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mAgreementCredentials
- RuntimeObject* ___mAgreementCredentials_7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHAgreePrivateKey
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___mDHAgreePrivateKey_8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::mDHAgreePublicKey
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___mDHAgreePublicKey_9;
- public:
- inline static int32_t get_offset_of_mTlsSigner_3() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mTlsSigner_3)); }
- inline RuntimeObject* get_mTlsSigner_3() const { return ___mTlsSigner_3; }
- inline RuntimeObject** get_address_of_mTlsSigner_3() { return &___mTlsSigner_3; }
- inline void set_mTlsSigner_3(RuntimeObject* value)
- {
- ___mTlsSigner_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsSigner_3), (void*)value);
- }
- inline static int32_t get_offset_of_mDHVerifier_4() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHVerifier_4)); }
- inline RuntimeObject* get_mDHVerifier_4() const { return ___mDHVerifier_4; }
- inline RuntimeObject** get_address_of_mDHVerifier_4() { return &___mDHVerifier_4; }
- inline void set_mDHVerifier_4(RuntimeObject* value)
- {
- ___mDHVerifier_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHVerifier_4), (void*)value);
- }
- inline static int32_t get_offset_of_mDHParameters_5() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHParameters_5)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_mDHParameters_5() const { return ___mDHParameters_5; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_mDHParameters_5() { return &___mDHParameters_5; }
- inline void set_mDHParameters_5(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___mDHParameters_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHParameters_5), (void*)value);
- }
- inline static int32_t get_offset_of_mServerPublicKey_6() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mServerPublicKey_6)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_6() const { return ___mServerPublicKey_6; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_6() { return &___mServerPublicKey_6; }
- inline void set_mServerPublicKey_6(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___mServerPublicKey_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_6), (void*)value);
- }
- inline static int32_t get_offset_of_mAgreementCredentials_7() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mAgreementCredentials_7)); }
- inline RuntimeObject* get_mAgreementCredentials_7() const { return ___mAgreementCredentials_7; }
- inline RuntimeObject** get_address_of_mAgreementCredentials_7() { return &___mAgreementCredentials_7; }
- inline void set_mAgreementCredentials_7(RuntimeObject* value)
- {
- ___mAgreementCredentials_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mAgreementCredentials_7), (void*)value);
- }
- inline static int32_t get_offset_of_mDHAgreePrivateKey_8() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHAgreePrivateKey_8)); }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_mDHAgreePrivateKey_8() const { return ___mDHAgreePrivateKey_8; }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_mDHAgreePrivateKey_8() { return &___mDHAgreePrivateKey_8; }
- inline void set_mDHAgreePrivateKey_8(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
- {
- ___mDHAgreePrivateKey_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePrivateKey_8), (void*)value);
- }
- inline static int32_t get_offset_of_mDHAgreePublicKey_9() { return static_cast<int32_t>(offsetof(TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54, ___mDHAgreePublicKey_9)); }
- inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * get_mDHAgreePublicKey_9() const { return ___mDHAgreePublicKey_9; }
- inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 ** get_address_of_mDHAgreePublicKey_9() { return &___mDHAgreePublicKey_9; }
- inline void set_mDHAgreePublicKey_9(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * value)
- {
- ___mDHAgreePublicKey_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePublicKey_9), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner
- struct TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 : public AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange
- struct TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mTlsSigner
- RuntimeObject* ___mTlsSigner_3;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mNamedCurves
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mNamedCurves_4;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mClientECPointFormats
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mClientECPointFormats_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mServerECPointFormats
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mServerECPointFormats_6;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mServerPublicKey
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_7;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAgreementCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mAgreementCredentials
- RuntimeObject* ___mAgreementCredentials_8;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mECAgreePrivateKey
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___mECAgreePrivateKey_9;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::mECAgreePublicKey
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___mECAgreePublicKey_10;
- public:
- inline static int32_t get_offset_of_mTlsSigner_3() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mTlsSigner_3)); }
- inline RuntimeObject* get_mTlsSigner_3() const { return ___mTlsSigner_3; }
- inline RuntimeObject** get_address_of_mTlsSigner_3() { return &___mTlsSigner_3; }
- inline void set_mTlsSigner_3(RuntimeObject* value)
- {
- ___mTlsSigner_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsSigner_3), (void*)value);
- }
- inline static int32_t get_offset_of_mNamedCurves_4() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mNamedCurves_4)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mNamedCurves_4() const { return ___mNamedCurves_4; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mNamedCurves_4() { return &___mNamedCurves_4; }
- inline void set_mNamedCurves_4(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___mNamedCurves_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mNamedCurves_4), (void*)value);
- }
- inline static int32_t get_offset_of_mClientECPointFormats_5() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mClientECPointFormats_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mClientECPointFormats_5() const { return ___mClientECPointFormats_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mClientECPointFormats_5() { return &___mClientECPointFormats_5; }
- inline void set_mClientECPointFormats_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mClientECPointFormats_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mClientECPointFormats_5), (void*)value);
- }
- inline static int32_t get_offset_of_mServerECPointFormats_6() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mServerECPointFormats_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mServerECPointFormats_6() const { return ___mServerECPointFormats_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mServerECPointFormats_6() { return &___mServerECPointFormats_6; }
- inline void set_mServerECPointFormats_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mServerECPointFormats_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerECPointFormats_6), (void*)value);
- }
- inline static int32_t get_offset_of_mServerPublicKey_7() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mServerPublicKey_7)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_7() const { return ___mServerPublicKey_7; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_7() { return &___mServerPublicKey_7; }
- inline void set_mServerPublicKey_7(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___mServerPublicKey_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_7), (void*)value);
- }
- inline static int32_t get_offset_of_mAgreementCredentials_8() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mAgreementCredentials_8)); }
- inline RuntimeObject* get_mAgreementCredentials_8() const { return ___mAgreementCredentials_8; }
- inline RuntimeObject** get_address_of_mAgreementCredentials_8() { return &___mAgreementCredentials_8; }
- inline void set_mAgreementCredentials_8(RuntimeObject* value)
- {
- ___mAgreementCredentials_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mAgreementCredentials_8), (void*)value);
- }
- inline static int32_t get_offset_of_mECAgreePrivateKey_9() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mECAgreePrivateKey_9)); }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_mECAgreePrivateKey_9() const { return ___mECAgreePrivateKey_9; }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_mECAgreePrivateKey_9() { return &___mECAgreePrivateKey_9; }
- inline void set_mECAgreePrivateKey_9(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
- {
- ___mECAgreePrivateKey_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePrivateKey_9), (void*)value);
- }
- inline static int32_t get_offset_of_mECAgreePublicKey_10() { return static_cast<int32_t>(offsetof(TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827, ___mECAgreePublicKey_10)); }
- inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * get_mECAgreePublicKey_10() const { return ___mECAgreePublicKey_10; }
- inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB ** get_address_of_mECAgreePublicKey_10() { return &___mECAgreePublicKey_10; }
- inline void set_mECAgreePublicKey_10(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * value)
- {
- ___mECAgreePublicKey_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePublicKey_10), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange
- struct TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentity
- RuntimeObject* ___mPskIdentity_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentityManager
- RuntimeObject* ___mPskIdentityManager_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHVerifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHVerifier
- RuntimeObject* ___mDHVerifier_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHParameters
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___mDHParameters_6;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mNamedCurves
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mNamedCurves_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mClientECPointFormats
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mClientECPointFormats_8;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerECPointFormats
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mServerECPointFormats_9;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPskIdentityHint
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPskIdentityHint_10;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPsk
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPsk_11;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHAgreePrivateKey
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___mDHAgreePrivateKey_12;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mDHAgreePublicKey
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___mDHAgreePublicKey_13;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mECAgreePrivateKey
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___mECAgreePrivateKey_14;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mECAgreePublicKey
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___mECAgreePublicKey_15;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerPublicKey
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_16;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mRsaServerPublicKey
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___mRsaServerPublicKey_17;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mServerCredentials
- RuntimeObject* ___mServerCredentials_18;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::mPremasterSecret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPremasterSecret_19;
- public:
- inline static int32_t get_offset_of_mPskIdentity_3() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentity_3)); }
- inline RuntimeObject* get_mPskIdentity_3() const { return ___mPskIdentity_3; }
- inline RuntimeObject** get_address_of_mPskIdentity_3() { return &___mPskIdentity_3; }
- inline void set_mPskIdentity_3(RuntimeObject* value)
- {
- ___mPskIdentity_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentity_3), (void*)value);
- }
- inline static int32_t get_offset_of_mPskIdentityManager_4() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentityManager_4)); }
- inline RuntimeObject* get_mPskIdentityManager_4() const { return ___mPskIdentityManager_4; }
- inline RuntimeObject** get_address_of_mPskIdentityManager_4() { return &___mPskIdentityManager_4; }
- inline void set_mPskIdentityManager_4(RuntimeObject* value)
- {
- ___mPskIdentityManager_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentityManager_4), (void*)value);
- }
- inline static int32_t get_offset_of_mDHVerifier_5() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHVerifier_5)); }
- inline RuntimeObject* get_mDHVerifier_5() const { return ___mDHVerifier_5; }
- inline RuntimeObject** get_address_of_mDHVerifier_5() { return &___mDHVerifier_5; }
- inline void set_mDHVerifier_5(RuntimeObject* value)
- {
- ___mDHVerifier_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHVerifier_5), (void*)value);
- }
- inline static int32_t get_offset_of_mDHParameters_6() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHParameters_6)); }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * get_mDHParameters_6() const { return ___mDHParameters_6; }
- inline DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C ** get_address_of_mDHParameters_6() { return &___mDHParameters_6; }
- inline void set_mDHParameters_6(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * value)
- {
- ___mDHParameters_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHParameters_6), (void*)value);
- }
- inline static int32_t get_offset_of_mNamedCurves_7() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mNamedCurves_7)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mNamedCurves_7() const { return ___mNamedCurves_7; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mNamedCurves_7() { return &___mNamedCurves_7; }
- inline void set_mNamedCurves_7(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___mNamedCurves_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mNamedCurves_7), (void*)value);
- }
- inline static int32_t get_offset_of_mClientECPointFormats_8() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mClientECPointFormats_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mClientECPointFormats_8() const { return ___mClientECPointFormats_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mClientECPointFormats_8() { return &___mClientECPointFormats_8; }
- inline void set_mClientECPointFormats_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mClientECPointFormats_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mClientECPointFormats_8), (void*)value);
- }
- inline static int32_t get_offset_of_mServerECPointFormats_9() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerECPointFormats_9)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mServerECPointFormats_9() const { return ___mServerECPointFormats_9; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mServerECPointFormats_9() { return &___mServerECPointFormats_9; }
- inline void set_mServerECPointFormats_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mServerECPointFormats_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerECPointFormats_9), (void*)value);
- }
- inline static int32_t get_offset_of_mPskIdentityHint_10() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPskIdentityHint_10)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPskIdentityHint_10() const { return ___mPskIdentityHint_10; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPskIdentityHint_10() { return &___mPskIdentityHint_10; }
- inline void set_mPskIdentityHint_10(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPskIdentityHint_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPskIdentityHint_10), (void*)value);
- }
- inline static int32_t get_offset_of_mPsk_11() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPsk_11)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPsk_11() const { return ___mPsk_11; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPsk_11() { return &___mPsk_11; }
- inline void set_mPsk_11(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPsk_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPsk_11), (void*)value);
- }
- inline static int32_t get_offset_of_mDHAgreePrivateKey_12() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHAgreePrivateKey_12)); }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * get_mDHAgreePrivateKey_12() const { return ___mDHAgreePrivateKey_12; }
- inline DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F ** get_address_of_mDHAgreePrivateKey_12() { return &___mDHAgreePrivateKey_12; }
- inline void set_mDHAgreePrivateKey_12(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * value)
- {
- ___mDHAgreePrivateKey_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePrivateKey_12), (void*)value);
- }
- inline static int32_t get_offset_of_mDHAgreePublicKey_13() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mDHAgreePublicKey_13)); }
- inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * get_mDHAgreePublicKey_13() const { return ___mDHAgreePublicKey_13; }
- inline DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 ** get_address_of_mDHAgreePublicKey_13() { return &___mDHAgreePublicKey_13; }
- inline void set_mDHAgreePublicKey_13(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * value)
- {
- ___mDHAgreePublicKey_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mDHAgreePublicKey_13), (void*)value);
- }
- inline static int32_t get_offset_of_mECAgreePrivateKey_14() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mECAgreePrivateKey_14)); }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * get_mECAgreePrivateKey_14() const { return ___mECAgreePrivateKey_14; }
- inline ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 ** get_address_of_mECAgreePrivateKey_14() { return &___mECAgreePrivateKey_14; }
- inline void set_mECAgreePrivateKey_14(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * value)
- {
- ___mECAgreePrivateKey_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePrivateKey_14), (void*)value);
- }
- inline static int32_t get_offset_of_mECAgreePublicKey_15() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mECAgreePublicKey_15)); }
- inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * get_mECAgreePublicKey_15() const { return ___mECAgreePublicKey_15; }
- inline ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB ** get_address_of_mECAgreePublicKey_15() { return &___mECAgreePublicKey_15; }
- inline void set_mECAgreePublicKey_15(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * value)
- {
- ___mECAgreePublicKey_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mECAgreePublicKey_15), (void*)value);
- }
- inline static int32_t get_offset_of_mServerPublicKey_16() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerPublicKey_16)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_16() const { return ___mServerPublicKey_16; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_16() { return &___mServerPublicKey_16; }
- inline void set_mServerPublicKey_16(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___mServerPublicKey_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_16), (void*)value);
- }
- inline static int32_t get_offset_of_mRsaServerPublicKey_17() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mRsaServerPublicKey_17)); }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_mRsaServerPublicKey_17() const { return ___mRsaServerPublicKey_17; }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_mRsaServerPublicKey_17() { return &___mRsaServerPublicKey_17; }
- inline void set_mRsaServerPublicKey_17(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
- {
- ___mRsaServerPublicKey_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mRsaServerPublicKey_17), (void*)value);
- }
- inline static int32_t get_offset_of_mServerCredentials_18() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mServerCredentials_18)); }
- inline RuntimeObject* get_mServerCredentials_18() const { return ___mServerCredentials_18; }
- inline RuntimeObject** get_address_of_mServerCredentials_18() { return &___mServerCredentials_18; }
- inline void set_mServerCredentials_18(RuntimeObject* value)
- {
- ___mServerCredentials_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_18), (void*)value);
- }
- inline static int32_t get_offset_of_mPremasterSecret_19() { return static_cast<int32_t>(offsetof(TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A, ___mPremasterSecret_19)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPremasterSecret_19() const { return ___mPremasterSecret_19; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPremasterSecret_19() { return &___mPremasterSecret_19; }
- inline void set_mPremasterSecret_19(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPremasterSecret_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPremasterSecret_19), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange
- struct TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E : public AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mServerPublicKey
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___mServerPublicKey_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mRsaServerPublicKey
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___mRsaServerPublicKey_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEncryptionCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mServerCredentials
- RuntimeObject* ___mServerCredentials_5;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::mPremasterSecret
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mPremasterSecret_6;
- public:
- inline static int32_t get_offset_of_mServerPublicKey_3() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mServerPublicKey_3)); }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * get_mServerPublicKey_3() const { return ___mServerPublicKey_3; }
- inline AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A ** get_address_of_mServerPublicKey_3() { return &___mServerPublicKey_3; }
- inline void set_mServerPublicKey_3(AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * value)
- {
- ___mServerPublicKey_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerPublicKey_3), (void*)value);
- }
- inline static int32_t get_offset_of_mRsaServerPublicKey_4() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mRsaServerPublicKey_4)); }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * get_mRsaServerPublicKey_4() const { return ___mRsaServerPublicKey_4; }
- inline RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 ** get_address_of_mRsaServerPublicKey_4() { return &___mRsaServerPublicKey_4; }
- inline void set_mRsaServerPublicKey_4(RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * value)
- {
- ___mRsaServerPublicKey_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mRsaServerPublicKey_4), (void*)value);
- }
- inline static int32_t get_offset_of_mServerCredentials_5() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mServerCredentials_5)); }
- inline RuntimeObject* get_mServerCredentials_5() const { return ___mServerCredentials_5; }
- inline RuntimeObject** get_address_of_mServerCredentials_5() { return &___mServerCredentials_5; }
- inline void set_mServerCredentials_5(RuntimeObject* value)
- {
- ___mServerCredentials_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_5), (void*)value);
- }
- inline static int32_t get_offset_of_mPremasterSecret_6() { return static_cast<int32_t>(offsetof(TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E, ___mPremasterSecret_6)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mPremasterSecret_6() const { return ___mPremasterSecret_6; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mPremasterSecret_6() { return &___mPremasterSecret_6; }
- inline void set_mPremasterSecret_6(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mPremasterSecret_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPremasterSecret_6), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner
- struct TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 : public AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl
- struct TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 : public AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836
- {
- public:
- public:
- };
- // System.UInt16
- struct UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD
- {
- public:
- // System.UInt16 System.UInt16::m_value
- uint16_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD, ___m_value_0)); }
- inline uint16_t get_m_value_0() const { return ___m_value_0; }
- inline uint16_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(uint16_t value)
- {
- ___m_value_0 = value;
- }
- };
- // System.UInt32
- struct UInt32_tE60352A06233E4E69DD198BCC67142159F686B15
- {
- public:
- // System.UInt32 System.UInt32::m_value
- uint32_t ___m_value_0;
- public:
- inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_tE60352A06233E4E69DD198BCC67142159F686B15, ___m_value_0)); }
- inline uint32_t get_m_value_0() const { return ___m_value_0; }
- inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
- inline void set_m_value_0(uint32_t value)
- {
- ___m_value_0 = value;
- }
- };
- // System.Void
- struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
- {
- public:
- union
- {
- struct
- {
- };
- uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
- };
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure
- struct X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TbsCertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::tbsCert
- TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * ___tbsCert_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::sigAlgID
- AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * ___sigAlgID_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::sig
- DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * ___sig_4;
- public:
- inline static int32_t get_offset_of_tbsCert_2() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___tbsCert_2)); }
- inline TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * get_tbsCert_2() const { return ___tbsCert_2; }
- inline TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 ** get_address_of_tbsCert_2() { return &___tbsCert_2; }
- inline void set_tbsCert_2(TbsCertificateStructure_t01EE51D1D9FF6763C618258225D3B5403E9800A3 * value)
- {
- ___tbsCert_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___tbsCert_2), (void*)value);
- }
- inline static int32_t get_offset_of_sigAlgID_3() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___sigAlgID_3)); }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * get_sigAlgID_3() const { return ___sigAlgID_3; }
- inline AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 ** get_address_of_sigAlgID_3() { return &___sigAlgID_3; }
- inline void set_sigAlgID_3(AlgorithmIdentifier_t269DF657EB8D3EF7C5C315F15E7FFC1FAFE029F9 * value)
- {
- ___sigAlgID_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___sigAlgID_3), (void*)value);
- }
- inline static int32_t get_offset_of_sig_4() { return static_cast<int32_t>(offsetof(X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1, ___sig_4)); }
- inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * get_sig_4() const { return ___sig_4; }
- inline DerBitString_t305465793A47445626D3541AB8CEDE347D874524 ** get_address_of_sig_4() { return &___sig_4; }
- inline void set_sig_4(DerBitString_t305465793A47445626D3541AB8CEDE347D874524 * value)
- {
- ___sig_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___sig_4), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters
- struct X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 : public Asn1Encodable_tCA51194A73D6D9585045A4D23CF12B939BF7F6EC
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9FieldID BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::fieldID
- X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * ___fieldID_2;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::curve
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve_3;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::g
- X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * ___g_4;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::n
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n_5;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::h
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___h_6;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::seed
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___seed_7;
- public:
- inline static int32_t get_offset_of_fieldID_2() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___fieldID_2)); }
- inline X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * get_fieldID_2() const { return ___fieldID_2; }
- inline X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 ** get_address_of_fieldID_2() { return &___fieldID_2; }
- inline void set_fieldID_2(X9FieldID_t6AAAA2F90A3B1164D2EBB05480596886F92242B8 * value)
- {
- ___fieldID_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___fieldID_2), (void*)value);
- }
- inline static int32_t get_offset_of_curve_3() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___curve_3)); }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * get_curve_3() const { return ___curve_3; }
- inline ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 ** get_address_of_curve_3() { return &___curve_3; }
- inline void set_curve_3(ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * value)
- {
- ___curve_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___curve_3), (void*)value);
- }
- inline static int32_t get_offset_of_g_4() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___g_4)); }
- inline X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * get_g_4() const { return ___g_4; }
- inline X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 ** get_address_of_g_4() { return &___g_4; }
- inline void set_g_4(X9ECPoint_t06D47967D73B459616A01610E0E5D88AB08BDF71 * value)
- {
- ___g_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___g_4), (void*)value);
- }
- inline static int32_t get_offset_of_n_5() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___n_5)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_n_5() const { return ___n_5; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_n_5() { return &___n_5; }
- inline void set_n_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___n_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___n_5), (void*)value);
- }
- inline static int32_t get_offset_of_h_6() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___h_6)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_h_6() const { return ___h_6; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_h_6() { return &___h_6; }
- inline void set_h_6(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___h_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___h_6), (void*)value);
- }
- inline static int32_t get_offset_of_seed_7() { return static_cast<int32_t>(offsetof(X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639, ___seed_7)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_seed_7() const { return ___seed_7; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_seed_7() { return &___seed_7; }
- inline void set_seed_7(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___seed_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___seed_7), (void*)value);
- }
- };
- // DragonBones.ArmatureType
- struct ArmatureType_tC7FE9060059F6F9E573EFDC3450B19B26DE6E313
- {
- public:
- // System.Int32 DragonBones.ArmatureType::value__
- int32_t ___value___2;
- public:
- inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ArmatureType_tC7FE9060059F6F9E573EFDC3450B19B26DE6E313, ___value___2)); }
- inline int32_t get_value___2() const { return ___value___2; }
- inline int32_t* get_address_of_value___2() { return &___value___2; }
- inline void set_value___2(int32_t value)
- {
- ___value___2 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream
- struct BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::closed
- bool ___closed_5;
- public:
- inline static int32_t get_offset_of_closed_5() { return static_cast<int32_t>(offsetof(BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2, ___closed_5)); }
- inline bool get_closed_5() const { return ___closed_5; }
- inline bool* get_address_of_closed_5() { return &___closed_5; }
- inline void set_closed_5(bool value)
- {
- ___closed_5 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream
- struct BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::closed
- bool ___closed_5;
- public:
- inline static int32_t get_offset_of_closed_5() { return static_cast<int32_t>(offsetof(BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D, ___closed_5)); }
- inline bool get_closed_5() const { return ___closed_5; }
- inline bool* get_address_of_closed_5() { return &___closed_5; }
- inline void set_closed_5(bool value)
- {
- ___closed_5 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream
- struct ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::buffer
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___buffer_5;
- public:
- inline static int32_t get_offset_of_buffer_5() { return static_cast<int32_t>(offsetof(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8, ___buffer_5)); }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_buffer_5() const { return ___buffer_5; }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_buffer_5() { return &___buffer_5; }
- inline void set_buffer_5(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
- {
- ___buffer_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___buffer_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters
- struct DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F : public DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters::x
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x_3;
- public:
- inline static int32_t get_offset_of_x_3() { return static_cast<int32_t>(offsetof(DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F, ___x_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_x_3() const { return ___x_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_x_3() { return &___x_3; }
- inline void set_x_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___x_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___x_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters
- struct DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 : public DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::y
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y_3;
- public:
- inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862, ___y_3)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_y_3() const { return ___y_3; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_y_3() { return &___y_3; }
- inline void set_y_3(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___y_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___y_3), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier
- struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 : public Asn1Object_t6EBED9F28280E72844A4F6F176D7E2A5B94FFCFC
- {
- public:
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::identifier
- String_t* ___identifier_2;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::body
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___body_3;
- public:
- inline static int32_t get_offset_of_identifier_2() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8, ___identifier_2)); }
- inline String_t* get_identifier_2() const { return ___identifier_2; }
- inline String_t** get_address_of_identifier_2() { return &___identifier_2; }
- inline void set_identifier_2(String_t* value)
- {
- ___identifier_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___identifier_2), (void*)value);
- }
- inline static int32_t get_offset_of_body_3() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8, ___body_3)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_body_3() const { return ___body_3; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_body_3() { return &___body_3; }
- inline void set_body_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___body_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___body_3), (void*)value);
- }
- };
- struct DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8_StaticFields
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier::cache
- DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* ___cache_5;
- public:
- inline static int32_t get_offset_of_cache_5() { return static_cast<int32_t>(offsetof(DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8_StaticFields, ___cache_5)); }
- inline DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* get_cache_5() const { return ___cache_5; }
- inline DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F** get_address_of_cache_5() { return &___cache_5; }
- inline void set_cache_5(DerObjectIdentifierU5BU5D_t801513A53C26B675A2EC1C7456321775EDCC225F* value)
- {
- ___cache_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___cache_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaPublicKeyParameters
- struct DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 : public DsaKeyParameters_tE89A1BA6A75F13F2650AB850C554D72740E99A81
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaPublicKeyParameters::y
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y_2;
- public:
- inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9, ___y_2)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_y_2() const { return ___y_2; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_y_2() { return &___y_2; }
- inline void set_y_2(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___y_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___y_2), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters
- struct ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 : public ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters::d
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___d_5;
- public:
- inline static int32_t get_offset_of_d_5() { return static_cast<int32_t>(offsetof(ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029, ___d_5)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_d_5() const { return ___d_5; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_d_5() { return &___d_5; }
- inline void set_d_5(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___d_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___d_5), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters
- struct ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB : public ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::q
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___q_5;
- public:
- inline static int32_t get_offset_of_q_5() { return static_cast<int32_t>(offsetof(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB, ___q_5)); }
- inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * get_q_5() const { return ___q_5; }
- inline ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA ** get_address_of_q_5() { return &___q_5; }
- inline void set_q_5(ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * value)
- {
- ___q_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___q_5), (void*)value);
- }
- };
- // System.Exception
- struct Exception_t : public RuntimeObject
- {
- public:
- // System.String System.Exception::_className
- String_t* ____className_1;
- // System.String System.Exception::_message
- String_t* ____message_2;
- // System.Collections.IDictionary System.Exception::_data
- RuntimeObject* ____data_3;
- // System.Exception System.Exception::_innerException
- Exception_t * ____innerException_4;
- // System.String System.Exception::_helpURL
- String_t* ____helpURL_5;
- // System.Object System.Exception::_stackTrace
- RuntimeObject * ____stackTrace_6;
- // System.String System.Exception::_stackTraceString
- String_t* ____stackTraceString_7;
- // System.String System.Exception::_remoteStackTraceString
- String_t* ____remoteStackTraceString_8;
- // System.Int32 System.Exception::_remoteStackIndex
- int32_t ____remoteStackIndex_9;
- // System.Object System.Exception::_dynamicMethods
- RuntimeObject * ____dynamicMethods_10;
- // System.Int32 System.Exception::_HResult
- int32_t ____HResult_11;
- // System.String System.Exception::_source
- String_t* ____source_12;
- // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
- SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
- // System.Diagnostics.StackTrace[] System.Exception::captured_traces
- StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
- // System.IntPtr[] System.Exception::native_trace_ips
- IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___native_trace_ips_15;
- public:
- inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
- inline String_t* get__className_1() const { return ____className_1; }
- inline String_t** get_address_of__className_1() { return &____className_1; }
- inline void set__className_1(String_t* value)
- {
- ____className_1 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
- }
- inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
- inline String_t* get__message_2() const { return ____message_2; }
- inline String_t** get_address_of__message_2() { return &____message_2; }
- inline void set__message_2(String_t* value)
- {
- ____message_2 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
- }
- inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
- inline RuntimeObject* get__data_3() const { return ____data_3; }
- inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
- inline void set__data_3(RuntimeObject* value)
- {
- ____data_3 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
- }
- inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
- inline Exception_t * get__innerException_4() const { return ____innerException_4; }
- inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
- inline void set__innerException_4(Exception_t * value)
- {
- ____innerException_4 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
- }
- inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
- inline String_t* get__helpURL_5() const { return ____helpURL_5; }
- inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
- inline void set__helpURL_5(String_t* value)
- {
- ____helpURL_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
- }
- inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
- inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
- inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
- inline void set__stackTrace_6(RuntimeObject * value)
- {
- ____stackTrace_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
- }
- inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
- inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
- inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
- inline void set__stackTraceString_7(String_t* value)
- {
- ____stackTraceString_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
- }
- inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
- inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
- inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
- inline void set__remoteStackTraceString_8(String_t* value)
- {
- ____remoteStackTraceString_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
- }
- inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
- inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
- inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
- inline void set__remoteStackIndex_9(int32_t value)
- {
- ____remoteStackIndex_9 = value;
- }
- inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
- inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
- inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
- inline void set__dynamicMethods_10(RuntimeObject * value)
- {
- ____dynamicMethods_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
- }
- inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
- inline int32_t get__HResult_11() const { return ____HResult_11; }
- inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
- inline void set__HResult_11(int32_t value)
- {
- ____HResult_11 = value;
- }
- inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
- inline String_t* get__source_12() const { return ____source_12; }
- inline String_t** get_address_of__source_12() { return &____source_12; }
- inline void set__source_12(String_t* value)
- {
- ____source_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
- }
- inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
- inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
- inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
- inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * value)
- {
- ____safeSerializationManager_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
- }
- inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
- inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
- inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
- inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* value)
- {
- ___captured_traces_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
- }
- inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
- inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
- inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
- inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* value)
- {
- ___native_trace_ips_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
- }
- };
- struct Exception_t_StaticFields
- {
- public:
- // System.Object System.Exception::s_EDILock
- RuntimeObject * ___s_EDILock_0;
- public:
- inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
- inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
- inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
- inline void set_s_EDILock_0(RuntimeObject * value)
- {
- ___s_EDILock_0 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
- }
- };
- // Native definition for P/Invoke marshalling of System.Exception
- struct Exception_t_marshaled_pinvoke
- {
- char* ____className_1;
- char* ____message_2;
- RuntimeObject* ____data_3;
- Exception_t_marshaled_pinvoke* ____innerException_4;
- char* ____helpURL_5;
- Il2CppIUnknown* ____stackTrace_6;
- char* ____stackTraceString_7;
- char* ____remoteStackTraceString_8;
- int32_t ____remoteStackIndex_9;
- Il2CppIUnknown* ____dynamicMethods_10;
- int32_t ____HResult_11;
- char* ____source_12;
- SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
- StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
- Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
- };
- // Native definition for COM marshalling of System.Exception
- struct Exception_t_marshaled_com
- {
- Il2CppChar* ____className_1;
- Il2CppChar* ____message_2;
- RuntimeObject* ____data_3;
- Exception_t_marshaled_com* ____innerException_4;
- Il2CppChar* ____helpURL_5;
- Il2CppIUnknown* ____stackTrace_6;
- Il2CppChar* ____stackTraceString_7;
- Il2CppChar* ____remoteStackTraceString_8;
- int32_t ____remoteStackIndex_9;
- Il2CppIUnknown* ____dynamicMethods_10;
- int32_t ____HResult_11;
- Il2CppChar* ____source_12;
- SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
- StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
- Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve
- struct F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 : public AbstractF2mCurve_tDE72296FD23D8B8C899FBB99BAD91F3D1C9BBCCE
- {
- public:
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::m
- int32_t ___m_18;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k1
- int32_t ___k1_19;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k2
- int32_t ___k2_20;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::k3
- int32_t ___k3_21;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.F2mCurve::m_infinity
- F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * ___m_infinity_22;
- public:
- inline static int32_t get_offset_of_m_18() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___m_18)); }
- inline int32_t get_m_18() const { return ___m_18; }
- inline int32_t* get_address_of_m_18() { return &___m_18; }
- inline void set_m_18(int32_t value)
- {
- ___m_18 = value;
- }
- inline static int32_t get_offset_of_k1_19() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k1_19)); }
- inline int32_t get_k1_19() const { return ___k1_19; }
- inline int32_t* get_address_of_k1_19() { return &___k1_19; }
- inline void set_k1_19(int32_t value)
- {
- ___k1_19 = value;
- }
- inline static int32_t get_offset_of_k2_20() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k2_20)); }
- inline int32_t get_k2_20() const { return ___k2_20; }
- inline int32_t* get_address_of_k2_20() { return &___k2_20; }
- inline void set_k2_20(int32_t value)
- {
- ___k2_20 = value;
- }
- inline static int32_t get_offset_of_k3_21() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___k3_21)); }
- inline int32_t get_k3_21() const { return ___k3_21; }
- inline int32_t* get_address_of_k3_21() { return &___k3_21; }
- inline void set_k3_21(int32_t value)
- {
- ___k3_21 = value;
- }
- inline static int32_t get_offset_of_m_infinity_22() { return static_cast<int32_t>(offsetof(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15, ___m_infinity_22)); }
- inline F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * get_m_infinity_22() const { return ___m_infinity_22; }
- inline F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F ** get_address_of_m_infinity_22() { return &___m_infinity_22; }
- inline void set_m_infinity_22(F2mPoint_t59403C813B19AE1CA2B41B27F53D6A6E7C9C116F * value)
- {
- ___m_infinity_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_infinity_22), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve
- struct FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 : public AbstractFpCurve_tE0B6ADB825360C35FC7DFFBCC3473DCA2198D5EF
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_q
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_q_17;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_r
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___m_r_18;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::m_infinity
- FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * ___m_infinity_19;
- public:
- inline static int32_t get_offset_of_m_q_17() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_q_17)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_q_17() const { return ___m_q_17; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_q_17() { return &___m_q_17; }
- inline void set_m_q_17(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___m_q_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_q_17), (void*)value);
- }
- inline static int32_t get_offset_of_m_r_18() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_r_18)); }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * get_m_r_18() const { return ___m_r_18; }
- inline BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 ** get_address_of_m_r_18() { return &___m_r_18; }
- inline void set_m_r_18(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * value)
- {
- ___m_r_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_r_18), (void*)value);
- }
- inline static int32_t get_offset_of_m_infinity_19() { return static_cast<int32_t>(offsetof(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8, ___m_infinity_19)); }
- inline FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * get_m_infinity_19() const { return ___m_infinity_19; }
- inline FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 ** get_address_of_m_infinity_19() { return &___m_infinity_19; }
- inline void set_m_infinity_19(FpPoint_t4D1072D1E2CB8D2BA79DEDF216003F575977B278 * value)
- {
- ___m_infinity_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_infinity_19), (void*)value);
- }
- };
- // System.IO.MemoryStream
- struct MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // System.Byte[] System.IO.MemoryStream::_buffer
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ____buffer_5;
- // System.Int32 System.IO.MemoryStream::_origin
- int32_t ____origin_6;
- // System.Int32 System.IO.MemoryStream::_position
- int32_t ____position_7;
- // System.Int32 System.IO.MemoryStream::_length
- int32_t ____length_8;
- // System.Int32 System.IO.MemoryStream::_capacity
- int32_t ____capacity_9;
- // System.Boolean System.IO.MemoryStream::_expandable
- bool ____expandable_10;
- // System.Boolean System.IO.MemoryStream::_writable
- bool ____writable_11;
- // System.Boolean System.IO.MemoryStream::_exposable
- bool ____exposable_12;
- // System.Boolean System.IO.MemoryStream::_isOpen
- bool ____isOpen_13;
- // System.Threading.Tasks.Task`1<System.Int32> System.IO.MemoryStream::_lastReadTask
- Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * ____lastReadTask_14;
- public:
- inline static int32_t get_offset_of__buffer_5() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____buffer_5)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get__buffer_5() const { return ____buffer_5; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of__buffer_5() { return &____buffer_5; }
- inline void set__buffer_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ____buffer_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____buffer_5), (void*)value);
- }
- inline static int32_t get_offset_of__origin_6() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____origin_6)); }
- inline int32_t get__origin_6() const { return ____origin_6; }
- inline int32_t* get_address_of__origin_6() { return &____origin_6; }
- inline void set__origin_6(int32_t value)
- {
- ____origin_6 = value;
- }
- inline static int32_t get_offset_of__position_7() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____position_7)); }
- inline int32_t get__position_7() const { return ____position_7; }
- inline int32_t* get_address_of__position_7() { return &____position_7; }
- inline void set__position_7(int32_t value)
- {
- ____position_7 = value;
- }
- inline static int32_t get_offset_of__length_8() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____length_8)); }
- inline int32_t get__length_8() const { return ____length_8; }
- inline int32_t* get_address_of__length_8() { return &____length_8; }
- inline void set__length_8(int32_t value)
- {
- ____length_8 = value;
- }
- inline static int32_t get_offset_of__capacity_9() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____capacity_9)); }
- inline int32_t get__capacity_9() const { return ____capacity_9; }
- inline int32_t* get_address_of__capacity_9() { return &____capacity_9; }
- inline void set__capacity_9(int32_t value)
- {
- ____capacity_9 = value;
- }
- inline static int32_t get_offset_of__expandable_10() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____expandable_10)); }
- inline bool get__expandable_10() const { return ____expandable_10; }
- inline bool* get_address_of__expandable_10() { return &____expandable_10; }
- inline void set__expandable_10(bool value)
- {
- ____expandable_10 = value;
- }
- inline static int32_t get_offset_of__writable_11() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____writable_11)); }
- inline bool get__writable_11() const { return ____writable_11; }
- inline bool* get_address_of__writable_11() { return &____writable_11; }
- inline void set__writable_11(bool value)
- {
- ____writable_11 = value;
- }
- inline static int32_t get_offset_of__exposable_12() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____exposable_12)); }
- inline bool get__exposable_12() const { return ____exposable_12; }
- inline bool* get_address_of__exposable_12() { return &____exposable_12; }
- inline void set__exposable_12(bool value)
- {
- ____exposable_12 = value;
- }
- inline static int32_t get_offset_of__isOpen_13() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____isOpen_13)); }
- inline bool get__isOpen_13() const { return ____isOpen_13; }
- inline bool* get_address_of__isOpen_13() { return &____isOpen_13; }
- inline void set__isOpen_13(bool value)
- {
- ____isOpen_13 = value;
- }
- inline static int32_t get_offset_of__lastReadTask_14() { return static_cast<int32_t>(offsetof(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C, ____lastReadTask_14)); }
- inline Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * get__lastReadTask_14() const { return ____lastReadTask_14; }
- inline Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 ** get_address_of__lastReadTask_14() { return &____lastReadTask_14; }
- inline void set__lastReadTask_14(Task_1_tEF253D967DB628A9F8A389A9F2E4516871FD3725 * value)
- {
- ____lastReadTask_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____lastReadTask_14), (void*)value);
- }
- };
- // UnityEngine.Object
- struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A : public RuntimeObject
- {
- public:
- // System.IntPtr UnityEngine.Object::m_CachedPtr
- intptr_t ___m_CachedPtr_0;
- public:
- inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A, ___m_CachedPtr_0)); }
- inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
- inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
- inline void set_m_CachedPtr_0(intptr_t value)
- {
- ___m_CachedPtr_0 = value;
- }
- };
- struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields
- {
- public:
- // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
- int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
- public:
- inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
- inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
- inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
- inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
- {
- ___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
- }
- };
- // Native definition for P/Invoke marshalling of UnityEngine.Object
- struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_pinvoke
- {
- intptr_t ___m_CachedPtr_0;
- };
- // Native definition for COM marshalling of UnityEngine.Object
- struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_com
- {
- intptr_t ___m_CachedPtr_0;
- };
- // DragonBones.TimelineType
- struct TimelineType_t0EE2123D7DC960F14D02CB413C86F151B99C61F1
- {
- public:
- // System.Int32 DragonBones.TimelineType::value__
- int32_t ___value___2;
- public:
- inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TimelineType_t0EE2123D7DC960F14D02CB413C86F151B99C61F1, ___value___2)); }
- inline int32_t get_value___2() const { return ___value___2; }
- inline int32_t* get_address_of_value___2() { return &___value___2; }
- inline void set_value___2(int32_t value)
- {
- ___value___2 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange
- struct TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD : public TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::mServerCredentials
- RuntimeObject* ___mServerCredentials_10;
- public:
- inline static int32_t get_offset_of_mServerCredentials_10() { return static_cast<int32_t>(offsetof(TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD, ___mServerCredentials_10)); }
- inline RuntimeObject* get_mServerCredentials_10() const { return ___mServerCredentials_10; }
- inline RuntimeObject** get_address_of_mServerCredentials_10() { return &___mServerCredentials_10; }
- inline void set_mServerCredentials_10(RuntimeObject* value)
- {
- ___mServerCredentials_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_10), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner
- struct TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 : public TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange
- struct TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B : public TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSignerCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::mServerCredentials
- RuntimeObject* ___mServerCredentials_11;
- public:
- inline static int32_t get_offset_of_mServerCredentials_11() { return static_cast<int32_t>(offsetof(TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B, ___mServerCredentials_11)); }
- inline RuntimeObject* get_mServerCredentials_11() const { return ___mServerCredentials_11; }
- inline RuntimeObject** get_address_of_mServerCredentials_11() { return &___mServerCredentials_11; }
- inline void set_mServerCredentials_11(RuntimeObject* value)
- {
- ___mServerCredentials_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_11), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner
- struct TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA : public TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol
- struct TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 : public RuntimeObject
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mApplicationDataQueue
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mApplicationDataQueue_20;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAlertQueue
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mAlertQueue_21;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mHandshakeQueue
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___mHandshakeQueue_22;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mRecordStream
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * ___mRecordStream_23;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecureRandom
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___mSecureRandom_24;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mTlsStream
- TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * ___mTlsStream_25;
- // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mClosed
- bool ___mClosed_26;
- // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mFailedWithError
- bool ___mFailedWithError_27;
- // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataReady
- bool ___mAppDataReady_28;
- // System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataSplitEnabled
- bool ___mAppDataSplitEnabled_29;
- // System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAppDataSplitMode
- int32_t ___mAppDataSplitMode_30;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mExpectedVerifyData
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mExpectedVerifyData_31;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mTlsSession
- RuntimeObject* ___mTlsSession_32;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSessionParameters
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___mSessionParameters_33;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecurityParameters
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___mSecurityParameters_34;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mPeerCertificate
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___mPeerCertificate_35;
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOfferedCipherSuites
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___mOfferedCipherSuites_36;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOfferedCompressionMethods
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mOfferedCompressionMethods_37;
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mClientExtensions
- RuntimeObject* ___mClientExtensions_38;
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mServerExtensions
- RuntimeObject* ___mServerExtensions_39;
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mConnectionState
- int16_t ___mConnectionState_40;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mResumedSession
- bool ___mResumedSession_41;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mReceivedChangeCipherSpec
- bool ___mReceivedChangeCipherSpec_42;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mSecureRenegotiation
- bool ___mSecureRenegotiation_43;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mAllowCertificateStatus
- bool ___mAllowCertificateStatus_44;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mExpectSessionTicket
- bool ___mExpectSessionTicket_45;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mBlocking
- bool ___mBlocking_46;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mInputBuffers
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * ___mInputBuffers_47;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::mOutputBuffer
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * ___mOutputBuffer_48;
- public:
- inline static int32_t get_offset_of_mApplicationDataQueue_20() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mApplicationDataQueue_20)); }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mApplicationDataQueue_20() const { return ___mApplicationDataQueue_20; }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mApplicationDataQueue_20() { return &___mApplicationDataQueue_20; }
- inline void set_mApplicationDataQueue_20(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
- {
- ___mApplicationDataQueue_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mApplicationDataQueue_20), (void*)value);
- }
- inline static int32_t get_offset_of_mAlertQueue_21() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAlertQueue_21)); }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mAlertQueue_21() const { return ___mAlertQueue_21; }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mAlertQueue_21() { return &___mAlertQueue_21; }
- inline void set_mAlertQueue_21(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
- {
- ___mAlertQueue_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mAlertQueue_21), (void*)value);
- }
- inline static int32_t get_offset_of_mHandshakeQueue_22() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mHandshakeQueue_22)); }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * get_mHandshakeQueue_22() const { return ___mHandshakeQueue_22; }
- inline ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 ** get_address_of_mHandshakeQueue_22() { return &___mHandshakeQueue_22; }
- inline void set_mHandshakeQueue_22(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * value)
- {
- ___mHandshakeQueue_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mHandshakeQueue_22), (void*)value);
- }
- inline static int32_t get_offset_of_mRecordStream_23() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mRecordStream_23)); }
- inline RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * get_mRecordStream_23() const { return ___mRecordStream_23; }
- inline RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E ** get_address_of_mRecordStream_23() { return &___mRecordStream_23; }
- inline void set_mRecordStream_23(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * value)
- {
- ___mRecordStream_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mRecordStream_23), (void*)value);
- }
- inline static int32_t get_offset_of_mSecureRandom_24() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecureRandom_24)); }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * get_mSecureRandom_24() const { return ___mSecureRandom_24; }
- inline SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 ** get_address_of_mSecureRandom_24() { return &___mSecureRandom_24; }
- inline void set_mSecureRandom_24(SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * value)
- {
- ___mSecureRandom_24 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSecureRandom_24), (void*)value);
- }
- inline static int32_t get_offset_of_mTlsStream_25() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mTlsStream_25)); }
- inline TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * get_mTlsStream_25() const { return ___mTlsStream_25; }
- inline TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A ** get_address_of_mTlsStream_25() { return &___mTlsStream_25; }
- inline void set_mTlsStream_25(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * value)
- {
- ___mTlsStream_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsStream_25), (void*)value);
- }
- inline static int32_t get_offset_of_mClosed_26() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mClosed_26)); }
- inline bool get_mClosed_26() const { return ___mClosed_26; }
- inline bool* get_address_of_mClosed_26() { return &___mClosed_26; }
- inline void set_mClosed_26(bool value)
- {
- ___mClosed_26 = value;
- }
- inline static int32_t get_offset_of_mFailedWithError_27() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mFailedWithError_27)); }
- inline bool get_mFailedWithError_27() const { return ___mFailedWithError_27; }
- inline bool* get_address_of_mFailedWithError_27() { return &___mFailedWithError_27; }
- inline void set_mFailedWithError_27(bool value)
- {
- ___mFailedWithError_27 = value;
- }
- inline static int32_t get_offset_of_mAppDataReady_28() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataReady_28)); }
- inline bool get_mAppDataReady_28() const { return ___mAppDataReady_28; }
- inline bool* get_address_of_mAppDataReady_28() { return &___mAppDataReady_28; }
- inline void set_mAppDataReady_28(bool value)
- {
- ___mAppDataReady_28 = value;
- }
- inline static int32_t get_offset_of_mAppDataSplitEnabled_29() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataSplitEnabled_29)); }
- inline bool get_mAppDataSplitEnabled_29() const { return ___mAppDataSplitEnabled_29; }
- inline bool* get_address_of_mAppDataSplitEnabled_29() { return &___mAppDataSplitEnabled_29; }
- inline void set_mAppDataSplitEnabled_29(bool value)
- {
- ___mAppDataSplitEnabled_29 = value;
- }
- inline static int32_t get_offset_of_mAppDataSplitMode_30() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAppDataSplitMode_30)); }
- inline int32_t get_mAppDataSplitMode_30() const { return ___mAppDataSplitMode_30; }
- inline int32_t* get_address_of_mAppDataSplitMode_30() { return &___mAppDataSplitMode_30; }
- inline void set_mAppDataSplitMode_30(int32_t value)
- {
- ___mAppDataSplitMode_30 = value;
- }
- inline static int32_t get_offset_of_mExpectedVerifyData_31() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mExpectedVerifyData_31)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mExpectedVerifyData_31() const { return ___mExpectedVerifyData_31; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mExpectedVerifyData_31() { return &___mExpectedVerifyData_31; }
- inline void set_mExpectedVerifyData_31(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mExpectedVerifyData_31 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mExpectedVerifyData_31), (void*)value);
- }
- inline static int32_t get_offset_of_mTlsSession_32() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mTlsSession_32)); }
- inline RuntimeObject* get_mTlsSession_32() const { return ___mTlsSession_32; }
- inline RuntimeObject** get_address_of_mTlsSession_32() { return &___mTlsSession_32; }
- inline void set_mTlsSession_32(RuntimeObject* value)
- {
- ___mTlsSession_32 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsSession_32), (void*)value);
- }
- inline static int32_t get_offset_of_mSessionParameters_33() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSessionParameters_33)); }
- inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * get_mSessionParameters_33() const { return ___mSessionParameters_33; }
- inline SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D ** get_address_of_mSessionParameters_33() { return &___mSessionParameters_33; }
- inline void set_mSessionParameters_33(SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * value)
- {
- ___mSessionParameters_33 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSessionParameters_33), (void*)value);
- }
- inline static int32_t get_offset_of_mSecurityParameters_34() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecurityParameters_34)); }
- inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * get_mSecurityParameters_34() const { return ___mSecurityParameters_34; }
- inline SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 ** get_address_of_mSecurityParameters_34() { return &___mSecurityParameters_34; }
- inline void set_mSecurityParameters_34(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * value)
- {
- ___mSecurityParameters_34 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSecurityParameters_34), (void*)value);
- }
- inline static int32_t get_offset_of_mPeerCertificate_35() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mPeerCertificate_35)); }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * get_mPeerCertificate_35() const { return ___mPeerCertificate_35; }
- inline Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E ** get_address_of_mPeerCertificate_35() { return &___mPeerCertificate_35; }
- inline void set_mPeerCertificate_35(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * value)
- {
- ___mPeerCertificate_35 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPeerCertificate_35), (void*)value);
- }
- inline static int32_t get_offset_of_mOfferedCipherSuites_36() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOfferedCipherSuites_36)); }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_mOfferedCipherSuites_36() const { return ___mOfferedCipherSuites_36; }
- inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_mOfferedCipherSuites_36() { return &___mOfferedCipherSuites_36; }
- inline void set_mOfferedCipherSuites_36(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
- {
- ___mOfferedCipherSuites_36 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mOfferedCipherSuites_36), (void*)value);
- }
- inline static int32_t get_offset_of_mOfferedCompressionMethods_37() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOfferedCompressionMethods_37)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mOfferedCompressionMethods_37() const { return ___mOfferedCompressionMethods_37; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mOfferedCompressionMethods_37() { return &___mOfferedCompressionMethods_37; }
- inline void set_mOfferedCompressionMethods_37(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mOfferedCompressionMethods_37 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mOfferedCompressionMethods_37), (void*)value);
- }
- inline static int32_t get_offset_of_mClientExtensions_38() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mClientExtensions_38)); }
- inline RuntimeObject* get_mClientExtensions_38() const { return ___mClientExtensions_38; }
- inline RuntimeObject** get_address_of_mClientExtensions_38() { return &___mClientExtensions_38; }
- inline void set_mClientExtensions_38(RuntimeObject* value)
- {
- ___mClientExtensions_38 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mClientExtensions_38), (void*)value);
- }
- inline static int32_t get_offset_of_mServerExtensions_39() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mServerExtensions_39)); }
- inline RuntimeObject* get_mServerExtensions_39() const { return ___mServerExtensions_39; }
- inline RuntimeObject** get_address_of_mServerExtensions_39() { return &___mServerExtensions_39; }
- inline void set_mServerExtensions_39(RuntimeObject* value)
- {
- ___mServerExtensions_39 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerExtensions_39), (void*)value);
- }
- inline static int32_t get_offset_of_mConnectionState_40() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mConnectionState_40)); }
- inline int16_t get_mConnectionState_40() const { return ___mConnectionState_40; }
- inline int16_t* get_address_of_mConnectionState_40() { return &___mConnectionState_40; }
- inline void set_mConnectionState_40(int16_t value)
- {
- ___mConnectionState_40 = value;
- }
- inline static int32_t get_offset_of_mResumedSession_41() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mResumedSession_41)); }
- inline bool get_mResumedSession_41() const { return ___mResumedSession_41; }
- inline bool* get_address_of_mResumedSession_41() { return &___mResumedSession_41; }
- inline void set_mResumedSession_41(bool value)
- {
- ___mResumedSession_41 = value;
- }
- inline static int32_t get_offset_of_mReceivedChangeCipherSpec_42() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mReceivedChangeCipherSpec_42)); }
- inline bool get_mReceivedChangeCipherSpec_42() const { return ___mReceivedChangeCipherSpec_42; }
- inline bool* get_address_of_mReceivedChangeCipherSpec_42() { return &___mReceivedChangeCipherSpec_42; }
- inline void set_mReceivedChangeCipherSpec_42(bool value)
- {
- ___mReceivedChangeCipherSpec_42 = value;
- }
- inline static int32_t get_offset_of_mSecureRenegotiation_43() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mSecureRenegotiation_43)); }
- inline bool get_mSecureRenegotiation_43() const { return ___mSecureRenegotiation_43; }
- inline bool* get_address_of_mSecureRenegotiation_43() { return &___mSecureRenegotiation_43; }
- inline void set_mSecureRenegotiation_43(bool value)
- {
- ___mSecureRenegotiation_43 = value;
- }
- inline static int32_t get_offset_of_mAllowCertificateStatus_44() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mAllowCertificateStatus_44)); }
- inline bool get_mAllowCertificateStatus_44() const { return ___mAllowCertificateStatus_44; }
- inline bool* get_address_of_mAllowCertificateStatus_44() { return &___mAllowCertificateStatus_44; }
- inline void set_mAllowCertificateStatus_44(bool value)
- {
- ___mAllowCertificateStatus_44 = value;
- }
- inline static int32_t get_offset_of_mExpectSessionTicket_45() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mExpectSessionTicket_45)); }
- inline bool get_mExpectSessionTicket_45() const { return ___mExpectSessionTicket_45; }
- inline bool* get_address_of_mExpectSessionTicket_45() { return &___mExpectSessionTicket_45; }
- inline void set_mExpectSessionTicket_45(bool value)
- {
- ___mExpectSessionTicket_45 = value;
- }
- inline static int32_t get_offset_of_mBlocking_46() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mBlocking_46)); }
- inline bool get_mBlocking_46() const { return ___mBlocking_46; }
- inline bool* get_address_of_mBlocking_46() { return &___mBlocking_46; }
- inline void set_mBlocking_46(bool value)
- {
- ___mBlocking_46 = value;
- }
- inline static int32_t get_offset_of_mInputBuffers_47() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mInputBuffers_47)); }
- inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * get_mInputBuffers_47() const { return ___mInputBuffers_47; }
- inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 ** get_address_of_mInputBuffers_47() { return &___mInputBuffers_47; }
- inline void set_mInputBuffers_47(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * value)
- {
- ___mInputBuffers_47 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mInputBuffers_47), (void*)value);
- }
- inline static int32_t get_offset_of_mOutputBuffer_48() { return static_cast<int32_t>(offsetof(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69, ___mOutputBuffer_48)); }
- inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * get_mOutputBuffer_48() const { return ___mOutputBuffer_48; }
- inline ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 ** get_address_of_mOutputBuffer_48() { return &___mOutputBuffer_48; }
- inline void set_mOutputBuffer_48(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * value)
- {
- ___mOutputBuffer_48 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mOutputBuffer_48), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream
- struct TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream::handler
- TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___handler_5;
- public:
- inline static int32_t get_offset_of_handler_5() { return static_cast<int32_t>(offsetof(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A, ___handler_5)); }
- inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * get_handler_5() const { return ___handler_5; }
- inline TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 ** get_address_of_handler_5() { return &___handler_5; }
- inline void set_handler_5(TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * value)
- {
- ___handler_5 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___handler_5), (void*)value);
- }
- };
- // DragonBones.TweenState
- struct TweenState_tCEF0A56434BC2174FB21DE3A516259EEC962B642
- {
- public:
- // System.Int32 DragonBones.TweenState::value__
- int32_t ___value___2;
- public:
- inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TweenState_tCEF0A56434BC2174FB21DE3A516259EEC962B642, ___value___2)); }
- inline int32_t get_value___2() const { return ___value___2; }
- inline int32_t* get_address_of_value___2() { return &___value___2; }
- inline void set_value___2(int32_t value)
- {
- ___value___2 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream
- struct ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5 : public Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::z
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___z_6;
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::flushLevel
- int32_t ___flushLevel_7;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::buf
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf_8;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::buf1
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1_9;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::compress
- bool ___compress_10;
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::output
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output_11;
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZOutputStream::closed
- bool ___closed_12;
- public:
- inline static int32_t get_offset_of_z_6() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___z_6)); }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * get_z_6() const { return ___z_6; }
- inline ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C ** get_address_of_z_6() { return &___z_6; }
- inline void set_z_6(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * value)
- {
- ___z_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___z_6), (void*)value);
- }
- inline static int32_t get_offset_of_flushLevel_7() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___flushLevel_7)); }
- inline int32_t get_flushLevel_7() const { return ___flushLevel_7; }
- inline int32_t* get_address_of_flushLevel_7() { return &___flushLevel_7; }
- inline void set_flushLevel_7(int32_t value)
- {
- ___flushLevel_7 = value;
- }
- inline static int32_t get_offset_of_buf_8() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___buf_8)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_buf_8() const { return ___buf_8; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_buf_8() { return &___buf_8; }
- inline void set_buf_8(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___buf_8 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___buf_8), (void*)value);
- }
- inline static int32_t get_offset_of_buf1_9() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___buf1_9)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_buf1_9() const { return ___buf1_9; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_buf1_9() { return &___buf1_9; }
- inline void set_buf1_9(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___buf1_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___buf1_9), (void*)value);
- }
- inline static int32_t get_offset_of_compress_10() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___compress_10)); }
- inline bool get_compress_10() const { return ___compress_10; }
- inline bool* get_address_of_compress_10() { return &___compress_10; }
- inline void set_compress_10(bool value)
- {
- ___compress_10 = value;
- }
- inline static int32_t get_offset_of_output_11() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___output_11)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_output_11() const { return ___output_11; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_output_11() { return &___output_11; }
- inline void set_output_11(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___output_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___output_11), (void*)value);
- }
- inline static int32_t get_offset_of_closed_12() { return static_cast<int32_t>(offsetof(ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5, ___closed_12)); }
- inline bool get_closed_12() const { return ___closed_12; }
- inline bool* get_address_of_closed_12() { return &___closed_12; }
- inline void set_closed_12(bool value)
- {
- ___closed_12 = value;
- }
- };
- // DragonBones.ArmatureData
- struct ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // DragonBones.ArmatureType DragonBones.ArmatureData::type
- int32_t ___type_5;
- // System.UInt32 DragonBones.ArmatureData::frameRate
- uint32_t ___frameRate_6;
- // System.UInt32 DragonBones.ArmatureData::cacheFrameRate
- uint32_t ___cacheFrameRate_7;
- // System.Single DragonBones.ArmatureData::scale
- float ___scale_8;
- // System.String DragonBones.ArmatureData::name
- String_t* ___name_9;
- // DragonBones.Rectangle DragonBones.ArmatureData::aabb
- Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * ___aabb_10;
- // System.Collections.Generic.List`1<System.String> DragonBones.ArmatureData::animationNames
- List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * ___animationNames_11;
- // System.Collections.Generic.List`1<DragonBones.BoneData> DragonBones.ArmatureData::sortedBones
- List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * ___sortedBones_12;
- // System.Collections.Generic.List`1<DragonBones.SlotData> DragonBones.ArmatureData::sortedSlots
- List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * ___sortedSlots_13;
- // System.Collections.Generic.List`1<DragonBones.ActionData> DragonBones.ArmatureData::defaultActions
- List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * ___defaultActions_14;
- // System.Collections.Generic.List`1<DragonBones.ActionData> DragonBones.ArmatureData::actions
- List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * ___actions_15;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.BoneData> DragonBones.ArmatureData::bones
- Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * ___bones_16;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SlotData> DragonBones.ArmatureData::slots
- Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * ___slots_17;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.ConstraintData> DragonBones.ArmatureData::constraints
- Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * ___constraints_18;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.SkinData> DragonBones.ArmatureData::skins
- Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * ___skins_19;
- // System.Collections.Generic.Dictionary`2<System.String,DragonBones.AnimationData> DragonBones.ArmatureData::animations
- Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * ___animations_20;
- // DragonBones.SkinData DragonBones.ArmatureData::defaultSkin
- SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * ___defaultSkin_21;
- // DragonBones.AnimationData DragonBones.ArmatureData::defaultAnimation
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ___defaultAnimation_22;
- // DragonBones.CanvasData DragonBones.ArmatureData::canvas
- CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * ___canvas_23;
- // DragonBones.UserData DragonBones.ArmatureData::userData
- UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * ___userData_24;
- // DragonBones.DragonBonesData DragonBones.ArmatureData::parent
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * ___parent_25;
- public:
- inline static int32_t get_offset_of_type_5() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___type_5)); }
- inline int32_t get_type_5() const { return ___type_5; }
- inline int32_t* get_address_of_type_5() { return &___type_5; }
- inline void set_type_5(int32_t value)
- {
- ___type_5 = value;
- }
- inline static int32_t get_offset_of_frameRate_6() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___frameRate_6)); }
- inline uint32_t get_frameRate_6() const { return ___frameRate_6; }
- inline uint32_t* get_address_of_frameRate_6() { return &___frameRate_6; }
- inline void set_frameRate_6(uint32_t value)
- {
- ___frameRate_6 = value;
- }
- inline static int32_t get_offset_of_cacheFrameRate_7() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___cacheFrameRate_7)); }
- inline uint32_t get_cacheFrameRate_7() const { return ___cacheFrameRate_7; }
- inline uint32_t* get_address_of_cacheFrameRate_7() { return &___cacheFrameRate_7; }
- inline void set_cacheFrameRate_7(uint32_t value)
- {
- ___cacheFrameRate_7 = value;
- }
- inline static int32_t get_offset_of_scale_8() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___scale_8)); }
- inline float get_scale_8() const { return ___scale_8; }
- inline float* get_address_of_scale_8() { return &___scale_8; }
- inline void set_scale_8(float value)
- {
- ___scale_8 = value;
- }
- inline static int32_t get_offset_of_name_9() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___name_9)); }
- inline String_t* get_name_9() const { return ___name_9; }
- inline String_t** get_address_of_name_9() { return &___name_9; }
- inline void set_name_9(String_t* value)
- {
- ___name_9 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___name_9), (void*)value);
- }
- inline static int32_t get_offset_of_aabb_10() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___aabb_10)); }
- inline Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * get_aabb_10() const { return ___aabb_10; }
- inline Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E ** get_address_of_aabb_10() { return &___aabb_10; }
- inline void set_aabb_10(Rectangle_t775DF27BC3146436ADCC98BCC57CE7BD282BF12E * value)
- {
- ___aabb_10 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___aabb_10), (void*)value);
- }
- inline static int32_t get_offset_of_animationNames_11() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___animationNames_11)); }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * get_animationNames_11() const { return ___animationNames_11; }
- inline List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 ** get_address_of_animationNames_11() { return &___animationNames_11; }
- inline void set_animationNames_11(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * value)
- {
- ___animationNames_11 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___animationNames_11), (void*)value);
- }
- inline static int32_t get_offset_of_sortedBones_12() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___sortedBones_12)); }
- inline List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * get_sortedBones_12() const { return ___sortedBones_12; }
- inline List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA ** get_address_of_sortedBones_12() { return &___sortedBones_12; }
- inline void set_sortedBones_12(List_1_t7DB41B50E3A2F1AC69F7F240AD3AE64C8A1081BA * value)
- {
- ___sortedBones_12 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___sortedBones_12), (void*)value);
- }
- inline static int32_t get_offset_of_sortedSlots_13() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___sortedSlots_13)); }
- inline List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * get_sortedSlots_13() const { return ___sortedSlots_13; }
- inline List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE ** get_address_of_sortedSlots_13() { return &___sortedSlots_13; }
- inline void set_sortedSlots_13(List_1_t3EC32DB052712062D1A2EEF1AFAB97CA32A882EE * value)
- {
- ___sortedSlots_13 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___sortedSlots_13), (void*)value);
- }
- inline static int32_t get_offset_of_defaultActions_14() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultActions_14)); }
- inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * get_defaultActions_14() const { return ___defaultActions_14; }
- inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 ** get_address_of_defaultActions_14() { return &___defaultActions_14; }
- inline void set_defaultActions_14(List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * value)
- {
- ___defaultActions_14 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___defaultActions_14), (void*)value);
- }
- inline static int32_t get_offset_of_actions_15() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___actions_15)); }
- inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * get_actions_15() const { return ___actions_15; }
- inline List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 ** get_address_of_actions_15() { return &___actions_15; }
- inline void set_actions_15(List_1_t80CBC0D08B31BB15C8B9036430F767D3F7B9B3B4 * value)
- {
- ___actions_15 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___actions_15), (void*)value);
- }
- inline static int32_t get_offset_of_bones_16() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___bones_16)); }
- inline Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * get_bones_16() const { return ___bones_16; }
- inline Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 ** get_address_of_bones_16() { return &___bones_16; }
- inline void set_bones_16(Dictionary_2_t491114FBB2DDEF4758775D9ABB26C581A6BD6569 * value)
- {
- ___bones_16 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___bones_16), (void*)value);
- }
- inline static int32_t get_offset_of_slots_17() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___slots_17)); }
- inline Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * get_slots_17() const { return ___slots_17; }
- inline Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE ** get_address_of_slots_17() { return &___slots_17; }
- inline void set_slots_17(Dictionary_2_tF0E3EB5B67FF7DF756A45486A5A1D18D35A30BEE * value)
- {
- ___slots_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___slots_17), (void*)value);
- }
- inline static int32_t get_offset_of_constraints_18() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___constraints_18)); }
- inline Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * get_constraints_18() const { return ___constraints_18; }
- inline Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 ** get_address_of_constraints_18() { return &___constraints_18; }
- inline void set_constraints_18(Dictionary_2_tA182060437C0F3E95A67212F22DB802B337412A8 * value)
- {
- ___constraints_18 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___constraints_18), (void*)value);
- }
- inline static int32_t get_offset_of_skins_19() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___skins_19)); }
- inline Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * get_skins_19() const { return ___skins_19; }
- inline Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 ** get_address_of_skins_19() { return &___skins_19; }
- inline void set_skins_19(Dictionary_2_t0110ED12D944C8CED1DCFB85FF9CB26C3D31C3F3 * value)
- {
- ___skins_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___skins_19), (void*)value);
- }
- inline static int32_t get_offset_of_animations_20() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___animations_20)); }
- inline Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * get_animations_20() const { return ___animations_20; }
- inline Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 ** get_address_of_animations_20() { return &___animations_20; }
- inline void set_animations_20(Dictionary_2_tFCC2A14DC1D7A48EA51E96110B7E1AD434216EF6 * value)
- {
- ___animations_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___animations_20), (void*)value);
- }
- inline static int32_t get_offset_of_defaultSkin_21() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultSkin_21)); }
- inline SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * get_defaultSkin_21() const { return ___defaultSkin_21; }
- inline SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 ** get_address_of_defaultSkin_21() { return &___defaultSkin_21; }
- inline void set_defaultSkin_21(SkinData_t684AA85030B70100EF946EECC0A3B164AF4BDCE8 * value)
- {
- ___defaultSkin_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___defaultSkin_21), (void*)value);
- }
- inline static int32_t get_offset_of_defaultAnimation_22() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___defaultAnimation_22)); }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get_defaultAnimation_22() const { return ___defaultAnimation_22; }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of_defaultAnimation_22() { return &___defaultAnimation_22; }
- inline void set_defaultAnimation_22(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
- {
- ___defaultAnimation_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___defaultAnimation_22), (void*)value);
- }
- inline static int32_t get_offset_of_canvas_23() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___canvas_23)); }
- inline CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * get_canvas_23() const { return ___canvas_23; }
- inline CanvasData_t378879F059E749546F485846D8FC31F4A489A774 ** get_address_of_canvas_23() { return &___canvas_23; }
- inline void set_canvas_23(CanvasData_t378879F059E749546F485846D8FC31F4A489A774 * value)
- {
- ___canvas_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___canvas_23), (void*)value);
- }
- inline static int32_t get_offset_of_userData_24() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___userData_24)); }
- inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * get_userData_24() const { return ___userData_24; }
- inline UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A ** get_address_of_userData_24() { return &___userData_24; }
- inline void set_userData_24(UserData_t32D8FC7D958BDB4748700D375847A5C53359F91A * value)
- {
- ___userData_24 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___userData_24), (void*)value);
- }
- inline static int32_t get_offset_of_parent_25() { return static_cast<int32_t>(offsetof(ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2, ___parent_25)); }
- inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * get_parent_25() const { return ___parent_25; }
- inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 ** get_address_of_parent_25() { return &___parent_25; }
- inline void set_parent_25(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * value)
- {
- ___parent_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___parent_25), (void*)value);
- }
- };
- // UnityEngine.Component
- struct Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.CryptoException
- struct CryptoException_t4585FEA3F67B6ED045D6C9401A9C96B1234E3F27 : public Exception_t
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer
- struct DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
- {
- public:
- public:
- };
- // UnityEngine.GameObject
- struct GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer
- struct SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
- {
- public:
- public:
- };
- // System.SystemException
- struct SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62 : public Exception_t
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream
- struct TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C : public BaseInputStream_tB56303BA48A64EA3DE264D9883FC620E1E2AD6A2
- {
- public:
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::input
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input_6;
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::tee
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___tee_7;
- public:
- inline static int32_t get_offset_of_input_6() { return static_cast<int32_t>(offsetof(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C, ___input_6)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_input_6() const { return ___input_6; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_input_6() { return &___input_6; }
- inline void set_input_6(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___input_6 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___input_6), (void*)value);
- }
- inline static int32_t get_offset_of_tee_7() { return static_cast<int32_t>(offsetof(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C, ___tee_7)); }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * get_tee_7() const { return ___tee_7; }
- inline Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB ** get_address_of_tee_7() { return &___tee_7; }
- inline void set_tee_7(Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * value)
- {
- ___tee_7 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___tee_7), (void*)value);
- }
- };
- // DragonBones.TimelineData
- struct TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // DragonBones.TimelineType DragonBones.TimelineData::type
- int32_t ___type_5;
- // System.UInt32 DragonBones.TimelineData::offset
- uint32_t ___offset_6;
- // System.Int32 DragonBones.TimelineData::frameIndicesOffset
- int32_t ___frameIndicesOffset_7;
- public:
- inline static int32_t get_offset_of_type_5() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___type_5)); }
- inline int32_t get_type_5() const { return ___type_5; }
- inline int32_t* get_address_of_type_5() { return &___type_5; }
- inline void set_type_5(int32_t value)
- {
- ___type_5 = value;
- }
- inline static int32_t get_offset_of_offset_6() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___offset_6)); }
- inline uint32_t get_offset_6() const { return ___offset_6; }
- inline uint32_t* get_address_of_offset_6() { return &___offset_6; }
- inline void set_offset_6(uint32_t value)
- {
- ___offset_6 = value;
- }
- inline static int32_t get_offset_of_frameIndicesOffset_7() { return static_cast<int32_t>(offsetof(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D, ___frameIndicesOffset_7)); }
- inline int32_t get_frameIndicesOffset_7() const { return ___frameIndicesOffset_7; }
- inline int32_t* get_address_of_frameIndicesOffset_7() { return &___frameIndicesOffset_7; }
- inline void set_frameIndicesOffset_7(int32_t value)
- {
- ___frameIndicesOffset_7 = value;
- }
- };
- // DragonBones.TimelineState
- struct TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 : public BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424
- {
- public:
- // System.Int32 DragonBones.TimelineState::playState
- int32_t ___playState_5;
- // System.Int32 DragonBones.TimelineState::currentPlayTimes
- int32_t ___currentPlayTimes_6;
- // System.Single DragonBones.TimelineState::currentTime
- float ___currentTime_7;
- // DragonBones.TweenState DragonBones.TimelineState::_tweenState
- int32_t ____tweenState_8;
- // System.UInt32 DragonBones.TimelineState::_frameRate
- uint32_t ____frameRate_9;
- // System.Int32 DragonBones.TimelineState::_frameValueOffset
- int32_t ____frameValueOffset_10;
- // System.UInt32 DragonBones.TimelineState::_frameCount
- uint32_t ____frameCount_11;
- // System.UInt32 DragonBones.TimelineState::_frameOffset
- uint32_t ____frameOffset_12;
- // System.Int32 DragonBones.TimelineState::_frameIndex
- int32_t ____frameIndex_13;
- // System.Single DragonBones.TimelineState::_frameRateR
- float ____frameRateR_14;
- // System.Single DragonBones.TimelineState::_position
- float ____position_15;
- // System.Single DragonBones.TimelineState::_duration
- float ____duration_16;
- // System.Single DragonBones.TimelineState::_timeScale
- float ____timeScale_17;
- // System.Single DragonBones.TimelineState::_timeOffset
- float ____timeOffset_18;
- // DragonBones.DragonBonesData DragonBones.TimelineState::_dragonBonesData
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * ____dragonBonesData_19;
- // DragonBones.AnimationData DragonBones.TimelineState::_animationData
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * ____animationData_20;
- // DragonBones.TimelineData DragonBones.TimelineState::_timelineData
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * ____timelineData_21;
- // DragonBones.Armature DragonBones.TimelineState::_armature
- Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * ____armature_22;
- // DragonBones.AnimationState DragonBones.TimelineState::_animationState
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * ____animationState_23;
- // DragonBones.TimelineState DragonBones.TimelineState::_actionTimeline
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * ____actionTimeline_24;
- // System.Int16[] DragonBones.TimelineState::_frameArray
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ____frameArray_25;
- // System.Int16[] DragonBones.TimelineState::_frameIntArray
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* ____frameIntArray_26;
- // System.Single[] DragonBones.TimelineState::_frameFloatArray
- SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* ____frameFloatArray_27;
- // System.UInt16[] DragonBones.TimelineState::_timelineArray
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* ____timelineArray_28;
- // System.Collections.Generic.List`1<System.UInt32> DragonBones.TimelineState::_frameIndices
- List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * ____frameIndices_29;
- public:
- inline static int32_t get_offset_of_playState_5() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___playState_5)); }
- inline int32_t get_playState_5() const { return ___playState_5; }
- inline int32_t* get_address_of_playState_5() { return &___playState_5; }
- inline void set_playState_5(int32_t value)
- {
- ___playState_5 = value;
- }
- inline static int32_t get_offset_of_currentPlayTimes_6() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___currentPlayTimes_6)); }
- inline int32_t get_currentPlayTimes_6() const { return ___currentPlayTimes_6; }
- inline int32_t* get_address_of_currentPlayTimes_6() { return &___currentPlayTimes_6; }
- inline void set_currentPlayTimes_6(int32_t value)
- {
- ___currentPlayTimes_6 = value;
- }
- inline static int32_t get_offset_of_currentTime_7() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ___currentTime_7)); }
- inline float get_currentTime_7() const { return ___currentTime_7; }
- inline float* get_address_of_currentTime_7() { return &___currentTime_7; }
- inline void set_currentTime_7(float value)
- {
- ___currentTime_7 = value;
- }
- inline static int32_t get_offset_of__tweenState_8() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____tweenState_8)); }
- inline int32_t get__tweenState_8() const { return ____tweenState_8; }
- inline int32_t* get_address_of__tweenState_8() { return &____tweenState_8; }
- inline void set__tweenState_8(int32_t value)
- {
- ____tweenState_8 = value;
- }
- inline static int32_t get_offset_of__frameRate_9() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameRate_9)); }
- inline uint32_t get__frameRate_9() const { return ____frameRate_9; }
- inline uint32_t* get_address_of__frameRate_9() { return &____frameRate_9; }
- inline void set__frameRate_9(uint32_t value)
- {
- ____frameRate_9 = value;
- }
- inline static int32_t get_offset_of__frameValueOffset_10() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameValueOffset_10)); }
- inline int32_t get__frameValueOffset_10() const { return ____frameValueOffset_10; }
- inline int32_t* get_address_of__frameValueOffset_10() { return &____frameValueOffset_10; }
- inline void set__frameValueOffset_10(int32_t value)
- {
- ____frameValueOffset_10 = value;
- }
- inline static int32_t get_offset_of__frameCount_11() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameCount_11)); }
- inline uint32_t get__frameCount_11() const { return ____frameCount_11; }
- inline uint32_t* get_address_of__frameCount_11() { return &____frameCount_11; }
- inline void set__frameCount_11(uint32_t value)
- {
- ____frameCount_11 = value;
- }
- inline static int32_t get_offset_of__frameOffset_12() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameOffset_12)); }
- inline uint32_t get__frameOffset_12() const { return ____frameOffset_12; }
- inline uint32_t* get_address_of__frameOffset_12() { return &____frameOffset_12; }
- inline void set__frameOffset_12(uint32_t value)
- {
- ____frameOffset_12 = value;
- }
- inline static int32_t get_offset_of__frameIndex_13() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIndex_13)); }
- inline int32_t get__frameIndex_13() const { return ____frameIndex_13; }
- inline int32_t* get_address_of__frameIndex_13() { return &____frameIndex_13; }
- inline void set__frameIndex_13(int32_t value)
- {
- ____frameIndex_13 = value;
- }
- inline static int32_t get_offset_of__frameRateR_14() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameRateR_14)); }
- inline float get__frameRateR_14() const { return ____frameRateR_14; }
- inline float* get_address_of__frameRateR_14() { return &____frameRateR_14; }
- inline void set__frameRateR_14(float value)
- {
- ____frameRateR_14 = value;
- }
- inline static int32_t get_offset_of__position_15() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____position_15)); }
- inline float get__position_15() const { return ____position_15; }
- inline float* get_address_of__position_15() { return &____position_15; }
- inline void set__position_15(float value)
- {
- ____position_15 = value;
- }
- inline static int32_t get_offset_of__duration_16() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____duration_16)); }
- inline float get__duration_16() const { return ____duration_16; }
- inline float* get_address_of__duration_16() { return &____duration_16; }
- inline void set__duration_16(float value)
- {
- ____duration_16 = value;
- }
- inline static int32_t get_offset_of__timeScale_17() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timeScale_17)); }
- inline float get__timeScale_17() const { return ____timeScale_17; }
- inline float* get_address_of__timeScale_17() { return &____timeScale_17; }
- inline void set__timeScale_17(float value)
- {
- ____timeScale_17 = value;
- }
- inline static int32_t get_offset_of__timeOffset_18() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timeOffset_18)); }
- inline float get__timeOffset_18() const { return ____timeOffset_18; }
- inline float* get_address_of__timeOffset_18() { return &____timeOffset_18; }
- inline void set__timeOffset_18(float value)
- {
- ____timeOffset_18 = value;
- }
- inline static int32_t get_offset_of__dragonBonesData_19() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____dragonBonesData_19)); }
- inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * get__dragonBonesData_19() const { return ____dragonBonesData_19; }
- inline DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 ** get_address_of__dragonBonesData_19() { return &____dragonBonesData_19; }
- inline void set__dragonBonesData_19(DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * value)
- {
- ____dragonBonesData_19 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____dragonBonesData_19), (void*)value);
- }
- inline static int32_t get_offset_of__animationData_20() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____animationData_20)); }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * get__animationData_20() const { return ____animationData_20; }
- inline AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 ** get_address_of__animationData_20() { return &____animationData_20; }
- inline void set__animationData_20(AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * value)
- {
- ____animationData_20 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____animationData_20), (void*)value);
- }
- inline static int32_t get_offset_of__timelineData_21() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timelineData_21)); }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * get__timelineData_21() const { return ____timelineData_21; }
- inline TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D ** get_address_of__timelineData_21() { return &____timelineData_21; }
- inline void set__timelineData_21(TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * value)
- {
- ____timelineData_21 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____timelineData_21), (void*)value);
- }
- inline static int32_t get_offset_of__armature_22() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____armature_22)); }
- inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * get__armature_22() const { return ____armature_22; }
- inline Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD ** get_address_of__armature_22() { return &____armature_22; }
- inline void set__armature_22(Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * value)
- {
- ____armature_22 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____armature_22), (void*)value);
- }
- inline static int32_t get_offset_of__animationState_23() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____animationState_23)); }
- inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * get__animationState_23() const { return ____animationState_23; }
- inline AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E ** get_address_of__animationState_23() { return &____animationState_23; }
- inline void set__animationState_23(AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * value)
- {
- ____animationState_23 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____animationState_23), (void*)value);
- }
- inline static int32_t get_offset_of__actionTimeline_24() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____actionTimeline_24)); }
- inline TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * get__actionTimeline_24() const { return ____actionTimeline_24; }
- inline TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 ** get_address_of__actionTimeline_24() { return &____actionTimeline_24; }
- inline void set__actionTimeline_24(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * value)
- {
- ____actionTimeline_24 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____actionTimeline_24), (void*)value);
- }
- inline static int32_t get_offset_of__frameArray_25() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameArray_25)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get__frameArray_25() const { return ____frameArray_25; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of__frameArray_25() { return &____frameArray_25; }
- inline void set__frameArray_25(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ____frameArray_25 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____frameArray_25), (void*)value);
- }
- inline static int32_t get_offset_of__frameIntArray_26() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIntArray_26)); }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* get__frameIntArray_26() const { return ____frameIntArray_26; }
- inline Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD** get_address_of__frameIntArray_26() { return &____frameIntArray_26; }
- inline void set__frameIntArray_26(Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* value)
- {
- ____frameIntArray_26 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____frameIntArray_26), (void*)value);
- }
- inline static int32_t get_offset_of__frameFloatArray_27() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameFloatArray_27)); }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* get__frameFloatArray_27() const { return ____frameFloatArray_27; }
- inline SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA** get_address_of__frameFloatArray_27() { return &____frameFloatArray_27; }
- inline void set__frameFloatArray_27(SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* value)
- {
- ____frameFloatArray_27 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____frameFloatArray_27), (void*)value);
- }
- inline static int32_t get_offset_of__timelineArray_28() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____timelineArray_28)); }
- inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* get__timelineArray_28() const { return ____timelineArray_28; }
- inline UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67** get_address_of__timelineArray_28() { return &____timelineArray_28; }
- inline void set__timelineArray_28(UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* value)
- {
- ____timelineArray_28 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____timelineArray_28), (void*)value);
- }
- inline static int32_t get_offset_of__frameIndices_29() { return static_cast<int32_t>(offsetof(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696, ____frameIndices_29)); }
- inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * get__frameIndices_29() const { return ____frameIndices_29; }
- inline List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 ** get_address_of__frameIndices_29() { return &____frameIndices_29; }
- inline void set__frameIndices_29(List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * value)
- {
- ____frameIndices_29 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____frameIndices_29), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol
- struct TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 : public TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mTlsClient
- RuntimeObject* ___mTlsClient_49;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mTlsClientContext
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * ___mTlsClientContext_50;
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mSelectedSessionID
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mSelectedSessionID_51;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mKeyExchange
- RuntimeObject* ___mKeyExchange_52;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAuthentication BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mAuthentication
- RuntimeObject* ___mAuthentication_53;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mCertificateStatus
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * ___mCertificateStatus_54;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::mCertificateRequest
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___mCertificateRequest_55;
- public:
- inline static int32_t get_offset_of_mTlsClient_49() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mTlsClient_49)); }
- inline RuntimeObject* get_mTlsClient_49() const { return ___mTlsClient_49; }
- inline RuntimeObject** get_address_of_mTlsClient_49() { return &___mTlsClient_49; }
- inline void set_mTlsClient_49(RuntimeObject* value)
- {
- ___mTlsClient_49 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsClient_49), (void*)value);
- }
- inline static int32_t get_offset_of_mTlsClientContext_50() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mTlsClientContext_50)); }
- inline TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * get_mTlsClientContext_50() const { return ___mTlsClientContext_50; }
- inline TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF ** get_address_of_mTlsClientContext_50() { return &___mTlsClientContext_50; }
- inline void set_mTlsClientContext_50(TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * value)
- {
- ___mTlsClientContext_50 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsClientContext_50), (void*)value);
- }
- inline static int32_t get_offset_of_mSelectedSessionID_51() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mSelectedSessionID_51)); }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_mSelectedSessionID_51() const { return ___mSelectedSessionID_51; }
- inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_mSelectedSessionID_51() { return &___mSelectedSessionID_51; }
- inline void set_mSelectedSessionID_51(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
- {
- ___mSelectedSessionID_51 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mSelectedSessionID_51), (void*)value);
- }
- inline static int32_t get_offset_of_mKeyExchange_52() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mKeyExchange_52)); }
- inline RuntimeObject* get_mKeyExchange_52() const { return ___mKeyExchange_52; }
- inline RuntimeObject** get_address_of_mKeyExchange_52() { return &___mKeyExchange_52; }
- inline void set_mKeyExchange_52(RuntimeObject* value)
- {
- ___mKeyExchange_52 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mKeyExchange_52), (void*)value);
- }
- inline static int32_t get_offset_of_mAuthentication_53() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mAuthentication_53)); }
- inline RuntimeObject* get_mAuthentication_53() const { return ___mAuthentication_53; }
- inline RuntimeObject** get_address_of_mAuthentication_53() { return &___mAuthentication_53; }
- inline void set_mAuthentication_53(RuntimeObject* value)
- {
- ___mAuthentication_53 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mAuthentication_53), (void*)value);
- }
- inline static int32_t get_offset_of_mCertificateStatus_54() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mCertificateStatus_54)); }
- inline CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * get_mCertificateStatus_54() const { return ___mCertificateStatus_54; }
- inline CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 ** get_address_of_mCertificateStatus_54() { return &___mCertificateStatus_54; }
- inline void set_mCertificateStatus_54(CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * value)
- {
- ___mCertificateStatus_54 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateStatus_54), (void*)value);
- }
- inline static int32_t get_offset_of_mCertificateRequest_55() { return static_cast<int32_t>(offsetof(TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967, ___mCertificateRequest_55)); }
- inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * get_mCertificateRequest_55() const { return ___mCertificateRequest_55; }
- inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 ** get_address_of_mCertificateRequest_55() { return &___mCertificateRequest_55; }
- inline void set_mCertificateRequest_55(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * value)
- {
- ___mCertificateRequest_55 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateRequest_55), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol
- struct TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 : public TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69
- {
- public:
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mTlsServer
- RuntimeObject* ___mTlsServer_49;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mTlsServerContext
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * ___mTlsServerContext_50;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mKeyExchange
- RuntimeObject* ___mKeyExchange_51;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mServerCredentials
- RuntimeObject* ___mServerCredentials_52;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mCertificateRequest
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___mCertificateRequest_53;
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mClientCertificateType
- int16_t ___mClientCertificateType_54;
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::mPrepareFinishHash
- RuntimeObject* ___mPrepareFinishHash_55;
- public:
- inline static int32_t get_offset_of_mTlsServer_49() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mTlsServer_49)); }
- inline RuntimeObject* get_mTlsServer_49() const { return ___mTlsServer_49; }
- inline RuntimeObject** get_address_of_mTlsServer_49() { return &___mTlsServer_49; }
- inline void set_mTlsServer_49(RuntimeObject* value)
- {
- ___mTlsServer_49 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsServer_49), (void*)value);
- }
- inline static int32_t get_offset_of_mTlsServerContext_50() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mTlsServerContext_50)); }
- inline TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * get_mTlsServerContext_50() const { return ___mTlsServerContext_50; }
- inline TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 ** get_address_of_mTlsServerContext_50() { return &___mTlsServerContext_50; }
- inline void set_mTlsServerContext_50(TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * value)
- {
- ___mTlsServerContext_50 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mTlsServerContext_50), (void*)value);
- }
- inline static int32_t get_offset_of_mKeyExchange_51() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mKeyExchange_51)); }
- inline RuntimeObject* get_mKeyExchange_51() const { return ___mKeyExchange_51; }
- inline RuntimeObject** get_address_of_mKeyExchange_51() { return &___mKeyExchange_51; }
- inline void set_mKeyExchange_51(RuntimeObject* value)
- {
- ___mKeyExchange_51 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mKeyExchange_51), (void*)value);
- }
- inline static int32_t get_offset_of_mServerCredentials_52() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mServerCredentials_52)); }
- inline RuntimeObject* get_mServerCredentials_52() const { return ___mServerCredentials_52; }
- inline RuntimeObject** get_address_of_mServerCredentials_52() { return &___mServerCredentials_52; }
- inline void set_mServerCredentials_52(RuntimeObject* value)
- {
- ___mServerCredentials_52 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mServerCredentials_52), (void*)value);
- }
- inline static int32_t get_offset_of_mCertificateRequest_53() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mCertificateRequest_53)); }
- inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * get_mCertificateRequest_53() const { return ___mCertificateRequest_53; }
- inline CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 ** get_address_of_mCertificateRequest_53() { return &___mCertificateRequest_53; }
- inline void set_mCertificateRequest_53(CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * value)
- {
- ___mCertificateRequest_53 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mCertificateRequest_53), (void*)value);
- }
- inline static int32_t get_offset_of_mClientCertificateType_54() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mClientCertificateType_54)); }
- inline int16_t get_mClientCertificateType_54() const { return ___mClientCertificateType_54; }
- inline int16_t* get_address_of_mClientCertificateType_54() { return &___mClientCertificateType_54; }
- inline void set_mClientCertificateType_54(int16_t value)
- {
- ___mClientCertificateType_54 = value;
- }
- inline static int32_t get_offset_of_mPrepareFinishHash_55() { return static_cast<int32_t>(offsetof(TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733, ___mPrepareFinishHash_55)); }
- inline RuntimeObject* get_mPrepareFinishHash_55() const { return ___mPrepareFinishHash_55; }
- inline RuntimeObject** get_address_of_mPrepareFinishHash_55() { return &___mPrepareFinishHash_55; }
- inline void set_mPrepareFinishHash_55(RuntimeObject* value)
- {
- ___mPrepareFinishHash_55 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___mPrepareFinishHash_55), (void*)value);
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream
- struct DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 : public ZOutputStream_tC18E76CC9549F21AC543491E55ACCD9A7C76D5D5
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage
- struct HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F : public MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C
- {
- public:
- public:
- };
- // DragonBones.ActionTimelineState
- struct ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B : public TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696
- {
- public:
- public:
- };
- // System.ArgumentException
- struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
- {
- public:
- // System.String System.ArgumentException::m_paramName
- String_t* ___m_paramName_17;
- public:
- inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00, ___m_paramName_17)); }
- inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
- inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
- inline void set_m_paramName_17(String_t* value)
- {
- ___m_paramName_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
- }
- };
- // UnityEngine.Behaviour
- struct Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9 : public Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684
- {
- public:
- public:
- };
- // System.IO.IOException
- struct IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
- {
- public:
- // System.String System.IO.IOException::_maybeFullPath
- String_t* ____maybeFullPath_17;
- public:
- inline static int32_t get_offset_of__maybeFullPath_17() { return static_cast<int32_t>(offsetof(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA, ____maybeFullPath_17)); }
- inline String_t* get__maybeFullPath_17() const { return ____maybeFullPath_17; }
- inline String_t** get_address_of__maybeFullPath_17() { return &____maybeFullPath_17; }
- inline void set__maybeFullPath_17(String_t* value)
- {
- ____maybeFullPath_17 = value;
- Il2CppCodeGenWriteBarrier((void**)(&____maybeFullPath_17), (void*)value);
- }
- };
- // System.InvalidCastException
- struct InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.InvalidCipherTextException
- struct InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D : public CryptoException_t4585FEA3F67B6ED045D6C9401A9C96B1234E3F27
- {
- public:
- public:
- };
- // System.InvalidOperationException
- struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler
- struct TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA : public TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967
- {
- public:
- public:
- };
- // UnityEngine.Transform
- struct Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 : public Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684
- {
- public:
- public:
- };
- // System.ArgumentNullException
- struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB : public ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00
- {
- public:
- public:
- };
- // System.IO.EndOfStreamException
- struct EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 : public IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA
- {
- public:
- public:
- };
- // UnityEngine.MonoBehaviour
- struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A : public Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9
- {
- public:
- public:
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException
- struct TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 : public IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA
- {
- public:
- public:
- };
- // UnityStandardAssets.Utility.TimedObjectDestructor
- struct TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 : public MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A
- {
- public:
- // System.Single UnityStandardAssets.Utility.TimedObjectDestructor::m_TimeOut
- float ___m_TimeOut_4;
- // System.Boolean UnityStandardAssets.Utility.TimedObjectDestructor::m_DetachChildren
- bool ___m_DetachChildren_5;
- public:
- inline static int32_t get_offset_of_m_TimeOut_4() { return static_cast<int32_t>(offsetof(TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993, ___m_TimeOut_4)); }
- inline float get_m_TimeOut_4() const { return ___m_TimeOut_4; }
- inline float* get_address_of_m_TimeOut_4() { return &___m_TimeOut_4; }
- inline void set_m_TimeOut_4(float value)
- {
- ___m_TimeOut_4 = value;
- }
- inline static int32_t get_offset_of_m_DetachChildren_5() { return static_cast<int32_t>(offsetof(TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993, ___m_DetachChildren_5)); }
- inline bool get_m_DetachChildren_5() const { return ___m_DetachChildren_5; }
- inline bool* get_address_of_m_DetachChildren_5() { return &___m_DetachChildren_5; }
- inline void set_m_DetachChildren_5(bool value)
- {
- ___m_DetachChildren_5 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert
- struct TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 : public TlsException_t1732743E62B1390C3072EA484D216C08D2C75983
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::alertDescription
- uint8_t ___alertDescription_18;
- public:
- inline static int32_t get_offset_of_alertDescription_18() { return static_cast<int32_t>(offsetof(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946, ___alertDescription_18)); }
- inline uint8_t get_alertDescription_18() const { return ___alertDescription_18; }
- inline uint8_t* get_address_of_alertDescription_18() { return &___alertDescription_18; }
- inline void set_alertDescription_18(uint8_t value)
- {
- ___alertDescription_18 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived
- struct TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D : public TlsException_t1732743E62B1390C3072EA484D216C08D2C75983
- {
- public:
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::alertDescription
- uint8_t ___alertDescription_18;
- public:
- inline static int32_t get_offset_of_alertDescription_18() { return static_cast<int32_t>(offsetof(TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D, ___alertDescription_18)); }
- inline uint8_t get_alertDescription_18() const { return ___alertDescription_18; }
- inline uint8_t* get_address_of_alertDescription_18() { return &___alertDescription_18; }
- inline void set_alertDescription_18(uint8_t value)
- {
- ___alertDescription_18 = value;
- }
- };
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException
- struct TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A : public EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // System.Int16[]
- struct Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) int16_t m_Items[1];
- public:
- inline int16_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline int16_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, int16_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline int16_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline int16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, int16_t value)
- {
- m_Items[index] = value;
- }
- };
- // System.Single[]
- struct SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) float m_Items[1];
- public:
- inline float GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline float* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, float value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline float GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
- {
- m_Items[index] = value;
- }
- };
- // System.UInt16[]
- struct UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67 : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) uint16_t m_Items[1];
- public:
- inline uint16_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline uint16_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, uint16_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline uint16_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline uint16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, uint16_t value)
- {
- m_Items[index] = value;
- }
- };
- // System.Byte[]
- struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) uint8_t m_Items[1];
- public:
- inline uint8_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, uint8_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
- {
- m_Items[index] = value;
- }
- };
- // System.Int32[]
- struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32 : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) int32_t m_Items[1];
- public:
- inline int32_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline int32_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, int32_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
- {
- m_Items[index] = value;
- }
- };
- // System.String[]
- struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) String_t* m_Items[1];
- public:
- inline String_t* GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline String_t** GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, String_t* value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
- }
- inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
- {
- m_Items[index] = value;
- Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
- }
- };
- // System.UInt32[]
- struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF : public RuntimeArray
- {
- public:
- ALIGN_FIELD (8) uint32_t m_Items[1];
- public:
- inline uint32_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline uint32_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, uint32_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
- {
- m_Items[index] = value;
- }
- };
- // !0 System.Collections.Generic.List`1<System.UInt32>::get_Item(System.Int32)
- 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);
- // System.Void System.Array::Resize<System.Byte>(!!0[]&,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_gshared (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** ___array0, int32_t ___newSize1, const RuntimeMethod* method);
- // System.Void UnityEngine.MonoBehaviour::Invoke(System.String,System.Single)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_Invoke_m4AAB759653B1C6FB0653527F4DDC72D1E9162CC4 (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, String_t* ___methodName0, float ___time1, const RuntimeMethod* method);
- // UnityEngine.Transform UnityEngine.Component::get_transform()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * Component_get_transform_mE8496EBC45BEB1BADB5F314960F1DF1C952FA11F (Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 * __this, const RuntimeMethod* method);
- // System.Void UnityEngine.Transform::DetachChildren()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_DetachChildren_m0800099F604AB1B59A72AC83E175B964B1EDFEF2 (Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * __this, const RuntimeMethod* method);
- // UnityEngine.GameObject UnityEngine.Component::get_gameObject()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 * Component_get_gameObject_m55DC35B149AFB9157582755383BA954655FE0C5B (Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 * __this, const RuntimeMethod* method);
- // System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_m3EEDB6ECD49A541EC826EA8E1C8B599F7AF67D30 (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___obj0, const RuntimeMethod* method);
- // System.Void UnityEngine.MonoBehaviour::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, const RuntimeMethod* method);
- // System.Void DragonBones.BaseObject::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F (BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424 * __this, const RuntimeMethod* method);
- // DragonBones.ArmatureData DragonBones.Armature::get_armatureData()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline (Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * __this, const RuntimeMethod* method);
- // System.Boolean DragonBones.TimelineState::_SetCurrentTime(System.Single)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method);
- // !0 System.Collections.Generic.List`1<System.UInt32>::get_Item(System.Int32)
- inline uint32_t List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_inline (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * __this, int32_t ___index0, const RuntimeMethod* method)
- {
- return (( uint32_t (*) (List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 *, int32_t, const RuntimeMethod*))List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_gshared_inline)(__this, ___index0, method);
- }
- // System.DateTime System.DateTime::get_UtcNow()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 DateTime_get_UtcNow_m761E57F86226DDD94F0A2F4D98F0A8E27C74F090 (const RuntimeMethod* method);
- // System.Int64 System.DateTime::get_Ticks()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_m175EDB41A50DB06872CC48CAB603FEBD1DFF46A9 (DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 * __this, const RuntimeMethod* method);
- // System.Void System.Object::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsTlsV12(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885 (RuntimeObject* ___context0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateKeyBlock(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F (RuntimeObject* ___context0, int32_t ___size1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::.ctor(System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::CopyOfRange(System.Byte[],System.Int32,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_CopyOfRange_m4DB795FE5A54E33AF1B2C338A8DB20C3EA14CDE4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, int32_t ___from1, int32_t ___to2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[])
- 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);
- // System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint64(System.Int64,System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181 (int64_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.AeadParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter,System.Int32,System.Byte[],System.Byte[])
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte,System.Exception)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, Exception_t * ___alertCause1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8(System.Byte,System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186 (uint8_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion,System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16(System.Int32,System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16_mC62EE72A6598A7A7761399F9597312CC5E100CF0 (int32_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsTlsV11(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B (RuntimeObject* ___context0, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1 (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * __this, RuntimeObject* ___parameters0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___iv1, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_IsDtls()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_IsSsl()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
- // System.Void System.Array::Resize<System.Byte>(!!0[]&,System.Int32)
- inline void Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** ___array0, int32_t ___newSize1, const RuntimeMethod* method)
- {
- (( void (*) (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726**, int32_t, const RuntimeMethod*))Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_gshared)(___array0, ___newSize1, method);
- }
- // System.Int32 System.Math::Max(System.Int32,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Max_mD8AA27386BF012C65303FCDEA041B0CC65056E7B (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::ConstantTimeAreEqual(System.Byte[],System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___b1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithIV::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsSsl(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958 (RuntimeObject* ___context0, const RuntimeMethod* method);
- // System.Int32 System.Math::Min(System.Int32,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574 (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A (AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method);
- // System.Void System.ArgumentNullException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97 (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * __this, String_t* ___paramName0, const RuntimeMethod* method);
- // System.Void System.InvalidOperationException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * __this, String_t* ___message0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19 (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRandomBlock(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63 (bool ___useGmtUnixTime0, RuntimeObject* ___randomGenerator1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, RuntimeObject* ___context0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_IsExtendedMasterSecret()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::AssertEmpty(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * CertificateStatus_Parse_m2E7ED817E49DDC573BD274BB7DCF042C6CE5294A (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::NotifyHelloComplete()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_MasterSecret()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Clone(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetPendingConnectionState(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCompression,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCipher)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, RuntimeObject* ___tlsCompression0, RuntimeObject* ___tlsCipher1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSessionImpl::.ctor(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sessionID0, SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * ___sessionParameters1, const RuntimeMethod* method);
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadSupplementalDataMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_HandshakeHash()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::EstablishMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7 (RuntimeObject* ___context0, RuntimeObject* ___keyExchange1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::PrepareToFinish()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA (RuntimeObject* ___context0, RuntimeObject* ___handshakeHash1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sslSender2, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9 (RuntimeObject* ___context0, RuntimeObject* ___signerCredentials1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45 (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___signature1, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * CertificateRequest_Parse_mABE3254963813337F0FB55BB7B2A630BF829A9B8 (RuntimeObject* ___context0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::TrackHashAlgorithms(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash,System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B (RuntimeObject* ___handshakeHash0, RuntimeObject* ___supportedSignatureAlgorithms1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * NewSessionTicket_Parse_m985C0731F622795A38B7F7938D7949EADA0E5091 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadVersion(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_ReadVersion()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::Equals(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_Equals_m55E637B40AF820E0B35ABA84E0B40FDA2FE6D211 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___other0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::IsEqualOrEarlierVersionOf(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetWriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___writeVersion0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadFully(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D (int32_t ___length0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque8(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::AreEqual(System.Byte[],System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_AreEqual_mA5503C81863BC5B4F26A66569A45A9B855ED2246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___b1, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Contains(System.Int32[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___a0, int32_t ___n1, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CipherSuite::IsScsv(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD (int32_t ___cipherSuite0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsValidCipherSuiteForVersion(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182 (int32_t ___cipherSuite0, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___serverVersion1, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Contains(System.Byte[],System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, uint8_t ___n1, const RuntimeMethod* method);
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadExtensions(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasExtendedMasterSecretExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetExtensionData(System.Collections.IDictionary,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0 (RuntimeObject* ___extensions0, int32_t ___extensionType1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRenegotiationInfo(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___renegotiated_connection0, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_CipherSuite()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::get_CompressionAlgorithm()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::ReadServerExtensions()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SessionParameters_ReadServerExtensions_m3268BAA375F8300339532D185707C59BCB4184B4 (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasEncryptThenMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::IsBlockCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_IsBlockCipherSuite_mA273B0389EC7649C39401F777D6C94AC077AC749 (int32_t ___ciphersuite0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasTruncatedHMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::HasExpectedEmptyExtensionData(System.Collections.IDictionary,System.Int32,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6 (RuntimeObject* ___extensions0, int32_t ___extensionType1, uint8_t ___alertDescription2, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetPrfAlgorithm(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3 (RuntimeObject* ___context0, int32_t ___ciphersuite1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::.ctor(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, uint8_t ___handshakeType0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::WriteToRecordStream(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___protocol0, const RuntimeMethod* method);
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::EnsureExtensionsInitialised(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddExtendedMasterSecretExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___version0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::Write(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque8(System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Append(System.Int32[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___a0, int32_t ___b1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16ArrayWithUint16Length(System.Int32[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___uints0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8ArrayWithUint8Length(System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8ArrayWithUint8Length_m4BCED1420A9E340771B44AF47A7ACF67CE255EC5 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___uints0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteExtensions(System.IO.Stream,System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DefaultTlsDHVerifier::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * __this, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::.ctor(System.Int32,System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, RuntimeObject* ___context0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::get_SubjectPublicKeyInfo()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F (X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Security.PublicKeyFactory::CreateKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB (SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * ___keyInfo0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyParameters::get_Parameters()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline (DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ValidateKeyUsage(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D (X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * ___c0, int32_t ___keyUsageBits1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9 (AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method);
- // System.Void System.IO.MemoryStream::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B (RuntimeObject* ___dhVerifier0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameter(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___y0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters1, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CalculateDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___publicKey0, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___privateKey1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders.Hex::Decode(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Hex_Decode_m1D881955B974F7FB194876E59DD34149C594A6E1 (String_t* ___data0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::.ctor(System.Int32,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___sign0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bytes1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromHex(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273 (String_t* ___hex0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ShiftRight(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * BigInteger_ShiftRight_m24332C73CA4FF51A829E2F1AB89F0B3903CDF642 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___n0, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsClientExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsServerExtension(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6 (uint8_t ___dheGroup0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsClientExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsServerExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint8ArrayWithUint8Length(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___uints0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint8(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52 (uint8_t ___val0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::DecodeUint8ArrayWithUint8Length(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::DecodeUint8(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::IsDheCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF (int32_t ___cipherSuite0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_P()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_G()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::get_Q()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHBasicAgreement__ctor_mA814E02EE595AFDCC561228E8DC491927EBC5D00 (DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.BigIntegers::AsUnsignedByteArray(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHBasicKeyPairGenerator__ctor_m51E8D2D7BA1F2046725A3649DCF8F19D459C6DA0 (DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHKeyGenerationParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHKeyGenerationParameters__ctor_mDE87E2CDE46C6E3F9DA46810D957CF3FE8AD91AD (DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___parameters1, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::get_Public()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair::get_Private()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque16(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DHParameters__ctor_m2CC3B308F5ED878AE35596644480C5875A13ADEC (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___p0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___g1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameters(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque16(System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromSafeP(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50 (String_t* ___hexP0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, int32_t ___level0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40 (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::inflateInit()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ZStream_inflateInit_m9EC1B8A6E4C5DD3F1AB27A3334641E5368E53A4A (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream::deflateInit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ZStream_deflateInit_m77240EC6F6D04747F3306F9E4F267C9640F0D8A2 (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * __this, int32_t ___level0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression/DeflateOutputStream::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib.ZStream,System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48 (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * ___z1, bool ___compress2, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateHash(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80 (SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___signatureAndHashAlgorithm0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigestInputBuffer::UpdateDigest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084 (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * __this, RuntimeObject* ___d0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities::DoFinal(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC (RuntimeObject* ___digest0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9 (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.TeeInputStream::.ctor(System.IO.Stream,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___tee1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignerInputBuffer::UpdateSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7 (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * __this, RuntimeObject* ___s0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97 (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * __this, RuntimeObject* ___parameters0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random1, const RuntimeMethod* method);
- // System.Void System.InvalidOperationException::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96 (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateHash(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88 (uint8_t ___hashAlgorithm0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NullDigest::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaDigestSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DsaDigestSigner__ctor_m9AAE8A07722E67E499E98FB6B3AF3E53A4D9E05B (DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * __this, RuntimeObject* ___dsa0, RuntimeObject* ___digest1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121 (AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.HMacDsaKCalculator::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53 (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.DsaSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DsaSigner__ctor_m4F8CD1803721F9C537999E6603D32CAF3EF50149 (DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 * __this, RuntimeObject* ___kCalculator0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ValidateECPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___key0, const RuntimeMethod* method);
- // 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)
- 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);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameters(System.Int32[],System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input2, const RuntimeMethod* method);
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___curve_params1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyParameters::get_Parameters()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline (ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * __this, const RuntimeMethod* method);
- // 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)
- 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);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CalculateECDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___publicKey0, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privateKey1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.ECDsaSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.IDsaKCalculator)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDsaSigner__ctor_mBBB83A299E4CEC6C914599E18856086222C54D1C (ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 * __this, RuntimeObject* ___kCalculator0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedEllipticCurvesExtension(System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedPointFormatsExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, const RuntimeMethod* method);
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedEllipticCurvesExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedPointFormatsExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeUint16ArrayWithUint16Length(System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeUint16ArrayWithUint16Length_m6E193436638D2ECF09204654D561C3F75837997E (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___uints0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Append(System.Byte[],System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_Append_mF0524124CC987A6B227F90E067B2D49C7E9B3453 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___a0, uint8_t ___b1, const RuntimeMethod* method);
- // System.Void System.IO.MemoryStream::.ctor(System.Byte[],System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, bool ___writable1, const RuntimeMethod* method);
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16Array(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC (int32_t ___count0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsSupportedNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E (int32_t ___namedCurve0, const RuntimeMethod* method);
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetNameOfNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7 (int32_t ___namedCurve0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.EC.CustomNamedCurves::GetByName(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * CustomNamedCurves_GetByName_m3714C5F15D87C5C1EE6A4590996959CFC38392A9 (String_t* ___name0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.ECNamedCurveTable::GetByName(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * ECNamedCurveTable_GetByName_mA8DE78BC6D92A23D063E9E1590CB30E5ECC1ECEA (String_t* ___name0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_Curve()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_G()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * X9ECParameters_get_G_m3E5E2F14805084623F3ABD4B9A98CDB8A72D2C71 (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_N()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::get_H()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::GetSeed()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method);
- // 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[])
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsEccCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929 (int32_t ___cipherSuite0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.BigIntegers::AsUnsignedByteArray(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* BigIntegers_AsUnsignedByteArray_mBECE598E3ED13CE9ED432BF265638BEF19A5B755 (int32_t ___length0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___n1, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECAlgorithms::IsFpCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B (ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___c0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsCompressionPreferred(System.Byte[],System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, uint8_t ___compressionFormat1, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECAlgorithms::IsF2mCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161 (ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___c0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::get_Q()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_Curve()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECPublicKeyParameters__ctor_m48C5771CEB9C073FA70D828B80140DE028691A1A (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___q0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___parameters1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECDHBasicAgreement__ctor_m00A567A1CDA54D22181A8CF51412E87317BF38A8 (ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyPairGenerator__ctor_m3E5DF4978F1C839F707272852A3B483C4098B009 (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyGenerationParameters__ctor_mA5CB698D521FF64B07B9ECD7B887FF2A061649AC (ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 * __this, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___domainParameters0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.KeyGenerationParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ECKeyPairGenerator_Init_mF0A022CC0E7AB7ECBFD685EE8FD511A9F19E05DA (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, KeyGenerationParameters_t1B3393E8D9D0068ABF593DC15AA436FCA158BF39 * ___parameters0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.ECKeyPairGenerator::GenerateKeyPair()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * ECKeyPairGenerator_GenerateKeyPair_mA51CD7D68EEA360DA677613188956CD3388B2B67 (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * __this, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NamedCurve::IsValid(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NamedCurve_IsValid_m0203DA806E64A849497073EE536B9209FB7030C2 (int32_t ___namedCurve0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetParametersForNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC (int32_t ___namedCurve0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteExplicitECParameters(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParameters1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteNamedECParameters(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C (int32_t ___namedCurve0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameter(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::get_BitLength()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::get_IntValue()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_get_IntValue_m6386348CAE8E75A68124AD1F36F497FC551F8144 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECFieldElement(System.Int32,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9 (int32_t ___fieldSize0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CheckNamedCurve(System.Int32[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, int32_t ___namedCurve1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECFieldElement(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // 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)
- 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);
- // 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)
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ECBasisType::IsValid(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ECBasisType_IsValid_mC27A27CFF75A979A73D986CAA29F59855CE8FD8E (uint8_t ___ecBasisType0, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECExponent(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615 (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // 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)
- 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);
- // 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)
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NamedCurve::RefersToASpecificNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E (int32_t ___namedCurve0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::ValueOf(System.Int64)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * BigInteger_ValueOf_m26A9968814DAF2363D8B71164672E6257BC82001 (int64_t ___value0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint8(System.Byte,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825 (uint8_t ___i0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CheckUint16(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12 (int32_t ___i0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint16(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E (int32_t ___i0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECExponent(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36 (int32_t ___k0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void System.ArgumentException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B (ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_G()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_N()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters::get_H()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method);
- // System.Void System.IO.IOException::.ctor(System.String,System.Exception)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IOException__ctor_m6FEE731FB9201F8322FB67EFEE6F43D424DFE1E7 (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateHashtable()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06 (const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionClient(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionServer(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC (uint8_t ___certificateType0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEncryptThenMacExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73 (const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateExtendedMasterSecretExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011 (const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateHeartbeatExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884 (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateMaxFragmentLengthExtension(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD (uint8_t ___maxFragmentLength0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreatePaddingExtension(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732 (int32_t ___dataLength0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateServerNameExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246 (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateStatusRequestExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086 (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateTruncatedHMacExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34 (const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionClient(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionServer(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadHeartbeatExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadMaxFragmentLengthExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadPaddingExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadServerNameExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadStatusRequestExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEncryptThenMacExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadExtendedMasterSecretExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadTruncatedHMacExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEmptyExtensionData()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline (const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEmptyExtensionData(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * HeartbeatExtension_Parse_mEF43B54D435CB887090892A30DD3BC6371712CCE (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ServerNameList_Parse_m6438CE9C79DC77BAC6CE2B863828AE49ADB67F42 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::Parse(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * CertificateStatusRequest_Parse_mFE546FA55E39716667D76E62DFBC0EAFA02CBFA5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AlertDescription::GetText(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E (uint8_t ___alertDescription0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException::.ctor(System.String,System.Exception)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66 (TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 * __this, String_t* ___message0, Exception_t * ___cause1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.KeyParameter::GetKey()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* KeyParameter_GetKey_mCA2C132B43F669063C426602DD5A8A672531385A (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Ssl3Mac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Ssl3Mac__ctor_m0F273E8D113CF7441C28B0A02BB7F073DBE0AAD3 (Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.HMac::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HMac__ctor_m2F116E272494B59F6E93CF539BBAE3A571D0FBFE (HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * __this, RuntimeObject* ___digest0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Security.MacUtilities::DoFinal(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* MacUtilities_DoFinal_m07D2EDE7426AE8B7BB98545CFE3D0CB03393A7D4 (RuntimeObject* ___mac0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::CopyOf(System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Arrays_CopyOf_m2B8A6EDB7EB962FAA8DC4F8C0F8511C0102C4872 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, int32_t ___newLength1, const RuntimeMethod* method);
- // System.Void System.IO.EndOfStreamException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EndOfStreamException__ctor_m62AD97E22305B690B74C4EA6E3EAC36D10CE3800 (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * __this, String_t* ___message0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___capacity0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol,System.IO.Stream,System.IO.Stream)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::.ctor(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SafeClose()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.MaxFragmentLength::IsValid(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79 (uint8_t ___maxFragmentLength0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetPlaintextLimit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SetPlaintextLimit_m51621D157A53043CCE5BC4BA4BA190391F5F695A (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, int32_t ___plaintextLimit0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Arrays::Fill(System.Byte[],System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, uint8_t ___b1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::Shrink()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::FinaliseHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_FinaliseHandshake_mAA8B7BFF6E2C1A47D90E9006B5DA0ACFAE6CB720 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsStream::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsStream__ctor_m5066C48F907ED400732E57F19BBF695296AE1EEF (TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * __this, TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * ___handler0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Builder__ctor_mE988E0105711C1C96058476761349B2017052378 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetCipherSuite_mC1F1EE4077A53B058D4A2C73DE40AF3B475F5B69 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, int32_t ___cipherSuite0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetCompressionAlgorithm(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetCompressionAlgorithm_m45E921336E7C496AD188939DDB2D2AFBECADED87 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, uint8_t ___compressionAlgorithm0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetExtendedMasterSecret(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetExtendedMasterSecret_m76C730F21B480C125DDD9BE793F7CB7F4C51A1E9 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, bool ___extendedMasterSecret0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetMasterSecret(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetMasterSecret_m53CAAD98FA7CB308C43C591AFF63BB2E45995770 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___masterSecret0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetPeerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetPeerCertificate_mF41ED1BB97B965EEB5AD4D5F9E7492097BE9C20F (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___peerCertificate0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetPskIdentity(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetPskIdentity_m2DFDC64692A71857E58FD2F384023C4BCF209341 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pskIdentity0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetSrpIdentity(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetSrpIdentity_m78995F21BE245249A3916F395564D0C89814AF9F (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___srpIdentity0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::SetServerExtensions(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * Builder_SetServerExtensions_mB625AB7258E79FA07D8493F614D2D8845938A9F4 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, RuntimeObject* ___serverExtensions0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters/Builder::Build()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * Builder_Build_m25E6C6D3E14797CC0156E1C9FC2062BE805CB2D0 (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::AddData(System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessAlertQueue()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessApplicationDataQueue()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessChangeCipherSpec(System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::get_Available()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessHandshakeQueue(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___queue0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::.ctor(System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::Read(System.Byte[],System.Int32,System.Int32,System.Int32)
- 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);
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8(System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint24(System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint24_mE47D3CE63AF329C4F7204B2F1CE320BFC8159BA3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::get_HandshakeHashUpdater()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::CopyTo(System.IO.Stream,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_CopyTo_mD77BC0C4CEC7DC65E84CEF8FE8118341AC527B92 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, int32_t ___length1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ByteQueue_RemoveData_m266F5BDC7CFC94D26B9EF74E1D26C8C212262F00 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___i0, const RuntimeMethod* method);
- // System.IO.MemoryStream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::ReadFrom(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ByteQueue_ReadFrom_m18A085C108194E880824DBE87A746A6A221FE80E (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___length0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Int32,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ByteQueue_RemoveData_m3162B7DD9CE22199A6AFC6F3F8FE27F4606622A4 (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, int32_t ___len0, int32_t ___skip1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::ReceivedReadCipherSpec()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_ReceivedReadCipherSpec_m32F30B23085A98C4AF5E08370E73B25D88BEA901 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void System.IO.IOException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690 (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * __this, String_t* ___message0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue::RemoveData(System.Byte[],System.Int32,System.Int32,System.Int32)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::CheckRecordHeader(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_CheckRecordHeader_m29044432FF8CD46B58BFE538261A9372A9B1CCAE (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___recordHeader0, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::ReadRecord()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RecordStream_ReadRecord_mFACDFFD3F4C551076A0E33FA9F088F5D8E3FE914 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5 (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::WriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::GetPlaintextLimit()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.String System.Int32::ToString()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411 (int32_t* __this, const RuntimeMethod* method);
- // System.String System.String::Concat(System.String,System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
- // System.Void System.ArgumentException::.ctor(System.String,System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, String_t* ___paramName1, const RuntimeMethod* method);
- // System.Void System.IO.EndOfStreamException::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EndOfStreamException__ctor_m2D2184E744B5B0762EA690CFD757F64E0BC6D539 (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * __this, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint16(System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsUtilities_ReadUint16_m1E5799E6E15832FAB71BF8BE758A1679A7BACE97 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SessionParameters::Clear()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SessionParameters_Clear_m52D91A2DD15900F6C4754E12966AD000EC3A9232 (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SentWriteCipherSpec()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_SentWriteCipherSpec_mFD2E540F193E56A715D677C91BF149E829F0FC1A (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol/HandshakeMessage::.ctor(System.Byte,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852 (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * __this, uint8_t ___handshakeType0, int32_t ___length1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSupplementalData(System.IO.Stream,System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___supplementalData1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateVerifyData(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.String,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateVerifyData_m2DF91E1B5E4AB70894595689E772ACFC09D0DE73 (RuntimeObject* ___context0, String_t* ___asciiLabel1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___handshakeHash2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::Flush()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RecordStream_Flush_mA29E8F83F3B90192E971F3DC0CB33FDCABC9A542 (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method);
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetMaxFragmentLengthExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteGmtUnixTime(System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteGmtUnixTime_mFBD89415A70AA088F3A67E91356310E06277AA0D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, int32_t ___offset1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::EncodeOpaque8(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_EncodeOpaque8_mE549B2AED00C2DFF09A20DC7D56C7E0DB53B6066 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CalculateMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_CalculateMasterSecret_mB85088F4CCA5E986737042327EE67F4DC64931EE (RuntimeObject* ___context0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___pre_master_secret1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadOpaque24(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadOpaque24_mAD1098801E362CB40F509F6BDB4107DB9F8B3F2B (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method);
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform::CreateArrayList()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Platform_CreateArrayList_mDA08F8A3BC566FA8E0753B97D8B06F3EF26A4143 (const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::.ctor(System.Int32,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupplementalDataEntry__ctor_m5B61B00A2178D43BCF0783AB999DC08BFA76732F (SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * __this, int32_t ___dataType0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSelectedExtensions(System.IO.Stream,System.Collections.IDictionary,System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, bool ___selectEmpty2, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteOpaque24(System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteOpaque24_mCCD10ABBB7A9ADBA3F2F10F716B1EF7485E3AB75 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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);
- // 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[])
- 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);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter::get_IsPrivate()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline (AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * __this, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPublicKey1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Streams::ReadAll(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___inStr0, const RuntimeMethod* method);
- // System.Void System.IO.MemoryStream::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MemoryStream__ctor_mCB4274FF375AD786CCED424E80B047E0DEC50938 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * __this, int32_t ___capacity0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters::get_Exponent()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline (RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * __this, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger::IsProbablePrime(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * __this, int32_t ___certainty0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CombinedHash::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CombinedHash__ctor_mAF1B1EC0CA417999390BD6FC66BC734372E19D4D (CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 * __this, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetOidForHashAlgorithm(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * TlsUtilities_GetOidForHashAlgorithm_mAED1F6BCB8CBF66A70EC441040D91A6C02DC17E7 (uint8_t ___hashAlgorithm0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.RsaDigestSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RsaDigestSigner__ctor_mD472AA69794114573ABDDF074D02205F4E89A5B6 (RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC * __this, RuntimeObject* ___digest0, DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * ___digestOid1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.GenericSigner::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GenericSigner__ctor_mBA7C6A7161C93D290DF85B252DB80D515C4441E9 (GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E * __this, RuntimeObject* ___engine0, RuntimeObject* ___digest1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Engines.RsaBlindedEngine::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31 (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * __this, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7 (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, RuntimeObject* ___cipher0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::Init(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3 (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, bool ___forEncryption0, RuntimeObject* ___parameters1, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::ProcessBlock(System.Byte[],System.Int32,System.Int32)
- 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);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Encodings.Pkcs1Encoding::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Pkcs1Encoding__ctor_m7209D642D73AEEEA93FAD564BC62B57C58A3811F (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * __this, RuntimeObject* ___cipher0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___fallback1, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_MajorVersion()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ProtocolVersion_get_MajorVersion_mCDB5EA5B771D23FAD458103A4E528238B8A311C5 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion::get_MinorVersion()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ProtocolVersion_get_MinorVersion_m4650B25C1A6717658D8DDFACB6C25EFF2F8A43C5 (ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * __this, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::CreateUseSrtpExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSrtpData0, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::ReadUseSrtpExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::.ctor(System.Int32[],System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UseSrtpData__ctor_m315F9112A763358E4E5BACC1B3D0E0B23BDF7AEC (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * __this, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___protectionProfiles0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___mki1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9 (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::SetRestrictReadVersion(System.Boolean)
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, bool ___enabled0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method);
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::GetClientCertificateType(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsUtilities_GetClientCertificateType_mAE0F44C7FD3D721D4C0B7D82921FDD21AC2A4F29 (Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate1, const RuntimeMethod* method);
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * DigitallySigned_Parse_m258106102318F297392C5F9705890CCA96F399A2 (RuntimeObject* ___context0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::VerifySupportedSignatureAlgorithm(System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_VerifySupportedSignatureAlgorithm_mB7A7E8BDC377BAB0E781A0537344D18F56F2E59A (RuntimeObject* ___supportedSignatureAlgorithms0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___signatureAlgorithm1, const RuntimeMethod* method);
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::CreateTlsSigner(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsUtilities_CreateTlsSigner_m7414649CB3AF308E08E9D2C2CA4D6ECA734A479F (uint8_t ___clientCertificateType0, const RuntimeMethod* method);
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::ReadUint8Array(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsUtilities_ReadUint8Array_m24B3E47B01E3CC1A702DAD1088D1DBF3CD2459D7 (int32_t ___count0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method);
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetPaddingExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576 (RuntimeObject* ___extensions0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.RecordStream::set_ReadVersion(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ProtocolVersion)
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___value0, const RuntimeMethod* method);
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::WriteUint24(System.Int32,System.Byte[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsUtilities_WriteUint24_mCF0566BA8435AE3747917DE7F5A575C323C40ECF (int32_t ___i0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buf1, int32_t ___offset2, const RuntimeMethod* method);
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsUtilities::HasSigningCapability(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsUtilities_HasSigningCapability_mFFC9436C58DCC2B37C956BB17DB94F8BD8B6360D (uint8_t ___clientCertificateType0, const RuntimeMethod* method);
- // System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929 (const RuntimeMethod* method);
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::Awake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor_Awake_m2F595C9C46994AA3AA219F7C9583EF23F9F4539A (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC4DD6340633814C3151204675FB9D82D4702E319);
- s_Il2CppMethodInitialized = true;
- }
- {
- // Invoke("DestroyNow", m_TimeOut);
- float L_0 = __this->get_m_TimeOut_4();
- MonoBehaviour_Invoke_m4AAB759653B1C6FB0653527F4DDC72D1E9162CC4(__this, _stringLiteralC4DD6340633814C3151204675FB9D82D4702E319, L_0, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::DestroyNow()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor_DestroyNow_mDF4DEF5006FEE0D6A216A8AF1625B1005A842D4A (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (m_DetachChildren)
- bool L_0 = __this->get_m_DetachChildren_5();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // transform.DetachChildren();
- Transform_tA8193BB29D4D2C7EC04918F3ED1816345186C3F1 * L_1;
- L_1 = Component_get_transform_mE8496EBC45BEB1BADB5F314960F1DF1C952FA11F(__this, /*hidden argument*/NULL);
- NullCheck(L_1);
- Transform_DetachChildren_m0800099F604AB1B59A72AC83E175B964B1EDFEF2(L_1, /*hidden argument*/NULL);
- }
- IL_0013:
- {
- // Destroy(gameObject);
- GameObject_tC000A2E1A7CF1E10FD7BA08863287C072207C319 * L_2;
- L_2 = Component_get_gameObject_m55DC35B149AFB9157582755383BA954655FE0C5B(__this, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_il2cpp_TypeInfo_var);
- Object_Destroy_m3EEDB6ECD49A541EC826EA8E1C8B599F7AF67D30(L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void UnityStandardAssets.Utility.TimedObjectDestructor::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimedObjectDestructor__ctor_m3B0E2CAF3EF3FC9E18F9DE8644F5A6375034DC25 (TimedObjectDestructor_tD320075B0E3B416B119C1A8BFCBE75769C627993 * __this, const RuntimeMethod* method)
- {
- {
- // [SerializeField] private float m_TimeOut = 1.0f;
- __this->set_m_TimeOut_4((1.0f));
- MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void DragonBones.TimelineData::_OnClear()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineData__OnClear_mE22962EC3C4E6CF029C25093AF43F82B77C99B52 (TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * __this, const RuntimeMethod* method)
- {
- {
- // this.type = TimelineType.BoneAll;
- __this->set_type_5(((int32_t)10));
- // this.offset = 0;
- __this->set_offset_6(0);
- // this.frameIndicesOffset = -1;
- __this->set_frameIndicesOffset_7((-1));
- // }
- return;
- }
- }
- // System.Void DragonBones.TimelineData::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineData__ctor_m8FF5D3466EC0A614BEA0C7F7C5332A3DCF6224B7 (TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- IL2CPP_RUNTIME_CLASS_INIT(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
- BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void DragonBones.TimelineState::_OnClear()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState__OnClear_m80BC45A0B0C80E4CC0EE2B589EFFF8D5C30D06EE (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
- {
- {
- // this.playState = -1;
- __this->set_playState_5((-1));
- // this.currentPlayTimes = -1;
- __this->set_currentPlayTimes_6((-1));
- // this.currentTime = -1.0f;
- __this->set_currentTime_7((-1.0f));
- // this._tweenState = TweenState.None;
- __this->set__tweenState_8(0);
- // this._frameRate = 0;
- __this->set__frameRate_9(0);
- // this._frameValueOffset = 0;
- __this->set__frameValueOffset_10(0);
- // this._frameCount = 0;
- __this->set__frameCount_11(0);
- // this._frameOffset = 0;
- __this->set__frameOffset_12(0);
- // this._frameIndex = -1;
- __this->set__frameIndex_13((-1));
- // this._frameRateR = 0.0f;
- __this->set__frameRateR_14((0.0f));
- // this._position = 0.0f;
- __this->set__position_15((0.0f));
- // this._duration = 0.0f;
- __this->set__duration_16((0.0f));
- // this._timeScale = 1.0f;
- __this->set__timeScale_17((1.0f));
- // this._timeOffset = 0.0f;
- __this->set__timeOffset_18((0.0f));
- // this._dragonBonesData = null;
- __this->set__dragonBonesData_19((DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 *)NULL);
- // this._animationData = null;
- __this->set__animationData_20((AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 *)NULL);
- // this._timelineData = null;
- __this->set__timelineData_21((TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D *)NULL);
- // this._armature = null;
- __this->set__armature_22((Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD *)NULL);
- // this._animationState = null;
- __this->set__animationState_23((AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E *)NULL);
- // this._actionTimeline = null;
- __this->set__actionTimeline_24((TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)NULL);
- // this._frameArray = null;
- __this->set__frameArray_25((Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)NULL);
- // this._frameIntArray = null;
- __this->set__frameIntArray_26((Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD*)NULL);
- // this._frameFloatArray = null;
- __this->set__frameFloatArray_27((SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA*)NULL);
- // this._timelineArray = null;
- __this->set__timelineArray_28((UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67*)NULL);
- // this._frameIndices = null;
- __this->set__frameIndices_29((List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 *)NULL);
- // }
- return;
- }
- }
- // System.Boolean DragonBones.TimelineState::_SetCurrentTime(System.Single)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- float V_2 = 0.0f;
- int32_t V_3 = 0;
- float V_4 = 0.0f;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B4_0 = NULL;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B3_0 = NULL;
- int32_t G_B5_0 = 0;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B5_1 = NULL;
- {
- // var prevState = this.playState;
- int32_t L_0 = __this->get_playState_5();
- V_0 = L_0;
- // var prevPlayTimes = this.currentPlayTimes;
- int32_t L_1 = __this->get_currentPlayTimes_6();
- V_1 = L_1;
- // var prevTime = this.currentTime;
- float L_2 = __this->get_currentTime_7();
- V_2 = L_2;
- // if (this._actionTimeline != null && this._frameCount <= 1)
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_3 = __this->get__actionTimeline_24();
- if (!L_3)
- {
- goto IL_005b;
- }
- }
- {
- uint32_t L_4 = __this->get__frameCount_11();
- if ((!(((uint32_t)L_4) <= ((uint32_t)1))))
- {
- goto IL_005b;
- }
- }
- {
- // this.playState = this._actionTimeline.playState >= 0 ? 1 : -1;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_5 = __this->get__actionTimeline_24();
- NullCheck(L_5);
- int32_t L_6 = L_5->get_playState_5();
- G_B3_0 = __this;
- if ((((int32_t)L_6) >= ((int32_t)0)))
- {
- G_B4_0 = __this;
- goto IL_0038;
- }
- }
- {
- G_B5_0 = (-1);
- G_B5_1 = G_B3_0;
- goto IL_0039;
- }
- IL_0038:
- {
- G_B5_0 = 1;
- G_B5_1 = G_B4_0;
- }
- IL_0039:
- {
- NullCheck(G_B5_1);
- G_B5_1->set_playState_5(G_B5_0);
- // this.currentPlayTimes = 1;
- __this->set_currentPlayTimes_6(1);
- // this.currentTime = this._actionTimeline.currentTime;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_7 = __this->get__actionTimeline_24();
- NullCheck(L_7);
- float L_8 = L_7->get_currentTime_7();
- __this->set_currentTime_7(L_8);
- // }
- goto IL_01d8;
- }
- IL_005b:
- {
- // else if (this._actionTimeline == null || this._timeScale != 1.0f || this._timeOffset != 0.0f)
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_9 = __this->get__actionTimeline_24();
- if (!L_9)
- {
- goto IL_0080;
- }
- }
- {
- float L_10 = __this->get__timeScale_17();
- if ((!(((float)L_10) == ((float)(1.0f)))))
- {
- goto IL_0080;
- }
- }
- {
- float L_11 = __this->get__timeOffset_18();
- if ((((float)L_11) == ((float)(0.0f))))
- {
- goto IL_01a5;
- }
- }
- IL_0080:
- {
- // var playTimes = this._animationState.playTimes;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_12 = __this->get__animationState_23();
- NullCheck(L_12);
- int32_t L_13 = L_12->get_playTimes_9();
- V_3 = L_13;
- // var totalTime = playTimes * this._duration;
- int32_t L_14 = V_3;
- float L_15 = __this->get__duration_16();
- V_4 = ((float)il2cpp_codegen_multiply((float)((float)((float)L_14)), (float)L_15));
- // passedTime *= this._timeScale;
- float L_16 = ___passedTime0;
- float L_17 = __this->get__timeScale_17();
- ___passedTime0 = ((float)il2cpp_codegen_multiply((float)L_16, (float)L_17));
- // if (this._timeOffset != 0.0f)
- float L_18 = __this->get__timeOffset_18();
- if ((((float)L_18) == ((float)(0.0f))))
- {
- goto IL_00c4;
- }
- }
- {
- // passedTime += this._timeOffset * this._animationData.duration;
- float L_19 = ___passedTime0;
- float L_20 = __this->get__timeOffset_18();
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_21 = __this->get__animationData_20();
- NullCheck(L_21);
- float L_22 = L_21->get_duration_10();
- ___passedTime0 = ((float)il2cpp_codegen_add((float)L_19, (float)((float)il2cpp_codegen_multiply((float)L_20, (float)L_22))));
- }
- IL_00c4:
- {
- // if (playTimes > 0 && (passedTime >= totalTime || passedTime <= -totalTime))
- int32_t L_23 = V_3;
- if ((((int32_t)L_23) <= ((int32_t)0)))
- {
- goto IL_0124;
- }
- }
- {
- float L_24 = ___passedTime0;
- float L_25 = V_4;
- if ((((float)L_24) >= ((float)L_25)))
- {
- goto IL_00d3;
- }
- }
- {
- float L_26 = ___passedTime0;
- float L_27 = V_4;
- if ((!(((float)L_26) <= ((float)((-L_27))))))
- {
- goto IL_0124;
- }
- }
- IL_00d3:
- {
- // if (this.playState <= 0 && this._animationState._playheadState == 3)
- int32_t L_28 = __this->get_playState_5();
- if ((((int32_t)L_28) > ((int32_t)0)))
- {
- goto IL_00f1;
- }
- }
- {
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_29 = __this->get__animationState_23();
- NullCheck(L_29);
- int32_t L_30 = L_29->get__playheadState_18();
- if ((!(((uint32_t)L_30) == ((uint32_t)3))))
- {
- goto IL_00f1;
- }
- }
- {
- // this.playState = 1;
- __this->set_playState_5(1);
- }
- IL_00f1:
- {
- // this.currentPlayTimes = playTimes;
- int32_t L_31 = V_3;
- __this->set_currentPlayTimes_6(L_31);
- // if (passedTime < 0.0f)
- float L_32 = ___passedTime0;
- if ((!(((float)L_32) < ((float)(0.0f)))))
- {
- goto IL_0110;
- }
- }
- {
- // this.currentTime = 0.0f;
- __this->set_currentTime_7((0.0f));
- // }
- goto IL_0190;
- }
- IL_0110:
- {
- // this.currentTime = this._duration + 0.000001f; // Precision problem
- float L_33 = __this->get__duration_16();
- __this->set_currentTime_7(((float)il2cpp_codegen_add((float)L_33, (float)(9.99999997E-07f))));
- // }
- goto IL_0190;
- }
- IL_0124:
- {
- // if (this.playState != 0 && this._animationState._playheadState == 3)
- int32_t L_34 = __this->get_playState_5();
- if (!L_34)
- {
- goto IL_0141;
- }
- }
- {
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_35 = __this->get__animationState_23();
- NullCheck(L_35);
- int32_t L_36 = L_35->get__playheadState_18();
- if ((!(((uint32_t)L_36) == ((uint32_t)3))))
- {
- goto IL_0141;
- }
- }
- {
- // this.playState = 0;
- __this->set_playState_5(0);
- }
- IL_0141:
- {
- // if (passedTime < 0.0f)
- float L_37 = ___passedTime0;
- if ((!(((float)L_37) < ((float)(0.0f)))))
- {
- goto IL_0173;
- }
- }
- {
- // passedTime = -passedTime;
- float L_38 = ___passedTime0;
- ___passedTime0 = ((-L_38));
- // this.currentPlayTimes = (int)(passedTime / this._duration);
- float L_39 = ___passedTime0;
- float L_40 = __this->get__duration_16();
- __this->set_currentPlayTimes_6(((int32_t)((int32_t)((float)((float)L_39/(float)L_40)))));
- // this.currentTime = this._duration - (passedTime % this._duration);
- float L_41 = __this->get__duration_16();
- float L_42 = ___passedTime0;
- float L_43 = __this->get__duration_16();
- __this->set_currentTime_7(((float)il2cpp_codegen_subtract((float)L_41, (float)(fmodf(L_42, L_43)))));
- // }
- goto IL_0190;
- }
- IL_0173:
- {
- // this.currentPlayTimes = (int)(passedTime / this._duration);
- float L_44 = ___passedTime0;
- float L_45 = __this->get__duration_16();
- __this->set_currentPlayTimes_6(((int32_t)((int32_t)((float)((float)L_44/(float)L_45)))));
- // this.currentTime = passedTime % this._duration;
- float L_46 = ___passedTime0;
- float L_47 = __this->get__duration_16();
- __this->set_currentTime_7((fmodf(L_46, L_47)));
- }
- IL_0190:
- {
- // this.currentTime += this._position;
- float L_48 = __this->get_currentTime_7();
- float L_49 = __this->get__position_15();
- __this->set_currentTime_7(((float)il2cpp_codegen_add((float)L_48, (float)L_49)));
- // }
- goto IL_01d8;
- }
- IL_01a5:
- {
- // this.playState = this._actionTimeline.playState;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_50 = __this->get__actionTimeline_24();
- NullCheck(L_50);
- int32_t L_51 = L_50->get_playState_5();
- __this->set_playState_5(L_51);
- // this.currentPlayTimes = this._actionTimeline.currentPlayTimes;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_52 = __this->get__actionTimeline_24();
- NullCheck(L_52);
- int32_t L_53 = L_52->get_currentPlayTimes_6();
- __this->set_currentPlayTimes_6(L_53);
- // this.currentTime = this._actionTimeline.currentTime;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_54 = __this->get__actionTimeline_24();
- NullCheck(L_54);
- float L_55 = L_54->get_currentTime_7();
- __this->set_currentTime_7(L_55);
- }
- IL_01d8:
- {
- // if (this.currentPlayTimes == prevPlayTimes && this.currentTime == prevTime)
- int32_t L_56 = __this->get_currentPlayTimes_6();
- int32_t L_57 = V_1;
- if ((!(((uint32_t)L_56) == ((uint32_t)L_57))))
- {
- goto IL_01ec;
- }
- }
- {
- float L_58 = __this->get_currentTime_7();
- float L_59 = V_2;
- if ((!(((float)L_58) == ((float)L_59))))
- {
- goto IL_01ec;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- IL_01ec:
- {
- // if ((prevState < 0 && this.playState != prevState) || (this.playState <= 0 && this.currentPlayTimes != prevPlayTimes))
- int32_t L_60 = V_0;
- if ((((int32_t)L_60) >= ((int32_t)0)))
- {
- goto IL_01f9;
- }
- }
- {
- int32_t L_61 = __this->get_playState_5();
- int32_t L_62 = V_0;
- if ((!(((uint32_t)L_61) == ((uint32_t)L_62))))
- {
- goto IL_020b;
- }
- }
- IL_01f9:
- {
- int32_t L_63 = __this->get_playState_5();
- if ((((int32_t)L_63) > ((int32_t)0)))
- {
- goto IL_0212;
- }
- }
- {
- int32_t L_64 = __this->get_currentPlayTimes_6();
- int32_t L_65 = V_1;
- if ((((int32_t)L_64) == ((int32_t)L_65)))
- {
- goto IL_0212;
- }
- }
- IL_020b:
- {
- // this._frameIndex = -1;
- __this->set__frameIndex_13((-1));
- }
- IL_0212:
- {
- // return true;
- return (bool)1;
- }
- }
- // System.Void DragonBones.TimelineState::Init(DragonBones.Armature,DragonBones.AnimationState,DragonBones.TimelineData)
- 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)
- {
- uint16_t V_0 = 0;
- float G_B5_0 = 0.0f;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B5_1 = NULL;
- float G_B4_0 = 0.0f;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B4_1 = NULL;
- float G_B6_0 = 0.0f;
- float G_B6_1 = 0.0f;
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * G_B6_2 = NULL;
- {
- // this._armature = armature;
- Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_0 = ___armature0;
- __this->set__armature_22(L_0);
- // this._animationState = animationState;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_1 = ___animationState1;
- __this->set__animationState_23(L_1);
- // this._timelineData = timelineData;
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_2 = ___timelineData2;
- __this->set__timelineData_21(L_2);
- // this._actionTimeline = this._animationState._actionTimeline;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_3 = __this->get__animationState_23();
- NullCheck(L_3);
- ActionTimelineState_t79CB33CE53B76625B651EABA221654B4C956AE3B * L_4 = L_3->get__actionTimeline_36();
- __this->set__actionTimeline_24(L_4);
- // if (this == this._actionTimeline)
- TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * L_5 = __this->get__actionTimeline_24();
- if ((!(((RuntimeObject*)(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)__this) == ((RuntimeObject*)(TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)L_5))))
- {
- goto IL_0036;
- }
- }
- {
- // this._actionTimeline = null;
- __this->set__actionTimeline_24((TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 *)NULL);
- }
- IL_0036:
- {
- // this._frameRate = this._armature.armatureData.frameRate;
- Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_6 = __this->get__armature_22();
- NullCheck(L_6);
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_7;
- L_7 = Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline(L_6, /*hidden argument*/NULL);
- NullCheck(L_7);
- uint32_t L_8 = L_7->get_frameRate_6();
- __this->set__frameRate_9(L_8);
- // this._frameRateR = 1.0f / this._frameRate;
- uint32_t L_9 = __this->get__frameRate_9();
- __this->set__frameRateR_14(((float)((float)(1.0f)/(float)((float)((float)((double)((uint32_t)L_9)))))));
- // this._position = this._animationState._position;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_10 = __this->get__animationState_23();
- NullCheck(L_10);
- float L_11 = L_10->get__position_21();
- __this->set__position_15(L_11);
- // this._duration = this._animationState._duration;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_12 = __this->get__animationState_23();
- NullCheck(L_12);
- float L_13 = L_12->get__duration_22();
- __this->set__duration_16(L_13);
- // this._dragonBonesData = this._armature.armatureData.parent;
- Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * L_14 = __this->get__armature_22();
- NullCheck(L_14);
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_15;
- L_15 = Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline(L_14, /*hidden argument*/NULL);
- NullCheck(L_15);
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_16 = L_15->get_parent_25();
- __this->set__dragonBonesData_19(L_16);
- // this._animationData = this._animationState._animationData;
- AnimationState_t09BFB27BAD6577E98DD9958064AD02EE2FFD0F6E * L_17 = __this->get__animationState_23();
- NullCheck(L_17);
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_18 = L_17->get__animationData_34();
- __this->set__animationData_20(L_18);
- // if (this._timelineData != null)
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_19 = __this->get__timelineData_21();
- if (!L_19)
- {
- goto IL_0189;
- }
- }
- {
- // this._frameIntArray = this._dragonBonesData.frameIntArray;
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_20 = __this->get__dragonBonesData_19();
- NullCheck(L_20);
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_21 = L_20->get_frameIntArray_17();
- __this->set__frameIntArray_26(L_21);
- // this._frameFloatArray = this._dragonBonesData.frameFloatArray;
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_22 = __this->get__dragonBonesData_19();
- NullCheck(L_22);
- SingleU5BU5D_t47E8DBF5B597C122478D1FFBD9DD57399A0650FA* L_23 = L_22->get_frameFloatArray_18();
- __this->set__frameFloatArray_27(L_23);
- // this._frameArray = this._dragonBonesData.frameArray;
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_24 = __this->get__dragonBonesData_19();
- NullCheck(L_24);
- Int16U5BU5D_tD134F1E6F746D4C09C987436805256C210C2FFCD* L_25 = L_24->get_frameArray_19();
- __this->set__frameArray_25(L_25);
- // this._timelineArray = this._dragonBonesData.timelineArray;
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_26 = __this->get__dragonBonesData_19();
- NullCheck(L_26);
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_27 = L_26->get_timelineArray_20();
- __this->set__timelineArray_28(L_27);
- // this._frameIndices = this._dragonBonesData.frameIndices;
- DragonBonesData_tF43DA2C5608EB24A3DCCD9D711757989D73D70E6 * L_28 = __this->get__dragonBonesData_19();
- NullCheck(L_28);
- List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * L_29 = L_28->get_frameIndices_10();
- __this->set__frameIndices_29(L_29);
- // this._frameCount = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineKeyFrameCount];
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_30 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_31 = __this->get__timelineData_21();
- NullCheck(L_31);
- uint32_t L_32 = L_31->get_offset_6();
- NullCheck(L_30);
- int32_t L_33 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)2));
- uint16_t L_34 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
- __this->set__frameCount_11(L_34);
- // this._frameValueOffset = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineFrameValueOffset];
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_35 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_36 = __this->get__timelineData_21();
- NullCheck(L_36);
- uint32_t L_37 = L_36->get_offset_6();
- NullCheck(L_35);
- int32_t L_38 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)4));
- uint16_t L_39 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
- __this->set__frameValueOffset_10(L_39);
- // var timelineScale = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineScale];
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_40 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_41 = __this->get__timelineData_21();
- NullCheck(L_41);
- uint32_t L_42 = L_41->get_offset_6();
- NullCheck(L_40);
- uint32_t L_43 = L_42;
- uint16_t L_44 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
- V_0 = L_44;
- // this._timeScale = 100.0f / (timelineScale == 0 ? 100.0f : timelineScale);
- uint16_t L_45 = V_0;
- G_B4_0 = (100.0f);
- G_B4_1 = __this;
- if (!L_45)
- {
- G_B5_0 = (100.0f);
- G_B5_1 = __this;
- goto IL_015d;
- }
- }
- {
- uint16_t L_46 = V_0;
- G_B6_0 = ((float)((float)L_46));
- G_B6_1 = G_B4_0;
- G_B6_2 = G_B4_1;
- goto IL_0162;
- }
- IL_015d:
- {
- G_B6_0 = (100.0f);
- G_B6_1 = G_B5_0;
- G_B6_2 = G_B5_1;
- }
- IL_0162:
- {
- NullCheck(G_B6_2);
- G_B6_2->set__timeScale_17(((float)((float)G_B6_1/(float)G_B6_0)));
- // this._timeOffset = this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineOffset] * 0.01f;
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_47 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_48 = __this->get__timelineData_21();
- NullCheck(L_48);
- uint32_t L_49 = L_48->get_offset_6();
- NullCheck(L_47);
- int32_t L_50 = ((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1));
- uint16_t L_51 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
- __this->set__timeOffset_18(((float)il2cpp_codegen_multiply((float)((float)((float)L_51)), (float)(0.00999999978f))));
- }
- IL_0189:
- {
- // }
- return;
- }
- }
- // System.Void DragonBones.TimelineState::FadeOut()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState_FadeOut_m3A89A9380008E182152BD8F063CAE7F9EB0D26DC (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
- {
- {
- // }
- return;
- }
- }
- // System.Void DragonBones.TimelineState::Update(System.Single)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19 (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, float ___passedTime0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mB16774A7E717953B089B111C42D5DD2256E30F69_RuntimeMethod_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TimelineState_Update_mF7A5EE7AC57048BCFB6C191B31B87922A4645E19_RuntimeMethod_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- uint32_t V_1 = 0;
- {
- // if (this._SetCurrentTime(passedTime))
- float L_0 = ___passedTime0;
- bool L_1;
- L_1 = TimelineState__SetCurrentTime_m1B109930BC9937C0295E0B14632A714912EE21C2(__this, L_0, /*hidden argument*/NULL);
- if (!L_1)
- {
- goto IL_00e4;
- }
- }
- {
- // if (this._frameCount > 1)
- uint32_t L_2 = __this->get__frameCount_11();
- if ((!(((uint32_t)L_2) > ((uint32_t)1))))
- {
- goto IL_0092;
- }
- }
- {
- // int timelineFrameIndex = (int)Math.Floor(this.currentTime * this._frameRate); // uint
- float L_3 = __this->get_currentTime_7();
- uint32_t L_4 = __this->get__frameRate_9();
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- double L_5;
- L_5 = floor(((double)((double)((float)il2cpp_codegen_multiply((float)L_3, (float)((float)((float)((double)((uint32_t)L_4)))))))));
- V_0 = ((int32_t)((int32_t)L_5));
- // var frameIndex = this._frameIndices[(int)(this._timelineData as TimelineData).frameIndicesOffset + timelineFrameIndex];
- List_1_t023026A8F0D0D113E2B62213C8C74717BF7F4731 * L_6 = __this->get__frameIndices_29();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_7 = __this->get__timelineData_21();
- NullCheck(L_7);
- int32_t L_8 = L_7->get_frameIndicesOffset_7();
- int32_t L_9 = V_0;
- NullCheck(L_6);
- uint32_t L_10;
- 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);
- V_1 = L_10;
- // if (this._frameIndex != frameIndex)
- int32_t L_11 = __this->get__frameIndex_13();
- uint32_t L_12 = V_1;
- if ((((int64_t)((int64_t)((int64_t)L_11))) == ((int64_t)((int64_t)((uint64_t)L_12)))))
- {
- goto IL_00d6;
- }
- }
- {
- // this._frameIndex = (int)frameIndex;
- uint32_t L_13 = V_1;
- __this->set__frameIndex_13(L_13);
- // this._frameOffset = this._animationData.frameOffset + this._timelineArray[(this._timelineData as TimelineData).offset + (int)BinaryOffset.TimelineFrameOffset + this._frameIndex];
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_14 = __this->get__animationData_20();
- NullCheck(L_14);
- uint32_t L_15 = L_14->get_frameOffset_7();
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_16 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_17 = __this->get__timelineData_21();
- NullCheck(L_17);
- uint32_t L_18 = L_17->get_offset_6();
- int32_t L_19 = __this->get__frameIndex_13();
- 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);
- NullCheck(L_16);
- 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)))));
- uint16_t L_21 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
- __this->set__frameOffset_12(((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_21)));
- // this._OnArriveAtFrame();
- VirtualActionInvoker0::Invoke(5 /* System.Void DragonBones.TimelineState::_OnArriveAtFrame() */, __this);
- // }
- goto IL_00d6;
- }
- IL_0092:
- {
- // else if (this._frameIndex < 0)
- int32_t L_22 = __this->get__frameIndex_13();
- if ((((int32_t)L_22) >= ((int32_t)0)))
- {
- goto IL_00d6;
- }
- }
- {
- // this._frameIndex = 0;
- __this->set__frameIndex_13(0);
- // if (this._timelineData != null)
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_23 = __this->get__timelineData_21();
- if (!L_23)
- {
- goto IL_00d0;
- }
- }
- {
- // this._frameOffset = this._animationData.frameOffset + this._timelineArray[this._timelineData.offset + (int)BinaryOffset.TimelineFrameOffset];
- AnimationData_t168475D20D012F7024D0986211C7E1D2C19ABAB9 * L_24 = __this->get__animationData_20();
- NullCheck(L_24);
- uint32_t L_25 = L_24->get_frameOffset_7();
- UInt16U5BU5D_t42D35C587B07DCDBCFDADF572C6D733AE85B2A67* L_26 = __this->get__timelineArray_28();
- TimelineData_t9B3F73F8F8B5A4AAD9173723FCE7ED5494666A9D * L_27 = __this->get__timelineData_21();
- NullCheck(L_27);
- uint32_t L_28 = L_27->get_offset_6();
- NullCheck(L_26);
- int32_t L_29 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)5));
- uint16_t L_30 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
- __this->set__frameOffset_12(((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_30)));
- }
- IL_00d0:
- {
- // this._OnArriveAtFrame();
- VirtualActionInvoker0::Invoke(5 /* System.Void DragonBones.TimelineState::_OnArriveAtFrame() */, __this);
- }
- IL_00d6:
- {
- // if (this._tweenState != TweenState.None)
- int32_t L_31 = __this->get__tweenState_8();
- if (!L_31)
- {
- goto IL_00e4;
- }
- }
- {
- // this._OnUpdateFrame();
- VirtualActionInvoker0::Invoke(6 /* System.Void DragonBones.TimelineState::_OnUpdateFrame() */, __this);
- }
- IL_00e4:
- {
- // }
- return;
- }
- }
- // System.Void DragonBones.TimelineState::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimelineState__ctor_mAD609120039037E7BF3BA8373261486E3F5B11EC (TimelineState_t5C8602E95D2327C20F1509273B1EAECCCC0FB696 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- IL2CPP_RUNTIME_CLASS_INIT(BaseObject_t1726472F2A0397F0C1CE2DFA4956C7BBB7120424_il2cpp_TypeInfo_var);
- BaseObject__ctor_m4DCE2F1F3E01CF86CF020F426145F76A0953581F(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::NanoTime()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Times_NanoTime_mB148DB292002C63B3904A5F9B66071D14A885443 (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 V_0;
- memset((&V_0), 0, sizeof(V_0));
- {
- // return DateTime.UtcNow.Ticks * NanosecondsPerTick;
- IL2CPP_RUNTIME_CLASS_INIT(DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405_il2cpp_TypeInfo_var);
- DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 L_0;
- L_0 = DateTime_get_UtcNow_m761E57F86226DDD94F0A2F4D98F0A8E27C74F090(/*hidden argument*/NULL);
- V_0 = L_0;
- int64_t L_1;
- L_1 = DateTime_get_Ticks_m175EDB41A50DB06872CC48CAB603FEBD1DFF46A9((DateTime_tEAF2CD16E071DF5441F40822E4CFE880E5245405 *)(&V_0), /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
- int64_t L_2 = ((Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields*)il2cpp_codegen_static_fields_for(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var))->get_NanosecondsPerTick_0();
- return ((int64_t)il2cpp_codegen_multiply((int64_t)L_1, (int64_t)L_2));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Times__ctor_m6908FC3F0FA12666A5FF0D20860FC289ACCFE459 (Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Times::.cctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Times__cctor_mF0A2675CEC67A850C111A934D393C1389E7F3B4D (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // private static long NanosecondsPerTick = 100L;
- ((Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_StaticFields*)il2cpp_codegen_static_fields_for(Times_t0764503B8BDE3E87C25E1C2C8F21400B48C8F13F_il2cpp_TypeInfo_var))->set_NanosecondsPerTick_0(((int64_t)((int64_t)((int32_t)100))));
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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)
- 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)
- {
- {
- // : this(context, clientWriteCipher, serverWriteCipher, cipherKeySize, macSize, NONCE_RFC5288)
- RuntimeObject* L_0 = ___context0;
- RuntimeObject* L_1 = ___clientWriteCipher1;
- RuntimeObject* L_2 = ___serverWriteCipher2;
- int32_t L_3 = ___cipherKeySize3;
- int32_t L_4 = ___macSize4;
- TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7(__this, L_0, L_1, L_2, L_3, L_4, 1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_3 = NULL;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_4 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_5 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_7 = NULL;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_8 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_9 = NULL;
- {
- // internal TlsAeadCipher(TlsContext context, IAeadBlockCipher clientWriteCipher, IAeadBlockCipher serverWriteCipher,
- // int cipherKeySize, int macSize, int nonceMode)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // if (!TlsUtilities.IsTlsV12(context))
- RuntimeObject* L_0 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_1;
- L_1 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_0, /*hidden argument*/NULL);
- if (L_1)
- {
- goto IL_0016;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
- }
- IL_0016:
- {
- // this.nonceMode = nonceMode;
- int32_t L_3 = ___nonceMode5;
- __this->set_nonceMode_9(L_3);
- int32_t L_4 = ___nonceMode5;
- if ((((int32_t)L_4) == ((int32_t)1)))
- {
- goto IL_002a;
- }
- }
- {
- int32_t L_5 = ___nonceMode5;
- if ((((int32_t)L_5) == ((int32_t)2)))
- {
- goto IL_0035;
- }
- }
- {
- goto IL_0041;
- }
- IL_002a:
- {
- // fixed_iv_length = 4;
- V_0 = 4;
- // this.record_iv_length = 8;
- __this->set_record_iv_length_4(8);
- // break;
- goto IL_0049;
- }
- IL_0035:
- {
- // fixed_iv_length = 12;
- V_0 = ((int32_t)12);
- // this.record_iv_length = 0;
- __this->set_record_iv_length_4(0);
- // break;
- goto IL_0049;
- }
- IL_0041:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
- }
- IL_0049:
- {
- // this.context = context;
- RuntimeObject* L_7 = ___context0;
- __this->set_context_2(L_7);
- // this.macSize = macSize;
- int32_t L_8 = ___macSize4;
- __this->set_macSize_3(L_8);
- // int key_block_size = (2 * cipherKeySize) + (2 * fixed_iv_length);
- int32_t L_9 = ___cipherKeySize3;
- int32_t L_10 = V_0;
- 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))));
- // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
- RuntimeObject* L_11 = ___context0;
- int32_t L_12 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
- L_13 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_11, L_12, /*hidden argument*/NULL);
- // int offset = 0;
- V_2 = 0;
- // KeyParameter client_write_key = new KeyParameter(key_block, offset, cipherKeySize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = L_13;
- int32_t L_15 = V_2;
- int32_t L_16 = ___cipherKeySize3;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_17 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_17, L_14, L_15, L_16, /*hidden argument*/NULL);
- V_3 = L_17;
- // offset += cipherKeySize;
- int32_t L_18 = V_2;
- int32_t L_19 = ___cipherKeySize3;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)L_19));
- // KeyParameter server_write_key = new KeyParameter(key_block, offset, cipherKeySize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = L_14;
- int32_t L_21 = V_2;
- int32_t L_22 = ___cipherKeySize3;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_23 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_23, L_20, L_21, L_22, /*hidden argument*/NULL);
- V_4 = L_23;
- // offset += cipherKeySize;
- int32_t L_24 = V_2;
- int32_t L_25 = ___cipherKeySize3;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)L_25));
- // byte[] client_write_IV = Arrays.CopyOfRange(key_block, offset, offset + fixed_iv_length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = L_20;
- int32_t L_27 = V_2;
- int32_t L_28 = V_2;
- int32_t L_29 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30;
- 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);
- V_5 = L_30;
- // offset += fixed_iv_length;
- int32_t L_31 = V_2;
- int32_t L_32 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32));
- // byte[] server_write_IV = Arrays.CopyOfRange(key_block, offset, offset + fixed_iv_length);
- int32_t L_33 = V_2;
- int32_t L_34 = V_2;
- int32_t L_35 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36;
- 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);
- V_6 = L_36;
- // offset += fixed_iv_length;
- int32_t L_37 = V_2;
- int32_t L_38 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38));
- // if (offset != key_block_size)
- int32_t L_39 = V_2;
- int32_t L_40 = V_1;
- if ((((int32_t)L_39) == ((int32_t)L_40)))
- {
- goto IL_00b4;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_41 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_41, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher__ctor_mFD2EEE915F23ABB4FE59DB100628C6BAA053DBA7_RuntimeMethod_var)));
- }
- IL_00b4:
- {
- // if (context.IsServer)
- RuntimeObject* L_42 = ___context0;
- NullCheck(L_42);
- bool L_43;
- L_43 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_42);
- if (!L_43)
- {
- goto IL_00e3;
- }
- }
- {
- // this.encryptCipher = serverWriteCipher;
- RuntimeObject* L_44 = ___serverWriteCipher2;
- __this->set_encryptCipher_5(L_44);
- // this.decryptCipher = clientWriteCipher;
- RuntimeObject* L_45 = ___clientWriteCipher1;
- __this->set_decryptCipher_6(L_45);
- // this.encryptImplicitNonce = server_write_IV;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46 = V_6;
- __this->set_encryptImplicitNonce_7(L_46);
- // this.decryptImplicitNonce = client_write_IV;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_5;
- __this->set_decryptImplicitNonce_8(L_47);
- // encryptKey = server_write_key;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_48 = V_4;
- V_7 = L_48;
- // decryptKey = client_write_key;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_49 = V_3;
- V_8 = L_49;
- // }
- goto IL_0108;
- }
- IL_00e3:
- {
- // this.encryptCipher = clientWriteCipher;
- RuntimeObject* L_50 = ___clientWriteCipher1;
- __this->set_encryptCipher_5(L_50);
- // this.decryptCipher = serverWriteCipher;
- RuntimeObject* L_51 = ___serverWriteCipher2;
- __this->set_decryptCipher_6(L_51);
- // this.encryptImplicitNonce = client_write_IV;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_52 = V_5;
- __this->set_encryptImplicitNonce_7(L_52);
- // this.decryptImplicitNonce = server_write_IV;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53 = V_6;
- __this->set_decryptImplicitNonce_8(L_53);
- // encryptKey = client_write_key;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_54 = V_3;
- V_7 = L_54;
- // decryptKey = server_write_key;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_55 = V_4;
- V_8 = L_55;
- }
- IL_0108:
- {
- // byte[] dummyNonce = new byte[fixed_iv_length + record_iv_length];
- int32_t L_56 = V_0;
- int32_t L_57 = __this->get_record_iv_length_4();
- 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)));
- V_9 = L_58;
- // this.encryptCipher.Init(true, new AeadParameters(encryptKey, 8 * macSize, dummyNonce));
- RuntimeObject* L_59 = __this->get_encryptCipher_5();
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_60 = V_7;
- int32_t L_61 = ___macSize4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_9;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_63 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- AeadParameters__ctor_mDC4FC845AAF337D5A63276E2A2E7CB2FA1D814C7(L_63, L_60, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_61)), L_62, /*hidden argument*/NULL);
- NullCheck(L_59);
- 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);
- // this.decryptCipher.Init(false, new AeadParameters(decryptKey, 8 * macSize, dummyNonce));
- RuntimeObject* L_64 = __this->get_decryptCipher_6();
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_65 = V_8;
- int32_t L_66 = ___macSize4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_67 = V_9;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_68 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- AeadParameters__ctor_mDC4FC845AAF337D5A63276E2A2E7CB2FA1D814C7(L_68, L_65, ((int32_t)il2cpp_codegen_multiply((int32_t)8, (int32_t)L_66)), L_67, /*hidden argument*/NULL);
- NullCheck(L_64);
- 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);
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetPlaintextLimit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsAeadCipher_GetPlaintextLimit_m2BEBB130AD553DBE0D2EFA7AB996F27799AF47DF (TlsAeadCipher_tF8CC3E198982722A5F14ED526412158EA7460342 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
- {
- {
- // return ciphertextLimit - macSize - record_iv_length;
- int32_t L_0 = ___ciphertextLimit0;
- int32_t L_1 = __this->get_macSize_3();
- int32_t L_2 = __this->get_record_iv_length_4();
- 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));
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- int32_t V_5 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * V_7 = NULL;
- int32_t V_8 = 0;
- int32_t V_9 = 0;
- Exception_t * V_10 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // byte[] nonce = new byte[encryptImplicitNonce.Length + record_iv_length];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_encryptImplicitNonce_7();
- NullCheck(L_0);
- int32_t L_1 = __this->get_record_iv_length_4();
- 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)));
- V_0 = L_2;
- // switch (nonceMode)
- int32_t L_3 = __this->get_nonceMode_9();
- V_8 = L_3;
- int32_t L_4 = V_8;
- if ((((int32_t)L_4) == ((int32_t)1)))
- {
- goto IL_0029;
- }
- }
- {
- int32_t L_5 = V_8;
- if ((((int32_t)L_5) == ((int32_t)2)))
- {
- goto IL_0050;
- }
- }
- {
- goto IL_008b;
- }
- IL_0029:
- {
- // Array.Copy(encryptImplicitNonce, 0, nonce, 0, encryptImplicitNonce.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = __this->get_encryptImplicitNonce_7();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_encryptImplicitNonce_7();
- NullCheck(L_8);
- 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);
- // TlsUtilities.WriteUint64(seqNo, nonce, encryptImplicitNonce.Length);
- int64_t L_9 = ___seqNo0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = __this->get_encryptImplicitNonce_7();
- NullCheck(L_11);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_9, L_10, ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))), /*hidden argument*/NULL);
- // break;
- goto IL_0093;
- }
- IL_0050:
- {
- // TlsUtilities.WriteUint64(seqNo, nonce, nonce.Length - 8);
- int64_t L_12 = ___seqNo0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
- NullCheck(L_14);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- 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);
- // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
- V_9 = 0;
- goto IL_007d;
- }
- IL_0061:
- {
- // nonce[i] ^= encryptImplicitNonce[i];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
- int32_t L_16 = V_9;
- NullCheck(L_15);
- uint8_t* L_17 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)));
- int32_t L_18 = *((uint8_t*)L_17);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = __this->get_encryptImplicitNonce_7();
- int32_t L_20 = V_9;
- NullCheck(L_19);
- int32_t L_21 = L_20;
- uint8_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
- *((int8_t*)L_17) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_18^(int32_t)L_22))));
- // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
- int32_t L_23 = V_9;
- V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
- }
- IL_007d:
- {
- // for (int i = 0; i < encryptImplicitNonce.Length; ++i)
- int32_t L_24 = V_9;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = __this->get_encryptImplicitNonce_7();
- NullCheck(L_25);
- if ((((int32_t)L_24) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length))))))
- {
- goto IL_0061;
- }
- }
- {
- // break;
- goto IL_0093;
- }
- IL_008b:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_26, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
- }
- IL_0093:
- {
- // int plaintextOffset = offset;
- int32_t L_27 = ___offset3;
- V_1 = L_27;
- // int plaintextLength = len;
- int32_t L_28 = ___len4;
- V_2 = L_28;
- // int ciphertextLength = encryptCipher.GetOutputSize(plaintextLength);
- RuntimeObject* L_29 = __this->get_encryptCipher_5();
- int32_t L_30 = V_2;
- NullCheck(L_29);
- int32_t L_31;
- 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);
- V_3 = L_31;
- // byte[] output = new byte[record_iv_length + ciphertextLength];
- int32_t L_32 = __this->get_record_iv_length_4();
- int32_t L_33 = V_3;
- 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)));
- V_4 = L_34;
- // if (record_iv_length != 0)
- int32_t L_35 = __this->get_record_iv_length_4();
- if (!L_35)
- {
- goto IL_00d6;
- }
- }
- {
- // Array.Copy(nonce, nonce.Length - record_iv_length, output, 0, record_iv_length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_37 = V_0;
- NullCheck(L_37);
- int32_t L_38 = __this->get_record_iv_length_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = V_4;
- int32_t L_40 = __this->get_record_iv_length_4();
- 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);
- }
- IL_00d6:
- {
- // int outputPos = record_iv_length;
- int32_t L_41 = __this->get_record_iv_length_4();
- V_5 = L_41;
- // byte[] additionalData = GetAdditionalData(seqNo, type, plaintextLength);
- int64_t L_42 = ___seqNo0;
- uint8_t L_43 = ___type1;
- int32_t L_44 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45;
- 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);
- V_6 = L_45;
- // AeadParameters parameters = new AeadParameters(null, 8 * macSize, nonce, additionalData);
- int32_t L_46 = __this->get_macSize_3();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_6;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_49 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- 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);
- V_7 = L_49;
- }
- IL_00fc:
- try
- {// begin try (depth: 1)
- // encryptCipher.Init(true, parameters);
- RuntimeObject* L_50 = __this->get_encryptCipher_5();
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_51 = V_7;
- NullCheck(L_50);
- 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);
- // outputPos += encryptCipher.ProcessBytes(plaintext, plaintextOffset, plaintextLength, output, outputPos);
- int32_t L_52 = V_5;
- RuntimeObject* L_53 = __this->get_encryptCipher_5();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___plaintext2;
- int32_t L_55 = V_1;
- int32_t L_56 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = V_4;
- int32_t L_58 = V_5;
- NullCheck(L_53);
- int32_t L_59;
- 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);
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)L_59));
- // outputPos += encryptCipher.DoFinal(output, outputPos);
- int32_t L_60 = V_5;
- RuntimeObject* L_61 = __this->get_encryptCipher_5();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_4;
- int32_t L_63 = V_5;
- NullCheck(L_61);
- int32_t L_64;
- 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);
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)L_64));
- // }
- goto IL_0143;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0137;
- }
- throw e;
- }
- CATCH_0137:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_10 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.internal_error, e);
- Exception_t * L_65 = V_10;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_66, (uint8_t)((int32_t)80), L_65, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0143:
- {
- // if (outputPos != output.Length)
- int32_t L_67 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = V_4;
- NullCheck(L_68);
- if ((((int32_t)L_67) == ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length))))))
- {
- goto IL_0153;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_69 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_69, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_69, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_EncodePlaintext_m4A5DC8DC3A378A88E6AD1DC9288FF59BB34204FF_RuntimeMethod_var)));
- }
- IL_0153:
- {
- // return output;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_70 = V_4;
- return L_70;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IAeadBlockCipher_t869034CEE6315445FCE7D2A51906AA21CBBCAC2E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- int32_t V_5 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * V_7 = NULL;
- int32_t V_8 = 0;
- int32_t V_9 = 0;
- Exception_t * V_10 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // if (GetPlaintextLimit(len) < 0)
- int32_t L_0 = ___len4;
- int32_t L_1;
- L_1 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetPlaintextLimit(System.Int32) */, __this, L_0);
- if ((((int32_t)L_1) >= ((int32_t)0)))
- {
- goto IL_0013;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // byte[] nonce = new byte[decryptImplicitNonce.Length + record_iv_length];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_decryptImplicitNonce_8();
- NullCheck(L_3);
- int32_t L_4 = __this->get_record_iv_length_4();
- 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)));
- V_0 = L_5;
- // switch (nonceMode)
- int32_t L_6 = __this->get_nonceMode_9();
- V_8 = L_6;
- int32_t L_7 = V_8;
- if ((((int32_t)L_7) == ((int32_t)1)))
- {
- goto IL_003c;
- }
- }
- {
- int32_t L_8 = V_8;
- if ((((int32_t)L_8) == ((int32_t)2)))
- {
- goto IL_006d;
- }
- }
- {
- goto IL_00a8;
- }
- IL_003c:
- {
- // Array.Copy(decryptImplicitNonce, 0, nonce, 0, decryptImplicitNonce.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = __this->get_decryptImplicitNonce_8();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = __this->get_decryptImplicitNonce_8();
- NullCheck(L_11);
- 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);
- // Array.Copy(ciphertext, offset, nonce, nonce.Length - record_iv_length, record_iv_length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = ___ciphertext2;
- int32_t L_13 = ___offset3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
- NullCheck(L_15);
- int32_t L_16 = __this->get_record_iv_length_4();
- int32_t L_17 = __this->get_record_iv_length_4();
- 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);
- // break;
- goto IL_00b0;
- }
- IL_006d:
- {
- // TlsUtilities.WriteUint64(seqNo, nonce, nonce.Length - 8);
- int64_t L_18 = ___seqNo0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = V_0;
- NullCheck(L_20);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- 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);
- // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
- V_9 = 0;
- goto IL_009a;
- }
- IL_007e:
- {
- // nonce[i] ^= decryptImplicitNonce[i];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_0;
- int32_t L_22 = V_9;
- NullCheck(L_21);
- uint8_t* L_23 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)));
- int32_t L_24 = *((uint8_t*)L_23);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = __this->get_decryptImplicitNonce_8();
- int32_t L_26 = V_9;
- NullCheck(L_25);
- int32_t L_27 = L_26;
- uint8_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
- *((int8_t*)L_23) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_24^(int32_t)L_28))));
- // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
- int32_t L_29 = V_9;
- V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
- }
- IL_009a:
- {
- // for (int i = 0; i < decryptImplicitNonce.Length; ++i)
- int32_t L_30 = V_9;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = __this->get_decryptImplicitNonce_8();
- NullCheck(L_31);
- if ((((int32_t)L_30) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length))))))
- {
- goto IL_007e;
- }
- }
- {
- // break;
- goto IL_00b0;
- }
- IL_00a8:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_32 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_32, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_32, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
- }
- IL_00b0:
- {
- // int ciphertextOffset = offset + record_iv_length;
- int32_t L_33 = ___offset3;
- int32_t L_34 = __this->get_record_iv_length_4();
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)L_34));
- // int ciphertextLength = len - record_iv_length;
- int32_t L_35 = ___len4;
- int32_t L_36 = __this->get_record_iv_length_4();
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_35, (int32_t)L_36));
- // int plaintextLength = decryptCipher.GetOutputSize(ciphertextLength);
- RuntimeObject* L_37 = __this->get_decryptCipher_6();
- int32_t L_38 = V_2;
- NullCheck(L_37);
- int32_t L_39;
- 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);
- V_3 = L_39;
- // byte[] output = new byte[plaintextLength];
- int32_t L_40 = V_3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_41 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_40);
- V_4 = L_41;
- // int outputPos = 0;
- V_5 = 0;
- // byte[] additionalData = GetAdditionalData(seqNo, type, plaintextLength);
- int64_t L_42 = ___seqNo0;
- uint8_t L_43 = ___type1;
- int32_t L_44 = V_3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45;
- 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);
- V_6 = L_45;
- // AeadParameters parameters = new AeadParameters(null, 8 * macSize, nonce, additionalData);
- int32_t L_46 = __this->get_macSize_3();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_6;
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_49 = (AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 *)il2cpp_codegen_object_new(AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64_il2cpp_TypeInfo_var);
- 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);
- V_7 = L_49;
- }
- IL_00fa:
- try
- {// begin try (depth: 1)
- // decryptCipher.Init(false, parameters);
- RuntimeObject* L_50 = __this->get_decryptCipher_6();
- AeadParameters_t6C6A2620BFEC0ADD723500AA9021B04CE1956B64 * L_51 = V_7;
- NullCheck(L_50);
- 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);
- // outputPos += decryptCipher.ProcessBytes(ciphertext, ciphertextOffset, ciphertextLength, output, outputPos);
- int32_t L_52 = V_5;
- RuntimeObject* L_53 = __this->get_decryptCipher_6();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___ciphertext2;
- int32_t L_55 = V_1;
- int32_t L_56 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = V_4;
- int32_t L_58 = V_5;
- NullCheck(L_53);
- int32_t L_59;
- 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);
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)L_59));
- // outputPos += decryptCipher.DoFinal(output, outputPos);
- int32_t L_60 = V_5;
- RuntimeObject* L_61 = __this->get_decryptCipher_6();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = V_4;
- int32_t L_63 = V_5;
- NullCheck(L_61);
- int32_t L_64;
- 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);
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)L_64));
- // }
- goto IL_0141;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0135;
- }
- throw e;
- }
- CATCH_0135:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_10 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.bad_record_mac, e);
- Exception_t * L_65 = V_10;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_66, (uint8_t)((int32_t)20), L_65, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0141:
- {
- // if (outputPos != output.Length)
- int32_t L_67 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = V_4;
- NullCheck(L_68);
- if ((((int32_t)L_67) == ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length))))))
- {
- goto IL_0151;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_69 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_69, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_69, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsAeadCipher_DecodeCiphertext_m7AB647BAC79173AAC49B012AF116B429FF2DF33A_RuntimeMethod_var)));
- }
- IL_0151:
- {
- // return output;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_70 = V_4;
- return L_70;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsAeadCipher::GetAdditionalData(System.Int64,System.Byte,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] additional_data = new byte[13];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)13));
- V_0 = L_0;
- // TlsUtilities.WriteUint64(seqNo, additional_data, 0);
- int64_t L_1 = ___seqNo0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_1, L_2, 0, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint8(type, additional_data, 8);
- uint8_t L_3 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186(L_3, L_4, 8, /*hidden argument*/NULL);
- // TlsUtilities.WriteVersion(context.ServerVersion, additional_data, 9);
- RuntimeObject* L_5 = __this->get_context_2();
- NullCheck(L_5);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_6;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_6, L_7, ((int32_t)9), /*hidden argument*/NULL);
- // TlsUtilities.WriteUint16(len, additional_data, 11);
- int32_t L_8 = ___len2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
- TlsUtilities_WriteUint16_mC62EE72A6598A7A7761399F9597312CC5E100CF0(L_8, L_9, ((int32_t)11), /*hidden argument*/NULL);
- // return additional_data;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
- return L_10;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::get_WriteMac()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * TlsBlockCipher_get_WriteMac_mC9947E670B1B800AAE665D0EF6A8341141A95656 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mWriteMac; }
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_mWriteMac_6();
- return L_0;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::get_ReadMac()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * TlsBlockCipher_get_ReadMac_m07E74EFA791F6B97F633E2977108171F2D28AC54 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mReadMac; }
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_mReadMac_7();
- return L_0;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- int32_t V_2 = 0;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_3 = NULL;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_4 = NULL;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_5 = NULL;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_6 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_7 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_8 = NULL;
- RuntimeObject* V_9 = NULL;
- RuntimeObject* V_10 = NULL;
- {
- // public TlsBlockCipher(TlsContext context, IBlockCipher clientWriteCipher, IBlockCipher serverWriteCipher,
- // IDigest clientWriteDigest, IDigest serverWriteDigest, int cipherKeySize)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.context = context;
- RuntimeObject* L_0 = ___context0;
- __this->set_context_0(L_0);
- // this.randomData = new byte[256];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
- __this->set_randomData_1(L_1);
- // context.NonceRandomGenerator.NextBytes(randomData);
- RuntimeObject* L_2 = ___context0;
- NullCheck(L_2);
- RuntimeObject* L_3;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = __this->get_randomData_1();
- NullCheck(L_3);
- 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);
- // this.useExplicitIV = TlsUtilities.IsTlsV11(context);
- RuntimeObject* L_5 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_6;
- L_6 = TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B(L_5, /*hidden argument*/NULL);
- __this->set_useExplicitIV_2(L_6);
- // this.encryptThenMac = context.SecurityParameters.encryptThenMac;
- RuntimeObject* L_7 = ___context0;
- NullCheck(L_7);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8;
- 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);
- NullCheck(L_8);
- bool L_9 = L_8->get_encryptThenMac_13();
- __this->set_encryptThenMac_3(L_9);
- // int key_block_size = (2 * cipherKeySize) + clientWriteDigest.GetDigestSize()
- // + serverWriteDigest.GetDigestSize();
- int32_t L_10 = ___cipherKeySize5;
- RuntimeObject* L_11 = ___clientWriteDigest3;
- NullCheck(L_11);
- int32_t L_12;
- L_12 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_11);
- RuntimeObject* L_13 = ___serverWriteDigest4;
- NullCheck(L_13);
- int32_t L_14;
- L_14 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_13);
- 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));
- // if (!useExplicitIV)
- bool L_15 = __this->get_useExplicitIV_2();
- if (L_15)
- {
- goto IL_0078;
- }
- }
- {
- // key_block_size += clientWriteCipher.GetBlockSize() + serverWriteCipher.GetBlockSize();
- int32_t L_16 = V_0;
- RuntimeObject* L_17 = ___clientWriteCipher1;
- NullCheck(L_17);
- int32_t L_18;
- L_18 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_17);
- RuntimeObject* L_19 = ___serverWriteCipher2;
- NullCheck(L_19);
- int32_t L_20;
- L_20 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_19);
- 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))));
- }
- IL_0078:
- {
- // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
- RuntimeObject* L_21 = ___context0;
- int32_t L_22 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
- L_23 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_21, L_22, /*hidden argument*/NULL);
- V_1 = L_23;
- // int offset = 0;
- V_2 = 0;
- // TlsMac clientWriteMac = new TlsMac(context, clientWriteDigest, key_block, offset,
- // clientWriteDigest.GetDigestSize());
- RuntimeObject* L_24 = ___context0;
- RuntimeObject* L_25 = ___clientWriteDigest3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = V_1;
- int32_t L_27 = V_2;
- RuntimeObject* L_28 = ___clientWriteDigest3;
- NullCheck(L_28);
- int32_t L_29;
- L_29 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_28);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_30 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_30, L_24, L_25, L_26, L_27, L_29, /*hidden argument*/NULL);
- V_3 = L_30;
- // offset += clientWriteDigest.GetDigestSize();
- int32_t L_31 = V_2;
- RuntimeObject* L_32 = ___clientWriteDigest3;
- NullCheck(L_32);
- int32_t L_33;
- L_33 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_32);
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_33));
- // TlsMac serverWriteMac = new TlsMac(context, serverWriteDigest, key_block, offset,
- // serverWriteDigest.GetDigestSize());
- RuntimeObject* L_34 = ___context0;
- RuntimeObject* L_35 = ___serverWriteDigest4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_1;
- int32_t L_37 = V_2;
- RuntimeObject* L_38 = ___serverWriteDigest4;
- NullCheck(L_38);
- int32_t L_39;
- L_39 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_38);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_40 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_40, L_34, L_35, L_36, L_37, L_39, /*hidden argument*/NULL);
- V_4 = L_40;
- // offset += serverWriteDigest.GetDigestSize();
- int32_t L_41 = V_2;
- RuntimeObject* L_42 = ___serverWriteDigest4;
- NullCheck(L_42);
- int32_t L_43;
- L_43 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_42);
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)L_43));
- // KeyParameter client_write_key = new KeyParameter(key_block, offset, cipherKeySize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_44 = V_1;
- int32_t L_45 = V_2;
- int32_t L_46 = ___cipherKeySize5;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_47 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_47, L_44, L_45, L_46, /*hidden argument*/NULL);
- V_5 = L_47;
- // offset += cipherKeySize;
- int32_t L_48 = V_2;
- int32_t L_49 = ___cipherKeySize5;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)L_49));
- // KeyParameter server_write_key = new KeyParameter(key_block, offset, cipherKeySize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = V_1;
- int32_t L_51 = V_2;
- int32_t L_52 = ___cipherKeySize5;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_53 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_53, L_50, L_51, L_52, /*hidden argument*/NULL);
- V_6 = L_53;
- // offset += cipherKeySize;
- int32_t L_54 = V_2;
- int32_t L_55 = ___cipherKeySize5;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)L_55));
- // if (useExplicitIV)
- bool L_56 = __this->get_useExplicitIV_2();
- if (!L_56)
- {
- goto IL_00ff;
- }
- }
- {
- // client_write_IV = new byte[clientWriteCipher.GetBlockSize()];
- RuntimeObject* L_57 = ___clientWriteCipher1;
- NullCheck(L_57);
- int32_t L_58;
- L_58 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_57);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_58);
- V_7 = L_59;
- // server_write_IV = new byte[serverWriteCipher.GetBlockSize()];
- RuntimeObject* L_60 = ___serverWriteCipher2;
- NullCheck(L_60);
- int32_t L_61;
- L_61 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_60);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_62 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_61);
- V_8 = L_62;
- // }
- goto IL_0133;
- }
- IL_00ff:
- {
- // client_write_IV = Arrays.CopyOfRange(key_block, offset, offset + clientWriteCipher.GetBlockSize());
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_63 = V_1;
- int32_t L_64 = V_2;
- int32_t L_65 = V_2;
- RuntimeObject* L_66 = ___clientWriteCipher1;
- NullCheck(L_66);
- int32_t L_67;
- L_67 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_66);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68;
- 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);
- V_7 = L_68;
- // offset += clientWriteCipher.GetBlockSize();
- int32_t L_69 = V_2;
- RuntimeObject* L_70 = ___clientWriteCipher1;
- NullCheck(L_70);
- int32_t L_71;
- L_71 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_70);
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)L_71));
- // server_write_IV = Arrays.CopyOfRange(key_block, offset, offset + serverWriteCipher.GetBlockSize());
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_72 = V_1;
- int32_t L_73 = V_2;
- int32_t L_74 = V_2;
- RuntimeObject* L_75 = ___serverWriteCipher2;
- NullCheck(L_75);
- int32_t L_76;
- L_76 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_75);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_77;
- 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);
- V_8 = L_77;
- // offset += serverWriteCipher.GetBlockSize();
- int32_t L_78 = V_2;
- RuntimeObject* L_79 = ___serverWriteCipher2;
- NullCheck(L_79);
- int32_t L_80;
- L_80 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_79);
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)L_80));
- }
- IL_0133:
- {
- // if (offset != key_block_size)
- int32_t L_81 = V_2;
- int32_t L_82 = V_0;
- if ((((int32_t)L_81) == ((int32_t)L_82)))
- {
- goto IL_013f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher__ctor_mFF4377D1F46CE5D20AE89B4EFDDF99C372CC3A08_RuntimeMethod_var)));
- }
- IL_013f:
- {
- // if (context.IsServer)
- RuntimeObject* L_84 = ___context0;
- NullCheck(L_84);
- bool L_85;
- L_85 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_84);
- if (!L_85)
- {
- goto IL_017c;
- }
- }
- {
- // this.mWriteMac = serverWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_86 = V_4;
- __this->set_mWriteMac_6(L_86);
- // this.mReadMac = clientWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_87 = V_3;
- __this->set_mReadMac_7(L_87);
- // this.encryptCipher = serverWriteCipher;
- RuntimeObject* L_88 = ___serverWriteCipher2;
- __this->set_encryptCipher_4(L_88);
- // this.decryptCipher = clientWriteCipher;
- RuntimeObject* L_89 = ___clientWriteCipher1;
- __this->set_decryptCipher_5(L_89);
- // encryptParams = new ParametersWithIV(server_write_key, server_write_IV);
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_90 = V_6;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_91 = V_8;
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_92 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_92, L_90, L_91, /*hidden argument*/NULL);
- V_9 = L_92;
- // decryptParams = new ParametersWithIV(client_write_key, client_write_IV);
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_93 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = V_7;
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_95 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_95, L_93, L_94, /*hidden argument*/NULL);
- V_10 = L_95;
- // }
- goto IL_01af;
- }
- IL_017c:
- {
- // this.mWriteMac = clientWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_96 = V_3;
- __this->set_mWriteMac_6(L_96);
- // this.mReadMac = serverWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_97 = V_4;
- __this->set_mReadMac_7(L_97);
- // this.encryptCipher = clientWriteCipher;
- RuntimeObject* L_98 = ___clientWriteCipher1;
- __this->set_encryptCipher_4(L_98);
- // this.decryptCipher = serverWriteCipher;
- RuntimeObject* L_99 = ___serverWriteCipher2;
- __this->set_decryptCipher_5(L_99);
- // encryptParams = new ParametersWithIV(client_write_key, client_write_IV);
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_100 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_101 = V_7;
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_102 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_102, L_100, L_101, /*hidden argument*/NULL);
- V_9 = L_102;
- // decryptParams = new ParametersWithIV(server_write_key, server_write_IV);
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_103 = V_6;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_104 = V_8;
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_105 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_105, L_103, L_104, /*hidden argument*/NULL);
- V_10 = L_105;
- }
- IL_01af:
- {
- // this.encryptCipher.Init(true, encryptParams);
- RuntimeObject* L_106 = __this->get_encryptCipher_4();
- RuntimeObject* L_107 = V_9;
- NullCheck(L_106);
- 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);
- // this.decryptCipher.Init(false, decryptParams);
- RuntimeObject* L_108 = __this->get_decryptCipher_5();
- RuntimeObject* L_109 = V_10;
- NullCheck(L_108);
- 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);
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::GetPlaintextLimit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_GetPlaintextLimit_mC77AE41C568572152EF0B405E02FFE740F6A8739 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- {
- // int blockSize = encryptCipher.GetBlockSize();
- RuntimeObject* L_0 = __this->get_encryptCipher_4();
- NullCheck(L_0);
- int32_t L_1;
- L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
- V_0 = L_1;
- // int macSize = mWriteMac.Size;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mWriteMac_6();
- NullCheck(L_2);
- int32_t L_3;
- L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
- V_1 = L_3;
- // int plaintextLimit = ciphertextLimit;
- int32_t L_4 = ___ciphertextLimit0;
- V_2 = L_4;
- // if (useExplicitIV)
- bool L_5 = __this->get_useExplicitIV_2();
- if (!L_5)
- {
- goto IL_0026;
- }
- }
- {
- // plaintextLimit -= blockSize;
- int32_t L_6 = V_2;
- int32_t L_7 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7));
- }
- IL_0026:
- {
- // if (encryptThenMac)
- bool L_8 = __this->get_encryptThenMac_3();
- if (!L_8)
- {
- goto IL_003a;
- }
- }
- {
- // plaintextLimit -= macSize;
- int32_t L_9 = V_2;
- int32_t L_10 = V_1;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10));
- // plaintextLimit -= plaintextLimit % blockSize;
- int32_t L_11 = V_2;
- int32_t L_12 = V_2;
- int32_t L_13 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)((int32_t)L_12%(int32_t)L_13))));
- // }
- goto IL_0044;
- }
- IL_003a:
- {
- // plaintextLimit -= plaintextLimit % blockSize;
- int32_t L_14 = V_2;
- int32_t L_15 = V_2;
- int32_t L_16 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)((int32_t)((int32_t)L_15%(int32_t)L_16))));
- // plaintextLimit -= macSize;
- int32_t L_17 = V_2;
- int32_t L_18 = V_1;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18));
- }
- IL_0044:
- {
- // --plaintextLimit;
- int32_t L_19 = V_2;
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)1));
- // return plaintextLimit;
- int32_t L_20 = V_2;
- return L_20;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_2 = NULL;
- int32_t V_3 = 0;
- int32_t V_4 = 0;
- int32_t V_5 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- int32_t V_7 = 0;
- int32_t V_8 = 0;
- int32_t V_9 = 0;
- int32_t V_10 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_11 = NULL;
- int32_t V_12 = 0;
- int32_t V_13 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_14 = NULL;
- {
- // int blockSize = encryptCipher.GetBlockSize();
- RuntimeObject* L_0 = __this->get_encryptCipher_4();
- NullCheck(L_0);
- int32_t L_1;
- L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
- V_0 = L_1;
- // int macSize = mWriteMac.Size;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mWriteMac_6();
- NullCheck(L_2);
- int32_t L_3;
- L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
- V_1 = L_3;
- // ProtocolVersion version = context.ServerVersion;
- RuntimeObject* L_4 = __this->get_context_0();
- NullCheck(L_4);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
- 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);
- V_2 = L_5;
- // int enc_input_length = len;
- int32_t L_6 = ___len4;
- V_3 = L_6;
- // if (!encryptThenMac)
- bool L_7 = __this->get_encryptThenMac_3();
- if (L_7)
- {
- goto IL_0033;
- }
- }
- {
- // enc_input_length += macSize;
- int32_t L_8 = V_3;
- int32_t L_9 = V_1;
- V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9));
- }
- IL_0033:
- {
- // int padding_length = blockSize - 1 - (enc_input_length % blockSize);
- int32_t L_10 = V_0;
- int32_t L_11 = V_3;
- int32_t L_12 = V_0;
- 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))));
- // if (encryptThenMac || !context.SecurityParameters.truncatedHMac)
- bool L_13 = __this->get_encryptThenMac_3();
- if (L_13)
- {
- goto IL_0056;
- }
- }
- {
- RuntimeObject* L_14 = __this->get_context_0();
- NullCheck(L_14);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15;
- 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);
- NullCheck(L_15);
- bool L_16 = L_15->get_truncatedHMac_12();
- if (L_16)
- {
- goto IL_0090;
- }
- }
- IL_0056:
- {
- // if (!version.IsDtls && !version.IsSsl)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_17 = V_2;
- NullCheck(L_17);
- bool L_18;
- L_18 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_17, /*hidden argument*/NULL);
- if (L_18)
- {
- goto IL_0090;
- }
- }
- {
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_19 = V_2;
- NullCheck(L_19);
- bool L_20;
- L_20 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_19, /*hidden argument*/NULL);
- if (L_20)
- {
- goto IL_0090;
- }
- }
- {
- // int maxExtraPadBlocks = (255 - padding_length) / blockSize;
- int32_t L_21 = V_4;
- int32_t L_22 = V_0;
- V_9 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)255), (int32_t)L_21))/(int32_t)L_22));
- // int actualExtraPadBlocks = ChooseExtraPadBlocks(context.SecureRandom, maxExtraPadBlocks);
- RuntimeObject* L_23 = __this->get_context_0();
- NullCheck(L_23);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_24;
- 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);
- int32_t L_25 = V_9;
- int32_t L_26;
- 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);
- V_10 = L_26;
- // padding_length += actualExtraPadBlocks * blockSize;
- int32_t L_27 = V_4;
- int32_t L_28 = V_10;
- int32_t L_29 = V_0;
- 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))));
- }
- IL_0090:
- {
- // int totalSize = len + macSize + padding_length + 1;
- int32_t L_30 = ___len4;
- int32_t L_31 = V_1;
- int32_t L_32 = V_4;
- 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));
- // if (useExplicitIV)
- bool L_33 = __this->get_useExplicitIV_2();
- if (!L_33)
- {
- goto IL_00a9;
- }
- }
- {
- // totalSize += blockSize;
- int32_t L_34 = V_5;
- int32_t L_35 = V_0;
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35));
- }
- IL_00a9:
- {
- // byte[] outBuf = new byte[totalSize];
- int32_t L_36 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_37 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_36);
- V_6 = L_37;
- // int outOff = 0;
- V_7 = 0;
- // if (useExplicitIV)
- bool L_38 = __this->get_useExplicitIV_2();
- if (!L_38)
- {
- goto IL_0121;
- }
- }
- {
- // if (explicitIV == null || explicitIV.Length != blockSize) Array.Resize(ref explicitIV, blockSize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = __this->get_explicitIV_8();
- if (!L_39)
- {
- goto IL_00d0;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_40 = __this->get_explicitIV_8();
- NullCheck(L_40);
- int32_t L_41 = V_0;
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length)))) == ((int32_t)L_41)))
- {
- goto IL_00dc;
- }
- }
- IL_00d0:
- {
- // if (explicitIV == null || explicitIV.Length != blockSize) Array.Resize(ref explicitIV, blockSize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** L_42 = __this->get_address_of_explicitIV_8();
- int32_t L_43 = V_0;
- Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726**)L_42, L_43, /*hidden argument*/Array_Resize_TisByte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_mEF40A4C91D84E98C4EC043AD2EE0CEA883FDC023_RuntimeMethod_var);
- }
- IL_00dc:
- {
- // context.NonceRandomGenerator.NextBytes(explicitIV);
- RuntimeObject* L_44 = __this->get_context_0();
- NullCheck(L_44);
- RuntimeObject* L_45;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46 = __this->get_explicitIV_8();
- NullCheck(L_45);
- 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);
- // encryptCipher.Init(true, new ParametersWithIV(null, explicitIV));
- RuntimeObject* L_47 = __this->get_encryptCipher_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = __this->get_explicitIV_8();
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_49 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_mA22FB4E80EEE2091E9551DA8DCB33BD7549103F1(L_49, (RuntimeObject*)NULL, L_48, /*hidden argument*/NULL);
- NullCheck(L_47);
- 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);
- // Array.Copy(explicitIV, 0, outBuf, outOff, blockSize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = __this->get_explicitIV_8();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_51 = V_6;
- int32_t L_52 = V_7;
- int32_t L_53 = V_0;
- Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_50, 0, (RuntimeArray *)(RuntimeArray *)L_51, L_52, L_53, /*hidden argument*/NULL);
- // outOff += blockSize;
- int32_t L_54 = V_7;
- int32_t L_55 = V_0;
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)L_55));
- }
- IL_0121:
- {
- // int blocks_start = outOff;
- int32_t L_56 = V_7;
- V_8 = L_56;
- // Array.Copy(plaintext, offset, outBuf, outOff, len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = ___plaintext2;
- int32_t L_58 = ___offset3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = V_6;
- int32_t L_60 = V_7;
- int32_t L_61 = ___len4;
- Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_57, L_58, (RuntimeArray *)(RuntimeArray *)L_59, L_60, L_61, /*hidden argument*/NULL);
- // outOff += len;
- int32_t L_62 = V_7;
- int32_t L_63 = ___len4;
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_62, (int32_t)L_63));
- // if (!encryptThenMac)
- bool L_64 = __this->get_encryptThenMac_3();
- if (L_64)
- {
- goto IL_016f;
- }
- }
- {
- // byte[] mac = mWriteMac.CalculateMac(seqNo, type, plaintext, offset, len);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_65 = __this->get_mWriteMac_6();
- int64_t L_66 = ___seqNo0;
- uint8_t L_67 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_68 = ___plaintext2;
- int32_t L_69 = ___offset3;
- int32_t L_70 = ___len4;
- NullCheck(L_65);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_71;
- 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);
- V_11 = L_71;
- // Array.Copy(mac, 0, outBuf, outOff, mac.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_72 = V_11;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_73 = V_6;
- int32_t L_74 = V_7;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_75 = V_11;
- NullCheck(L_75);
- 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);
- // outOff += mac.Length;
- int32_t L_76 = V_7;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_77 = V_11;
- NullCheck(L_77);
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_76, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_77)->max_length)))));
- }
- IL_016f:
- {
- // for (int i = 0; i <= padding_length; i++)
- V_12 = 0;
- goto IL_0187;
- }
- IL_0174:
- {
- // outBuf[outOff++] = (byte)padding_length;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_78 = V_6;
- int32_t L_79 = V_7;
- int32_t L_80 = L_79;
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_80, (int32_t)1));
- int32_t L_81 = V_4;
- NullCheck(L_78);
- (L_78)->SetAt(static_cast<il2cpp_array_size_t>(L_80), (uint8_t)((int32_t)((uint8_t)L_81)));
- // for (int i = 0; i <= padding_length; i++)
- int32_t L_82 = V_12;
- V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)1));
- }
- IL_0187:
- {
- // for (int i = 0; i <= padding_length; i++)
- int32_t L_83 = V_12;
- int32_t L_84 = V_4;
- if ((((int32_t)L_83) <= ((int32_t)L_84)))
- {
- goto IL_0174;
- }
- }
- {
- // for (int i = blocks_start; i < outOff; i += blockSize)
- int32_t L_85 = V_8;
- V_13 = L_85;
- goto IL_01ad;
- }
- IL_0193:
- {
- // encryptCipher.ProcessBlock(outBuf, i, outBuf, i);
- RuntimeObject* L_86 = __this->get_encryptCipher_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_87 = V_6;
- int32_t L_88 = V_13;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_89 = V_6;
- int32_t L_90 = V_13;
- NullCheck(L_86);
- int32_t L_91;
- 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);
- // for (int i = blocks_start; i < outOff; i += blockSize)
- int32_t L_92 = V_13;
- int32_t L_93 = V_0;
- V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_92, (int32_t)L_93));
- }
- IL_01ad:
- {
- // for (int i = blocks_start; i < outOff; i += blockSize)
- int32_t L_94 = V_13;
- int32_t L_95 = V_7;
- if ((((int32_t)L_94) < ((int32_t)L_95)))
- {
- goto IL_0193;
- }
- }
- {
- // if (encryptThenMac)
- bool L_96 = __this->get_encryptThenMac_3();
- if (!L_96)
- {
- goto IL_01e8;
- }
- }
- {
- // byte[] mac = mWriteMac.CalculateMac(seqNo, type, outBuf, 0, outOff);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_97 = __this->get_mWriteMac_6();
- int64_t L_98 = ___seqNo0;
- uint8_t L_99 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_100 = V_6;
- int32_t L_101 = V_7;
- NullCheck(L_97);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_102;
- 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);
- V_14 = L_102;
- // Array.Copy(mac, 0, outBuf, outOff, mac.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_103 = V_14;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_104 = V_6;
- int32_t L_105 = V_7;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_106 = V_14;
- NullCheck(L_106);
- 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);
- // outOff += mac.Length;
- int32_t L_107 = V_7;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_108 = V_14;
- NullCheck(L_108);
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_107, (int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_108)->max_length)))));
- }
- IL_01e8:
- {
- // return outBuf;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_109 = V_6;
- return L_109;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- int32_t V_4 = 0;
- bool V_5 = false;
- int32_t V_6 = 0;
- int32_t V_7 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_8 = NULL;
- int32_t V_9 = 0;
- int32_t V_10 = 0;
- int32_t V_11 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_12 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_13 = NULL;
- int32_t G_B21_0 = 0;
- int32_t G_B21_1 = 0;
- int32_t G_B21_2 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B21_3 = NULL;
- TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B21_4 = NULL;
- int32_t G_B20_0 = 0;
- int32_t G_B20_1 = 0;
- int32_t G_B20_2 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B20_3 = NULL;
- TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B20_4 = NULL;
- int32_t G_B22_0 = 0;
- int32_t G_B22_1 = 0;
- int32_t G_B22_2 = 0;
- int32_t G_B22_3 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B22_4 = NULL;
- TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * G_B22_5 = NULL;
- {
- // int blockSize = decryptCipher.GetBlockSize();
- RuntimeObject* L_0 = __this->get_decryptCipher_5();
- NullCheck(L_0);
- int32_t L_1;
- L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher::GetBlockSize() */, IBlockCipher_t4FA7EA6D085ACCAA4231532AE167B550195B1CAA_il2cpp_TypeInfo_var, L_0);
- V_0 = L_1;
- // int macSize = mReadMac.Size;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_2 = __this->get_mReadMac_7();
- NullCheck(L_2);
- int32_t L_3;
- L_3 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_2);
- V_1 = L_3;
- // int minLen = blockSize;
- int32_t L_4 = V_0;
- V_2 = L_4;
- // if (encryptThenMac)
- bool L_5 = __this->get_encryptThenMac_3();
- if (!L_5)
- {
- goto IL_0028;
- }
- }
- {
- // minLen += macSize;
- int32_t L_6 = V_2;
- int32_t L_7 = V_1;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_7));
- // }
- goto IL_0032;
- }
- IL_0028:
- {
- // minLen = System.Math.Max(minLen, macSize + 1);
- int32_t L_8 = V_2;
- int32_t L_9 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_10;
- L_10 = Math_Max_mD8AA27386BF012C65303FCDEA041B0CC65056E7B(L_8, ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)), /*hidden argument*/NULL);
- V_2 = L_10;
- }
- IL_0032:
- {
- // if (useExplicitIV)
- bool L_11 = __this->get_useExplicitIV_2();
- if (!L_11)
- {
- goto IL_003e;
- }
- }
- {
- // minLen += blockSize;
- int32_t L_12 = V_2;
- int32_t L_13 = V_0;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13));
- }
- IL_003e:
- {
- // if (len < minLen)
- int32_t L_14 = ___len4;
- int32_t L_15 = V_2;
- if ((((int32_t)L_14) >= ((int32_t)L_15)))
- {
- goto IL_004b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_16 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_16, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
- }
- IL_004b:
- {
- // int blocks_length = len;
- int32_t L_17 = ___len4;
- V_3 = L_17;
- // if (encryptThenMac)
- bool L_18 = __this->get_encryptThenMac_3();
- if (!L_18)
- {
- goto IL_005a;
- }
- }
- {
- // blocks_length -= macSize;
- int32_t L_19 = V_3;
- int32_t L_20 = V_1;
- V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)L_20));
- }
- IL_005a:
- {
- // if (blocks_length % blockSize != 0)
- int32_t L_21 = V_3;
- int32_t L_22 = V_0;
- if (!((int32_t)((int32_t)L_21%(int32_t)L_22)))
- {
- goto IL_0067;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decryption_failed);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)21), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
- }
- IL_0067:
- {
- // if (encryptThenMac)
- bool L_24 = __this->get_encryptThenMac_3();
- if (!L_24)
- {
- goto IL_00ac;
- }
- }
- {
- // int end = offset + len;
- int32_t L_25 = ___offset3;
- int32_t L_26 = ___len4;
- V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26));
- // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, end - macSize, end);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = ___ciphertext2;
- int32_t L_28 = V_7;
- int32_t L_29 = V_1;
- int32_t L_30 = V_7;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
- 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);
- V_8 = L_31;
- // byte[] calculatedMac = mReadMac.CalculateMac(seqNo, type, ciphertext, offset, len - macSize);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_32 = __this->get_mReadMac_7();
- int64_t L_33 = ___seqNo0;
- uint8_t L_34 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35 = ___ciphertext2;
- int32_t L_36 = ___offset3;
- int32_t L_37 = ___len4;
- int32_t L_38 = V_1;
- NullCheck(L_32);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39;
- 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)));
- // bool badMacEtm = !Arrays.ConstantTimeAreEqual(calculatedMac, receivedMac);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_40 = V_8;
- bool L_41;
- L_41 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_39, L_40, /*hidden argument*/NULL);
- // if (badMacEtm)
- if (!((((int32_t)L_41) == ((int32_t)0))? 1 : 0))
- {
- goto IL_00ac;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_42 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_42, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
- }
- IL_00ac:
- {
- // if (useExplicitIV)
- bool L_43 = __this->get_useExplicitIV_2();
- if (!L_43)
- {
- goto IL_00d4;
- }
- }
- {
- // decryptCipher.Init(false, new ParametersWithIV(null, ciphertext, offset, blockSize));
- RuntimeObject* L_44 = __this->get_decryptCipher_5();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45 = ___ciphertext2;
- int32_t L_46 = ___offset3;
- int32_t L_47 = V_0;
- ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 * L_48 = (ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0 *)il2cpp_codegen_object_new(ParametersWithIV_tD5AFAE97C3F7DA4A08BC278F9AC969DA957E87A0_il2cpp_TypeInfo_var);
- ParametersWithIV__ctor_m012DD2304E0C24B39AD257B371C1A8285EC533FE(L_48, (RuntimeObject*)NULL, L_45, L_46, L_47, /*hidden argument*/NULL);
- NullCheck(L_44);
- 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);
- // offset += blockSize;
- int32_t L_49 = ___offset3;
- int32_t L_50 = V_0;
- ___offset3 = ((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)L_50));
- // blocks_length -= blockSize;
- int32_t L_51 = V_3;
- int32_t L_52 = V_0;
- V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)L_52));
- }
- IL_00d4:
- {
- // for (int i = 0; i < blocks_length; i += blockSize)
- V_9 = 0;
- goto IL_00f7;
- }
- IL_00d9:
- {
- // decryptCipher.ProcessBlock(ciphertext, offset + i, ciphertext, offset + i);
- RuntimeObject* L_53 = __this->get_decryptCipher_5();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ___ciphertext2;
- int32_t L_55 = ___offset3;
- int32_t L_56 = V_9;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57 = ___ciphertext2;
- int32_t L_58 = ___offset3;
- int32_t L_59 = V_9;
- NullCheck(L_53);
- int32_t L_60;
- 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)));
- // for (int i = 0; i < blocks_length; i += blockSize)
- int32_t L_61 = V_9;
- int32_t L_62 = V_0;
- V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)L_62));
- }
- IL_00f7:
- {
- // for (int i = 0; i < blocks_length; i += blockSize)
- int32_t L_63 = V_9;
- int32_t L_64 = V_3;
- if ((((int32_t)L_63) < ((int32_t)L_64)))
- {
- goto IL_00d9;
- }
- }
- {
- // int totalPad = CheckPaddingConstantTime(ciphertext, offset, blocks_length, blockSize, encryptThenMac ? 0 : macSize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_65 = ___ciphertext2;
- int32_t L_66 = ___offset3;
- int32_t L_67 = V_3;
- int32_t L_68 = V_0;
- bool L_69 = __this->get_encryptThenMac_3();
- G_B20_0 = L_68;
- G_B20_1 = L_67;
- G_B20_2 = L_66;
- G_B20_3 = L_65;
- G_B20_4 = __this;
- if (L_69)
- {
- G_B21_0 = L_68;
- G_B21_1 = L_67;
- G_B21_2 = L_66;
- G_B21_3 = L_65;
- G_B21_4 = __this;
- goto IL_010d;
- }
- }
- {
- int32_t L_70 = V_1;
- G_B22_0 = L_70;
- G_B22_1 = G_B20_0;
- G_B22_2 = G_B20_1;
- G_B22_3 = G_B20_2;
- G_B22_4 = G_B20_3;
- G_B22_5 = G_B20_4;
- goto IL_010e;
- }
- IL_010d:
- {
- G_B22_0 = 0;
- G_B22_1 = G_B21_0;
- G_B22_2 = G_B21_1;
- G_B22_3 = G_B21_2;
- G_B22_4 = G_B21_3;
- G_B22_5 = G_B21_4;
- }
- IL_010e:
- {
- NullCheck(G_B22_5);
- int32_t L_71;
- 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);
- V_4 = L_71;
- // bool badMac = (totalPad == 0);
- int32_t L_72 = V_4;
- V_5 = (bool)((((int32_t)L_72) == ((int32_t)0))? 1 : 0);
- // int dec_output_length = blocks_length - totalPad;
- int32_t L_73 = V_3;
- int32_t L_74 = V_4;
- V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_73, (int32_t)L_74));
- // if (!encryptThenMac)
- bool L_75 = __this->get_encryptThenMac_3();
- if (L_75)
- {
- goto IL_0177;
- }
- }
- {
- // dec_output_length -= macSize;
- int32_t L_76 = V_6;
- int32_t L_77 = V_1;
- V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_76, (int32_t)L_77));
- // int macInputLen = dec_output_length;
- int32_t L_78 = V_6;
- V_10 = L_78;
- // int macOff = offset + macInputLen;
- int32_t L_79 = ___offset3;
- int32_t L_80 = V_10;
- V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_79, (int32_t)L_80));
- // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, macOff, macOff + macSize);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_81 = ___ciphertext2;
- int32_t L_82 = V_11;
- int32_t L_83 = V_11;
- int32_t L_84 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_85;
- 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);
- V_12 = L_85;
- // byte[] calculatedMac = mReadMac.CalculateMacConstantTime(seqNo, type, ciphertext, offset, macInputLen,
- // blocks_length - macSize, randomData);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_86 = __this->get_mReadMac_7();
- int64_t L_87 = ___seqNo0;
- uint8_t L_88 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_89 = ___ciphertext2;
- int32_t L_90 = ___offset3;
- int32_t L_91 = V_10;
- int32_t L_92 = V_3;
- int32_t L_93 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = __this->get_randomData_1();
- NullCheck(L_86);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_95;
- 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);
- V_13 = L_95;
- // badMac |= !Arrays.ConstantTimeAreEqual(calculatedMac, receivedMac);
- bool L_96 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_97 = V_13;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_98 = V_12;
- bool L_99;
- L_99 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_97, L_98, /*hidden argument*/NULL);
- V_5 = (bool)((int32_t)((int32_t)L_96|(int32_t)((((int32_t)L_99) == ((int32_t)0))? 1 : 0)));
- }
- IL_0177:
- {
- // if (badMac)
- bool L_100 = V_5;
- if (!L_100)
- {
- goto IL_0183;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_101 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_101, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_101, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsBlockCipher_DecodeCiphertext_mD683507E9D406BAA5BC9D84B398D4BBE6264EDA7_RuntimeMethod_var)));
- }
- IL_0183:
- {
- // return Arrays.CopyOfRange(ciphertext, offset, offset + dec_output_length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_102 = ___ciphertext2;
- int32_t L_103 = ___offset3;
- int32_t L_104 = ___offset3;
- int32_t L_105 = V_6;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_106;
- 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);
- return L_106;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::CheckPaddingConstantTime(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- uint8_t V_1 = 0x0;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- uint8_t V_4 = 0x0;
- int32_t V_5 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- {
- // int end = off + len;
- int32_t L_0 = ___off1;
- int32_t L_1 = ___len2;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1));
- // byte lastByte = buf[end - 1];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf0;
- int32_t L_3 = V_0;
- NullCheck(L_2);
- int32_t L_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1));
- uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- V_1 = L_5;
- // int padlen = lastByte & 0xff;
- uint8_t L_6 = V_1;
- // int totalPad = padlen + 1;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_6&(int32_t)((int32_t)255))), (int32_t)1));
- // int dummyIndex = 0;
- V_3 = 0;
- // byte padDiff = 0;
- V_4 = (uint8_t)0;
- // if ((TlsUtilities.IsSsl(context) && totalPad > blockSize) || (macSize + totalPad > len))
- RuntimeObject* L_7 = __this->get_context_0();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_8;
- L_8 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_7, /*hidden argument*/NULL);
- if (!L_8)
- {
- goto IL_002b;
- }
- }
- {
- int32_t L_9 = V_2;
- int32_t L_10 = ___blockSize3;
- if ((((int32_t)L_9) > ((int32_t)L_10)))
- {
- goto IL_0032;
- }
- }
- IL_002b:
- {
- int32_t L_11 = ___macSize4;
- int32_t L_12 = V_2;
- int32_t L_13 = ___len2;
- if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12))) <= ((int32_t)L_13)))
- {
- goto IL_0036;
- }
- }
- IL_0032:
- {
- // totalPad = 0;
- V_2 = 0;
- // }
- goto IL_005a;
- }
- IL_0036:
- {
- // int padPos = end - totalPad;
- int32_t L_14 = V_0;
- int32_t L_15 = V_2;
- V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)L_15));
- }
- IL_003b:
- {
- // padDiff |= (byte)(buf[padPos++] ^ lastByte);
- uint8_t L_16 = V_4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___buf0;
- int32_t L_18 = V_5;
- int32_t L_19 = L_18;
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
- NullCheck(L_17);
- int32_t L_20 = L_19;
- uint8_t L_21 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
- uint8_t L_22 = V_1;
- 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))))))));
- // while (padPos < end);
- int32_t L_23 = V_5;
- int32_t L_24 = V_0;
- if ((((int32_t)L_23) < ((int32_t)L_24)))
- {
- goto IL_003b;
- }
- }
- {
- // dummyIndex = totalPad;
- int32_t L_25 = V_2;
- V_3 = L_25;
- // if (padDiff != 0)
- uint8_t L_26 = V_4;
- if (!L_26)
- {
- goto IL_005a;
- }
- }
- {
- // totalPad = 0;
- V_2 = 0;
- }
- IL_005a:
- {
- // byte[] dummyPad = randomData;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = __this->get_randomData_1();
- V_6 = L_27;
- goto IL_0075;
- }
- IL_0064:
- {
- // padDiff |= (byte)(dummyPad[dummyIndex++] ^ lastByte);
- uint8_t L_28 = V_4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = V_6;
- int32_t L_30 = V_3;
- int32_t L_31 = L_30;
- V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)1));
- NullCheck(L_29);
- int32_t L_32 = L_31;
- uint8_t L_33 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
- uint8_t L_34 = V_1;
- 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))))))));
- }
- IL_0075:
- {
- // while (dummyIndex < 256)
- int32_t L_35 = V_3;
- if ((((int32_t)L_35) < ((int32_t)((int32_t)256))))
- {
- goto IL_0064;
- }
- }
- {
- // dummyPad[0] ^= padDiff;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_6;
- NullCheck(L_36);
- uint8_t* L_37 = ((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
- int32_t L_38 = *((uint8_t*)L_37);
- uint8_t L_39 = V_4;
- *((int8_t*)L_37) = (int8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_38^(int32_t)L_39))));
- // return totalPad;
- int32_t L_40 = V_2;
- return L_40;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::ChooseExtraPadBlocks(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_ChooseExtraPadBlocks_m2A1FBEBBB4A2587D3B270AE6FE2DBB3BC3E4B5EF (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___r0, int32_t ___max1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- {
- // int x = r.NextInt();
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___r0;
- NullCheck(L_0);
- int32_t L_1;
- L_1 = VirtualFuncInvoker0< int32_t >::Invoke(14 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom::NextInt() */, L_0);
- V_0 = L_1;
- // int n = LowestBitSet(x);
- int32_t L_2 = V_0;
- int32_t L_3;
- L_3 = VirtualFuncInvoker1< int32_t, int32_t >::Invoke(14 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::LowestBitSet(System.Int32) */, __this, L_2);
- // return System.Math.Min(n, max);
- int32_t L_4 = ___max1;
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_5;
- L_5 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_3, L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsBlockCipher::LowestBitSet(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsBlockCipher_LowestBitSet_mFC7EF05D39240E3905F67D71278F33C26C7AD298 (TlsBlockCipher_tAC69ECAF617D44FEDBCC3F4DC23EF4496F85ABD1 * __this, int32_t ___x0, const RuntimeMethod* method)
- {
- uint32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- // if (x == 0)
- int32_t L_0 = ___x0;
- if (L_0)
- {
- goto IL_0006;
- }
- }
- {
- // return 32;
- return ((int32_t)32);
- }
- IL_0006:
- {
- // uint ux = (uint)x;
- int32_t L_1 = ___x0;
- V_0 = L_1;
- // int n = 0;
- V_1 = 0;
- goto IL_0014;
- }
- IL_000c:
- {
- // ++n;
- int32_t L_2 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
- // ux >>= 1;
- uint32_t L_3 = V_0;
- V_0 = ((int32_t)((uint32_t)L_3>>1));
- }
- IL_0014:
- {
- // while ((ux & 1U) == 0)
- uint32_t L_4 = V_0;
- if (!((int32_t)((int32_t)L_4&(int32_t)1)))
- {
- goto IL_000c;
- }
- }
- {
- // return n;
- int32_t L_5 = V_1;
- return L_5;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : base(secureRandom, securityParameters)
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1 = ___securityParameters1;
- IL2CPP_RUNTIME_CLASS_INIT(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
- AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A(__this, L_0, L_1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientContextImpl::get_IsServer()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsClientContextImpl_get_IsServer_m699D596512D7D53E68BA3263757A9AF2ED3025C0 (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * __this, const RuntimeMethod* method)
- {
- {
- // get { return false; }
- return (bool)0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_m917AFA9DB080FE0BF9AF1CCD67C2AA47D11CCCFF (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
- {
- {
- // : base(stream, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_1 = ___secureRandom1;
- TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221(__this, L_0, L_1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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)
- {
- {
- // : base(input, output, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
- TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol__ctor_m520312DDE5231563E92A71C44021FBCD822B0A86 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
- {
- {
- // : base(secureRandom)
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
- TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE(__this, L_0, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::Connect(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, RuntimeObject* ___tlsClient0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * V_1 = NULL;
- {
- // if (tlsClient == null)
- RuntimeObject* L_0 = ___tlsClient0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("tlsClient");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9321FD50B206A4430EA7A890E40061232A9C2BD2)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // if (this.mTlsClient != null)
- RuntimeObject* L_2 = __this->get_mTlsClient_49();
- if (!L_2)
- {
- goto IL_0021;
- }
- }
- {
- // throw new InvalidOperationException("'Connect' can only be called once");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral91EB9A41A3555C40AF9D99A5C03E2C5EE594DA43)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_Connect_m58E44D4FDC886578E85F3BE6222D18FD1973D42E_RuntimeMethod_var)));
- }
- IL_0021:
- {
- // this.mTlsClient = tlsClient;
- RuntimeObject* L_4 = ___tlsClient0;
- __this->set_mTlsClient_49(L_4);
- // this.mSecurityParameters = new SecurityParameters();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 *)il2cpp_codegen_object_new(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
- SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19(L_5, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecurityParameters_34(L_5);
- // this.mSecurityParameters.entity = ConnectionEnd.client;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_6);
- L_6->set_entity_0(1);
- // this.mTlsClientContext = new TlsClientContextImpl(mSecureRandom, mSecurityParameters);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRandom_24();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_9 = (TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF *)il2cpp_codegen_object_new(TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF_il2cpp_TypeInfo_var);
- TlsClientContextImpl__ctor_m2F67AC16A08C1DF0D26560A0F5C624F288014381(L_9, L_7, L_8, /*hidden argument*/NULL);
- __this->set_mTlsClientContext_50(L_9);
- // this.mSecurityParameters.clientRandom = CreateRandomBlock(tlsClient.ShouldUseGmtUnixTime(),
- // mTlsClientContext.NonceRandomGenerator);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_11 = ___tlsClient0;
- NullCheck(L_11);
- bool L_12;
- L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::ShouldUseGmtUnixTime() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_11);
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_13 = __this->get_mTlsClientContext_50();
- NullCheck(L_13);
- RuntimeObject* L_14;
- L_14 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(14 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::get_NonceRandomGenerator() */, L_13);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
- L_15 = TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63(L_12, L_14, /*hidden argument*/NULL);
- NullCheck(L_10);
- L_10->set_clientRandom_6(L_15);
- // this.mTlsClient.Init(mTlsClientContext);
- RuntimeObject* L_16 = __this->get_mTlsClient_49();
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_17 = __this->get_mTlsClientContext_50();
- NullCheck(L_16);
- 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);
- // this.mRecordStream.Init(mTlsClientContext);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_19 = __this->get_mTlsClientContext_50();
- NullCheck(L_18);
- RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF(L_18, L_19, /*hidden argument*/NULL);
- // TlsSession sessionToResume = tlsClient.GetSessionToResume();
- RuntimeObject* L_20 = ___tlsClient0;
- NullCheck(L_20);
- RuntimeObject* L_21;
- 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);
- V_0 = L_21;
- // if (sessionToResume != null && sessionToResume.IsResumable)
- RuntimeObject* L_22 = V_0;
- if (!L_22)
- {
- goto IL_00cb;
- }
- }
- {
- RuntimeObject* L_23 = V_0;
- NullCheck(L_23);
- bool L_24;
- L_24 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::get_IsResumable() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_23);
- if (!L_24)
- {
- goto IL_00cb;
- }
- }
- {
- // SessionParameters sessionParameters = sessionToResume.ExportSessionParameters();
- RuntimeObject* L_25 = V_0;
- NullCheck(L_25);
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_26;
- 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);
- V_1 = L_26;
- // if (sessionParameters != null && sessionParameters.IsExtendedMasterSecret)
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_27 = V_1;
- if (!L_27)
- {
- goto IL_00cb;
- }
- }
- {
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_28 = V_1;
- NullCheck(L_28);
- bool L_29;
- L_29 = SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline(L_28, /*hidden argument*/NULL);
- if (!L_29)
- {
- goto IL_00cb;
- }
- }
- {
- // this.mTlsSession = sessionToResume;
- RuntimeObject* L_30 = V_0;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mTlsSession_32(L_30);
- // this.mSessionParameters = sessionParameters;
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_31 = V_1;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSessionParameters_33(L_31);
- }
- IL_00cb:
- {
- // SendClientHelloMessage();
- VirtualActionInvoker0::Invoke(54 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientHelloMessage() */, __this);
- // this.mConnectionState = CS_CLIENT_HELLO;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)1);
- // BlockForHandshake();
- VirtualActionInvoker0::Invoke(17 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake() */, __this);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::CleanupHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_CleanupHandshake_m99DDD9FAF271C3B892812996B5DA4DB261DEE576 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- {
- // base.CleanupHandshake();
- TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B(__this, /*hidden argument*/NULL);
- // this.mSelectedSessionID = null;
- __this->set_mSelectedSessionID_51((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
- // this.mKeyExchange = null;
- __this->set_mKeyExchange_52((RuntimeObject*)NULL);
- // this.mAuthentication = null;
- __this->set_mAuthentication_53((RuntimeObject*)NULL);
- // this.mCertificateStatus = null;
- __this->set_mCertificateStatus_54((CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 *)NULL);
- // this.mCertificateRequest = null;
- __this->set_mCertificateRequest_55((CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 *)NULL);
- // }
- return;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_Context()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsClientProtocol_get_Context_mC6135834A40238397D9CC0621C3842982B8D1F93 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsClientContext; }
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_0 = __this->get_mTlsClientContext_50();
- return L_0;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_ContextAdmin()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * TlsClientProtocol_get_ContextAdmin_m4D4393A1CCA945136E4532E7ED5C4181C9F1CF97 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsClientContext; }
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_0 = __this->get_mTlsClientContext_50();
- return L_0;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::get_Peer()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsClientProtocol_get_Peer_mD616B590B55EEF8CB334A74FC618B2003FBFD748 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsClient; }
- RuntimeObject* L_0 = __this->get_mTlsClient_49();
- return L_0;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleHandshakeMessage(System.Byte,System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, uint8_t ___type0, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAuthentication_t5FA1BEF9526C288C8F717080E2AB1CA4B21FF542_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int16_t V_0 = 0;
- RuntimeObject* V_1 = NULL;
- RuntimeObject* V_2 = NULL;
- RuntimeObject* V_3 = NULL;
- RuntimeObject* V_4 = NULL;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * V_5 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_6 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_7 = NULL;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_8 = NULL;
- {
- // if (this.mResumedSession)
- bool L_0 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- if (!L_0)
- {
- goto IL_0048;
- }
- }
- {
- // if (type != HandshakeType.finished || this.mConnectionState != CS_SERVER_HELLO)
- uint8_t L_1 = ___type0;
- if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0016;
- }
- }
- {
- int16_t L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_2) == ((int32_t)2)))
- {
- goto IL_001e;
- }
- }
- IL_0016:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_001e:
- {
- // ProcessFinishedMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_4);
- // this.mConnectionState = CS_SERVER_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
- // SendChangeCipherSpecMessage();
- VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
- // SendFinishedMessage();
- VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
- // this.mConnectionState = CS_CLIENT_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
- // CompleteHandshake();
- VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
- // return;
- return;
- }
- IL_0048:
- {
- uint8_t L_5 = ___type0;
- switch (L_5)
- {
- case 0:
- {
- goto IL_05a8;
- }
- case 1:
- {
- goto IL_05bf;
- }
- case 2:
- {
- goto IL_01c4;
- }
- case 3:
- {
- goto IL_05bf;
- }
- case 4:
- {
- goto IL_056e;
- }
- case 5:
- {
- goto IL_05bf;
- }
- case 6:
- {
- goto IL_05bf;
- }
- case 7:
- {
- goto IL_05bf;
- }
- case 8:
- {
- goto IL_05bf;
- }
- case 9:
- {
- goto IL_05bf;
- }
- case 10:
- {
- goto IL_05bf;
- }
- case 11:
- {
- goto IL_00b3;
- }
- case 12:
- {
- goto IL_048b;
- }
- case 13:
- {
- goto IL_04e7;
- }
- case 14:
- {
- goto IL_027f;
- }
- case 15:
- {
- goto IL_05bf;
- }
- case 16:
- {
- goto IL_05bf;
- }
- case 17:
- {
- goto IL_05bf;
- }
- case 18:
- {
- goto IL_05bf;
- }
- case 19:
- {
- goto IL_05bf;
- }
- case 20:
- {
- goto IL_017e;
- }
- case 21:
- {
- goto IL_05bf;
- }
- case 22:
- {
- goto IL_0143;
- }
- case 23:
- {
- goto IL_0261;
- }
- }
- }
- {
- goto IL_05bf;
- }
- IL_00b3:
- {
- // switch (this.mConnectionState)
- int16_t L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_6;
- int16_t L_7 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)2))) <= ((uint32_t)1))))
- {
- goto IL_0133;
- }
- }
- {
- // if (this.mConnectionState == CS_SERVER_HELLO)
- int16_t L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_8) == ((uint32_t)2))))
- {
- goto IL_00d0;
- }
- }
- {
- // HandleSupplementalData(null);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
- }
- IL_00d0:
- {
- // this.mPeerCertificate = Certificate.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = ___buf1;
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_10;
- L_10 = Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E(L_9, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mPeerCertificate_35(L_10);
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_11 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_11, /*hidden argument*/NULL);
- // if (this.mPeerCertificate == null || this.mPeerCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- if (!L_12)
- {
- goto IL_00f7;
- }
- }
- {
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_13 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- NullCheck(L_13);
- bool L_14;
- L_14 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_13);
- if (!L_14)
- {
- goto IL_00fe;
- }
- }
- IL_00f7:
- {
- // this.mAllowCertificateStatus = false;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mAllowCertificateStatus_44((bool)0);
- }
- IL_00fe:
- {
- // this.mKeyExchange.ProcessServerCertificate(this.mPeerCertificate);
- RuntimeObject* L_15 = __this->get_mKeyExchange_52();
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_16 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- NullCheck(L_15);
- 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);
- // this.mAuthentication = mTlsClient.GetAuthentication();
- RuntimeObject* L_17 = __this->get_mTlsClient_49();
- NullCheck(L_17);
- RuntimeObject* L_18;
- 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);
- __this->set_mAuthentication_53(L_18);
- // this.mAuthentication.NotifyServerCertificate(this.mPeerCertificate);
- RuntimeObject* L_19 = __this->get_mAuthentication_53();
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_20 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- NullCheck(L_19);
- 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);
- // break;
- goto IL_013b;
- }
- IL_0133:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_21 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_21, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_21, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_013b:
- {
- // this.mConnectionState = CS_SERVER_CERTIFICATE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)4);
- // break;
- return;
- }
- IL_0143:
- {
- // switch (this.mConnectionState)
- int16_t L_22 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_22) == ((uint32_t)4))))
- {
- goto IL_0176;
- }
- }
- {
- // if (!this.mAllowCertificateStatus)
- bool L_23 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mAllowCertificateStatus_44();
- if (L_23)
- {
- goto IL_015c;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_24 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_24, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_015c:
- {
- // this.mCertificateStatus = CertificateStatus.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf1;
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_26;
- L_26 = CertificateStatus_Parse_m2E7ED817E49DDC573BD274BB7DCF042C6CE5294A(L_25, /*hidden argument*/NULL);
- __this->set_mCertificateStatus_54(L_26);
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_27 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_27, /*hidden argument*/NULL);
- // this.mConnectionState = CS_CERTIFICATE_STATUS;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)5);
- // break;
- return;
- }
- IL_0176:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_017e:
- {
- // switch (this.mConnectionState)
- int16_t L_29 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_29;
- int16_t L_30 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)((int32_t)13)))) <= ((uint32_t)1))))
- {
- goto IL_01bc;
- }
- }
- {
- // if (this.mConnectionState == CS_CLIENT_FINISHED && this.mExpectSessionTicket)
- int16_t L_31 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_31) == ((uint32_t)((int32_t)13)))))
- {
- goto IL_01a6;
- }
- }
- {
- bool L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
- if (!L_32)
- {
- goto IL_01a6;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_33 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_33, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_01a6:
- {
- // ProcessFinishedMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_34 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_34);
- // this.mConnectionState = CS_SERVER_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
- // CompleteHandshake();
- VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
- // break;
- return;
- }
- IL_01bc:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_35, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_01c4:
- {
- // switch (this.mConnectionState)
- int16_t L_36 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_36) == ((uint32_t)1))))
- {
- goto IL_0259;
- }
- }
- {
- // ReceiveServerHelloMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_37 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(52 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveServerHelloMessage(System.IO.MemoryStream) */, __this, L_37);
- // this.mConnectionState = CS_SERVER_HELLO;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)2);
- // this.mRecordStream.NotifyHelloComplete();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_38 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_38);
- RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD(L_38, /*hidden argument*/NULL);
- // ApplyMaxFragmentLengthExtension();
- VirtualActionInvoker0::Invoke(14 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension() */, __this);
- // if (this.mResumedSession)
- bool L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- if (!L_39)
- {
- goto IL_0234;
- }
- }
- {
- // this.mSecurityParameters.masterSecret = Arrays.Clone(this.mSessionParameters.MasterSecret);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_40 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_41 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_41);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_42;
- L_42 = SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline(L_41, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_43;
- L_43 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_42, /*hidden argument*/NULL);
- NullCheck(L_40);
- L_40->set_masterSecret_5(L_43);
- // this.mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_44 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- RuntimeObject* L_45;
- L_45 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_45);
- RuntimeObject* L_46;
- 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);
- RuntimeObject* L_47;
- L_47 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_47);
- RuntimeObject* L_48;
- 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);
- NullCheck(L_44);
- RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_44, L_46, L_48, /*hidden argument*/NULL);
- // }
- return;
- }
- IL_0234:
- {
- // InvalidateSession();
- VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
- // if (this.mSelectedSessionID.Length > 0)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_49 = __this->get_mSelectedSessionID_51();
- NullCheck(L_49);
- if (!(((RuntimeArray*)L_49)->max_length))
- {
- goto IL_05c7;
- }
- }
- {
- // this.mTlsSession = new TlsSessionImpl(this.mSelectedSessionID, null);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = __this->get_mSelectedSessionID_51();
- TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * L_51 = (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 *)il2cpp_codegen_object_new(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
- TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B(L_51, L_50, (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D *)NULL, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mTlsSession_32(L_51);
- // break;
- return;
- }
- IL_0259:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_52 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_52, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_52, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_0261:
- {
- // switch (this.mConnectionState)
- int16_t L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_53) == ((uint32_t)2))))
- {
- goto IL_0277;
- }
- }
- {
- // HandleSupplementalData(ReadSupplementalDataMessage(buf));
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_54 = ___buf1;
- RuntimeObject* L_55;
- L_55 = TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F(L_54, /*hidden argument*/NULL);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, L_55);
- // break;
- return;
- }
- IL_0277:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_56 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_56, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_56, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_027f:
- {
- // switch (this.mConnectionState)
- int16_t L_57 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_57;
- int16_t L_58 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)2))) <= ((uint32_t)5))))
- {
- goto IL_047a;
- }
- }
- {
- // if (mConnectionState < CS_SERVER_SUPPLEMENTAL_DATA)
- int16_t L_59 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_59) >= ((int32_t)3)))
- {
- goto IL_029f;
- }
- }
- {
- // HandleSupplementalData(null);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
- }
- IL_029f:
- {
- // if (mConnectionState < CS_SERVER_CERTIFICATE)
- int16_t L_60 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_60) >= ((int32_t)4)))
- {
- goto IL_02ba;
- }
- }
- {
- // this.mKeyExchange.SkipServerCredentials();
- RuntimeObject* L_61 = __this->get_mKeyExchange_52();
- NullCheck(L_61);
- InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_61);
- // this.mAuthentication = null;
- __this->set_mAuthentication_53((RuntimeObject*)NULL);
- }
- IL_02ba:
- {
- // if (mConnectionState < CS_SERVER_KEY_EXCHANGE)
- int16_t L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_62) >= ((int32_t)6)))
- {
- goto IL_02ce;
- }
- }
- {
- // this.mKeyExchange.SkipServerKeyExchange();
- RuntimeObject* L_63 = __this->get_mKeyExchange_52();
- NullCheck(L_63);
- InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_63);
- }
- IL_02ce:
- {
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_64 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_64, /*hidden argument*/NULL);
- // this.mConnectionState = CS_SERVER_HELLO_DONE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)8);
- // this.mRecordStream.HandshakeHash.SealHashAlgorithms();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_65 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_65);
- RuntimeObject* L_66;
- L_66 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_65, /*hidden argument*/NULL);
- NullCheck(L_66);
- InterfaceActionInvoker0::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::SealHashAlgorithms() */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_66);
- // IList clientSupplementalData = mTlsClient.GetClientSupplementalData();
- RuntimeObject* L_67 = __this->get_mTlsClient_49();
- NullCheck(L_67);
- RuntimeObject* L_68;
- L_68 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(18 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetClientSupplementalData() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_67);
- V_1 = L_68;
- // if (clientSupplementalData != null)
- RuntimeObject* L_69 = V_1;
- if (!L_69)
- {
- goto IL_0301;
- }
- }
- {
- // SendSupplementalDataMessage(clientSupplementalData);
- RuntimeObject* L_70 = V_1;
- VirtualActionInvoker1< RuntimeObject* >::Invoke(42 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList) */, __this, L_70);
- }
- IL_0301:
- {
- // this.mConnectionState = CS_CLIENT_SUPPLEMENTAL_DATA;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)9));
- // TlsCredentials clientCreds = null;
- V_2 = (RuntimeObject*)NULL;
- // if (mCertificateRequest == null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_71 = __this->get_mCertificateRequest_55();
- if (L_71)
- {
- goto IL_0320;
- }
- }
- {
- // this.mKeyExchange.SkipClientCredentials();
- RuntimeObject* L_72 = __this->get_mKeyExchange_52();
- NullCheck(L_72);
- InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_72);
- // }
- goto IL_036b;
- }
- IL_0320:
- {
- // clientCreds = this.mAuthentication.GetClientCredentials(Context, mCertificateRequest);
- RuntimeObject* L_73 = __this->get_mAuthentication_53();
- RuntimeObject* L_74;
- L_74 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_75 = __this->get_mCertificateRequest_55();
- NullCheck(L_73);
- RuntimeObject* L_76;
- 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);
- V_2 = L_76;
- // if (clientCreds == null)
- RuntimeObject* L_77 = V_2;
- if (L_77)
- {
- goto IL_0353;
- }
- }
- {
- // this.mKeyExchange.SkipClientCredentials();
- RuntimeObject* L_78 = __this->get_mKeyExchange_52();
- NullCheck(L_78);
- InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_78);
- // SendCertificateMessage(Certificate.EmptyChain);
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_79 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
- 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);
- // }
- goto IL_036b;
- }
- IL_0353:
- {
- // this.mKeyExchange.ProcessClientCredentials(clientCreds);
- RuntimeObject* L_80 = __this->get_mKeyExchange_52();
- RuntimeObject* L_81 = V_2;
- NullCheck(L_80);
- 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);
- // SendCertificateMessage(clientCreds.Certificate);
- RuntimeObject* L_82 = V_2;
- NullCheck(L_82);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_83;
- 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);
- 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);
- }
- IL_036b:
- {
- // this.mConnectionState = CS_CLIENT_CERTIFICATE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
- // SendClientKeyExchangeMessage();
- VirtualActionInvoker0::Invoke(55 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientKeyExchangeMessage() */, __this);
- // this.mConnectionState = CS_CLIENT_KEY_EXCHANGE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)11));
- // if (TlsUtilities.IsSsl(Context))
- RuntimeObject* L_84;
- L_84 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_85;
- L_85 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_84, /*hidden argument*/NULL);
- if (!L_85)
- {
- goto IL_039f;
- }
- }
- {
- // EstablishMasterSecret(Context, mKeyExchange);
- RuntimeObject* L_86;
- L_86 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_87 = __this->get_mKeyExchange_52();
- TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_86, L_87, /*hidden argument*/NULL);
- }
- IL_039f:
- {
- // TlsHandshakeHash prepareFinishHash = mRecordStream.PrepareToFinish();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_88 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_88);
- RuntimeObject* L_89;
- L_89 = RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0(L_88, /*hidden argument*/NULL);
- V_3 = L_89;
- // this.mSecurityParameters.sessionHash = GetCurrentPrfHash(Context, prepareFinishHash, null);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_90 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_91;
- L_91 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_92 = V_3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_93;
- L_93 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_91, L_92, (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL, /*hidden argument*/NULL);
- NullCheck(L_90);
- L_90->set_sessionHash_8(L_93);
- // if (!TlsUtilities.IsSsl(Context))
- RuntimeObject* L_94;
- L_94 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_95;
- L_95 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_94, /*hidden argument*/NULL);
- if (L_95)
- {
- goto IL_03e1;
- }
- }
- {
- // EstablishMasterSecret(Context, mKeyExchange);
- RuntimeObject* L_96;
- L_96 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_97 = __this->get_mKeyExchange_52();
- TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_96, L_97, /*hidden argument*/NULL);
- }
- IL_03e1:
- {
- // mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_98 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- RuntimeObject* L_99;
- L_99 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_99);
- RuntimeObject* L_100;
- 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);
- RuntimeObject* L_101;
- L_101 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_101);
- RuntimeObject* L_102;
- 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);
- NullCheck(L_98);
- RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_98, L_100, L_102, /*hidden argument*/NULL);
- // if (clientCreds != null && clientCreds is TlsSignerCredentials)
- RuntimeObject* L_103 = V_2;
- if (!L_103)
- {
- goto IL_046c;
- }
- }
- {
- RuntimeObject* L_104 = V_2;
- if (!((RuntimeObject*)IsInst((RuntimeObject*)L_104, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_046c;
- }
- }
- {
- // TlsSignerCredentials signerCredentials = (TlsSignerCredentials)clientCreds;
- RuntimeObject* L_105 = V_2;
- V_4 = ((RuntimeObject*)Castclass((RuntimeObject*)L_105, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var));
- // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
- // Context, signerCredentials);
- RuntimeObject* L_106;
- L_106 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_107 = V_4;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_108;
- L_108 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_106, L_107, /*hidden argument*/NULL);
- V_5 = L_108;
- // if (signatureAndHashAlgorithm == null)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_109 = V_5;
- if (L_109)
- {
- goto IL_0437;
- }
- }
- {
- // hash = mSecurityParameters.SessionHash;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_110 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_110);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_111;
- L_111 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(13 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SessionHash() */, L_110);
- V_6 = L_111;
- // }
- goto IL_0446;
- }
- IL_0437:
- {
- // hash = prepareFinishHash.GetFinalHash(signatureAndHashAlgorithm.Hash);
- RuntimeObject* L_112 = V_3;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_113 = V_5;
- NullCheck(L_113);
- uint8_t L_114;
- L_114 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_113);
- NullCheck(L_112);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_115;
- 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);
- V_6 = L_115;
- }
- IL_0446:
- {
- // byte[] signature = signerCredentials.GenerateCertificateSignature(hash);
- RuntimeObject* L_116 = V_4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_117 = V_6;
- NullCheck(L_116);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_118;
- 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);
- V_7 = L_118;
- // DigitallySigned certificateVerify = new DigitallySigned(signatureAndHashAlgorithm, signature);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_119 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_120 = V_7;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_121 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_121, L_119, L_120, /*hidden argument*/NULL);
- V_8 = L_121;
- // SendCertificateVerifyMessage(certificateVerify);
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_122 = V_8;
- 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);
- // this.mConnectionState = CS_CERTIFICATE_VERIFY;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)12));
- }
- IL_046c:
- {
- // SendChangeCipherSpecMessage();
- VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
- // SendFinishedMessage();
- VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
- // break;
- goto IL_0482;
- }
- IL_047a:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_123 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_123, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_123, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_0482:
- {
- // this.mConnectionState = CS_CLIENT_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
- // break;
- return;
- }
- IL_048b:
- {
- // switch (this.mConnectionState)
- int16_t L_124 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_124;
- int16_t L_125 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_125, (int32_t)2))) <= ((uint32_t)3))))
- {
- goto IL_04d7;
- }
- }
- {
- // if (mConnectionState < CS_SERVER_SUPPLEMENTAL_DATA)
- int16_t L_126 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_126) >= ((int32_t)3)))
- {
- goto IL_04a8;
- }
- }
- {
- // HandleSupplementalData(null);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(50 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList) */, __this, (RuntimeObject*)NULL);
- }
- IL_04a8:
- {
- // if (mConnectionState < CS_SERVER_CERTIFICATE)
- int16_t L_127 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_127) >= ((int32_t)4)))
- {
- goto IL_04c3;
- }
- }
- {
- // this.mKeyExchange.SkipServerCredentials();
- RuntimeObject* L_128 = __this->get_mKeyExchange_52();
- NullCheck(L_128);
- InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_128);
- // this.mAuthentication = null;
- __this->set_mAuthentication_53((RuntimeObject*)NULL);
- }
- IL_04c3:
- {
- // this.mKeyExchange.ProcessServerKeyExchange(buf);
- RuntimeObject* L_129 = __this->get_mKeyExchange_52();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_130 = ___buf1;
- NullCheck(L_129);
- 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);
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_131 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_131, /*hidden argument*/NULL);
- // break;
- goto IL_04df;
- }
- IL_04d7:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_132 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_132, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_132, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_04df:
- {
- // this.mConnectionState = CS_SERVER_KEY_EXCHANGE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)6);
- // break;
- return;
- }
- IL_04e7:
- {
- // switch (this.mConnectionState)
- int16_t L_133 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_133;
- int16_t L_134 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_134, (int32_t)4))) <= ((uint32_t)2))))
- {
- goto IL_055e;
- }
- }
- {
- // if (this.mConnectionState != CS_SERVER_KEY_EXCHANGE)
- int16_t L_135 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_135) == ((int32_t)6)))
- {
- goto IL_0508;
- }
- }
- {
- // this.mKeyExchange.SkipServerKeyExchange();
- RuntimeObject* L_136 = __this->get_mKeyExchange_52();
- NullCheck(L_136);
- InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_136);
- }
- IL_0508:
- {
- // if (this.mAuthentication == null)
- RuntimeObject* L_137 = __this->get_mAuthentication_53();
- if (L_137)
- {
- goto IL_0518;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_138 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_138, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_138, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_0518:
- {
- // this.mCertificateRequest = CertificateRequest.Parse(Context, buf);
- RuntimeObject* L_139;
- L_139 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_140 = ___buf1;
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_141;
- L_141 = CertificateRequest_Parse_mABE3254963813337F0FB55BB7B2A630BF829A9B8(L_139, L_140, /*hidden argument*/NULL);
- __this->set_mCertificateRequest_55(L_141);
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_142 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_142, /*hidden argument*/NULL);
- // this.mKeyExchange.ValidateCertificateRequest(this.mCertificateRequest);
- RuntimeObject* L_143 = __this->get_mKeyExchange_52();
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_144 = __this->get_mCertificateRequest_55();
- NullCheck(L_143);
- 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);
- // TlsUtilities.TrackHashAlgorithms(this.mRecordStream.HandshakeHash,
- // this.mCertificateRequest.SupportedSignatureAlgorithms);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_145 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_145);
- RuntimeObject* L_146;
- L_146 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_145, /*hidden argument*/NULL);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_147 = __this->get_mCertificateRequest_55();
- NullCheck(L_147);
- RuntimeObject* L_148;
- L_148 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_147);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B(L_146, L_148, /*hidden argument*/NULL);
- // break;
- goto IL_0566;
- }
- IL_055e:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_149 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_149, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_149, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_0566:
- {
- // this.mConnectionState = CS_CERTIFICATE_REQUEST;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)7);
- // break;
- return;
- }
- IL_056e:
- {
- // switch (this.mConnectionState)
- int16_t L_150 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_150) == ((uint32_t)((int32_t)13)))))
- {
- goto IL_0597;
- }
- }
- {
- // if (!this.mExpectSessionTicket)
- bool L_151 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
- if (L_151)
- {
- goto IL_0588;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_152 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_152, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_152, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_0588:
- {
- // InvalidateSession();
- VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
- // ReceiveNewSessionTicketMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_153 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(51 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveNewSessionTicketMessage(System.IO.MemoryStream) */, __this, L_153);
- // break;
- goto IL_059f;
- }
- IL_0597:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_154 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_154, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_154, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_059f:
- {
- // this.mConnectionState = CS_SERVER_SESSION_TICKET;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)14));
- // break;
- return;
- }
- IL_05a8:
- {
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_155 = ___buf1;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_155, /*hidden argument*/NULL);
- // if (this.mConnectionState == CS_END)
- int16_t L_156 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_156) == ((uint32_t)((int32_t)16)))))
- {
- goto IL_05c7;
- }
- }
- {
- // RefuseRenegotiation();
- VirtualActionInvoker0::Invoke(48 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation() */, __this);
- // break;
- return;
- }
- IL_05bf:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_157 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_157, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_157, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_HandleHandshakeMessage_mA161E02EA1999007AF08AFEB2B77C72627A0E7E3_RuntimeMethod_var)));
- }
- IL_05c7:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::HandleSupplementalData(System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_HandleSupplementalData_m2504C8F11CB09A3B54102FD703FD9CF633C3CCDD (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, RuntimeObject* ___serverSupplementalData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // this.mTlsClient.ProcessServerSupplementalData(serverSupplementalData);
- RuntimeObject* L_0 = __this->get_mTlsClient_49();
- RuntimeObject* L_1 = ___serverSupplementalData0;
- NullCheck(L_0);
- 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);
- // this.mConnectionState = CS_SERVER_SUPPLEMENTAL_DATA;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)3);
- // this.mKeyExchange = mTlsClient.GetKeyExchange();
- RuntimeObject* L_2 = __this->get_mTlsClient_49();
- NullCheck(L_2);
- RuntimeObject* L_3;
- 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);
- __this->set_mKeyExchange_52(L_3);
- // this.mKeyExchange.Init(Context);
- RuntimeObject* L_4 = __this->get_mKeyExchange_52();
- RuntimeObject* L_5;
- L_5 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_4);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveNewSessionTicketMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_ReceiveNewSessionTicketMessage_m41751DED6CE551D5EAEC324E6FD61BD87980CD2B (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * V_0 = NULL;
- {
- // NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_1;
- L_1 = NewSessionTicket_Parse_m985C0731F622795A38B7F7938D7949EADA0E5091(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
- // mTlsClient.NotifyNewSessionTicket(newSessionTicket);
- RuntimeObject* L_3 = __this->get_mTlsClient_49();
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_4 = V_0;
- NullCheck(L_3);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::ReceiveServerHelloMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- uint8_t V_1 = 0x0;
- RuntimeObject* V_2 = NULL;
- RuntimeObject* V_3 = NULL;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_4 = NULL;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_5 = NULL;
- RuntimeObject* V_6 = NULL;
- int32_t V_7 = 0;
- RuntimeObject* V_8 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_9 = NULL;
- bool V_10 = false;
- Exception_t * __last_unhandled_exception = 0;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B11_0 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B9_0 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B10_0 = NULL;
- int32_t G_B12_0 = 0;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B12_1 = NULL;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B21_0 = NULL;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B20_0 = NULL;
- int32_t G_B22_0 = 0;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * G_B22_1 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B53_0 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B52_0 = NULL;
- int32_t G_B54_0 = 0;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B54_1 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B56_0 = NULL;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B55_0 = NULL;
- int32_t G_B57_0 = 0;
- TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * G_B57_1 = NULL;
- {
- // ProtocolVersion server_version = TlsUtilities.ReadVersion(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
- L_1 = TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A(L_0, /*hidden argument*/NULL);
- V_4 = L_1;
- // if (server_version.IsDtls)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2 = V_4;
- NullCheck(L_2);
- bool L_3;
- L_3 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_2, /*hidden argument*/NULL);
- if (!L_3)
- {
- goto IL_0019;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0019:
- {
- // if (!server_version.Equals(this.mRecordStream.ReadVersion))
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5 = V_4;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_6);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_7;
- L_7 = RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline(L_6, /*hidden argument*/NULL);
- NullCheck(L_5);
- bool L_8;
- L_8 = ProtocolVersion_Equals_m55E637B40AF820E0B35ABA84E0B40FDA2FE6D211(L_5, L_7, /*hidden argument*/NULL);
- if (L_8)
- {
- goto IL_0035;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_9 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_9, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0035:
- {
- // ProtocolVersion client_version = Context.ClientVersion;
- RuntimeObject* L_10;
- L_10 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_10);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_11;
- 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);
- V_5 = L_11;
- // if (!server_version.IsEqualOrEarlierVersionOf(client_version))
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_12 = V_4;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_13 = V_5;
- NullCheck(L_12);
- bool L_14;
- L_14 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_12, L_13, /*hidden argument*/NULL);
- if (L_14)
- {
- goto IL_0055;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_15 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_15, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0055:
- {
- // this.mRecordStream.SetWriteVersion(server_version);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_16 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_17 = V_4;
- NullCheck(L_16);
- RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_16, L_17, /*hidden argument*/NULL);
- // ContextAdmin.SetServerVersion(server_version);
- AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_18;
- L_18 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_19 = V_4;
- NullCheck(L_18);
- 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);
- // this.mTlsClient.NotifyServerVersion(server_version);
- RuntimeObject* L_20 = __this->get_mTlsClient_49();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_21 = V_4;
- NullCheck(L_20);
- 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);
- // this.mSecurityParameters.serverRandom = TlsUtilities.ReadFully(32, buf);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_23 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
- L_24 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)32), L_23, /*hidden argument*/NULL);
- NullCheck(L_22);
- L_22->set_serverRandom_7(L_24);
- // this.mSelectedSessionID = TlsUtilities.ReadOpaque8(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
- L_26 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_25, /*hidden argument*/NULL);
- __this->set_mSelectedSessionID_51(L_26);
- // if (this.mSelectedSessionID.Length > 32)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = __this->get_mSelectedSessionID_51();
- NullCheck(L_27);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))) <= ((int32_t)((int32_t)32))))
- {
- goto IL_00af;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_00af:
- {
- // this.mTlsClient.NotifySessionID(this.mSelectedSessionID);
- RuntimeObject* L_29 = __this->get_mTlsClient_49();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = __this->get_mSelectedSessionID_51();
- NullCheck(L_29);
- 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);
- // this.mResumedSession = this.mSelectedSessionID.Length > 0 && this.mTlsSession != null
- // && Arrays.AreEqual(this.mSelectedSessionID, this.mTlsSession.SessionID);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = __this->get_mSelectedSessionID_51();
- NullCheck(L_31);
- G_B9_0 = __this;
- if (!(((RuntimeArray*)L_31)->max_length))
- {
- G_B11_0 = __this;
- goto IL_00ea;
- }
- }
- {
- RuntimeObject* L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
- G_B10_0 = G_B9_0;
- if (!L_32)
- {
- G_B11_0 = G_B9_0;
- goto IL_00ea;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = __this->get_mSelectedSessionID_51();
- RuntimeObject* L_34 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
- NullCheck(L_34);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
- 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);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_36;
- L_36 = Arrays_AreEqual_mA5503C81863BC5B4F26A66569A45A9B855ED2246(L_33, L_35, /*hidden argument*/NULL);
- G_B12_0 = ((int32_t)(L_36));
- G_B12_1 = G_B10_0;
- goto IL_00eb;
- }
- IL_00ea:
- {
- G_B12_0 = 0;
- G_B12_1 = G_B11_0;
- }
- IL_00eb:
- {
- NullCheck(G_B12_1);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B12_1)->set_mResumedSession_41((bool)G_B12_0);
- // int selectedCipherSuite = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_37 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_38;
- L_38 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_37, /*hidden argument*/NULL);
- V_0 = L_38;
- // if (!Arrays.Contains(this.mOfferedCipherSuites, selectedCipherSuite)
- // || selectedCipherSuite == CipherSuite.TLS_NULL_WITH_NULL_NULL
- // || CipherSuite.IsScsv(selectedCipherSuite)
- // || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, Context.ServerVersion))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- int32_t L_40 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_41;
- L_41 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_39, L_40, /*hidden argument*/NULL);
- if (!L_41)
- {
- goto IL_0123;
- }
- }
- {
- int32_t L_42 = V_0;
- if (!L_42)
- {
- goto IL_0123;
- }
- }
- {
- int32_t L_43 = V_0;
- bool L_44;
- L_44 = CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD(L_43, /*hidden argument*/NULL);
- if (L_44)
- {
- goto IL_0123;
- }
- }
- {
- int32_t L_45 = V_0;
- RuntimeObject* L_46;
- L_46 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_46);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_47;
- 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);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_48;
- L_48 = TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182(L_45, L_47, /*hidden argument*/NULL);
- if (L_48)
- {
- goto IL_012b;
- }
- }
- IL_0123:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_49 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_49, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_49, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_012b:
- {
- // this.mTlsClient.NotifySelectedCipherSuite(selectedCipherSuite);
- RuntimeObject* L_50 = __this->get_mTlsClient_49();
- int32_t L_51 = V_0;
- NullCheck(L_50);
- 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);
- // byte selectedCompressionMethod = TlsUtilities.ReadUint8(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_52 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_53;
- L_53 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_52, /*hidden argument*/NULL);
- V_1 = L_53;
- // if (!Arrays.Contains(this.mOfferedCompressionMethods, selectedCompressionMethod))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
- uint8_t L_55 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_56;
- L_56 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_54, L_55, /*hidden argument*/NULL);
- if (L_56)
- {
- goto IL_0154;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_57 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_57, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_57, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0154:
- {
- // this.mTlsClient.NotifySelectedCompressionMethod(selectedCompressionMethod);
- RuntimeObject* L_58 = __this->get_mTlsClient_49();
- uint8_t L_59 = V_1;
- NullCheck(L_58);
- 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);
- // this.mServerExtensions = ReadExtensions(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_60 = ___buf0;
- RuntimeObject* L_61;
- L_61 = TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649(L_60, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mServerExtensions_39(L_61);
- // this.mSecurityParameters.extendedMasterSecret = !TlsUtilities.IsSsl(mTlsClientContext)
- // && TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mServerExtensions);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- TlsClientContextImpl_t48A01699A13F38CB5BB4D48327DFCE056C9647CF * L_63 = __this->get_mTlsClientContext_50();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_64;
- L_64 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_63, /*hidden argument*/NULL);
- G_B20_0 = L_62;
- if (L_64)
- {
- G_B21_0 = L_62;
- goto IL_018c;
- }
- }
- {
- RuntimeObject* L_65 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- bool L_66;
- L_66 = TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215(L_65, /*hidden argument*/NULL);
- G_B22_0 = ((int32_t)(L_66));
- G_B22_1 = G_B20_0;
- goto IL_018d;
- }
- IL_018c:
- {
- G_B22_0 = 0;
- G_B22_1 = G_B21_0;
- }
- IL_018d:
- {
- NullCheck(G_B22_1);
- G_B22_1->set_extendedMasterSecret_14((bool)G_B22_0);
- // if (!mSecurityParameters.IsExtendedMasterSecret
- // && (mResumedSession || mTlsClient.RequiresExtendedMasterSecret()))
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_67);
- bool L_68;
- L_68 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_67);
- if (L_68)
- {
- goto IL_01bc;
- }
- }
- {
- bool L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- if (L_69)
- {
- goto IL_01b4;
- }
- }
- {
- RuntimeObject* L_70 = __this->get_mTlsClient_49();
- NullCheck(L_70);
- bool L_71;
- L_71 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::RequiresExtendedMasterSecret() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_70);
- if (!L_71)
- {
- goto IL_01bc;
- }
- }
- IL_01b4:
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_72 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_72, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_72, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_01bc:
- {
- // if (this.mServerExtensions != null)
- RuntimeObject* L_73 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- if (!L_73)
- {
- goto IL_022d;
- }
- }
- {
- // foreach (int extType in this.mServerExtensions.Keys)
- RuntimeObject* L_74 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- NullCheck(L_74);
- RuntimeObject* L_75;
- L_75 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Collections.ICollection System.Collections.IDictionary::get_Keys() */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_74);
- NullCheck(L_75);
- RuntimeObject* L_76;
- L_76 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_75);
- V_6 = L_76;
- }
- IL_01d6:
- try
- {// begin try (depth: 1)
- {
- goto IL_020d;
- }
- IL_01d8:
- {
- // foreach (int extType in this.mServerExtensions.Keys)
- RuntimeObject* L_77 = V_6;
- NullCheck(L_77);
- RuntimeObject * L_78;
- L_78 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_77);
- V_7 = ((*(int32_t*)((int32_t*)UnBox(L_78, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))));
- // if (extType == ExtensionType.renegotiation_info)
- int32_t L_79 = V_7;
- if ((((int32_t)L_79) == ((int32_t)((int32_t)65281))))
- {
- goto IL_020d;
- }
- }
- IL_01ef:
- {
- // if (null == TlsUtilities.GetExtensionData(this.mClientExtensions, extType))
- RuntimeObject* L_80 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- int32_t L_81 = V_7;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_82;
- L_82 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_80, L_81, /*hidden argument*/NULL);
- if (L_82)
- {
- goto IL_0206;
- }
- }
- IL_01fe:
- {
- // throw new TlsFatalAlert(AlertDescription.unsupported_extension);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)110), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0206:
- {
- // if (this.mResumedSession)
- bool L_84 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- }
- IL_020d:
- {
- // foreach (int extType in this.mServerExtensions.Keys)
- RuntimeObject* L_85 = V_6;
- NullCheck(L_85);
- bool L_86;
- L_86 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_85);
- if (L_86)
- {
- goto IL_01d8;
- }
- }
- IL_0216:
- {
- IL2CPP_LEAVE(0x22D, FINALLY_0218);
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __last_unhandled_exception = (Exception_t *)e.ex;
- goto FINALLY_0218;
- }
- FINALLY_0218:
- {// begin finally (depth: 1)
- {
- RuntimeObject* L_87 = V_6;
- V_8 = ((RuntimeObject*)IsInst((RuntimeObject*)L_87, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
- RuntimeObject* L_88 = V_8;
- if (!L_88)
- {
- goto IL_022c;
- }
- }
- IL_0225:
- {
- RuntimeObject* L_89 = V_8;
- NullCheck(L_89);
- InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_89);
- }
- IL_022c:
- {
- IL2CPP_END_FINALLY(536)
- }
- }// end finally (depth: 1)
- IL2CPP_CLEANUP(536)
- {
- IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
- IL2CPP_JUMP_TBL(0x22D, IL_022d)
- }
- IL_022d:
- {
- // byte[] renegExtData = TlsUtilities.GetExtensionData(this.mServerExtensions, ExtensionType.renegotiation_info);
- RuntimeObject* L_90 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_91;
- L_91 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_90, ((int32_t)65281), /*hidden argument*/NULL);
- V_9 = L_91;
- // if (renegExtData != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_92 = V_9;
- if (!L_92)
- {
- goto IL_0265;
- }
- }
- {
- // this.mSecureRenegotiation = true;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
- // if (!Arrays.ConstantTimeAreEqual(renegExtData, CreateRenegotiationInfo(TlsUtilities.EmptyBytes)))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_93 = V_9;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_94 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_95;
- L_95 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_94, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_96;
- L_96 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_93, L_95, /*hidden argument*/NULL);
- if (L_96)
- {
- goto IL_0265;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_97 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_97, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_97, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0265:
- {
- // this.mTlsClient.NotifySecureRenegotiation(this.mSecureRenegotiation);
- RuntimeObject* L_98 = __this->get_mTlsClient_49();
- bool L_99 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
- NullCheck(L_98);
- 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);
- // IDictionary sessionClientExtensions = mClientExtensions, sessionServerExtensions = mServerExtensions;
- RuntimeObject* L_100 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- V_2 = L_100;
- // IDictionary sessionClientExtensions = mClientExtensions, sessionServerExtensions = mServerExtensions;
- RuntimeObject* L_101 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- V_3 = L_101;
- // if (this.mResumedSession)
- bool L_102 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- if (!L_102)
- {
- goto IL_02be;
- }
- }
- {
- // if (selectedCipherSuite != this.mSessionParameters.CipherSuite
- // || selectedCompressionMethod != this.mSessionParameters.CompressionAlgorithm)
- int32_t L_103 = V_0;
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_104 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_104);
- int32_t L_105;
- L_105 = SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline(L_104, /*hidden argument*/NULL);
- if ((!(((uint32_t)L_103) == ((uint32_t)L_105))))
- {
- goto IL_02a8;
- }
- }
- {
- uint8_t L_106 = V_1;
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_107 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_107);
- uint8_t L_108;
- L_108 = SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline(L_107, /*hidden argument*/NULL);
- if ((((int32_t)L_106) == ((int32_t)L_108)))
- {
- goto IL_02b0;
- }
- }
- IL_02a8:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_109 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_109, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_109, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_02b0:
- {
- // sessionClientExtensions = null;
- V_2 = (RuntimeObject*)NULL;
- // sessionServerExtensions = this.mSessionParameters.ReadServerExtensions();
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_110 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_110);
- RuntimeObject* L_111;
- L_111 = SessionParameters_ReadServerExtensions_m3268BAA375F8300339532D185707C59BCB4184B4(L_110, /*hidden argument*/NULL);
- V_3 = L_111;
- }
- IL_02be:
- {
- // this.mSecurityParameters.cipherSuite = selectedCipherSuite;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_112 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- int32_t L_113 = V_0;
- NullCheck(L_112);
- L_112->set_cipherSuite_1(L_113);
- // this.mSecurityParameters.compressionAlgorithm = selectedCompressionMethod;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_114 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- uint8_t L_115 = V_1;
- NullCheck(L_114);
- L_114->set_compressionAlgorithm_2(L_115);
- // if (sessionServerExtensions != null && sessionServerExtensions.Count > 0)
- RuntimeObject* L_116 = V_3;
- if (!L_116)
- {
- goto IL_036c;
- }
- }
- {
- RuntimeObject* L_117 = V_3;
- NullCheck(L_117);
- int32_t L_118;
- L_118 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var, L_117);
- if ((((int32_t)L_118) <= ((int32_t)0)))
- {
- goto IL_036c;
- }
- }
- {
- // bool serverSentEncryptThenMAC = TlsExtensionsUtilities.HasEncryptThenMacExtension(sessionServerExtensions);
- RuntimeObject* L_119 = V_3;
- bool L_120;
- L_120 = TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B(L_119, /*hidden argument*/NULL);
- V_10 = L_120;
- // if (serverSentEncryptThenMAC && !TlsUtilities.IsBlockCipherSuite(selectedCipherSuite))
- bool L_121 = V_10;
- if (!L_121)
- {
- goto IL_0304;
- }
- }
- {
- int32_t L_122 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_123;
- L_123 = TlsUtilities_IsBlockCipherSuite_mA273B0389EC7649C39401F777D6C94AC077AC749(L_122, /*hidden argument*/NULL);
- if (L_123)
- {
- goto IL_0304;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_124 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_124, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_124, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_ReceiveServerHelloMessage_mC3772E640E9079FC9762F81F321932D205AC1095_RuntimeMethod_var)));
- }
- IL_0304:
- {
- // this.mSecurityParameters.encryptThenMac = serverSentEncryptThenMAC;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_125 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- bool L_126 = V_10;
- NullCheck(L_125);
- L_125->set_encryptThenMac_13(L_126);
- // this.mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(sessionClientExtensions,
- // sessionServerExtensions, AlertDescription.illegal_parameter);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_127 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_128 = V_2;
- RuntimeObject* L_129 = V_3;
- int16_t L_130;
- 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));
- NullCheck(L_127);
- L_127->set_maxFragmentLength_11(L_130);
- // this.mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(sessionServerExtensions);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_131 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_132 = V_3;
- bool L_133;
- L_133 = TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F(L_132, /*hidden argument*/NULL);
- NullCheck(L_131);
- L_131->set_truncatedHMac_12(L_133);
- // this.mAllowCertificateStatus = !this.mResumedSession
- // && TlsUtilities.HasExpectedEmptyExtensionData(sessionServerExtensions, ExtensionType.status_request,
- // AlertDescription.illegal_parameter);
- bool L_134 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- G_B52_0 = __this;
- if (L_134)
- {
- G_B53_0 = __this;
- goto IL_034b;
- }
- }
- {
- RuntimeObject* L_135 = V_3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_136;
- L_136 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_135, 5, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- G_B54_0 = ((int32_t)(L_136));
- G_B54_1 = G_B52_0;
- goto IL_034c;
- }
- IL_034b:
- {
- G_B54_0 = 0;
- G_B54_1 = G_B53_0;
- }
- IL_034c:
- {
- NullCheck(G_B54_1);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B54_1)->set_mAllowCertificateStatus_44((bool)G_B54_0);
- // this.mExpectSessionTicket = !this.mResumedSession
- // && TlsUtilities.HasExpectedEmptyExtensionData(sessionServerExtensions, ExtensionType.session_ticket,
- // AlertDescription.illegal_parameter);
- bool L_137 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- G_B55_0 = __this;
- if (L_137)
- {
- G_B56_0 = __this;
- goto IL_0366;
- }
- }
- {
- RuntimeObject* L_138 = V_3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_139;
- L_139 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_138, ((int32_t)35), (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- G_B57_0 = ((int32_t)(L_139));
- G_B57_1 = G_B55_0;
- goto IL_0367;
- }
- IL_0366:
- {
- G_B57_0 = 0;
- G_B57_1 = G_B56_0;
- }
- IL_0367:
- {
- NullCheck(G_B57_1);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B57_1)->set_mExpectSessionTicket_45((bool)G_B57_0);
- }
- IL_036c:
- {
- // if (sessionClientExtensions != null)
- RuntimeObject* L_140 = V_2;
- if (!L_140)
- {
- goto IL_037b;
- }
- }
- {
- // this.mTlsClient.ProcessServerExtensions(sessionServerExtensions);
- RuntimeObject* L_141 = __this->get_mTlsClient_49();
- RuntimeObject* L_142 = V_3;
- NullCheck(L_141);
- 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);
- }
- IL_037b:
- {
- // this.mSecurityParameters.prfAlgorithm = GetPrfAlgorithm(Context, this.mSecurityParameters.CipherSuite);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_143 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_144;
- L_144 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_145 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_145);
- int32_t L_146;
- L_146 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_145);
- int32_t L_147;
- L_147 = TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3(L_144, L_146, /*hidden argument*/NULL);
- NullCheck(L_143);
- L_143->set_prfAlgorithm_3(L_147);
- // this.mSecurityParameters.verifyDataLength = 12;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_148 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_148);
- L_148->set_verifyDataLength_4(((int32_t)12));
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendCertificateVerifyMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendCertificateVerifyMessage_mB4C3502F2ECFF05D4F7A4B31D1041D6A7FC04B97 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * ___certificateVerify0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_verify);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
- V_0 = L_0;
- // certificateVerify.Encode(message);
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_1 = ___certificateVerify0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
- NullCheck(L_1);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_1, L_2);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
- NullCheck(L_3);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientHelloMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- bool V_4 = false;
- bool G_B12_0 = false;
- bool G_B7_0 = false;
- bool G_B8_0 = false;
- bool G_B11_0 = false;
- bool G_B9_0 = false;
- bool G_B10_0 = false;
- bool G_B14_0 = false;
- bool G_B13_0 = false;
- bool G_B16_0 = false;
- bool G_B15_0 = false;
- {
- // this.mRecordStream.SetWriteVersion(this.mTlsClient.ClientHelloRecordLayerVersion);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- RuntimeObject* L_1 = __this->get_mTlsClient_49();
- NullCheck(L_1);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2;
- 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);
- NullCheck(L_0);
- RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_0, L_2, /*hidden argument*/NULL);
- // ProtocolVersion client_version = this.mTlsClient.ClientVersion;
- RuntimeObject* L_3 = __this->get_mTlsClient_49();
- NullCheck(L_3);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_4;
- 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);
- V_0 = L_4;
- // if (client_version.IsDtls)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5 = V_0;
- NullCheck(L_5);
- bool L_6;
- L_6 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_5, /*hidden argument*/NULL);
- if (!L_6)
- {
- goto IL_0032;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsClientProtocol_SendClientHelloMessage_mCA26240A7F3D8CB269AEFB03C597A3A37BAC8B6A_RuntimeMethod_var)));
- }
- IL_0032:
- {
- // ContextAdmin.SetClientVersion(client_version);
- AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_8;
- L_8 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_9 = V_0;
- NullCheck(L_8);
- 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);
- // byte[] session_id = TlsUtilities.EmptyBytes;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- V_1 = L_10;
- // if (this.mTlsSession != null)
- RuntimeObject* L_11 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
- if (!L_11)
- {
- goto IL_0068;
- }
- }
- {
- // session_id = this.mTlsSession.SessionID;
- RuntimeObject* L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mTlsSession_32();
- NullCheck(L_12);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
- 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);
- V_1 = L_13;
- // if (session_id == null || session_id.Length > 32)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_1;
- if (!L_14)
- {
- goto IL_0062;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_1;
- NullCheck(L_15);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))) <= ((int32_t)((int32_t)32))))
- {
- goto IL_0068;
- }
- }
- IL_0062:
- {
- // session_id = TlsUtilities.EmptyBytes;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- V_1 = L_16;
- }
- IL_0068:
- {
- // bool fallback = this.mTlsClient.IsFallback;
- RuntimeObject* L_17 = __this->get_mTlsClient_49();
- NullCheck(L_17);
- bool L_18;
- L_18 = InterfaceFuncInvoker0< bool >::Invoke(6 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::get_IsFallback() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_17);
- // this.mOfferedCipherSuites = this.mTlsClient.GetCipherSuites();
- RuntimeObject* L_19 = __this->get_mTlsClient_49();
- NullCheck(L_19);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_20;
- L_20 = InterfaceFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(7 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetCipherSuites() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_19);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_20);
- // this.mOfferedCompressionMethods = this.mTlsClient.GetCompressionMethods();
- RuntimeObject* L_21 = __this->get_mTlsClient_49();
- NullCheck(L_21);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22;
- L_22 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(8 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetCompressionMethods() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_21);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCompressionMethods_37(L_22);
- // if (session_id.Length > 0 && this.mSessionParameters != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_1;
- NullCheck(L_23);
- G_B7_0 = L_18;
- if (!(((RuntimeArray*)L_23)->max_length))
- {
- G_B12_0 = L_18;
- goto IL_00e4;
- }
- }
- {
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_24 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- G_B8_0 = G_B7_0;
- if (!L_24)
- {
- G_B12_0 = G_B7_0;
- goto IL_00e4;
- }
- }
- {
- // if (!mSessionParameters.IsExtendedMasterSecret
- // || !Arrays.Contains(this.mOfferedCipherSuites, mSessionParameters.CipherSuite)
- // || !Arrays.Contains(this.mOfferedCompressionMethods, mSessionParameters.CompressionAlgorithm))
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_25 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_25);
- bool L_26;
- L_26 = SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline(L_25, /*hidden argument*/NULL);
- G_B9_0 = G_B8_0;
- if (!L_26)
- {
- G_B11_0 = G_B8_0;
- goto IL_00de;
- }
- }
- {
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_27 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_28 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_28);
- int32_t L_29;
- L_29 = SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline(L_28, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_30;
- L_30 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_27, L_29, /*hidden argument*/NULL);
- G_B10_0 = G_B9_0;
- if (!L_30)
- {
- G_B11_0 = G_B9_0;
- goto IL_00de;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSessionParameters_33();
- NullCheck(L_32);
- uint8_t L_33;
- L_33 = SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline(L_32, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_34;
- L_34 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_31, L_33, /*hidden argument*/NULL);
- G_B11_0 = G_B10_0;
- if (L_34)
- {
- G_B12_0 = G_B10_0;
- goto IL_00e4;
- }
- }
- IL_00de:
- {
- // session_id = TlsUtilities.EmptyBytes;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- V_1 = L_35;
- G_B12_0 = G_B11_0;
- }
- IL_00e4:
- {
- // this.mClientExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(this.mTlsClient.GetClientExtensions());
- RuntimeObject* L_36 = __this->get_mTlsClient_49();
- NullCheck(L_36);
- RuntimeObject* L_37;
- L_37 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(9 /* System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClient::GetClientExtensions() */, TlsClient_tADD26470896CB199F4C404BD9550034A74297513_il2cpp_TypeInfo_var, L_36);
- RuntimeObject* L_38;
- L_38 = TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963(L_37, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mClientExtensions_38(L_38);
- // if (!client_version.IsSsl)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_39 = V_0;
- NullCheck(L_39);
- bool L_40;
- L_40 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_39, /*hidden argument*/NULL);
- G_B13_0 = G_B12_0;
- if (L_40)
- {
- G_B14_0 = G_B12_0;
- goto IL_010d;
- }
- }
- {
- // TlsExtensionsUtilities.AddExtendedMasterSecretExtension(this.mClientExtensions);
- RuntimeObject* L_41 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1(L_41, /*hidden argument*/NULL);
- G_B14_0 = G_B13_0;
- }
- IL_010d:
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.client_hello);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_42 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_42, (uint8_t)1, /*hidden argument*/NULL);
- V_2 = L_42;
- // TlsUtilities.WriteVersion(client_version, message);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_43 = V_0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_44 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509(L_43, L_44, /*hidden argument*/NULL);
- // message.Write(this.mSecurityParameters.ClientRandom);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_45 = V_2;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_46 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_46);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_47;
- L_47 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(11 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_ClientRandom() */, L_46);
- NullCheck(L_45);
- HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_45, L_47, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque8(session_id, message);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_48 = V_1;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_49 = V_2;
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_48, L_49, /*hidden argument*/NULL);
- // byte[] renegExtData = TlsUtilities.GetExtensionData(mClientExtensions, ExtensionType.renegotiation_info);
- RuntimeObject* L_50 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_51;
- L_51 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_50, ((int32_t)65281), /*hidden argument*/NULL);
- V_3 = L_51;
- // bool noRenegExt = (null == renegExtData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_52 = V_3;
- // bool noRenegScsv = !Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_54;
- L_54 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_53, ((int32_t)255), /*hidden argument*/NULL);
- V_4 = (bool)((((int32_t)L_54) == ((int32_t)0))? 1 : 0);
- // if (noRenegExt && noRenegScsv)
- bool L_55 = V_4;
- G_B15_0 = G_B14_0;
- if (!((int32_t)((int32_t)((((RuntimeObject*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)L_52) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)&(int32_t)L_55)))
- {
- G_B16_0 = G_B14_0;
- goto IL_0178;
- }
- }
- {
- // this.mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_56 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_57;
- L_57 = Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1(L_56, ((int32_t)255), /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_57);
- G_B16_0 = G_B15_0;
- }
- IL_0178:
- {
- // if (fallback && !Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV))
- if (!G_B16_0)
- {
- goto IL_01a2;
- }
- }
- {
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_58 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_59;
- L_59 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_58, ((int32_t)22016), /*hidden argument*/NULL);
- if (L_59)
- {
- goto IL_01a2;
- }
- }
- {
- // this.mOfferedCipherSuites = Arrays.Append(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_60 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_61;
- L_61 = Arrays_Append_m0ADB9E5460729D56CEEA1085F2E27191C0E776A1(L_60, ((int32_t)22016), /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_61);
- }
- IL_01a2:
- {
- // TlsUtilities.WriteUint16ArrayWithUint16Length(mOfferedCipherSuites, message);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_63 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31(L_62, L_63, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint8ArrayWithUint8Length(mOfferedCompressionMethods, message);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_64 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_65 = V_2;
- TlsUtilities_WriteUint8ArrayWithUint8Length_m4BCED1420A9E340771B44AF47A7ACF67CE255EC5(L_64, L_65, /*hidden argument*/NULL);
- // WriteExtensions(message, mClientExtensions);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_66 = V_2;
- RuntimeObject* L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0(L_66, L_67, /*hidden argument*/NULL);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_68 = V_2;
- NullCheck(L_68);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_68, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsClientProtocol::SendClientKeyExchangeMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsClientProtocol_SendClientKeyExchangeMessage_m82988729DBEA67D62C30B06A2BFC70098726ED51 (TlsClientProtocol_t699CCD2E87EC8483837B996FB590D11781975967 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.client_key_exchange);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)16), /*hidden argument*/NULL);
- V_0 = L_0;
- // this.mKeyExchange.GenerateClientKeyExchange(message);
- RuntimeObject* L_1 = __this->get_mKeyExchange_52();
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
- NullCheck(L_1);
- 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);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
- NullCheck(L_3);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange__ctor_mA5843A2B0B1506BABBFF9D74DDA3FDBB526DFBFE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_2 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_2, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters2;
- TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : base(keyExchange, supportedSignatureAlgorithms)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
- int32_t L_2 = ___keyExchange0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)3)))
- {
- case 0:
- {
- goto IL_004c;
- }
- case 1:
- {
- goto IL_0059;
- }
- case 2:
- {
- goto IL_003f;
- }
- case 3:
- {
- goto IL_0059;
- }
- case 4:
- {
- goto IL_0036;
- }
- case 5:
- {
- goto IL_0059;
- }
- case 6:
- {
- goto IL_0036;
- }
- case 7:
- {
- goto IL_0059;
- }
- case 8:
- {
- goto IL_0036;
- }
- }
- }
- {
- goto IL_0059;
- }
- IL_0036:
- {
- // this.mTlsSigner = null;
- __this->set_mTlsSigner_3((RuntimeObject*)NULL);
- // break;
- goto IL_0064;
- }
- IL_003f:
- {
- // this.mTlsSigner = new TlsRsaSigner();
- TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * L_3 = (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 *)il2cpp_codegen_object_new(TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
- TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019(L_3, /*hidden argument*/NULL);
- __this->set_mTlsSigner_3(L_3);
- // break;
- goto IL_0064;
- }
- IL_004c:
- {
- // this.mTlsSigner = new TlsDssSigner();
- TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * L_4 = (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 *)il2cpp_codegen_object_new(TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48_il2cpp_TypeInfo_var);
- TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588(L_4, /*hidden argument*/NULL);
- __this->set_mTlsSigner_3(L_4);
- // break;
- goto IL_0064;
- }
- IL_0059:
- {
- // throw new InvalidOperationException("unsupported key exchange algorithm");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3_RuntimeMethod_var)));
- }
- IL_0064:
- {
- // this.mDHVerifier = dhVerifier;
- RuntimeObject* L_6 = ___dhVerifier2;
- __this->set_mDHVerifier_4(L_6);
- // this.mDHParameters = dhParameters;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = ___dhParameters3;
- __this->set_mDHParameters_5(L_7);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_Init_m8F14C12A073CDAFD733D6FCAD7A1D22FFB49BB87 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // base.Init(context);
- RuntimeObject* L_0 = ___context0;
- AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD(__this, L_0, /*hidden argument*/NULL);
- // if (this.mTlsSigner != null)
- RuntimeObject* L_1 = __this->get_mTlsSigner_3();
- if (!L_1)
- {
- goto IL_001b;
- }
- }
- {
- // this.mTlsSigner.Init(context);
- RuntimeObject* L_2 = __this->get_mTlsSigner_3();
- RuntimeObject* L_3 = ___context0;
- NullCheck(L_2);
- 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);
- }
- IL_001b:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::SkipServerCredentials()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
- {
- {
- // if (mKeyExchange != KeyExchangeAlgorithm.DH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((((int32_t)L_0) == ((int32_t)((int32_t)11))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_SkipServerCredentials_mE942260D3589938550DAA46B1989A510FEEA11CE_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
- Exception_t * V_2 = NULL;
- InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * V_3 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // if (serverCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
- NullCheck(L_2);
- bool L_3;
- L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
- if (!L_3)
- {
- goto IL_0022;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_certificate);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
- }
- IL_0022:
- {
- // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
- NullCheck(L_5);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
- 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);
- V_0 = L_6;
- // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
- NullCheck(L_7);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
- L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
- V_1 = L_8;
- }
- IL_0031:
- try
- {// begin try (depth: 1)
- // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
- L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
- __this->set_mServerPublicKey_6(L_10);
- // }
- goto IL_0049;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_003f;
- }
- throw e;
- }
- CATCH_003f:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
- Exception_t * L_11 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0049:
- {
- // if (mTlsSigner == null)
- RuntimeObject* L_13 = __this->get_mTlsSigner_3();
- if (L_13)
- {
- goto IL_0088;
- }
- }
- IL_0051:
- try
- {// begin try (depth: 1)
- // this.mDHAgreePublicKey = (DHPublicKeyParameters)this.mServerPublicKey;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_6();
- __this->set_mDHAgreePublicKey_9(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_14, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
- // this.mDHParameters = mDHAgreePublicKey.Parameters;
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_15 = __this->get_mDHAgreePublicKey_9();
- NullCheck(L_15);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_16;
- L_16 = DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline(L_15, /*hidden argument*/NULL);
- __this->set_mDHParameters_5(L_16);
- // }
- goto IL_007f;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0075;
- }
- throw e;
- }
- CATCH_0075:
- {// begin catch(System.InvalidCastException)
- // catch (InvalidCastException e)
- V_3 = ((InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *));
- // throw new TlsFatalAlert(AlertDescription.certificate_unknown, e);
- InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * L_17 = V_3;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_18, (uint8_t)((int32_t)46), L_17, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_007f:
- {
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyAgreement);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_19 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_19, 8, /*hidden argument*/NULL);
- // }
- goto IL_00ae;
- }
- IL_0088:
- {
- // if (!mTlsSigner.IsValidPublicKey(this.mServerPublicKey))
- RuntimeObject* L_20 = __this->get_mTlsSigner_3();
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_21 = __this->get_mServerPublicKey_6();
- NullCheck(L_20);
- bool L_22;
- 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);
- if (L_22)
- {
- goto IL_00a3;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.certificate_unknown);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)46), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerCertificate_mAE544CE900DC6082D614EADE6FC235757DA3BC9F_RuntimeMethod_var)));
- }
- IL_00a3:
- {
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.DigitalSignature);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_24 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_24, ((int32_t)128), /*hidden argument*/NULL);
- }
- IL_00ae:
- {
- // base.ProcessServerCertificate(serverCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_25 = ___serverCertificate0;
- AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_25, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::get_RequiresServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHKeyExchange_get_RequiresServerKeyExchange_m7140A4F96ECC2D1698F8422EEE90A2945ED6E38E (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // switch (mKeyExchange)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- V_0 = L_0;
- int32_t L_1 = V_0;
- if ((((int32_t)L_1) == ((int32_t)3)))
- {
- goto IL_0014;
- }
- }
- {
- int32_t L_2 = V_0;
- if ((((int32_t)L_2) == ((int32_t)5)))
- {
- goto IL_0014;
- }
- }
- {
- int32_t L_3 = V_0;
- if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_0016;
- }
- }
- IL_0014:
- {
- // return true;
- return (bool)1;
- }
- IL_0016:
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GenerateServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHKeyExchange_GenerateServerKeyExchange_m4E38670DEDBE76CDCF34E37799C7068CD213E3CE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (!RequiresServerKeyExchange)
- bool L_0;
- L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
- if (L_0)
- {
- goto IL_000a;
- }
- }
- {
- // return null;
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- IL_000a:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_1, /*hidden argument*/NULL);
- V_0 = L_1;
- // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
- // this.mDHParameters, buf);
- RuntimeObject* L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_2);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
- 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);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4 = __this->get_mDHParameters_5();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_6;
- L_6 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_3, L_4, L_5, /*hidden argument*/NULL);
- __this->set_mDHAgreePrivateKey_8(L_6);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
- NullCheck(L_7);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
- L_8 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_7);
- return L_8;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!RequiresServerKeyExchange)
- bool L_0;
- L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
- if (L_0)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessServerKeyExchange_m93EB5FD9821C31DA4CE6868159910C945B7FA15F_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input);
- RuntimeObject* L_2 = __this->get_mDHVerifier_4();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4;
- L_4 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_2, L_3, /*hidden argument*/NULL);
- __this->set_mDHParameters_5(L_4);
- // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_5 = ___input0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6;
- L_6 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_5, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = __this->get_mDHParameters_5();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_8 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_8, L_6, L_7, /*hidden argument*/NULL);
- __this->set_mDHAgreePublicKey_9(L_8);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624 (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- uint8_t V_2 = 0x0;
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // byte[] types = certificateRequest.CertificateTypes;
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_2 = ___certificateRequest0;
- NullCheck(L_2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_2);
- V_0 = L_3;
- // for (int i = 0; i < types.Length; ++i)
- V_1 = 0;
- goto IL_0038;
- }
- IL_001d:
- {
- // switch (types[i])
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- int32_t L_5 = V_1;
- NullCheck(L_4);
- int32_t L_6 = L_5;
- uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
- V_2 = L_7;
- uint8_t L_8 = V_2;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1))) > ((uint32_t)3))))
- {
- goto IL_0034;
- }
- }
- {
- uint8_t L_9 = V_2;
- if ((((int32_t)L_9) == ((int32_t)((int32_t)64))))
- {
- goto IL_0034;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ValidateCertificateRequest_m468DB50C66AFB4CCC2E205B553217CF85CEEF624_RuntimeMethod_var)));
- }
- IL_0034:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_11 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
- }
- IL_0038:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_12 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
- NullCheck(L_13);
- if ((((int32_t)L_12) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))))))
- {
- goto IL_001d;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // if (clientCredentials is TlsAgreementCredentials)
- RuntimeObject* L_2 = ___clientCredentials0;
- if (!((RuntimeObject*)IsInst((RuntimeObject*)L_2, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)))
- {
- goto IL_0027;
- }
- }
- {
- // this.mAgreementCredentials = (TlsAgreementCredentials)clientCredentials;
- RuntimeObject* L_3 = ___clientCredentials0;
- __this->set_mAgreementCredentials_7(((RuntimeObject*)Castclass((RuntimeObject*)L_3, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- IL_0027:
- {
- // else if (clientCredentials is TlsSignerCredentials)
- RuntimeObject* L_4 = ___clientCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0037;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCredentials_m13E320DDC28E3EF487525A00316D644338C21C9F_RuntimeMethod_var)));
- }
- IL_0037:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_GenerateClientKeyExchange_m63D6136C85D59BA0920F243F6A6043803AE56F6A (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mAgreementCredentials == null)
- RuntimeObject* L_0 = __this->get_mAgreementCredentials_7();
- if (L_0)
- {
- goto IL_0025;
- }
- }
- {
- // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
- // mDHParameters, output);
- RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_1);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
- 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);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = __this->get_mDHParameters_5();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_5;
- L_5 = TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3(L_2, L_3, L_4, /*hidden argument*/NULL);
- __this->set_mDHAgreePrivateKey_8(L_5);
- }
- IL_0025:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
- {
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.DH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_ProcessClientCertificate_mE5820B3DF6D93B03E9228CDF58AC24688C6C83EE_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHKeyExchange_ProcessClientKeyExchange_m1958B13961E6A0F3ECBD4599F134576FA3FEF28B (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mDHAgreePublicKey != null)
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_0 = __this->get_mDHAgreePublicKey_9();
- if (!L_0)
- {
- goto IL_0009;
- }
- }
- {
- // return;
- return;
- }
- IL_0009:
- {
- // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2;
- L_2 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_1, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = __this->get_mDHParameters_5();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_4 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_4, L_2, L_3, /*hidden argument*/NULL);
- __this->set_mDHAgreePublicKey_9(L_4);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHKeyExchange::GeneratePremasterSecret()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB (TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mAgreementCredentials != null)
- RuntimeObject* L_0 = __this->get_mAgreementCredentials_7();
- if (!L_0)
- {
- goto IL_001a;
- }
- }
- {
- // return mAgreementCredentials.GenerateAgreement(mDHAgreePublicKey);
- RuntimeObject* L_1 = __this->get_mAgreementCredentials_7();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_2 = __this->get_mDHAgreePublicKey_9();
- NullCheck(L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- 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);
- return L_3;
- }
- IL_001a:
- {
- // if (mDHAgreePrivateKey != null)
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_4 = __this->get_mDHAgreePrivateKey_8();
- if (!L_4)
- {
- goto IL_0034;
- }
- }
- {
- // return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey);
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_5 = __this->get_mDHAgreePublicKey_9();
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_6 = __this->get_mDHAgreePrivateKey_8();
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770(L_5, L_6, /*hidden argument*/NULL);
- return L_7;
- }
- IL_0034:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHKeyExchange_GeneratePremasterSecret_m4B1A7DD17AEED5CC0EBD6ED691D3BA61312DAFEB_RuntimeMethod_var)));
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromHex(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273 (String_t* ___hex0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new BigInteger(1, Hex.Decode(hex));
- String_t* L_0 = ___hex0;
- IL2CPP_RUNTIME_CLASS_INIT(Hex_t3B7B2ED165B9CA45F45E3F1EF2436D4FCA11F6FE_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = Hex_Decode_m1D881955B974F7FB194876E59DD34149C594A6E1(L_0, /*hidden argument*/NULL);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
- return L_2;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::FromSafeP(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50 (String_t* ___hexP0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
- {
- // BigInteger p = FromHex(hexP), q = p.ShiftRight(1);
- String_t* L_0 = ___hexP0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = TlsDHUtilities_FromHex_m949885F462C2759E8CEBBDC544F7F4FDE7098273(L_0, /*hidden argument*/NULL);
- // BigInteger p = FromHex(hexP), q = p.ShiftRight(1);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = L_1;
- NullCheck(L_2);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
- L_3 = BigInteger_ShiftRight_m24332C73CA4FF51A829E2F1AB89F0B3903CDF642(L_2, 1, /*hidden argument*/NULL);
- V_0 = L_3;
- // return new DHParameters(p, Two, q);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_Two_0();
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5 = V_0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6 = (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)il2cpp_codegen_object_new(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
- DHParameters__ctor_mCF7DCB73E33F44B9BA2CA7678A88C727784EB8E8(L_6, L_2, L_4, L_5, /*hidden argument*/NULL);
- return L_6;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AddNegotiatedDheGroupsClientExtension(System.Collections.IDictionary,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_AddNegotiatedDheGroupsClientExtension_m201D3BD0A2A5DA245CB1DF6F3F3B516C43C634BF (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsClientExtension(dheGroups);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
- int32_t L_2 = L_1;
- RuntimeObject * L_3 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___dheGroups1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77(L_4, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AddNegotiatedDheGroupsServerExtension(System.Collections.IDictionary,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_AddNegotiatedDheGroupsServerExtension_m3F675BC601411E4DBFF0552450061BEE2854DE34 (RuntimeObject* ___extensions0, uint8_t ___dheGroup1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.negotiated_ff_dhe_groups] = CreateNegotiatedDheGroupsServerExtension(dheGroup);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
- int32_t L_2 = L_1;
- RuntimeObject * L_3 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_2);
- uint8_t L_4 = ___dheGroup1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6(L_4, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetNegotiatedDheGroupsClientExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_GetNegotiatedDheGroupsClientExtension_m1772A2D84C2482EB5A41A5BDDB69B327C3F589AC (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, L_1, /*hidden argument*/NULL);
- V_0 = L_2;
- // return extensionData == null ? null : ReadNegotiatedDheGroupsClientExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- if (!L_3)
- {
- goto IL_0016;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51(L_4, /*hidden argument*/NULL);
- return L_5;
- }
- IL_0016:
- {
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- }
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetNegotiatedDheGroupsServerExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsDHUtilities_GetNegotiatedDheGroupsServerExtension_mBE74932710D2E4C0EB4D437B71479EFADCA0078B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.negotiated_ff_dhe_groups);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var);
- int32_t L_1 = ((ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_StaticFields*)il2cpp_codegen_static_fields_for(ExtensionType_t99BE11CEA3D1E7A54240A40233BF63725FC9EE64_il2cpp_TypeInfo_var))->get_negotiated_ff_dhe_groups_28();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, L_1, /*hidden argument*/NULL);
- V_0 = L_2;
- // return extensionData == null ? (short)-1 : (short)ReadNegotiatedDheGroupsServerExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- if (!L_3)
- {
- goto IL_0016;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- uint8_t L_5;
- L_5 = TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234(L_4, /*hidden argument*/NULL);
- return L_5;
- }
- IL_0016:
- {
- return (int16_t)(-1);
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsClientExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___dheGroups0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (dheGroups == null || dheGroups.Length < 1 || dheGroups.Length > 255)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___dheGroups0;
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___dheGroups0;
- NullCheck(L_1);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) < ((int32_t)1)))
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___dheGroups0;
- NullCheck(L_2);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) <= ((int32_t)((int32_t)255))))
- {
- goto IL_001b;
- }
- }
- IL_0013:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_CreateNegotiatedDheGroupsClientExtension_mC3169C19BC0A25BAE7012FB9B1D9BBF190863A77_RuntimeMethod_var)));
- }
- IL_001b:
- {
- // return TlsUtilities.EncodeUint8ArrayWithUint8Length(dheGroups);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___dheGroups0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CreateNegotiatedDheGroupsServerExtension(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CreateNegotiatedDheGroupsServerExtension_m8C8B1E2BE0A3795FC2C24634E7FA2AFD8F6133E6 (uint8_t ___dheGroup0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EncodeUint8(dheGroup);
- uint8_t L_0 = ___dheGroup0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsClientExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
- {
- // byte[] dheGroups = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
- // if (dheGroups.Length < 1)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
- NullCheck(L_2);
- G_B1_0 = L_2;
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) >= ((int32_t)1)))
- {
- G_B2_0 = L_2;
- goto IL_0014;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_ReadNegotiatedDheGroupsClientExtension_mE8DE9C2EBE966FF670D2FCC9DE5024687C273F51_RuntimeMethod_var)));
- }
- IL_0014:
- {
- // return dheGroups;
- return G_B2_0;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadNegotiatedDheGroupsServerExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDHUtilities_ReadNegotiatedDheGroupsServerExtension_m355004EFDB9497E3BECD0DDFD9F0776B15D7B234 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.DecodeUint8(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_1;
- L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::GetParametersForDHEGroup(System.Int16)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_GetParametersForDHEGroup_m2BE5DBE736A9FD8EEE8D3B7D42917F2E7B5E2B62 (int16_t ___dheGroup0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- int16_t L_0 = ___dheGroup0;
- switch (L_0)
- {
- case 0:
- {
- goto IL_001c;
- }
- case 1:
- {
- goto IL_0022;
- }
- case 2:
- {
- goto IL_0028;
- }
- case 3:
- {
- goto IL_002e;
- }
- case 4:
- {
- goto IL_0034;
- }
- }
- }
- {
- goto IL_003a;
- }
- IL_001c:
- {
- // return draft_ffdhe2432;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe2432_2();
- return L_1;
- }
- IL_0022:
- {
- // return draft_ffdhe3072;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe3072_4();
- return L_2;
- }
- IL_0028:
- {
- // return draft_ffdhe4096;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe4096_6();
- return L_3;
- }
- IL_002e:
- {
- // return draft_ffdhe6144;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe6144_8();
- return L_4;
- }
- IL_0034:
- {
- // return draft_ffdhe8192;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe8192_10();
- return L_5;
- }
- IL_003a:
- {
- // return null;
- return (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)NULL;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ContainsDheCipherSuites(System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_ContainsDheCipherSuites_mA17F1938EFDE6F12F439E709974EFB311B713654 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___cipherSuites0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- V_0 = 0;
- goto IL_0014;
- }
- IL_0004:
- {
- // if (IsDheCipherSuite(cipherSuites[i]))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___cipherSuites0;
- int32_t L_1 = V_0;
- NullCheck(L_0);
- int32_t L_2 = L_1;
- int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- bool L_4;
- L_4 = TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF(L_3, /*hidden argument*/NULL);
- if (!L_4)
- {
- goto IL_0010;
- }
- }
- {
- // return true;
- return (bool)1;
- }
- IL_0010:
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- int32_t L_5 = V_0;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
- }
- IL_0014:
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- int32_t L_6 = V_0;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_7 = ___cipherSuites0;
- NullCheck(L_7);
- if ((((int32_t)L_6) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))))))
- {
- goto IL_0004;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::IsDheCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_IsDheCipherSuite_mCFAC966AEE98ACA02494565135E3093D11F49AAF (int32_t ___cipherSuite0, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___cipherSuite0;
- if ((((int32_t)L_0) > ((int32_t)((int32_t)145))))
- {
- goto IL_00bd;
- }
- }
- {
- int32_t L_1 = ___cipherSuite0;
- if ((((int32_t)L_1) > ((int32_t)((int32_t)64))))
- {
- goto IL_0078;
- }
- }
- {
- int32_t L_2 = ___cipherSuite0;
- if ((((int32_t)L_2) > ((int32_t)((int32_t)45))))
- {
- goto IL_0057;
- }
- }
- {
- int32_t L_3 = ___cipherSuite0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)17))))
- {
- case 0:
- {
- goto IL_022e;
- }
- case 1:
- {
- goto IL_022e;
- }
- case 2:
- {
- goto IL_022e;
- }
- case 3:
- {
- goto IL_022e;
- }
- case 4:
- {
- goto IL_022e;
- }
- case 5:
- {
- goto IL_022e;
- }
- case 6:
- {
- goto IL_0230;
- }
- case 7:
- {
- goto IL_022e;
- }
- case 8:
- {
- goto IL_0230;
- }
- case 9:
- {
- goto IL_0230;
- }
- case 10:
- {
- goto IL_022e;
- }
- }
- }
- {
- int32_t L_4 = ___cipherSuite0;
- if ((((int32_t)L_4) == ((int32_t)((int32_t)45))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_0057:
- {
- int32_t L_5 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)50)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_6 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)56)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_7 = ___cipherSuite0;
- if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_0078:
- {
- int32_t L_8 = ___cipherSuite0;
- if ((((int32_t)L_8) > ((int32_t)((int32_t)103))))
- {
- goto IL_0094;
- }
- }
- {
- int32_t L_9 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)68)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_10 = ___cipherSuite0;
- if ((((int32_t)L_10) == ((int32_t)((int32_t)103))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_0094:
- {
- int32_t L_11 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)106)))) > ((uint32_t)3))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_12 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)((int32_t)135)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_13 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)((int32_t)142)))) > ((uint32_t)3))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_00bd:
- {
- int32_t L_14 = ___cipherSuite0;
- if ((((int32_t)L_14) > ((int32_t)((int32_t)49297))))
- {
- goto IL_01b2;
- }
- }
- {
- int32_t L_15 = ___cipherSuite0;
- if ((((int32_t)L_15) > ((int32_t)((int32_t)191))))
- {
- goto IL_0165;
- }
- }
- {
- int32_t L_16 = ___cipherSuite0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)((int32_t)153))))
- {
- case 0:
- {
- goto IL_022e;
- }
- case 1:
- {
- goto IL_022e;
- }
- case 2:
- {
- goto IL_022e;
- }
- case 3:
- {
- goto IL_0230;
- }
- case 4:
- {
- goto IL_0230;
- }
- case 5:
- {
- goto IL_022e;
- }
- case 6:
- {
- goto IL_022e;
- }
- case 7:
- {
- goto IL_0230;
- }
- case 8:
- {
- goto IL_0230;
- }
- case 9:
- {
- goto IL_022e;
- }
- case 10:
- {
- goto IL_022e;
- }
- case 11:
- {
- goto IL_0230;
- }
- case 12:
- {
- goto IL_0230;
- }
- case 13:
- {
- goto IL_022e;
- }
- case 14:
- {
- goto IL_022e;
- }
- case 15:
- {
- goto IL_0230;
- }
- case 16:
- {
- goto IL_0230;
- }
- case 17:
- {
- goto IL_022e;
- }
- case 18:
- {
- goto IL_022e;
- }
- case 19:
- {
- goto IL_0230;
- }
- case 20:
- {
- goto IL_0230;
- }
- case 21:
- {
- goto IL_0230;
- }
- case 22:
- {
- goto IL_0230;
- }
- case 23:
- {
- goto IL_0230;
- }
- case 24:
- {
- goto IL_0230;
- }
- case 25:
- {
- goto IL_022e;
- }
- case 26:
- {
- goto IL_022e;
- }
- case 27:
- {
- goto IL_022e;
- }
- case 28:
- {
- goto IL_022e;
- }
- }
- }
- {
- int32_t L_17 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)((int32_t)189)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_0165:
- {
- int32_t L_18 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)((int32_t)195)))) > ((uint32_t)2))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_19 = ___cipherSuite0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)((int32_t)49276))))
- {
- case 0:
- {
- goto IL_022e;
- }
- case 1:
- {
- goto IL_022e;
- }
- case 2:
- {
- goto IL_0230;
- }
- case 3:
- {
- goto IL_0230;
- }
- case 4:
- {
- goto IL_022e;
- }
- case 5:
- {
- goto IL_022e;
- }
- case 6:
- {
- goto IL_0230;
- }
- case 7:
- {
- goto IL_0230;
- }
- case 8:
- {
- goto IL_022e;
- }
- case 9:
- {
- goto IL_022e;
- }
- }
- }
- {
- int32_t L_20 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)((int32_t)49296)))) > ((uint32_t)1))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_01b2:
- {
- int32_t L_21 = ___cipherSuite0;
- if ((((int32_t)L_21) > ((int32_t)((int32_t)52394))))
- {
- goto IL_0212;
- }
- }
- {
- int32_t L_22 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)((int32_t)49302)))) > ((uint32_t)1))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_23 = ___cipherSuite0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)((int32_t)49310))))
- {
- case 0:
- {
- goto IL_022e;
- }
- case 1:
- {
- goto IL_022e;
- }
- case 2:
- {
- goto IL_0230;
- }
- case 3:
- {
- goto IL_0230;
- }
- case 4:
- {
- goto IL_022e;
- }
- case 5:
- {
- goto IL_022e;
- }
- case 6:
- {
- goto IL_0230;
- }
- case 7:
- {
- goto IL_0230;
- }
- case 8:
- {
- goto IL_022e;
- }
- case 9:
- {
- goto IL_022e;
- }
- case 10:
- {
- goto IL_0230;
- }
- case 11:
- {
- goto IL_0230;
- }
- case 12:
- {
- goto IL_022e;
- }
- case 13:
- {
- goto IL_022e;
- }
- }
- }
- {
- int32_t L_24 = ___cipherSuite0;
- if ((((int32_t)L_24) == ((int32_t)((int32_t)52394))))
- {
- goto IL_022e;
- }
- }
- {
- goto IL_0230;
- }
- IL_0212:
- {
- int32_t L_25 = ___cipherSuite0;
- if ((((int32_t)L_25) == ((int32_t)((int32_t)52397))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_26 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)((int32_t)65280)))) > ((uint32_t)1))))
- {
- goto IL_022e;
- }
- }
- {
- int32_t L_27 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)((int32_t)65298)))) <= ((uint32_t)1))))
- {
- goto IL_0230;
- }
- }
- IL_022e:
- {
- // return true;
- return (bool)1;
- }
- IL_0230:
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::AreCompatibleParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDHUtilities_AreCompatibleParameters_mF9A058E23560AE4A4C4EC906CBF9B80A344E9C06 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___a0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___b1, const RuntimeMethod* method)
- {
- {
- // return a.P.Equals(b.P) && a.G.Equals(b.G)
- // && (a.Q == null || b.Q == null || a.Q.Equals(b.Q));
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ___a0;
- NullCheck(L_0);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_0, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2 = ___b1;
- NullCheck(L_2);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
- L_3 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_2, /*hidden argument*/NULL);
- NullCheck(L_1);
- bool L_4;
- L_4 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_1, L_3);
- if (!L_4)
- {
- goto IL_004a;
- }
- }
- {
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___a0;
- NullCheck(L_5);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6;
- L_6 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_5, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_7 = ___b1;
- NullCheck(L_7);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_8;
- L_8 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_7, /*hidden argument*/NULL);
- NullCheck(L_6);
- bool L_9;
- L_9 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_6, L_8);
- if (!L_9)
- {
- goto IL_004a;
- }
- }
- {
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_10 = ___a0;
- NullCheck(L_10);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_11;
- L_11 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_10, /*hidden argument*/NULL);
- if (!L_11)
- {
- goto IL_0048;
- }
- }
- {
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_12 = ___b1;
- NullCheck(L_12);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_13;
- L_13 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_12, /*hidden argument*/NULL);
- if (!L_13)
- {
- goto IL_0048;
- }
- }
- {
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_14 = ___a0;
- NullCheck(L_14);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_15;
- L_15 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_14, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_16 = ___b1;
- NullCheck(L_16);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_17;
- L_17 = DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline(L_16, /*hidden argument*/NULL);
- NullCheck(L_15);
- bool L_18;
- L_18 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_15, L_17);
- return L_18;
- }
- IL_0048:
- {
- return (bool)1;
- }
- IL_004a:
- {
- return (bool)0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::CalculateDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHPrivateKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770 (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * ___publicKey0, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * ___privateKey1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // DHBasicAgreement basicAgreement = new DHBasicAgreement();
- DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * L_0 = (DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 *)il2cpp_codegen_object_new(DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99_il2cpp_TypeInfo_var);
- DHBasicAgreement__ctor_mA814E02EE595AFDCC561228E8DC491927EBC5D00(L_0, /*hidden argument*/NULL);
- // basicAgreement.Init(privateKey);
- DHBasicAgreement_tEA094DF0EAA1AC3039EAE4D4F258E02FCBD99E99 * L_1 = L_0;
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_2 = ___privateKey1;
- NullCheck(L_1);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.DHBasicAgreement::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_1, L_2);
- // BigInteger agreementValue = basicAgreement.CalculateAgreement(publicKey);
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_3 = ___publicKey0;
- NullCheck(L_1);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4;
- 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);
- // return BigIntegers.AsUnsignedByteArray(agreementValue);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // DHBasicKeyPairGenerator dhGen = new DHBasicKeyPairGenerator();
- DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * L_0 = (DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 *)il2cpp_codegen_object_new(DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519_il2cpp_TypeInfo_var);
- DHBasicKeyPairGenerator__ctor_m51E8D2D7BA1F2046725A3649DCF8F19D459C6DA0(L_0, /*hidden argument*/NULL);
- // dhGen.Init(new DHKeyGenerationParameters(random, dhParams));
- DHBasicKeyPairGenerator_t81843207FA6B3F18F148E2EB2AA27448F7E5A519 * L_1 = L_0;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___random0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParams1;
- DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 * L_4 = (DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553 *)il2cpp_codegen_object_new(DHKeyGenerationParameters_tF2E57E2FA3C83651A06C0140E7CAB48999309553_il2cpp_TypeInfo_var);
- DHKeyGenerationParameters__ctor_mDE87E2CDE46C6E3F9DA46810D957CF3FE8AD91AD(L_4, L_2, L_3, /*hidden argument*/NULL);
- NullCheck(L_1);
- 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);
- // return dhGen.GenerateKeyPair();
- NullCheck(L_1);
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_5;
- L_5 = VirtualFuncInvoker0< AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * >::Invoke(7 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Generators.DHBasicKeyPairGenerator::GenerateKeyPair() */, L_1);
- return L_5;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // AsymmetricCipherKeyPair kp = GenerateDHKeyPair(random, dhParams);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ___dhParams1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
- L_2 = TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9(L_0, L_1, /*hidden argument*/NULL);
- // DHPublicKeyParameters dhPublic = (DHPublicKeyParameters)kp.Public;
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
- L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
- // WriteDHParameter(dhPublic.Y, output);
- NullCheck(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
- 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)));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output2;
- TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_5, L_6, /*hidden argument*/NULL);
- // return (DHPrivateKeyParameters)kp.Private;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_7;
- L_7 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
- return ((DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F *)CastclassClass((RuntimeObject*)L_7, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var));
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParams1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // AsymmetricCipherKeyPair kp = GenerateDHKeyPair(random, dhParams);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1 = ___dhParams1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
- L_2 = TlsDHUtilities_GenerateDHKeyPair_mAFD43C834FF70A1857E81F72951E15456F82F4A9(L_0, L_1, /*hidden argument*/NULL);
- // DHPublicKeyParameters dhPublic = (DHPublicKeyParameters)kp.Public;
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
- L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
- // WriteDHParameters(dhParams, output);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___dhParams1;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output2;
- TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606(L_5, L_6, /*hidden argument*/NULL);
- // WriteDHParameter(dhPublic.Y, output);
- NullCheck(((DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)CastclassClass((RuntimeObject*)L_4, DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var)));
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
- 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)));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output2;
- TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_7, L_8, /*hidden argument*/NULL);
- // return (DHPrivateKeyParameters)kp.Private;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_9;
- L_9 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
- return ((DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F *)CastclassClass((RuntimeObject*)L_9, DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F_il2cpp_TypeInfo_var));
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameter(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new BigInteger(1, TlsUtilities.ReadOpaque16(input));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
- return L_2;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::ReadDHParameters(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
- {
- // BigInteger p = ReadDHParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_0, /*hidden argument*/NULL);
- // BigInteger g = ReadDHParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___input0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
- L_3 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_2, /*hidden argument*/NULL);
- V_0 = L_3;
- // return new DHParameters(p, g);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = V_0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C *)il2cpp_codegen_object_new(DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C_il2cpp_TypeInfo_var);
- DHParameters__ctor_m2CC3B308F5ED878AE35596644480C5875A13ADEC(L_5, L_1, L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B (RuntimeObject* ___dhVerifier0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHVerifier_t8D593E9ED32E1CB273F0EC3B0EDB8D71A095FDE3_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * V_0 = NULL;
- {
- // DHParameters dhParameters = ReadDHParameters(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_1;
- L_1 = TlsDHUtilities_ReadDHParameters_mF1C54A5247109D66A844485389C7B8AFF67C3A43(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // if (!dhVerifier.Accept(dhParameters))
- RuntimeObject* L_2 = ___dhVerifier0;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = V_0;
- NullCheck(L_2);
- bool L_4;
- 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);
- if (L_4)
- {
- goto IL_0018;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.insufficient_security);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)71), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B_RuntimeMethod_var)));
- }
- IL_0018:
- {
- // return dhParameters;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6 = V_0;
- return L_6;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.WriteOpaque16(BigIntegers.AsUnsignedByteArray(x), output);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ___x0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_0, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::WriteDHParameters(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities_WriteDHParameters_mE10FD75300A7E34EFF575E73E4B9F75FEEA6D606 (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // WriteDHParameter(dhParameters.P, output);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ___dhParameters0;
- NullCheck(L_0);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline(L_0, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_1, L_2, /*hidden argument*/NULL);
- // WriteDHParameter(dhParameters.G, output);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters0;
- NullCheck(L_3);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4;
- L_4 = DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline(L_3, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_5 = ___output1;
- TlsDHUtilities_WriteDHParameter_m17B96D05E3BA1B965E58C1650888F4B0BAA8D5CA(L_4, L_5, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities__ctor_m76FFCD77B89C807556DB73A3900522257657EBE1 (TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDHUtilities::.cctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDHUtilities__cctor_m19B0FE78FDD8B9751CA029544287EECF4CF13F96 (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1CA53064AC037645AEB61E213593B732DEA39811);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C);
- s_Il2CppMethodInitialized = true;
- }
- {
- // internal static readonly BigInteger Two = BigInteger.Two;
- IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ((BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var))->get_Two_9();
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_Two_0(L_0);
- // private static readonly string draft_ffdhe2432_p =
- // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
- // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
- // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
- // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
- // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
- // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
- // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
- // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
- // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
- // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
- // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
- // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
- // + "AEFE13098533C8B3FFFFFFFFFFFFFFFF";
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe2432_p_1(_stringLiteral79AD7647E408C1E7B07A932F4E76918284FE3A42);
- // internal static readonly DHParameters draft_ffdhe2432 = FromSafeP(draft_ffdhe2432_p);
- String_t* L_1 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe2432_p_1();
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_2;
- L_2 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_1, /*hidden argument*/NULL);
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe2432_2(L_2);
- // private static readonly string draft_ffdhe3072_p =
- // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
- // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
- // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
- // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
- // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
- // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
- // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
- // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
- // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
- // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
- // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
- // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
- // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
- // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
- // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
- // + "3C1B20EE3FD59D7C25E41D2B66C62E37FFFFFFFFFFFFFFFF";
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe3072_p_3(_stringLiteralA064E9D816E65AEF0C21B8D97EA4D37716B23CA7);
- // internal static readonly DHParameters draft_ffdhe3072 = FromSafeP(draft_ffdhe3072_p);
- String_t* L_3 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe3072_p_3();
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_4;
- L_4 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_3, /*hidden argument*/NULL);
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe3072_4(L_4);
- // private static readonly string draft_ffdhe4096_p =
- // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
- // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
- // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
- // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
- // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
- // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
- // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
- // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
- // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
- // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
- // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
- // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
- // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
- // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
- // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
- // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
- // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
- // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
- // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
- // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
- // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E655F6A"
- // + "FFFFFFFFFFFFFFFF";
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe4096_p_5(_stringLiteral3E79C376303FEF4D1A423C0F0FDD0FC00697D252);
- // internal static readonly DHParameters draft_ffdhe4096 = FromSafeP(draft_ffdhe4096_p);
- String_t* L_5 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe4096_p_5();
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_6;
- L_6 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_5, /*hidden argument*/NULL);
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe4096_6(L_6);
- // private static readonly string draft_ffdhe6144_p =
- // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
- // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
- // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
- // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
- // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
- // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
- // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
- // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
- // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
- // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
- // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
- // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
- // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
- // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
- // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
- // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
- // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
- // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
- // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
- // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
- // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD902"
- // + "0BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA6"
- // + "3BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3A"
- // + "CDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477"
- // + "A52471F7A9A96910B855322EDB6340D8A00EF092350511E3"
- // + "0ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4"
- // + "763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6"
- // + "B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538C"
- // + "D72B03746AE77F5E62292C311562A846505DC82DB854338A"
- // + "E49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B04"
- // + "5B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1"
- // + "A41D570D7938DAD4A40E329CD0E40E65FFFFFFFFFFFFFFFF";
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe6144_p_7(_stringLiteralA3B3D304750879C37735E653553B465A0FA9D02C);
- // internal static readonly DHParameters draft_ffdhe6144 = FromSafeP(draft_ffdhe6144_p);
- String_t* L_7 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe6144_p_7();
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8;
- L_8 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_7, /*hidden argument*/NULL);
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe6144_8(L_8);
- // private static readonly string draft_ffdhe8192_p =
- // "FFFFFFFFFFFFFFFFADF85458A2BB4A9AAFDC5620273D3CF1"
- // + "D8B9C583CE2D3695A9E13641146433FBCC939DCE249B3EF9"
- // + "7D2FE363630C75D8F681B202AEC4617AD3DF1ED5D5FD6561"
- // + "2433F51F5F066ED0856365553DED1AF3B557135E7F57C935"
- // + "984F0C70E0E68B77E2A689DAF3EFE8721DF158A136ADE735"
- // + "30ACCA4F483A797ABC0AB182B324FB61D108A94BB2C8E3FB"
- // + "B96ADAB760D7F4681D4F42A3DE394DF4AE56EDE76372BB19"
- // + "0B07A7C8EE0A6D709E02FCE1CDF7E2ECC03404CD28342F61"
- // + "9172FE9CE98583FF8E4F1232EEF28183C3FE3B1B4C6FAD73"
- // + "3BB5FCBC2EC22005C58EF1837D1683B2C6F34A26C1B2EFFA"
- // + "886B4238611FCFDCDE355B3B6519035BBC34F4DEF99C0238"
- // + "61B46FC9D6E6C9077AD91D2691F7F7EE598CB0FAC186D91C"
- // + "AEFE130985139270B4130C93BC437944F4FD4452E2D74DD3"
- // + "64F2E21E71F54BFF5CAE82AB9C9DF69EE86D2BC522363A0D"
- // + "ABC521979B0DEADA1DBF9A42D5C4484E0ABCD06BFA53DDEF"
- // + "3C1B20EE3FD59D7C25E41D2B669E1EF16E6F52C3164DF4FB"
- // + "7930E9E4E58857B6AC7D5F42D69F6D187763CF1D55034004"
- // + "87F55BA57E31CC7A7135C886EFB4318AED6A1E012D9E6832"
- // + "A907600A918130C46DC778F971AD0038092999A333CB8B7A"
- // + "1A1DB93D7140003C2A4ECEA9F98D0ACC0A8291CDCEC97DCF"
- // + "8EC9B55A7F88A46B4DB5A851F44182E1C68A007E5E0DD902"
- // + "0BFD64B645036C7A4E677D2C38532A3A23BA4442CAF53EA6"
- // + "3BB454329B7624C8917BDD64B1C0FD4CB38E8C334C701C3A"
- // + "CDAD0657FCCFEC719B1F5C3E4E46041F388147FB4CFDB477"
- // + "A52471F7A9A96910B855322EDB6340D8A00EF092350511E3"
- // + "0ABEC1FFF9E3A26E7FB29F8C183023C3587E38DA0077D9B4"
- // + "763E4E4B94B2BBC194C6651E77CAF992EEAAC0232A281BF6"
- // + "B3A739C1226116820AE8DB5847A67CBEF9C9091B462D538C"
- // + "D72B03746AE77F5E62292C311562A846505DC82DB854338A"
- // + "E49F5235C95B91178CCF2DD5CACEF403EC9D1810C6272B04"
- // + "5B3B71F9DC6B80D63FDD4A8E9ADB1E6962A69526D43161C1"
- // + "A41D570D7938DAD4A40E329CCFF46AAA36AD004CF600C838"
- // + "1E425A31D951AE64FDB23FCEC9509D43687FEB69EDD1CC5E"
- // + "0B8CC3BDF64B10EF86B63142A3AB8829555B2F747C932665"
- // + "CB2C0F1CC01BD70229388839D2AF05E454504AC78B758282"
- // + "2846C0BA35C35F5C59160CC046FD8251541FC68C9C86B022"
- // + "BB7099876A460E7451A8A93109703FEE1C217E6C3826E52C"
- // + "51AA691E0E423CFC99E9E31650C1217B624816CDAD9A95F9"
- // + "D5B8019488D9C0A0A1FE3075A577E23183F81D4A3F2FA457"
- // + "1EFC8CE0BA8A4FE8B6855DFE72B0A66EDED2FBABFBE58A30"
- // + "FAFABE1C5D71A87E2F741EF8C1FE86FEA6BBFDE530677F0D"
- // + "97D11D49F7A8443D0822E506A9F4614E011E2A94838FF88C"
- // + "D68C8BB7C5C6424CFFFFFFFFFFFFFFFF";
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe8192_p_9(_stringLiteral1CA53064AC037645AEB61E213593B732DEA39811);
- // internal static readonly DHParameters draft_ffdhe8192 = FromSafeP(draft_ffdhe8192_p);
- String_t* L_9 = ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->get_draft_ffdhe8192_p_9();
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_10;
- L_10 = TlsDHUtilities_FromSafeP_mFFD934A7B46BDE172EC4A72A6A840776EADD6E50(L_9, /*hidden argument*/NULL);
- ((TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_StaticFields*)il2cpp_codegen_static_fields_for(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var))->set_draft_ffdhe8192_10(L_10);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mAB010223B26DF1123C0AB833F5C2FC65B4A2C3B3 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, const RuntimeMethod* method)
- {
- {
- // : this(LEVEL_DEFAULT)
- TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221(__this, (-1), /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDeflateCompression__ctor_mDDEBA532749A49591248CFCCF12383D7766A1221 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, int32_t ___level0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // public TlsDeflateCompression(int level)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.zIn = new ZStream();
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_0 = (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C *)il2cpp_codegen_object_new(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
- ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40(L_0, /*hidden argument*/NULL);
- __this->set_zIn_4(L_0);
- // this.zIn.inflateInit();
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zIn_4();
- NullCheck(L_1);
- int32_t L_2;
- L_2 = ZStream_inflateInit_m9EC1B8A6E4C5DD3F1AB27A3334641E5368E53A4A(L_1, /*hidden argument*/NULL);
- // this.zOut = new ZStream();
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_3 = (ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C *)il2cpp_codegen_object_new(ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C_il2cpp_TypeInfo_var);
- ZStream__ctor_m789EC02A4065E8AA186254DD18DEB20CB878FC40(L_3, /*hidden argument*/NULL);
- __this->set_zOut_5(L_3);
- // this.zOut.deflateInit(level);
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_4 = __this->get_zOut_5();
- int32_t L_5 = ___level0;
- NullCheck(L_4);
- int32_t L_6;
- L_6 = ZStream_deflateInit_m77240EC6F6D04747F3306F9E4F267C9640F0D8A2(L_4, L_5, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::Compress(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsDeflateCompression_Compress_m00DEEE7975B29E1E0DEF42ECD858CB0203812E24 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new DeflateOutputStream(output, zOut, true);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zOut_5();
- DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * L_2 = (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 *)il2cpp_codegen_object_new(DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
- DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48(L_2, L_0, L_1, (bool)1, /*hidden argument*/NULL);
- return L_2;
- }
- }
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDeflateCompression::Decompress(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsDeflateCompression_Decompress_mC6748EE559FE36EB8E9E59F7D7A8915F496FF056 (TlsDeflateCompression_t6B3138C3D08A0B68B2FEE96C9F55A23955A0D9D9 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new DeflateOutputStream(output, zIn, false);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
- ZStream_t1AFB5AE350EA0636F3469177D2983CD12DA2CC3C * L_1 = __this->get_zIn_4();
- DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 * L_2 = (DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0 *)il2cpp_codegen_object_new(DeflateOutputStream_t03EC5E7DF07D7BA92FF634233B5E5F6B754F91B0_il2cpp_TypeInfo_var);
- DeflateOutputStream__ctor_m3E1689ACC9A158A871DA8D18294B4CD3DA3B9F48(L_2, L_0, L_1, (bool)0, /*hidden argument*/NULL);
- return L_2;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::.ctor(System.Int32,System.Collections.IList,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DHParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange__ctor_m95025093AA656A2AACD334FE1CC263169078BC1F (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, int32_t ___keyExchange0, RuntimeObject* ___supportedSignatureAlgorithms1, DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * ___dhParameters2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : this(keyExchange, supportedSignatureAlgorithms, new DefaultTlsDHVerifier(), dhParameters)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_2 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_2, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters2;
- TlsDheKeyExchange__ctor_m2E81AE4A03734D45E088C9A5628A224B68F13BFA(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // 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)
- 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)
- {
- {
- // : base(keyExchange, supportedSignatureAlgorithms, dhVerifier, dhParameters)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- RuntimeObject* L_2 = ___dhVerifier2;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_3 = ___dhParameters3;
- TlsDHKeyExchange__ctor_m422B33CF003CCDB741A28A659B42BF9A58A99ED3(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785 (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!(serverCredentials is TlsSignerCredentials))
- RuntimeObject* L_0 = ___serverCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_ProcessServerCredentials_m596B2AA3D17183C508EC7BF7CA630E05F7ABE785_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // ProcessServerCertificate(serverCredentials.Certificate);
- RuntimeObject* L_2 = ___serverCredentials0;
- NullCheck(L_2);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
- 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);
- 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);
- // this.mServerCredentials = (TlsSignerCredentials)serverCredentials;
- RuntimeObject* L_4 = ___serverCredentials0;
- __this->set_mServerCredentials_10(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::GenerateServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- {
- // if (this.mDHParameters == null)
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
- if (L_0)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_GenerateServerKeyExchange_m662B02717B89515F11CAFC83E8F88D8B19FBD9DD_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // DigestInputBuffer buf = new DigestInputBuffer();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_2 = (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A *)il2cpp_codegen_object_new(DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
- DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB(L_2, /*hidden argument*/NULL);
- V_0 = L_2;
- // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
- // this.mDHParameters, buf);
- RuntimeObject* L_3 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_3);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_4;
- 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);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_6 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_7;
- L_7 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_4, L_5, L_6, /*hidden argument*/NULL);
- ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHAgreePrivateKey_8(L_7);
- // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
- // mContext, mServerCredentials);
- RuntimeObject* L_8 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- RuntimeObject* L_9 = __this->get_mServerCredentials_10();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10;
- L_10 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_8, L_9, /*hidden argument*/NULL);
- // IDigest d = TlsUtilities.CreateHash(signatureAndHashAlgorithm);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_11 = L_10;
- RuntimeObject* L_12;
- L_12 = TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80(L_11, /*hidden argument*/NULL);
- V_1 = L_12;
- // SecurityParameters securityParameters = mContext.SecurityParameters;
- RuntimeObject* L_13 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_13);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_14;
- 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);
- V_2 = L_14;
- // d.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
- RuntimeObject* L_15 = V_1;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_16 = V_2;
- NullCheck(L_16);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = L_16->get_clientRandom_6();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = V_2;
- NullCheck(L_18);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = L_18->get_clientRandom_6();
- NullCheck(L_19);
- NullCheck(L_15);
- 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))));
- // d.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
- RuntimeObject* L_20 = V_1;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_21 = V_2;
- NullCheck(L_21);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = L_21->get_serverRandom_7();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_23 = V_2;
- NullCheck(L_23);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = L_23->get_serverRandom_7();
- NullCheck(L_24);
- NullCheck(L_20);
- 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))));
- // buf.UpdateDigest(d);
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_25 = V_0;
- RuntimeObject* L_26 = V_1;
- NullCheck(L_25);
- DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084(L_25, L_26, /*hidden argument*/NULL);
- // byte[] hash = DigestUtilities.DoFinal(d);
- RuntimeObject* L_27 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_28;
- L_28 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_27, /*hidden argument*/NULL);
- V_3 = L_28;
- // byte[] signature = mServerCredentials.GenerateCertificateSignature(hash);
- RuntimeObject* L_29 = __this->get_mServerCredentials_10();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = V_3;
- NullCheck(L_29);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
- 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);
- V_4 = L_31;
- // DigitallySigned signed_params = new DigitallySigned(signatureAndHashAlgorithm, signature);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_32 = V_4;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_33 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_33, L_11, L_32, /*hidden argument*/NULL);
- // signed_params.Encode(buf);
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_34 = V_0;
- NullCheck(L_33);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_33, L_34);
- // return buf.ToArray();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_35 = V_0;
- NullCheck(L_35);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36;
- L_36 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_35);
- return L_36;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDheKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61 (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_0 = NULL;
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * V_1 = NULL;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * V_2 = NULL;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_3 = NULL;
- RuntimeObject* V_4 = NULL;
- {
- // SecurityParameters securityParameters = mContext.SecurityParameters;
- RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_0);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1;
- 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);
- V_0 = L_1;
- // SignerInputBuffer buf = new SignerInputBuffer();
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_2 = (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF *)il2cpp_codegen_object_new(SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
- SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9(L_2, /*hidden argument*/NULL);
- V_1 = L_2;
- // Stream teeIn = new TeeInputStream(input, buf);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_4 = V_1;
- TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * L_5 = (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C *)il2cpp_codegen_object_new(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
- TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B(L_5, L_3, L_4, /*hidden argument*/NULL);
- V_2 = L_5;
- // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, teeIn);
- RuntimeObject* L_6 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHVerifier_4();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_7 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8;
- L_8 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_6, L_7, /*hidden argument*/NULL);
- ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHParameters_5(L_8);
- // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(teeIn), mDHParameters);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_9 = V_2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_10;
- L_10 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_9, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_11 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mDHParameters_5();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_12 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_12, L_10, L_11, /*hidden argument*/NULL);
- ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->set_mDHAgreePublicKey_9(L_12);
- // DigitallySigned signed_params = ParseSignature(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___input0;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_14;
- 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);
- V_3 = L_14;
- // ISigner signer = InitVerifyer(mTlsSigner, signed_params.Algorithm, securityParameters);
- RuntimeObject* L_15 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mTlsSigner_3();
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_16 = V_3;
- NullCheck(L_16);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_17;
- 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);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = V_0;
- RuntimeObject* L_19;
- 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);
- V_4 = L_19;
- // buf.UpdateSigner(signer);
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_20 = V_1;
- RuntimeObject* L_21 = V_4;
- NullCheck(L_20);
- SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7(L_20, L_21, /*hidden argument*/NULL);
- // if (!signer.VerifySignature(signed_params.Signature))
- RuntimeObject* L_22 = V_4;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_23 = V_3;
- NullCheck(L_23);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
- L_24 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_23);
- NullCheck(L_22);
- bool L_25;
- 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);
- if (L_25)
- {
- goto IL_007f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decrypt_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_26, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDheKeyExchange_ProcessServerKeyExchange_m5B4BB2904C8AA661E3139BEC99022A7203E04B61_RuntimeMethod_var)));
- }
- IL_007f:
- {
- // }
- return;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDheKeyExchange_InitVerifyer_m6091711AA35F44E3042748356D757DBB7E2092BC (TlsDheKeyExchange_t4F27FA018B198C035CC410C4FDE081A9DEDC68AD * __this, RuntimeObject* ___tlsSigner0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm1, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // ISigner signer = tlsSigner.CreateVerifyer(algorithm, this.mServerPublicKey);
- RuntimeObject* L_0 = ___tlsSigner0;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_1 = ___algorithm1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_2 = ((TlsDHKeyExchange_tB92F8E9E52B315990D24F744E0EDEA81F3010F54 *)__this)->get_mServerPublicKey_6();
- NullCheck(L_0);
- RuntimeObject* L_3;
- 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);
- // signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
- RuntimeObject* L_4 = L_3;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = ___securityParameters2;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5->get_clientRandom_6();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_7 = ___securityParameters2;
- NullCheck(L_7);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = L_7->get_clientRandom_6();
- NullCheck(L_8);
- NullCheck(L_4);
- 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))));
- // signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
- RuntimeObject* L_9 = L_4;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ___securityParameters2;
- NullCheck(L_10);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = L_10->get_serverRandom_7();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_12 = ___securityParameters2;
- NullCheck(L_12);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = L_12->get_serverRandom_7();
- NullCheck(L_13);
- NullCheck(L_9);
- 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))));
- // return signer;
- return L_9;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- {
- // ISigner signer = MakeSigner(algorithm, true, true,
- // new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
- RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
- NullCheck(L_2);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
- 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);
- ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
- RuntimeObject* L_5;
- 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);
- V_0 = L_5;
- // if (algorithm == null)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_6 = ___algorithm0;
- if (L_6)
- {
- goto IL_002b;
- }
- }
- {
- // signer.BlockUpdate(hash, 16, 20);
- RuntimeObject* L_7 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash2;
- NullCheck(L_7);
- 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));
- // }
- goto IL_0036;
- }
- IL_002b:
- {
- // signer.BlockUpdate(hash, 0, hash.Length);
- RuntimeObject* L_9 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___hash2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___hash2;
- NullCheck(L_11);
- NullCheck(L_9);
- 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))));
- }
- IL_0036:
- {
- // return signer.GenerateSignature();
- RuntimeObject* L_12 = V_0;
- NullCheck(L_12);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
- L_13 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::GenerateSignature() */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_12);
- return L_13;
- }
- }
- // 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[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- {
- // ISigner signer = MakeSigner(algorithm, true, false, publicKey);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey2;
- RuntimeObject* L_2;
- 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);
- V_0 = L_2;
- // if (algorithm == null)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_3 = ___algorithm0;
- if (L_3)
- {
- goto IL_001c;
- }
- }
- {
- // signer.BlockUpdate(hash, 16, 20);
- RuntimeObject* L_4 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___hash3;
- NullCheck(L_4);
- 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));
- // }
- goto IL_0029;
- }
- IL_001c:
- {
- // signer.BlockUpdate(hash, 0, hash.Length);
- RuntimeObject* L_6 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___hash3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash3;
- NullCheck(L_8);
- NullCheck(L_6);
- 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))));
- }
- IL_0029:
- {
- // return signer.VerifySignature(sigBytes);
- RuntimeObject* L_9 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___sigBytes1;
- NullCheck(L_9);
- bool L_11;
- 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);
- return L_11;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_CreateSigner_m12B4F76E8C8757E2262165C8DC4E9DB622385E55 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, const RuntimeMethod* method)
- {
- {
- // return MakeSigner(algorithm, false, true, privateKey);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
- RuntimeObject* L_2;
- 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);
- return L_2;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_CreateVerifyer_m60497AA8D79CC52D4E027267638E794944E276A7 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey1, const RuntimeMethod* method)
- {
- {
- // return MakeSigner(algorithm, false, false, publicKey);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey1;
- RuntimeObject* L_2;
- 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);
- return L_2;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeInitParameters(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDsaSigner_MakeInitParameters_m94FB475F01509F7B9D305E268EA94F4C2F889F23 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, bool ___forSigning0, RuntimeObject* ___cp1, const RuntimeMethod* method)
- {
- {
- // return cp;
- RuntimeObject* L_0 = ___cp1;
- return L_0;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- uint8_t V_0 = 0x0;
- RuntimeObject* V_1 = NULL;
- RuntimeObject* V_2 = NULL;
- int32_t G_B8_0 = 0;
- RuntimeObject* G_B11_0 = NULL;
- {
- // if ((algorithm != null) != TlsUtilities.IsTlsV12(mContext))
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- RuntimeObject* L_1 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_2;
- L_2 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_1, /*hidden argument*/NULL);
- if ((((int32_t)((!(((RuntimeObject*)(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)) == ((int32_t)L_2)))
- {
- goto IL_0017;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_3, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var)));
- }
- IL_0017:
- {
- // if (algorithm != null && algorithm.Signature != SignatureAlgorithm)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_4 = ___algorithm0;
- if (!L_4)
- {
- goto IL_002e;
- }
- }
- {
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_5 = ___algorithm0;
- NullCheck(L_5);
- uint8_t L_6;
- L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(5 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Signature() */, L_5);
- uint8_t L_7;
- L_7 = VirtualFuncInvoker0< uint8_t >::Invoke(26 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::get_SignatureAlgorithm() */, __this);
- if ((((int32_t)L_6) == ((int32_t)L_7)))
- {
- goto IL_002e;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_8 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_8, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsDsaSigner_MakeSigner_mABE192879F47BAFE196C8B4525F974CB30EFC57E_RuntimeMethod_var)));
- }
- IL_002e:
- {
- // byte hashAlgorithm = algorithm == null ? HashAlgorithm.sha1 : algorithm.Hash;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_9 = ___algorithm0;
- if (!L_9)
- {
- goto IL_0039;
- }
- }
- {
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = ___algorithm0;
- NullCheck(L_10);
- uint8_t L_11;
- L_11 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_10);
- G_B8_0 = ((int32_t)(L_11));
- goto IL_003a;
- }
- IL_0039:
- {
- G_B8_0 = 2;
- }
- IL_003a:
- {
- V_0 = (uint8_t)G_B8_0;
- // IDigest d = raw ? new NullDigest() : TlsUtilities.CreateHash(hashAlgorithm);
- bool L_12 = ___raw1;
- if (L_12)
- {
- goto IL_0046;
- }
- }
- {
- uint8_t L_13 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- RuntimeObject* L_14;
- L_14 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_13, /*hidden argument*/NULL);
- G_B11_0 = L_14;
- goto IL_004d;
- }
- IL_0046:
- {
- NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * L_15 = (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 *)il2cpp_codegen_object_new(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
- NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB(L_15, /*hidden argument*/NULL);
- V_2 = L_15;
- RuntimeObject* L_16 = V_2;
- G_B11_0 = L_16;
- }
- IL_004d:
- {
- V_1 = G_B11_0;
- // ISigner s = new DsaDigestSigner(CreateDsaImpl(hashAlgorithm), d);
- uint8_t L_17 = V_0;
- RuntimeObject* L_18;
- 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);
- RuntimeObject* L_19 = V_1;
- DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * L_20 = (DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 *)il2cpp_codegen_object_new(DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55_il2cpp_TypeInfo_var);
- DsaDigestSigner__ctor_m9AAE8A07722E67E499E98FB6B3AF3E53A4D9E05B(L_20, L_18, L_19, /*hidden argument*/NULL);
- // s.Init(forSigning, MakeInitParameters(forSigning, cp));
- DsaDigestSigner_t9112A38762BE48470A167012B83D0C9F67621D55 * L_21 = L_20;
- bool L_22 = ___forSigning2;
- bool L_23 = ___forSigning2;
- RuntimeObject* L_24 = ___cp3;
- RuntimeObject* L_25;
- 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);
- NullCheck(L_21);
- 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);
- // return s;
- return L_21;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284 (TlsDsaSigner_tF81647C8B94300C7C2930F0A380B56F3B7EE3436 * __this, const RuntimeMethod* method)
- {
- {
- AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsDssSigner_IsValidPublicKey_m27BC896A0A0CEF1B4528BAB073FBBD6EF37BDD79 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return publicKey is DsaPublicKeyParameters;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
- return (bool)((!(((RuntimeObject*)(DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 *)((DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9 *)IsInstClass((RuntimeObject*)L_0, DsaPublicKeyParameters_t2C9F1F39FCA3C0439000593CFF3F9AC89B9C3BA9_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::CreateDsaImpl(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsDssSigner_CreateDsaImpl_mE062AAE5E752F20A084F000CA085D14B0E9B9EB1 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, uint8_t ___hashAlgorithm0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new DsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm)));
- uint8_t L_0 = ___hashAlgorithm0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- RuntimeObject* L_1;
- L_1 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_0, /*hidden argument*/NULL);
- HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * L_2 = (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E *)il2cpp_codegen_object_new(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
- HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53(L_2, L_1, /*hidden argument*/NULL);
- DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 * L_3 = (DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22 *)il2cpp_codegen_object_new(DsaSigner_t04CAD992AC312DF6A97081140E95AE461F79EF22_il2cpp_TypeInfo_var);
- DsaSigner__ctor_m4F8CD1803721F9C537999E6603D32CAF3EF50149(L_3, L_2, /*hidden argument*/NULL);
- return L_3;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::get_SignatureAlgorithm()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsDssSigner_get_SignatureAlgorithm_m9DF1B9A3183FEFB820D351A4727E798E9604C437 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method)
- {
- {
- // get { return Tls.SignatureAlgorithm.dsa; }
- return (uint8_t)2;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDssSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsDssSigner__ctor_m918FFAEA88E64D38F0FD15B0F0FF2329F40DC588 (TlsDssSigner_t88E07D4B3BE2D7EA1A5F03D5B35A22F468651D48 * __this, const RuntimeMethod* method)
- {
- {
- TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : base(keyExchange, supportedSignatureAlgorithms)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
- int32_t L_2 = ___keyExchange0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)16))))
- {
- case 0:
- {
- goto IL_0041;
- }
- case 1:
- {
- goto IL_0034;
- }
- case 2:
- {
- goto IL_0041;
- }
- case 3:
- {
- goto IL_0027;
- }
- case 4:
- {
- goto IL_0041;
- }
- }
- }
- {
- goto IL_004a;
- }
- IL_0027:
- {
- // this.mTlsSigner = new TlsRsaSigner();
- TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * L_3 = (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 *)il2cpp_codegen_object_new(TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88_il2cpp_TypeInfo_var);
- TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019(L_3, /*hidden argument*/NULL);
- __this->set_mTlsSigner_3(L_3);
- // break;
- goto IL_0055;
- }
- IL_0034:
- {
- // this.mTlsSigner = new TlsECDsaSigner();
- TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * L_4 = (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA *)il2cpp_codegen_object_new(TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA_il2cpp_TypeInfo_var);
- TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE(L_4, /*hidden argument*/NULL);
- __this->set_mTlsSigner_3(L_4);
- // break;
- goto IL_0055;
- }
- IL_0041:
- {
- // this.mTlsSigner = null;
- __this->set_mTlsSigner_3((RuntimeObject*)NULL);
- // break;
- goto IL_0055;
- }
- IL_004a:
- {
- // throw new InvalidOperationException("unsupported key exchange algorithm");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D_RuntimeMethod_var)));
- }
- IL_0055:
- {
- // this.mNamedCurves = namedCurves;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ___namedCurves2;
- __this->set_mNamedCurves_4(L_6);
- // this.mClientECPointFormats = clientECPointFormats;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___clientECPointFormats3;
- __this->set_mClientECPointFormats_5(L_7);
- // this.mServerECPointFormats = serverECPointFormats;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___serverECPointFormats4;
- __this->set_mServerECPointFormats_6(L_8);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_Init_m9982F89EBD91A7B94DD976850F6F851243499440 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // base.Init(context);
- RuntimeObject* L_0 = ___context0;
- AbstractTlsKeyExchange_Init_mA65A247B3EE4414B2C369035663D40F7622FBBAD(__this, L_0, /*hidden argument*/NULL);
- // if (this.mTlsSigner != null)
- RuntimeObject* L_1 = __this->get_mTlsSigner_3();
- if (!L_1)
- {
- goto IL_001b;
- }
- }
- {
- // this.mTlsSigner.Init(context);
- RuntimeObject* L_2 = __this->get_mTlsSigner_3();
- RuntimeObject* L_3 = ___context0;
- NullCheck(L_2);
- 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);
- }
- IL_001b:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::SkipServerCredentials()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
- {
- {
- // if (mKeyExchange != KeyExchangeAlgorithm.ECDH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((((int32_t)L_0) == ((int32_t)((int32_t)20))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_SkipServerCredentials_mCD68F169E701D041C711566FAB23D9121989DC15_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
- Exception_t * V_2 = NULL;
- InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * V_3 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // if (serverCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
- NullCheck(L_2);
- bool L_3;
- L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
- if (!L_3)
- {
- goto IL_0022;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_certificate);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
- }
- IL_0022:
- {
- // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
- NullCheck(L_5);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
- 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);
- V_0 = L_6;
- // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
- NullCheck(L_7);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
- L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
- V_1 = L_8;
- }
- IL_0031:
- try
- {// begin try (depth: 1)
- // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
- L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
- __this->set_mServerPublicKey_7(L_10);
- // }
- goto IL_0049;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_003f;
- }
- throw e;
- }
- CATCH_003f:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
- Exception_t * L_11 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0049:
- {
- // if (mTlsSigner == null)
- RuntimeObject* L_13 = __this->get_mTlsSigner_3();
- if (L_13)
- {
- goto IL_007c;
- }
- }
- IL_0051:
- try
- {// begin try (depth: 1)
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey((ECPublicKeyParameters) this.mServerPublicKey);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_7();
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_15;
- L_15 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)CastclassClass((RuntimeObject*)L_14, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
- __this->set_mECAgreePublicKey_10(L_15);
- // }
- goto IL_0073;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0069;
- }
- throw e;
- }
- CATCH_0069:
- {// begin catch(System.InvalidCastException)
- // catch (InvalidCastException e)
- V_3 = ((InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 *));
- // throw new TlsFatalAlert(AlertDescription.certificate_unknown, e);
- InvalidCastException_tD99F9FF94C3859C78E90F68C2F77A1558BCAF463 * L_16 = V_3;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_17 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_17, (uint8_t)((int32_t)46), L_16, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0073:
- {
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyAgreement);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_18 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_18, 8, /*hidden argument*/NULL);
- // }
- goto IL_00a2;
- }
- IL_007c:
- {
- // if (!mTlsSigner.IsValidPublicKey(this.mServerPublicKey))
- RuntimeObject* L_19 = __this->get_mTlsSigner_3();
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_20 = __this->get_mServerPublicKey_7();
- NullCheck(L_19);
- bool L_21;
- 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);
- if (L_21)
- {
- goto IL_0097;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.certificate_unknown);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_22 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_22, (uint8_t)((int32_t)46), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerCertificate_m0D69E274862DDBF920E1E5FEC3922A4BFEE4DEAB_RuntimeMethod_var)));
- }
- IL_0097:
- {
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.DigitalSignature);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_23 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_23, ((int32_t)128), /*hidden argument*/NULL);
- }
- IL_00a2:
- {
- // base.ProcessServerCertificate(serverCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_24 = ___serverCertificate0;
- AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_24, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::get_RequiresServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsECDHKeyExchange_get_RequiresServerKeyExchange_m87A3FBC072CF87AB6929108669234DF201DD6635 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // switch (mKeyExchange)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- V_0 = L_0;
- int32_t L_1 = V_0;
- if ((((int32_t)L_1) == ((int32_t)((int32_t)17))))
- {
- goto IL_0013;
- }
- }
- {
- int32_t L_2 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)19)))) <= ((uint32_t)1))))
- {
- goto IL_0015;
- }
- }
- IL_0013:
- {
- // return true;
- return (bool)1;
- }
- IL_0015:
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GenerateServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDHKeyExchange_GenerateServerKeyExchange_m0BE3611470578E584215D7A38988621550343507 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (!RequiresServerKeyExchange)
- bool L_0;
- L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
- if (L_0)
- {
- goto IL_000a;
- }
- }
- {
- // return null;
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- IL_000a:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_1, /*hidden argument*/NULL);
- V_0 = L_1;
- // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves,
- // mClientECPointFormats, buf);
- RuntimeObject* L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_2);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
- 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);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4 = __this->get_mNamedCurves_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mClientECPointFormats_5();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7;
- L_7 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
- __this->set_mECAgreePrivateKey_9(L_7);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
- NullCheck(L_8);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_8);
- return L_9;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- {
- // if (!RequiresServerKeyExchange)
- bool L_0;
- L_0 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
- if (L_0)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessServerKeyExchange_m8081E9AD741E18773F392F629699B143242C6CA5_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_2 = __this->get_mNamedCurves_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mClientECPointFormats_5();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5;
- L_5 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_2, L_3, L_4, /*hidden argument*/NULL);
- V_0 = L_5;
- // byte[] point = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_6, /*hidden argument*/NULL);
- V_1 = L_7;
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
- // mClientECPointFormats, curve_params, point));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_mClientECPointFormats_5();
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_9 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_1;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_11;
- L_11 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_8, L_9, L_10, /*hidden argument*/NULL);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_12;
- L_12 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_11, /*hidden argument*/NULL);
- __this->set_mECAgreePublicKey_10(L_12);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- uint8_t V_2 = 0x0;
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // byte[] types = certificateRequest.CertificateTypes;
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_2 = ___certificateRequest0;
- NullCheck(L_2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_2);
- V_0 = L_3;
- // for (int i = 0; i < types.Length; ++i)
- V_1 = 0;
- goto IL_003a;
- }
- IL_001d:
- {
- // switch (types[i])
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- int32_t L_5 = V_1;
- NullCheck(L_4);
- int32_t L_6 = L_5;
- uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
- V_2 = L_7;
- uint8_t L_8 = V_2;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1))) > ((uint32_t)1))))
- {
- goto IL_0036;
- }
- }
- {
- uint8_t L_9 = V_2;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)64)))) > ((uint32_t)2))))
- {
- goto IL_0036;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ValidateCertificateRequest_m908D9B2C6CA82782D02C65F49BE5F5D6188BA310_RuntimeMethod_var)));
- }
- IL_0036:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_11 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
- }
- IL_003a:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_12 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_0;
- NullCheck(L_13);
- if ((((int32_t)L_12) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length))))))
- {
- goto IL_001d;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // if (clientCredentials is TlsAgreementCredentials)
- RuntimeObject* L_2 = ___clientCredentials0;
- if (!((RuntimeObject*)IsInst((RuntimeObject*)L_2, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)))
- {
- goto IL_0027;
- }
- }
- {
- // this.mAgreementCredentials = (TlsAgreementCredentials)clientCredentials;
- RuntimeObject* L_3 = ___clientCredentials0;
- __this->set_mAgreementCredentials_8(((RuntimeObject*)Castclass((RuntimeObject*)L_3, TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- IL_0027:
- {
- // else if (clientCredentials is TlsSignerCredentials)
- RuntimeObject* L_4 = ___clientCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0037;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCredentials_mD480CFD696C7DCA9AD295470EB950F582D8937CE_RuntimeMethod_var)));
- }
- IL_0037:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_GenerateClientKeyExchange_m85D7DE6A009A64A67212D7948B1FC1662D1463F8 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mAgreementCredentials == null)
- RuntimeObject* L_0 = __this->get_mAgreementCredentials_8();
- if (L_0)
- {
- goto IL_0030;
- }
- }
- {
- // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
- // mServerECPointFormats, mECAgreePublicKey.Parameters, output);
- RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_1);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mServerECPointFormats_6();
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_4 = __this->get_mECAgreePublicKey_10();
- NullCheck(L_4);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5;
- L_5 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_4, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7;
- L_7 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_2, L_3, L_5, L_6, /*hidden argument*/NULL);
- __this->set_mECAgreePrivateKey_9(L_7);
- }
- IL_0030:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
- {
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.ECDH_anon)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_ProcessClientCertificate_mDD72198B307BB86C0842952499ECD0D9FF578208_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDHKeyExchange_ProcessClientKeyExchange_m16DF15423F936D3BB1949A881FCACD791A662439 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_1 = NULL;
- {
- // if (mECAgreePublicKey != null)
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_0 = __this->get_mECAgreePublicKey_10();
- if (!L_0)
- {
- goto IL_0009;
- }
- }
- {
- // return;
- return;
- }
- IL_0009:
- {
- // byte[] point = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_1, /*hidden argument*/NULL);
- V_0 = L_2;
- // ECDomainParameters curve_params = this.mECAgreePrivateKey.Parameters;
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_3 = __this->get_mECAgreePrivateKey_9();
- NullCheck(L_3);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_4;
- L_4 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_3, /*hidden argument*/NULL);
- V_1 = L_4;
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
- // mServerECPointFormats, curve_params, point));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mServerECPointFormats_6();
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_6 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_8;
- L_8 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_5, L_6, L_7, /*hidden argument*/NULL);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_9;
- L_9 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_8, /*hidden argument*/NULL);
- __this->set_mECAgreePublicKey_10(L_9);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange::GeneratePremasterSecret()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5 (TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsAgreementCredentials_tD8B3A9ACE9C3209F2C7803EBE503E400A49F6AE7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mAgreementCredentials != null)
- RuntimeObject* L_0 = __this->get_mAgreementCredentials_8();
- if (!L_0)
- {
- goto IL_001a;
- }
- }
- {
- // return mAgreementCredentials.GenerateAgreement(mECAgreePublicKey);
- RuntimeObject* L_1 = __this->get_mAgreementCredentials_8();
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_2 = __this->get_mECAgreePublicKey_10();
- NullCheck(L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- 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);
- return L_3;
- }
- IL_001a:
- {
- // if (mECAgreePrivateKey != null)
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_4 = __this->get_mECAgreePrivateKey_9();
- if (!L_4)
- {
- goto IL_0034;
- }
- }
- {
- // return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_5 = __this->get_mECAgreePublicKey_10();
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_6 = __this->get_mECAgreePrivateKey_9();
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5(L_5, L_6, /*hidden argument*/NULL);
- return L_7;
- }
- IL_0034:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDHKeyExchange_GeneratePremasterSecret_m9CA4E1E29A1F0A7F8679DD5E3642833313C4B8F5_RuntimeMethod_var)));
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::.ctor(System.Int32,System.Collections.IList,System.Int32[],System.Byte[],System.Byte[])
- 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)
- {
- {
- // : base(keyExchange, supportedSignatureAlgorithms, namedCurves, clientECPointFormats, serverECPointFormats)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_2 = ___namedCurves2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___clientECPointFormats3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___serverECPointFormats4;
- TlsECDHKeyExchange__ctor_m477E0E27FA50A4DAC9B3A9B981D1D72814CA019D(__this, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!(serverCredentials is TlsSignerCredentials))
- RuntimeObject* L_0 = ___serverCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessServerCredentials_m292B460FE909537C054B7873BFC79904C0551908_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // ProcessServerCertificate(serverCredentials.Certificate);
- RuntimeObject* L_2 = ___serverCredentials0;
- NullCheck(L_2);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
- 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);
- 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);
- // this.mServerCredentials = (TlsSignerCredentials)serverCredentials;
- RuntimeObject* L_4 = ___serverCredentials0;
- __this->set_mServerCredentials_11(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::GenerateServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsECDheKeyExchange_GenerateServerKeyExchange_m53DAAC11CDF5181C84B934CE24C7FA78B1F16984 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- {
- // DigestInputBuffer buf = new DigestInputBuffer();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_0 = (DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A *)il2cpp_codegen_object_new(DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A_il2cpp_TypeInfo_var);
- DigestInputBuffer__ctor_mCE3C49E3C6EE2E36EDE2773AC0BC31643D9FABBB(L_0, /*hidden argument*/NULL);
- V_0 = L_0;
- // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom, mNamedCurves,
- // mClientECPointFormats, buf);
- RuntimeObject* L_1 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_1);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
- 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);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mNamedCurves_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_5 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_6;
- L_6 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
- ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->set_mECAgreePrivateKey_9(L_6);
- // SignatureAndHashAlgorithm signatureAndHashAlgorithm = TlsUtilities.GetSignatureAndHashAlgorithm(
- // mContext, mServerCredentials);
- RuntimeObject* L_7 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- RuntimeObject* L_8 = __this->get_mServerCredentials_11();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_9;
- L_9 = TlsUtilities_GetSignatureAndHashAlgorithm_mF4CBF314935D3A19649E73276C3C73C3806BFCC9(L_7, L_8, /*hidden argument*/NULL);
- // IDigest d = TlsUtilities.CreateHash(signatureAndHashAlgorithm);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = L_9;
- RuntimeObject* L_11;
- L_11 = TlsUtilities_CreateHash_m76422B6A87DB2ED58D2DB6FF7CF99D8BAC4F0A80(L_10, /*hidden argument*/NULL);
- V_1 = L_11;
- // SecurityParameters securityParameters = mContext.SecurityParameters;
- RuntimeObject* L_12 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_12);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_13;
- 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);
- V_2 = L_13;
- // d.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
- RuntimeObject* L_14 = V_1;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15 = V_2;
- NullCheck(L_15);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = L_15->get_clientRandom_6();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = V_2;
- NullCheck(L_17);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = L_17->get_clientRandom_6();
- NullCheck(L_18);
- NullCheck(L_14);
- 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))));
- // d.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
- RuntimeObject* L_19 = V_1;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_20 = V_2;
- NullCheck(L_20);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = L_20->get_serverRandom_7();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22 = V_2;
- NullCheck(L_22);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = L_22->get_serverRandom_7();
- NullCheck(L_23);
- NullCheck(L_19);
- 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))));
- // buf.UpdateDigest(d);
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_24 = V_0;
- RuntimeObject* L_25 = V_1;
- NullCheck(L_24);
- DigestInputBuffer_UpdateDigest_m68420A5C777EF2F85832557B5C41418187788084(L_24, L_25, /*hidden argument*/NULL);
- // byte[] hash = DigestUtilities.DoFinal(d);
- RuntimeObject* L_26 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27;
- L_27 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_26, /*hidden argument*/NULL);
- V_3 = L_27;
- // byte[] signature = mServerCredentials.GenerateCertificateSignature(hash);
- RuntimeObject* L_28 = __this->get_mServerCredentials_11();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = V_3;
- NullCheck(L_28);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30;
- 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);
- V_4 = L_30;
- // DigitallySigned signed_params = new DigitallySigned(signatureAndHashAlgorithm, signature);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = V_4;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_32 = (DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 *)il2cpp_codegen_object_new(DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288_il2cpp_TypeInfo_var);
- DigitallySigned__ctor_m4AB7FE3E8FFF72EFAA5F1945EB61B27B60916C45(L_32, L_10, L_31, /*hidden argument*/NULL);
- // signed_params.Encode(buf);
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_33 = V_0;
- NullCheck(L_32);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::Encode(System.IO.Stream) */, L_32, L_33);
- // return buf.ToArray();
- DigestInputBuffer_tCD4269EAD90DBC42BD0490CEFF7F53557E1E0D3A * L_34 = V_0;
- NullCheck(L_34);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
- L_35 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_34);
- return L_35;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * V_0 = NULL;
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * V_1 = NULL;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * V_2 = NULL;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_3 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_5 = NULL;
- RuntimeObject* V_6 = NULL;
- {
- // SecurityParameters securityParameters = mContext.SecurityParameters;
- RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_0);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1;
- 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);
- V_0 = L_1;
- // SignerInputBuffer buf = new SignerInputBuffer();
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_2 = (SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF *)il2cpp_codegen_object_new(SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF_il2cpp_TypeInfo_var);
- SignerInputBuffer__ctor_m5BA0C9AB79FB3DFD19564144F74D42324EB451E9(L_2, /*hidden argument*/NULL);
- V_1 = L_2;
- // Stream teeIn = new TeeInputStream(input, buf);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_4 = V_1;
- TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C * L_5 = (TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C *)il2cpp_codegen_object_new(TeeInputStream_t98C61167D6547B1A980BB9914E54665302A4FB6C_il2cpp_TypeInfo_var);
- TeeInputStream__ctor_mCE28725FEC10FA7EA1C3BFD80A7E1DE25FEA347B(L_5, L_3, L_4, /*hidden argument*/NULL);
- V_2 = L_5;
- // ECDomainParameters curve_params = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, teeIn);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mNamedCurves_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_9;
- L_9 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_6, L_7, L_8, /*hidden argument*/NULL);
- V_3 = L_9;
- // byte[] point = TlsUtilities.ReadOpaque8(teeIn);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_10 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
- L_11 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_10, /*hidden argument*/NULL);
- V_4 = L_11;
- // DigitallySigned signed_params = ParseSignature(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_12 = ___input0;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_13;
- 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);
- V_5 = L_13;
- // ISigner signer = InitVerifyer(mTlsSigner, signed_params.Algorithm, securityParameters);
- RuntimeObject* L_14 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mTlsSigner_3();
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_15 = V_5;
- NullCheck(L_15);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_16;
- 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);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = V_0;
- RuntimeObject* L_18;
- 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);
- V_6 = L_18;
- // buf.UpdateSigner(signer);
- SignerInputBuffer_t4D8817DAFF2A9470AF8F642D77F17B84F6252CBF * L_19 = V_1;
- RuntimeObject* L_20 = V_6;
- NullCheck(L_19);
- SignerInputBuffer_UpdateSigner_m34003480E1017F4A2BFE3146C55680FD071A83B7(L_19, L_20, /*hidden argument*/NULL);
- // if (!signer.VerifySignature(signed_params.Signature))
- RuntimeObject* L_21 = V_6;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_22 = V_5;
- NullCheck(L_22);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
- L_23 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_22);
- NullCheck(L_21);
- bool L_24;
- 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);
- if (L_24)
- {
- goto IL_0074;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decrypt_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_25 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_25, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_25, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessServerKeyExchange_m5F5EB8E28E520381C029414EC2339510F1ACA056_RuntimeMethod_var)));
- }
- IL_0074:
- {
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
- // mClientECPointFormats, curve_params, point));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mClientECPointFormats_5();
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_27 = V_3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_28 = V_4;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_29;
- L_29 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_26, L_27, L_28, /*hidden argument*/NULL);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_30;
- L_30 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_29, /*hidden argument*/NULL);
- ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->set_mECAgreePublicKey_10(L_30);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- uint8_t V_2 = 0x0;
- {
- // byte[] types = certificateRequest.CertificateTypes;
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = ___certificateRequest0;
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_0);
- V_0 = L_1;
- // for (int i = 0; i < types.Length; ++i)
- V_1 = 0;
- goto IL_0026;
- }
- IL_000b:
- {
- // switch (types[i])
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- int32_t L_3 = V_1;
- NullCheck(L_2);
- int32_t L_4 = L_3;
- uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- V_2 = L_5;
- uint8_t L_6 = V_2;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1))) > ((uint32_t)1))))
- {
- goto IL_0022;
- }
- }
- {
- uint8_t L_7 = V_2;
- if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
- {
- goto IL_0022;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ValidateCertificateRequest_mC91BA33E38CD04B2C3FA1073AFA3CFF9577F442C_RuntimeMethod_var)));
- }
- IL_0022:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_9 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
- }
- IL_0026:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_10 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_0;
- NullCheck(L_11);
- if ((((int32_t)L_10) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))))
- {
- goto IL_000b;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDheKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (clientCredentials is TlsSignerCredentials)
- RuntimeObject* L_0 = ___clientCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsECDheKeyExchange_ProcessClientCredentials_m5CFE44033AE2928FD13335225FD120D48D257902_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // }
- return;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsECDheKeyExchange_InitVerifyer_mE545C1A5A9CC6F560E7F364BC17FB0853D595381 (TlsECDheKeyExchange_tDDE61A9D6974CE71A7BDC30090000C43DD3CC32B * __this, RuntimeObject* ___tlsSigner0, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm1, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // ISigner signer = tlsSigner.CreateVerifyer(algorithm, this.mServerPublicKey);
- RuntimeObject* L_0 = ___tlsSigner0;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_1 = ___algorithm1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_2 = ((TlsECDHKeyExchange_t1492C73906FF416195A2FFA9A65F779E118E6827 *)__this)->get_mServerPublicKey_7();
- NullCheck(L_0);
- RuntimeObject* L_3;
- 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);
- // signer.BlockUpdate(securityParameters.clientRandom, 0, securityParameters.clientRandom.Length);
- RuntimeObject* L_4 = L_3;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = ___securityParameters2;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5->get_clientRandom_6();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_7 = ___securityParameters2;
- NullCheck(L_7);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = L_7->get_clientRandom_6();
- NullCheck(L_8);
- NullCheck(L_4);
- 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))));
- // signer.BlockUpdate(securityParameters.serverRandom, 0, securityParameters.serverRandom.Length);
- RuntimeObject* L_9 = L_4;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ___securityParameters2;
- NullCheck(L_10);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = L_10->get_serverRandom_7();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_12 = ___securityParameters2;
- NullCheck(L_12);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = L_12->get_serverRandom_7();
- NullCheck(L_13);
- NullCheck(L_9);
- 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))));
- // return signer;
- return L_9;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsECDsaSigner_IsValidPublicKey_m5306215B916FD04302B440D25ED36A5B187C2571 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return publicKey is ECPublicKeyParameters;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
- return (bool)((!(((RuntimeObject*)(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)IsInstClass((RuntimeObject*)L_0, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var))) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDsa BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::CreateDsaImpl(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsECDsaSigner_CreateDsaImpl_m8D4CDE5624AAF3ABA71C04599A6CB8D4F84B3474 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, uint8_t ___hashAlgorithm0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new ECDsaSigner(new HMacDsaKCalculator(TlsUtilities.CreateHash(hashAlgorithm)));
- uint8_t L_0 = ___hashAlgorithm0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- RuntimeObject* L_1;
- L_1 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_0, /*hidden argument*/NULL);
- HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E * L_2 = (HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E *)il2cpp_codegen_object_new(HMacDsaKCalculator_t6EEC86CB29299929C5F6E6C8C31C17FB3D73543E_il2cpp_TypeInfo_var);
- HMacDsaKCalculator__ctor_m1851B3915E1A08603983C8120C260CCE17AD0B53(L_2, L_1, /*hidden argument*/NULL);
- ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 * L_3 = (ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760 *)il2cpp_codegen_object_new(ECDsaSigner_tB22A90B41509D48DC54D1AFAF408F0E4326A3760_il2cpp_TypeInfo_var);
- ECDsaSigner__ctor_mBBB83A299E4CEC6C914599E18856086222C54D1C(L_3, L_2, /*hidden argument*/NULL);
- return L_3;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::get_SignatureAlgorithm()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsECDsaSigner_get_SignatureAlgorithm_mC3C9C66C337D8A88B04C7299BAD79F2BAD7A20F0 (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method)
- {
- {
- // get { return Tls.SignatureAlgorithm.ecdsa; }
- return (uint8_t)3;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsECDsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsECDsaSigner__ctor_mE748A29B6B548E5EC96C9BC5144427BB59D2A1DE (TlsECDsaSigner_tE8AE39A40A799F5E77769660C47CAEBEA79AC7AA * __this, const RuntimeMethod* method)
- {
- {
- TlsDsaSigner__ctor_mADF5BA3F849CD480530DF80174B07D639931D284(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AddSupportedEllipticCurvesExtension(System.Collections.IDictionary,System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_AddSupportedEllipticCurvesExtension_m9FFB42BFF8CBE53C523F74BE68521BB1456EADD3 (RuntimeObject* ___extensions0, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.elliptic_curves] = CreateSupportedEllipticCurvesExtension(namedCurves);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)10);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AddSupportedPointFormatsExtension(System.Collections.IDictionary,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_AddSupportedPointFormatsExtension_m7A59C05599BC96FB3219342AE6069CDDFA164A95 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.ec_point_formats] = CreateSupportedPointFormatsExtension(ecPointFormats);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)11);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___ecPointFormats1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetSupportedEllipticCurvesExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_GetSupportedEllipticCurvesExtension_m1F9EAF4F2C78E03A152F8944EC7E007A46E6C64F (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.elliptic_curves);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)10), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadSupportedEllipticCurvesExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4;
- L_4 = TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)NULL;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetSupportedPointFormatsExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_GetSupportedPointFormatsExtension_m09428BD27B8485621E96C1D858D914533A518198 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.ec_point_formats);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)11), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadSupportedPointFormatsExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedEllipticCurvesExtension(System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (namedCurves == null || namedCurves.Length < 1)
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves0;
- if (!L_0)
- {
- goto IL_0009;
- }
- }
- {
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves0;
- NullCheck(L_1);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) >= ((int32_t)1)))
- {
- goto IL_0011;
- }
- }
- IL_0009:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_CreateSupportedEllipticCurvesExtension_mF2CC5C4725CAA6B4FC1F2CD9DA7B802F79B7AA49_RuntimeMethod_var)));
- }
- IL_0011:
- {
- // return TlsUtilities.EncodeUint16ArrayWithUint16Length(namedCurves);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsUtilities_EncodeUint16ArrayWithUint16Length_m6E193436638D2ECF09204654D561C3F75837997E(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CreateSupportedPointFormatsExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CreateSupportedPointFormatsExtension_m9A1FF61EC860D047F83D9F3238719382F90AC40E (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (ecPointFormats == null || !Arrays.Contains(ecPointFormats, ECPointFormat.uncompressed))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
- if (!L_0)
- {
- goto IL_000c;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ecPointFormats0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_2;
- L_2 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_1, (uint8_t)0, /*hidden argument*/NULL);
- if (L_2)
- {
- goto IL_0015;
- }
- }
- IL_000c:
- {
- // ecPointFormats = Arrays.Append(ecPointFormats, ECPointFormat.uncompressed);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___ecPointFormats0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = Arrays_Append_mF0524124CC987A6B227F90E067B2D49C7E9B3453(L_3, (uint8_t)0, /*hidden argument*/NULL);
- ___ecPointFormats0 = L_4;
- }
- IL_0015:
- {
- // return TlsUtilities.EncodeUint8ArrayWithUint8Length(ecPointFormats);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___ecPointFormats0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_5, /*hidden argument*/NULL);
- return L_6;
- }
- }
- // System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedEllipticCurvesExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- int32_t V_1 = 0;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream(extensionData, false);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
- V_0 = L_3;
- // int length = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_5;
- L_5 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_4, /*hidden argument*/NULL);
- V_1 = L_5;
- // if (length < 2 || (length & 1) != 0)
- int32_t L_6 = V_1;
- if ((((int32_t)L_6) < ((int32_t)2)))
- {
- goto IL_0026;
- }
- }
- {
- int32_t L_7 = V_1;
- if (!((int32_t)((int32_t)L_7&(int32_t)1)))
- {
- goto IL_002e;
- }
- }
- IL_0026:
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedEllipticCurvesExtension_mCCAC57F49508ED6A30CA1A5D70EDE63DBE9CDA58_RuntimeMethod_var)));
- }
- IL_002e:
- {
- // int[] namedCurves = TlsUtilities.ReadUint16Array(length / 2, buf);
- int32_t L_9 = V_1;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11;
- L_11 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_9/(int32_t)2)), L_10, /*hidden argument*/NULL);
- // TlsProtocol.AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = V_0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_12, /*hidden argument*/NULL);
- // return namedCurves;
- return L_11;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadSupportedPointFormatsExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
- {
- // byte[] ecPointFormats = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
- // if (!Arrays.Contains(ecPointFormats, ECPointFormat.uncompressed))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_3;
- L_3 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_2, (uint8_t)0, /*hidden argument*/NULL);
- G_B1_0 = L_2;
- if (L_3)
- {
- G_B2_0 = L_2;
- goto IL_0017;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadSupportedPointFormatsExtension_m4837CAA4FEB82D0658E97DF16A27907F8ABE5A4B_RuntimeMethod_var)));
- }
- IL_0017:
- {
- // return ecPointFormats;
- return G_B2_0;
- }
- }
- // System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetNameOfNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7 (int32_t ___namedCurve0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return IsSupportedNamedCurve(namedCurve) ? CurveNames[namedCurve - 1] : null;
- int32_t L_0 = ___namedCurve0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- bool L_1;
- L_1 = TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E(L_0, /*hidden argument*/NULL);
- if (L_1)
- {
- goto IL_000a;
- }
- }
- {
- return (String_t*)NULL;
- }
- IL_000a:
- {
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
- int32_t L_3 = ___namedCurve0;
- NullCheck(L_2);
- int32_t L_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1));
- String_t* L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- return L_5;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::GetParametersForNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC (int32_t ___namedCurve0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- String_t* V_0 = NULL;
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * V_1 = NULL;
- {
- // string curveName = GetNameOfNamedCurve(namedCurve);
- int32_t L_0 = ___namedCurve0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- String_t* L_1;
- L_1 = TlsEccUtilities_GetNameOfNamedCurve_m723B1D4ABAC8C0DAC2F2D22518E23ABBA28C26F7(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // if (curveName == null)
- String_t* L_2 = V_0;
- if (L_2)
- {
- goto IL_000c;
- }
- }
- {
- // return null;
- return (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
- }
- IL_000c:
- {
- // X9ECParameters ecP = CustomNamedCurves.GetByName(curveName);
- String_t* L_3 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(CustomNamedCurves_tB4D6EE33CCB4DD0A6F99DFAC03080937D5D68707_il2cpp_TypeInfo_var);
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_4;
- L_4 = CustomNamedCurves_GetByName_m3714C5F15D87C5C1EE6A4590996959CFC38392A9(L_3, /*hidden argument*/NULL);
- V_1 = L_4;
- // if (ecP == null)
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_5 = V_1;
- if (L_5)
- {
- goto IL_0022;
- }
- }
- {
- // ecP = ECNamedCurveTable.GetByName(curveName);
- String_t* L_6 = V_0;
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_7;
- L_7 = ECNamedCurveTable_GetByName_mA8DE78BC6D92A23D063E9E1590CB30E5ECC1ECEA(L_6, /*hidden argument*/NULL);
- V_1 = L_7;
- // if (ecP == null)
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_8 = V_1;
- if (L_8)
- {
- goto IL_0022;
- }
- }
- {
- // return null;
- return (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
- }
- IL_0022:
- {
- // return new ECDomainParameters(ecP.Curve, ecP.G, ecP.N, ecP.H, ecP.GetSeed());
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_9 = V_1;
- NullCheck(L_9);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_10;
- L_10 = X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline(L_9, /*hidden argument*/NULL);
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_11 = V_1;
- NullCheck(L_11);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_12;
- L_12 = X9ECParameters_get_G_m3E5E2F14805084623F3ABD4B9A98CDB8A72D2C71(L_11, /*hidden argument*/NULL);
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_13 = V_1;
- NullCheck(L_13);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_14;
- L_14 = X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline(L_13, /*hidden argument*/NULL);
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_15 = V_1;
- NullCheck(L_15);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_16;
- L_16 = X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline(L_15, /*hidden argument*/NULL);
- X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * L_17 = V_1;
- NullCheck(L_17);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
- L_18 = X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline(L_17, /*hidden argument*/NULL);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_19 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
- ECDomainParameters__ctor_m215ED4F7FB06CDD0F9AC3C670B20B1B75E03B47B(L_19, L_10, L_12, L_14, L_16, L_18, /*hidden argument*/NULL);
- return L_19;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::HasAnySupportedNamedCurves()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_HasAnySupportedNamedCurves_m4222F55BB9E225D9341EFCBABB1D39C9E847EB2F (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return CurveNames.Length > 0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
- NullCheck(L_0);
- return (bool)((!(((uint32_t)(((RuntimeArray*)L_0)->max_length)) <= ((uint32_t)0)))? 1 : 0);
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ContainsEccCipherSuites(System.Int32[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_ContainsEccCipherSuites_m647EB4ED329A9B2DB443612751C5D1D63A6E33B7 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___cipherSuites0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- V_0 = 0;
- goto IL_0014;
- }
- IL_0004:
- {
- // if (IsEccCipherSuite(cipherSuites[i]))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___cipherSuites0;
- int32_t L_1 = V_0;
- NullCheck(L_0);
- int32_t L_2 = L_1;
- int32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- bool L_4;
- L_4 = TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929(L_3, /*hidden argument*/NULL);
- if (!L_4)
- {
- goto IL_0010;
- }
- }
- {
- // return true;
- return (bool)1;
- }
- IL_0010:
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- int32_t L_5 = V_0;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
- }
- IL_0014:
- {
- // for (int i = 0; i < cipherSuites.Length; ++i)
- int32_t L_6 = V_0;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_7 = ___cipherSuites0;
- NullCheck(L_7);
- if ((((int32_t)L_6) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))))))
- {
- goto IL_0004;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsEccCipherSuite(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsEccCipherSuite_m4ED61002A7798D23528C99ADBBDC3A0CA5266929 (int32_t ___cipherSuite0, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___cipherSuite0;
- if ((((int32_t)L_0) > ((int32_t)((int32_t)49307))))
- {
- goto IL_0048;
- }
- }
- {
- int32_t L_1 = ___cipherSuite0;
- if ((((int32_t)L_1) > ((int32_t)((int32_t)49211))))
- {
- goto IL_0028;
- }
- }
- {
- int32_t L_2 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)49153)))) > ((uint32_t)((int32_t)24)))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_3 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)49187)))) > ((uint32_t)((int32_t)24)))))
- {
- goto IL_0082;
- }
- }
- {
- goto IL_0084;
- }
- IL_0028:
- {
- int32_t L_4 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)49266)))) > ((uint32_t)7))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_5 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)49286)))) > ((uint32_t)7))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_6 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)49306)))) > ((uint32_t)1))))
- {
- goto IL_0082;
- }
- }
- {
- goto IL_0084;
- }
- IL_0048:
- {
- int32_t L_7 = ___cipherSuite0;
- if ((((int32_t)L_7) > ((int32_t)((int32_t)52393))))
- {
- goto IL_0066;
- }
- }
- {
- int32_t L_8 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)49324)))) > ((uint32_t)3))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_9 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)52392)))) > ((uint32_t)1))))
- {
- goto IL_0082;
- }
- }
- {
- goto IL_0084;
- }
- IL_0066:
- {
- int32_t L_10 = ___cipherSuite0;
- if ((((int32_t)L_10) == ((int32_t)((int32_t)52396))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_11 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)((int32_t)65282)))) > ((uint32_t)3))))
- {
- goto IL_0082;
- }
- }
- {
- int32_t L_12 = ___cipherSuite0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)((int32_t)65300)))) <= ((uint32_t)1))))
- {
- goto IL_0084;
- }
- }
- IL_0082:
- {
- // return true;
- return (bool)1;
- }
- IL_0084:
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::AreOnSameCurve(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_AreOnSameCurve_m904BD2700113464708FF5B8E115CF405439EBA3C (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___a0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___b1, const RuntimeMethod* method)
- {
- {
- // return a != null && a.Equals(b);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = ___a0;
- if (!L_0)
- {
- goto IL_000b;
- }
- }
- {
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___a0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_2 = ___b1;
- NullCheck(L_1);
- bool L_3;
- L_3 = VirtualFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_1, L_2);
- return L_3;
- }
- IL_000b:
- {
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsSupportedNamedCurve(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E (int32_t ___namedCurve0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return (namedCurve > 0 && namedCurve <= CurveNames.Length);
- int32_t L_0 = ___namedCurve0;
- if ((((int32_t)L_0) <= ((int32_t)0)))
- {
- goto IL_0012;
- }
- }
- {
- int32_t L_1 = ___namedCurve0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->get_CurveNames_0();
- NullCheck(L_2);
- 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);
- }
- IL_0012:
- {
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::IsCompressionPreferred(System.Byte[],System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, uint8_t ___compressionFormat1, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- uint8_t V_1 = 0x0;
- {
- // if (ecPointFormats == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
- if (L_0)
- {
- goto IL_0005;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- IL_0005:
- {
- // for (int i = 0; i < ecPointFormats.Length; ++i)
- V_0 = 0;
- goto IL_001c;
- }
- IL_0009:
- {
- // byte ecPointFormat = ecPointFormats[i];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ecPointFormats0;
- int32_t L_2 = V_0;
- NullCheck(L_1);
- int32_t L_3 = L_2;
- uint8_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
- V_1 = L_4;
- // if (ecPointFormat == ECPointFormat.uncompressed)
- uint8_t L_5 = V_1;
- if (L_5)
- {
- goto IL_0012;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- IL_0012:
- {
- // if (ecPointFormat == compressionFormat)
- uint8_t L_6 = V_1;
- uint8_t L_7 = ___compressionFormat1;
- if ((!(((uint32_t)L_6) == ((uint32_t)L_7))))
- {
- goto IL_0018;
- }
- }
- {
- // return true;
- return (bool)1;
- }
- IL_0018:
- {
- // for (int i = 0; i < ecPointFormats.Length; ++i)
- int32_t L_8 = V_0;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
- }
- IL_001c:
- {
- // for (int i = 0; i < ecPointFormats.Length; ++i)
- int32_t L_9 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___ecPointFormats0;
- NullCheck(L_10);
- if ((((int32_t)L_9) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length))))))
- {
- goto IL_0009;
- }
- }
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, const RuntimeMethod* method)
- {
- {
- // return BigIntegers.AsUnsignedByteArray((fieldSize + 7) / 8, x);
- int32_t L_0 = ___fieldSize0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1 = ___x1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- 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);
- return L_2;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_0 = NULL;
- bool V_1 = false;
- {
- // ECCurve curve = point.Curve;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = ___point1;
- NullCheck(L_0);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_1;
- 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);
- V_0 = L_1;
- // bool compressed = false;
- V_1 = (bool)0;
- // if (ECAlgorithms.IsFpCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2 = V_0;
- bool L_3;
- L_3 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_2, /*hidden argument*/NULL);
- if (!L_3)
- {
- goto IL_001b;
- }
- }
- {
- // compressed = IsCompressionPreferred(ecPointFormats, ECPointFormat.ansiX962_compressed_prime);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___ecPointFormats0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- bool L_5;
- L_5 = TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98(L_4, (uint8_t)1, /*hidden argument*/NULL);
- V_1 = L_5;
- // }
- goto IL_002b;
- }
- IL_001b:
- {
- // else if (ECAlgorithms.IsF2mCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_6 = V_0;
- bool L_7;
- L_7 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_6, /*hidden argument*/NULL);
- if (!L_7)
- {
- goto IL_002b;
- }
- }
- {
- // compressed = IsCompressionPreferred(ecPointFormats, ECPointFormat.ansiX962_compressed_char2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___ecPointFormats0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- bool L_9;
- L_9 = TlsEccUtilities_IsCompressionPreferred_mB0246D1A79325BBEBF9D06A3ADF1EEA395CF0D98(L_8, (uint8_t)2, /*hidden argument*/NULL);
- V_1 = L_9;
- }
- IL_002b:
- {
- // return point.GetEncoded(compressed);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_10 = ___point1;
- bool L_11 = V_1;
- NullCheck(L_10);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
- L_12 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, bool >::Invoke(24 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint::GetEncoded(System.Boolean) */, L_10, L_11);
- return L_12;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::SerializeECPublicKey(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_SerializeECPublicKey_m33A2C1D113A1BCC1CEC55E07299383693BF93DFE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___keyParameters1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return SerializeECPoint(ecPointFormats, keyParameters.Q);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_1 = ___keyParameters1;
- NullCheck(L_1);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_2;
- L_2 = ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline(L_1, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_0, L_2, /*hidden argument*/NULL);
- return L_3;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::DeserializeECFieldElement(System.Int32,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9 (int32_t ___fieldSize0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- {
- // int requiredLength = (fieldSize + 7) / 8;
- int32_t L_0 = ___fieldSize0;
- V_0 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)7))/(int32_t)8));
- // if (encoding.Length != requiredLength)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___encoding1;
- NullCheck(L_1);
- int32_t L_2 = V_0;
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) == ((int32_t)L_2)))
- {
- goto IL_0014;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9_RuntimeMethod_var)));
- }
- IL_0014:
- {
- // return new BigInteger(1, encoding);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___encoding1;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_5, 1, L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ___curve1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- uint8_t V_0 = 0x0;
- uint8_t V_1 = 0x0;
- {
- // if (encoding == null || encoding.Length < 1)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___encoding2;
- if (!L_0)
- {
- goto IL_0009;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___encoding2;
- NullCheck(L_1);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) >= ((int32_t)1)))
- {
- goto IL_0011;
- }
- }
- IL_0009:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
- }
- IL_0011:
- {
- // switch (encoding[0])
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___encoding2;
- NullCheck(L_3);
- int32_t L_4 = 0;
- uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- V_1 = L_5;
- uint8_t L_6 = V_1;
- switch (L_6)
- {
- case 0:
- {
- goto IL_0061;
- }
- case 1:
- {
- goto IL_0061;
- }
- case 2:
- {
- goto IL_003d;
- }
- case 3:
- {
- goto IL_003d;
- }
- case 4:
- {
- goto IL_005d;
- }
- case 5:
- {
- goto IL_0061;
- }
- case 6:
- {
- goto IL_0061;
- }
- case 7:
- {
- goto IL_0061;
- }
- }
- }
- {
- goto IL_0061;
- }
- IL_003d:
- {
- // if (ECAlgorithms.IsF2mCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_7 = ___curve1;
- bool L_8;
- L_8 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_7, /*hidden argument*/NULL);
- if (!L_8)
- {
- goto IL_0049;
- }
- }
- {
- // actualFormat = ECPointFormat.ansiX962_compressed_char2;
- V_0 = (uint8_t)2;
- // }
- goto IL_0069;
- }
- IL_0049:
- {
- // else if (ECAlgorithms.IsFpCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_9 = ___curve1;
- bool L_10;
- L_10 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_9, /*hidden argument*/NULL);
- if (!L_10)
- {
- goto IL_0055;
- }
- }
- {
- // actualFormat = ECPointFormat.ansiX962_compressed_prime;
- V_0 = (uint8_t)1;
- // }
- goto IL_0069;
- }
- IL_0055:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
- }
- IL_005d:
- {
- // actualFormat = ECPointFormat.uncompressed;
- V_0 = (uint8_t)0;
- // break;
- goto IL_0069;
- }
- IL_0061:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
- }
- IL_0069:
- {
- // if (actualFormat != ECPointFormat.uncompressed
- // && (ecPointFormats == null || !Arrays.Contains(ecPointFormats, actualFormat)))
- uint8_t L_13 = V_0;
- if (!L_13)
- {
- goto IL_0080;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = ___ecPointFormats0;
- if (!L_14)
- {
- goto IL_0078;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___ecPointFormats0;
- uint8_t L_16 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_17;
- L_17 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_15, L_16, /*hidden argument*/NULL);
- if (L_17)
- {
- goto IL_0080;
- }
- }
- IL_0078:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F_RuntimeMethod_var)));
- }
- IL_0080:
- {
- // return curve.DecodePoint(encoding);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_19 = ___curve1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ___encoding2;
- NullCheck(L_19);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_21;
- 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);
- return L_21;
- }
- }
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___curve_params1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encoding2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * V_0 = NULL;
- Exception_t * V_1 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- IL_0000:
- try
- {// begin try (depth: 1)
- // ECPoint Y = DeserializeECPoint(ecPointFormats, curve_params.Curve, encoding);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___curve_params1;
- NullCheck(L_1);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2;
- L_2 = ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline(L_1, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___encoding2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_4;
- L_4 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_0, L_2, L_3, /*hidden argument*/NULL);
- // return new ECPublicKeyParameters(Y, curve_params);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_5 = ___curve_params1;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_6 = (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)il2cpp_codegen_object_new(ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
- ECPublicKeyParameters__ctor_m48C5771CEB9C073FA70D828B80140DE028691A1A(L_6, L_4, L_5, /*hidden argument*/NULL);
- V_0 = L_6;
- goto IL_0020;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0016;
- }
- throw e;
- }
- CATCH_0016:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_1 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter, e);
- Exception_t * L_7 = V_1;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_8, (uint8_t)((int32_t)47), L_7, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0020:
- {
- // }
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_9 = V_0;
- return L_9;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CalculateECDHBasicAgreement(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___publicKey0, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * ___privateKey1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
- {
- // ECDHBasicAgreement basicAgreement = new ECDHBasicAgreement();
- ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_0 = (ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 *)il2cpp_codegen_object_new(ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914_il2cpp_TypeInfo_var);
- ECDHBasicAgreement__ctor_m00A567A1CDA54D22181A8CF51412E87317BF38A8(L_0, /*hidden argument*/NULL);
- // basicAgreement.Init(privateKey);
- ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_1 = L_0;
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_2 = ___privateKey1;
- NullCheck(L_1);
- VirtualActionInvoker1< RuntimeObject* >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters) */, L_1, L_2);
- // BigInteger agreementValue = basicAgreement.CalculateAgreement(publicKey);
- ECDHBasicAgreement_tD6A54D3C7B422C4E92F51E47FFBEC53FDEA25914 * L_3 = L_1;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_4 = ___publicKey0;
- NullCheck(L_3);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
- 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);
- V_0 = L_5;
- // return BigIntegers.AsUnsignedByteArray(basicAgreement.GetFieldSize(), agreementValue);
- NullCheck(L_3);
- int32_t L_6;
- L_6 = VirtualFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.ECDHBasicAgreement::GetFieldSize() */, L_3);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
- L_8 = BigIntegers_AsUnsignedByteArray_mBECE598E3ED13CE9ED432BF265638BEF19A5B755(L_6, L_7, /*hidden argument*/NULL);
- return L_8;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273 (SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___random0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParams1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // ECKeyPairGenerator keyPairGenerator = new ECKeyPairGenerator();
- ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * L_0 = (ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D *)il2cpp_codegen_object_new(ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D_il2cpp_TypeInfo_var);
- ECKeyPairGenerator__ctor_m3E5DF4978F1C839F707272852A3B483C4098B009(L_0, /*hidden argument*/NULL);
- // keyPairGenerator.Init(new ECKeyGenerationParameters(ecParams, random));
- ECKeyPairGenerator_t449F3363BFE123E57E5D0BEAC3A4DF816A9B5F7D * L_1 = L_0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_2 = ___ecParams1;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3 = ___random0;
- ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 * L_4 = (ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565 *)il2cpp_codegen_object_new(ECKeyGenerationParameters_t4937721DC10527ECC156FA98F13AE431AD00F565_il2cpp_TypeInfo_var);
- ECKeyGenerationParameters__ctor_mA5CB698D521FF64B07B9ECD7B887FF2A061649AC(L_4, L_2, L_3, /*hidden argument*/NULL);
- NullCheck(L_1);
- ECKeyPairGenerator_Init_mF0A022CC0E7AB7ECBFD685EE8FD511A9F19E05DA(L_1, L_4, /*hidden argument*/NULL);
- // return keyPairGenerator.GenerateKeyPair();
- NullCheck(L_1);
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_5;
- L_5 = ECKeyPairGenerator_GenerateKeyPair_mA51CD7D68EEA360DA677613188956CD3388B2B67(L_1, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * V_0 = NULL;
- {
- // AsymmetricCipherKeyPair kp = GenerateECKeyPair(random, ecParams);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___random0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_1 = ___ecParams2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_2;
- L_2 = TlsEccUtilities_GenerateECKeyPair_mCB722D4703B559E7602AAC3B47BE7F62D4246273(L_0, L_1, /*hidden argument*/NULL);
- // ECPublicKeyParameters ecPublicKey = (ECPublicKeyParameters)kp.Public;
- AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * L_3 = L_2;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_4;
- L_4 = AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline(L_3, /*hidden argument*/NULL);
- V_0 = ((ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB *)CastclassClass((RuntimeObject*)L_4, ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB_il2cpp_TypeInfo_var));
- // WriteECPoint(ecPointFormats, ecPublicKey.Q, output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___ecPointFormats1;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_6 = V_0;
- NullCheck(L_6);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_7;
- L_7 = ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline(L_6, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output3;
- TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D(L_5, L_7, L_8, /*hidden argument*/NULL);
- // return (ECPrivateKeyParameters)kp.Private;
- NullCheck(L_3);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_9;
- L_9 = AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline(L_3, /*hidden argument*/NULL);
- return ((ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 *)CastclassClass((RuntimeObject*)L_9, ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029_il2cpp_TypeInfo_var));
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_1 = NULL;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- {
- // int namedCurve = -1;
- V_0 = (-1);
- // if (namedCurves == null)
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves1;
- if (L_0)
- {
- goto IL_000a;
- }
- }
- {
- // namedCurve = NamedCurve.secp256r1;
- V_0 = ((int32_t)23);
- // }
- goto IL_0030;
- }
- IL_000a:
- {
- // for (int i = 0; i < namedCurves.Length; ++i)
- V_2 = 0;
- goto IL_002a;
- }
- IL_000e:
- {
- // int entry = namedCurves[i];
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves1;
- int32_t L_2 = V_2;
- NullCheck(L_1);
- int32_t L_3 = L_2;
- int32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
- V_3 = L_4;
- // if (NamedCurve.IsValid(entry) && IsSupportedNamedCurve(entry))
- int32_t L_5 = V_3;
- bool L_6;
- L_6 = NamedCurve_IsValid_m0203DA806E64A849497073EE536B9209FB7030C2(L_5, /*hidden argument*/NULL);
- if (!L_6)
- {
- goto IL_0026;
- }
- }
- {
- int32_t L_7 = V_3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- bool L_8;
- L_8 = TlsEccUtilities_IsSupportedNamedCurve_mA592D9E91A8EF4A1532024C366E6A66A3050CF5E(L_7, /*hidden argument*/NULL);
- if (!L_8)
- {
- goto IL_0026;
- }
- }
- {
- // namedCurve = entry;
- int32_t L_9 = V_3;
- V_0 = L_9;
- // break;
- goto IL_0030;
- }
- IL_0026:
- {
- // for (int i = 0; i < namedCurves.Length; ++i)
- int32_t L_10 = V_2;
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
- }
- IL_002a:
- {
- // for (int i = 0; i < namedCurves.Length; ++i)
- int32_t L_11 = V_2;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_12 = ___namedCurves1;
- NullCheck(L_12);
- if ((((int32_t)L_11) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length))))))
- {
- goto IL_000e;
- }
- }
- IL_0030:
- {
- // ECDomainParameters ecParams = null;
- V_1 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)NULL;
- // if (namedCurve >= 0)
- int32_t L_13 = V_0;
- if ((((int32_t)L_13) < ((int32_t)0)))
- {
- goto IL_003f;
- }
- }
- {
- // ecParams = GetParametersForNamedCurve(namedCurve);
- int32_t L_14 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_15;
- L_15 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(L_14, /*hidden argument*/NULL);
- V_1 = L_15;
- // }
- goto IL_006b;
- }
- IL_003f:
- {
- // if (Arrays.Contains(namedCurves, NamedCurve.arbitrary_explicit_prime_curves))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_16 = ___namedCurves1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_17;
- L_17 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_16, ((int32_t)65281), /*hidden argument*/NULL);
- if (!L_17)
- {
- goto IL_0056;
- }
- }
- {
- // ecParams = GetParametersForNamedCurve(NamedCurve.secp256r1);
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_18;
- L_18 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(((int32_t)23), /*hidden argument*/NULL);
- V_1 = L_18;
- // }
- goto IL_006b;
- }
- IL_0056:
- {
- // else if (Arrays.Contains(namedCurves, NamedCurve.arbitrary_explicit_char2_curves))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_19 = ___namedCurves1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_20;
- L_20 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_19, ((int32_t)65282), /*hidden argument*/NULL);
- if (!L_20)
- {
- goto IL_006b;
- }
- }
- {
- // ecParams = GetParametersForNamedCurve(NamedCurve.sect283r1);
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_21;
- L_21 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(((int32_t)10), /*hidden argument*/NULL);
- V_1 = L_21;
- }
- IL_006b:
- {
- // if (ecParams == null)
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_22 = V_1;
- if (L_22)
- {
- goto IL_0076;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24_RuntimeMethod_var)));
- }
- IL_0076:
- {
- // if (namedCurve < 0)
- int32_t L_24 = V_0;
- if ((((int32_t)L_24) >= ((int32_t)0)))
- {
- goto IL_0084;
- }
- }
- {
- // WriteExplicitECParameters(ecPointFormats, ecParams, output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = ___ecPointFormats2;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_26 = V_1;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_27 = ___output3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9(L_25, L_26, L_27, /*hidden argument*/NULL);
- // }
- goto IL_008b;
- }
- IL_0084:
- {
- // WriteNamedECParameters(namedCurve, output);
- int32_t L_28 = V_0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C(L_28, L_29, /*hidden argument*/NULL);
- }
- IL_008b:
- {
- // return GenerateEphemeralClientKeyExchange(random, ecPointFormats, ecParams, output);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_30 = ___random0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = ___ecPointFormats2;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_32 = V_1;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_33 = ___output3;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_34;
- L_34 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_30, L_31, L_32, L_33, /*hidden argument*/NULL);
- return L_34;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ValidateECPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676 (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * ___key0, const RuntimeMethod* method)
- {
- {
- // return key;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_0 = ___key0;
- return L_0;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECExponent(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615 (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_0 = NULL;
- int32_t V_1 = 0;
- {
- // BigInteger K = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // if (K.BitLength < 32)
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = V_0;
- NullCheck(L_2);
- int32_t L_3;
- L_3 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_2, /*hidden argument*/NULL);
- if ((((int32_t)L_3) >= ((int32_t)((int32_t)32))))
- {
- goto IL_0022;
- }
- }
- {
- // int k = K.IntValue;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_4 = V_0;
- NullCheck(L_4);
- int32_t L_5;
- L_5 = BigInteger_get_IntValue_m6386348CAE8E75A68124AD1F36F497FC551F8144(L_4, /*hidden argument*/NULL);
- V_1 = L_5;
- // if (k > 0 && k < fieldSize)
- int32_t L_6 = V_1;
- if ((((int32_t)L_6) <= ((int32_t)0)))
- {
- goto IL_0022;
- }
- }
- {
- int32_t L_7 = V_1;
- int32_t L_8 = ___fieldSize0;
- if ((((int32_t)L_7) >= ((int32_t)L_8)))
- {
- goto IL_0022;
- }
- }
- {
- // return k;
- int32_t L_9 = V_1;
- return L_9;
- }
- IL_0022:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615_RuntimeMethod_var)));
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECFieldElement(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E (int32_t ___fieldSize0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return DeserializeECFieldElement(fieldSize, TlsUtilities.ReadOpaque8(input));
- int32_t L_0 = ___fieldSize0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___input1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_1, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_3;
- L_3 = TlsEccUtilities_DeserializeECFieldElement_m2BD32B133DC60DDB14290337A5499A43F9C83CC9(L_0, L_2, /*hidden argument*/NULL);
- return L_3;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameter(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new BigInteger(1, TlsUtilities.ReadOpaque8(input));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_0, /*hidden argument*/NULL);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_2 = (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 *)il2cpp_codegen_object_new(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger__ctor_m2790E6F992AE637CEB82161CD2D56E1E0008F81A(L_2, 1, L_1, /*hidden argument*/NULL);
- return L_2;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::ReadECParameters(System.Int32[],System.Byte[],System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- uint8_t V_0 = 0x0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_1 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_4 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_5 = NULL;
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_6 = NULL;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * V_7 = NULL;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_8 = NULL;
- int32_t V_9 = 0;
- int32_t V_10 = 0;
- int32_t V_11 = 0;
- int32_t V_12 = 0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_13 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_14 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_15 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_16 = NULL;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * V_17 = NULL;
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_18 = NULL;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * V_19 = NULL;
- int32_t V_20 = 0;
- Exception_t * V_21 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 3> __leave_targets;
- uint8_t G_B5_0 = 0x0;
- uint8_t G_B4_0 = 0x0;
- uint8_t G_B7_0 = 0x0;
- uint8_t G_B6_0 = 0x0;
- F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * G_B10_0 = NULL;
- IL_0000:
- try
- {// begin try (depth: 1)
- {
- // byte curveType = TlsUtilities.ReadUint8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_1;
- L_1 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- uint8_t L_2 = V_0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)))
- {
- case 0:
- {
- goto IL_0020;
- }
- case 1:
- {
- goto IL_008e;
- }
- case 2:
- {
- goto IL_0155;
- }
- }
- }
- IL_001b:
- {
- goto IL_0181;
- }
- IL_0020:
- {
- // CheckNamedCurve(namedCurves, NamedCurve.arbitrary_explicit_prime_curves);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_3 = ___namedCurves0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_3, ((int32_t)65281), /*hidden argument*/NULL);
- // BigInteger prime_p = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_5;
- L_5 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_4, /*hidden argument*/NULL);
- // BigInteger a = ReadECFieldElement(prime_p.BitLength, input);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_6 = L_5;
- NullCheck(L_6);
- int32_t L_7;
- L_7 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_6, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_9;
- L_9 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_7, L_8, /*hidden argument*/NULL);
- V_1 = L_9;
- // BigInteger b = ReadECFieldElement(prime_p.BitLength, input);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_10 = L_6;
- NullCheck(L_10);
- int32_t L_11;
- L_11 = BigInteger_get_BitLength_m6B5FE0A610DA07F883412F1DE1BCCFA2EED7244C(L_10, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_12 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_13;
- L_13 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_11, L_12, /*hidden argument*/NULL);
- V_2 = L_13;
- // byte[] baseEncoding = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_14 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
- L_15 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_14, /*hidden argument*/NULL);
- V_3 = L_15;
- // BigInteger order = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_17;
- L_17 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_16, /*hidden argument*/NULL);
- V_4 = L_17;
- // BigInteger cofactor = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_18 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_19;
- L_19 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_18, /*hidden argument*/NULL);
- V_5 = L_19;
- // ECCurve curve = new FpCurve(prime_p, a, b, order, cofactor);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_20 = V_1;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_21 = V_2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_22 = V_4;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_23 = V_5;
- FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 * L_24 = (FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8 *)il2cpp_codegen_object_new(FpCurve_t9368FE54C52A7B5966A8B814B739D287356B93B8_il2cpp_TypeInfo_var);
- FpCurve__ctor_m2BBC566CAC9C3F165A2311D6287A1E639468ED67(L_24, L_10, L_20, L_21, L_22, L_23, /*hidden argument*/NULL);
- V_6 = L_24;
- // ECPoint basePoint = DeserializeECPoint(ecPointFormats, curve, baseEncoding);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = ___ecPointFormats1;
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_26 = V_6;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = V_3;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_28;
- L_28 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_25, L_26, L_27, /*hidden argument*/NULL);
- V_7 = L_28;
- // return new ECDomainParameters(curve, basePoint, order, cofactor);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_29 = V_6;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_30 = V_7;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_31 = V_4;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_32 = V_5;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_33 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
- ECDomainParameters__ctor_mA420AB48ED683352BD3E1DA1B724B20B80C24DD3(L_33, L_29, L_30, L_31, L_32, /*hidden argument*/NULL);
- V_8 = L_33;
- goto IL_0195;
- }
- IL_008e:
- {
- // CheckNamedCurve(namedCurves, NamedCurve.arbitrary_explicit_char2_curves);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_34 = ___namedCurves0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_34, ((int32_t)65282), /*hidden argument*/NULL);
- // int m = TlsUtilities.ReadUint16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_35 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_36;
- L_36 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_35, /*hidden argument*/NULL);
- V_9 = L_36;
- // byte basis = TlsUtilities.ReadUint8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_37 = ___input2;
- uint8_t L_38;
- L_38 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_37, /*hidden argument*/NULL);
- // if (!ECBasisType.IsValid(basis))
- uint8_t L_39 = L_38;
- bool L_40;
- L_40 = ECBasisType_IsValid_mC27A27CFF75A979A73D986CAA29F59855CE8FD8E(L_39, /*hidden argument*/NULL);
- G_B4_0 = L_39;
- if (L_40)
- {
- G_B5_0 = L_39;
- goto IL_00b7;
- }
- }
- IL_00af:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_41 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_41, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
- }
- IL_00b7:
- {
- // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
- int32_t L_42 = V_9;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_43 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- int32_t L_44;
- L_44 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_42, L_43, /*hidden argument*/NULL);
- V_10 = L_44;
- // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
- V_11 = (-1);
- // int k1 = ReadECExponent(m, input), k2 = -1, k3 = -1;
- V_12 = (-1);
- // if (basis == ECBasisType.ec_basis_pentanomial)
- uint8_t L_45 = G_B5_0;
- G_B6_0 = L_45;
- if ((!(((uint32_t)L_45) == ((uint32_t)2))))
- {
- G_B7_0 = L_45;
- goto IL_00df;
- }
- }
- IL_00cb:
- {
- // k2 = ReadECExponent(m, input);
- int32_t L_46 = V_9;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_47 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- int32_t L_48;
- L_48 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_46, L_47, /*hidden argument*/NULL);
- V_11 = L_48;
- // k3 = ReadECExponent(m, input);
- int32_t L_49 = V_9;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_50 = ___input2;
- int32_t L_51;
- L_51 = TlsEccUtilities_ReadECExponent_mE6CAECA74F124DEE96E01B410075A422A5ACE615(L_49, L_50, /*hidden argument*/NULL);
- V_12 = L_51;
- G_B7_0 = G_B6_0;
- }
- IL_00df:
- {
- // BigInteger a = ReadECFieldElement(m, input);
- int32_t L_52 = V_9;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_53 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_54;
- L_54 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_52, L_53, /*hidden argument*/NULL);
- V_13 = L_54;
- // BigInteger b = ReadECFieldElement(m, input);
- int32_t L_55 = V_9;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_56 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_57;
- L_57 = TlsEccUtilities_ReadECFieldElement_m461BC42B6223425ABBA383C376AE1ADFD6B1566E(L_55, L_56, /*hidden argument*/NULL);
- V_14 = L_57;
- // byte[] baseEncoding = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_58 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59;
- L_59 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_58, /*hidden argument*/NULL);
- V_15 = L_59;
- // BigInteger order = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_60 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_61;
- L_61 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_60, /*hidden argument*/NULL);
- V_16 = L_61;
- // BigInteger cofactor = ReadECParameter(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_62 = ___input2;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_63;
- L_63 = TlsEccUtilities_ReadECParameter_m1CA930D0F2AF6752147C1AF858F9320DD23EA6C7(L_62, /*hidden argument*/NULL);
- V_17 = L_63;
- // ECCurve curve = (basis == ECBasisType.ec_basis_pentanomial)
- // ? new F2mCurve(m, k1, k2, k3, a, b, order, cofactor)
- // : new F2mCurve(m, k1, a, b, order, cofactor);
- if ((((int32_t)G_B7_0) == ((int32_t)2)))
- {
- goto IL_0121;
- }
- }
- IL_010e:
- {
- int32_t L_64 = V_9;
- int32_t L_65 = V_10;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_66 = V_13;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_67 = V_14;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_68 = V_16;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_69 = V_17;
- F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * L_70 = (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 *)il2cpp_codegen_object_new(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
- F2mCurve__ctor_m027D83DE3563DD6E62428D005DB642AF11937DC6(L_70, L_64, L_65, L_66, L_67, L_68, L_69, /*hidden argument*/NULL);
- G_B10_0 = L_70;
- goto IL_0136;
- }
- IL_0121:
- {
- int32_t L_71 = V_9;
- int32_t L_72 = V_10;
- int32_t L_73 = V_11;
- int32_t L_74 = V_12;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_75 = V_13;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_76 = V_14;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_77 = V_16;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_78 = V_17;
- F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 * L_79 = (F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15 *)il2cpp_codegen_object_new(F2mCurve_t2D35B6577B3DDFE26FC95C22B4281D005BD97C15_il2cpp_TypeInfo_var);
- F2mCurve__ctor_mD221CFD31823473493B30851458AF95C4AC0B33B(L_79, L_71, L_72, L_73, L_74, L_75, L_76, L_77, L_78, /*hidden argument*/NULL);
- G_B10_0 = L_79;
- }
- IL_0136:
- {
- V_18 = G_B10_0;
- // ECPoint basePoint = DeserializeECPoint(ecPointFormats, curve, baseEncoding);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_80 = ___ecPointFormats1;
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_81 = V_18;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_82 = V_15;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_83;
- L_83 = TlsEccUtilities_DeserializeECPoint_mB6C8318A092B8E48300DA9FC64103D4032A84E3F(L_80, L_81, L_82, /*hidden argument*/NULL);
- V_19 = L_83;
- // return new ECDomainParameters(curve, basePoint, order, cofactor);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_84 = V_18;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_85 = V_19;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_86 = V_16;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_87 = V_17;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_88 = (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC *)il2cpp_codegen_object_new(ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC_il2cpp_TypeInfo_var);
- ECDomainParameters__ctor_mA420AB48ED683352BD3E1DA1B724B20B80C24DD3(L_88, L_84, L_85, L_86, L_87, /*hidden argument*/NULL);
- V_8 = L_88;
- goto IL_0195;
- }
- IL_0155:
- {
- // int namedCurve = TlsUtilities.ReadUint16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_89 = ___input2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_90;
- L_90 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_89, /*hidden argument*/NULL);
- V_20 = L_90;
- // if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve))
- int32_t L_91 = V_20;
- bool L_92;
- L_92 = NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E(L_91, /*hidden argument*/NULL);
- if (L_92)
- {
- goto IL_016e;
- }
- }
- IL_0166:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_93 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_93, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_93, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
- }
- IL_016e:
- {
- // CheckNamedCurve(namedCurves, namedCurve);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_94 = ___namedCurves0;
- int32_t L_95 = V_20;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88(L_94, L_95, /*hidden argument*/NULL);
- // return GetParametersForNamedCurve(namedCurve);
- int32_t L_96 = V_20;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_97;
- L_97 = TlsEccUtilities_GetParametersForNamedCurve_m8D23957C9FEFC88443174E045A5571D91694A2AC(L_96, /*hidden argument*/NULL);
- V_8 = L_97;
- goto IL_0195;
- }
- IL_0181:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_98 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_98, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_98, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0189;
- }
- throw e;
- }
- CATCH_0189:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_21 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter, e);
- Exception_t * L_99 = V_21;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_100 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_100, (uint8_t)((int32_t)47), L_99, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_100, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0195:
- {
- // }
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_101 = V_8;
- return L_101;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::CheckNamedCurve(System.Int32[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88 (Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___namedCurves0, int32_t ___namedCurve1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (namedCurves != null && !Arrays.Contains(namedCurves, namedCurve))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_0 = ___namedCurves0;
- if (!L_0)
- {
- goto IL_0014;
- }
- }
- {
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_1 = ___namedCurves0;
- int32_t L_2 = ___namedCurve1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_3;
- L_3 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_1, L_2, /*hidden argument*/NULL);
- if (L_3)
- {
- goto IL_0014;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_CheckNamedCurve_mD48AE8DA93DE5EC04BE361D338FACCEF8DDDBA88_RuntimeMethod_var)));
- }
- IL_0014:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECExponent(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36 (int32_t ___k0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // BigInteger K = BigInteger.ValueOf(k);
- int32_t L_0 = ___k0;
- IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = BigInteger_ValueOf_m26A9968814DAF2363D8B71164672E6257BC82001(((int64_t)((int64_t)L_0)), /*hidden argument*/NULL);
- // WriteECParameter(K, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B (ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.WriteOpaque8(x.GetEncoded(), output);
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_0 = ___x0;
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(26 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement::GetEncoded() */, L_0);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECFieldElement(System.Int32,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECFieldElement_m2E0B3A4DB33209DE5EDC244E57D8DD49866168BC (int32_t ___fieldSize0, BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.WriteOpaque8(SerializeECFieldElement(fieldSize, x), output);
- int32_t L_0 = ___fieldSize0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1 = ___x1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsEccUtilities_SerializeECFieldElement_m84E786EDE01766C4121C5129307CD9141C6F71FA(L_0, L_1, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_2, L_3, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECParameter(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5 (BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ___x0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.WriteOpaque8(BigIntegers.AsUnsignedByteArray(x), output);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = ___x0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = BigIntegers_AsUnsignedByteArray_m55024B860EEC4A20B8D70FE08A8388130903C24C(L_0, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteExplicitECParameters(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ___ecParameters1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IFiniteField_t93F742CE2136665713411FB881C26BD6E901868C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * V_0 = NULL;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* V_1 = NULL;
- {
- // ECCurve curve = ecParameters.Curve;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = ___ecParameters1;
- NullCheck(L_0);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_1;
- L_1 = ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // if (ECAlgorithms.IsFpCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_2 = V_0;
- bool L_3;
- L_3 = ECAlgorithms_IsFpCurve_mA01474701D54E9F861242D8FE202EC606F08BD4B(L_2, /*hidden argument*/NULL);
- if (!L_3)
- {
- goto IL_002c;
- }
- }
- {
- // TlsUtilities.WriteUint8(ECCurveType.explicit_prime, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)1, L_4, /*hidden argument*/NULL);
- // WriteECParameter(curve.Field.Characteristic, output);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_5 = V_0;
- NullCheck(L_5);
- RuntimeObject* L_6;
- L_6 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(23 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_Field() */, L_5);
- NullCheck(L_6);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
- 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);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_8 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_7, L_8, /*hidden argument*/NULL);
- // }
- goto IL_00bc;
- }
- IL_002c:
- {
- // else if (ECAlgorithms.IsF2mCurve(curve))
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_9 = V_0;
- bool L_10;
- L_10 = ECAlgorithms_IsF2mCurve_mBC2B648E300361FD94E128150D3275471E177161(L_9, /*hidden argument*/NULL);
- if (!L_10)
- {
- goto IL_00b1;
- }
- }
- {
- // IPolynomialExtensionField field = (IPolynomialExtensionField)curve.Field;
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_11 = V_0;
- NullCheck(L_11);
- RuntimeObject* L_12;
- L_12 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(23 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IFiniteField BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve::get_Field() */, L_11);
- // int[] exponents = field.MinimalPolynomial.GetExponentsPresent();
- NullCheck(((RuntimeObject*)Castclass((RuntimeObject*)L_12, IPolynomialExtensionField_t969265F2B050C50E58B08B2FF8C6390DEE0895D7_il2cpp_TypeInfo_var)));
- RuntimeObject* L_13;
- 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)));
- NullCheck(L_13);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_14;
- L_14 = InterfaceFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(1 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field.IPolynomial::GetExponentsPresent() */, IPolynomial_t32E76F737ABA75130C2897D9222256285C455755_il2cpp_TypeInfo_var, L_13);
- V_1 = L_14;
- // TlsUtilities.WriteUint8(ECCurveType.explicit_char2, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_15 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)2, L_15, /*hidden argument*/NULL);
- // int m = exponents[exponents.Length - 1];
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_16 = V_1;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_17 = V_1;
- NullCheck(L_17);
- NullCheck(L_16);
- int32_t L_18 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))), (int32_t)1));
- int32_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
- // TlsUtilities.CheckUint16(m);
- int32_t L_20 = L_19;
- TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_20, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint16(m, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_21 = ___output2;
- TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_20, L_21, /*hidden argument*/NULL);
- // if (exponents.Length == 3)
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_22 = V_1;
- NullCheck(L_22);
- if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))) == ((uint32_t)3))))
- {
- goto IL_007c;
- }
- }
- {
- // TlsUtilities.WriteUint8(ECBasisType.ec_basis_trinomial, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_23 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)1, L_23, /*hidden argument*/NULL);
- // WriteECExponent(exponents[1], output);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_24 = V_1;
- NullCheck(L_24);
- int32_t L_25 = 1;
- int32_t L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_27 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_26, L_27, /*hidden argument*/NULL);
- // }
- goto IL_00bc;
- }
- IL_007c:
- {
- // else if (exponents.Length == 5)
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_28 = V_1;
- NullCheck(L_28);
- if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))) == ((uint32_t)5))))
- {
- goto IL_00a6;
- }
- }
- {
- // TlsUtilities.WriteUint8(ECBasisType.ec_basis_pentanomial, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)2, L_29, /*hidden argument*/NULL);
- // WriteECExponent(exponents[1], output);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_30 = V_1;
- NullCheck(L_30);
- int32_t L_31 = 1;
- int32_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_33 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_32, L_33, /*hidden argument*/NULL);
- // WriteECExponent(exponents[2], output);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_34 = V_1;
- NullCheck(L_34);
- int32_t L_35 = 2;
- int32_t L_36 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_37 = ___output2;
- TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_36, L_37, /*hidden argument*/NULL);
- // WriteECExponent(exponents[3], output);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_38 = V_1;
- NullCheck(L_38);
- int32_t L_39 = 3;
- int32_t L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_41 = ___output2;
- TlsEccUtilities_WriteECExponent_mCA8EFBFB7B087B39B337BBD6C1DDD6B7C2F40D36(L_40, L_41, /*hidden argument*/NULL);
- // }
- goto IL_00bc;
- }
- IL_00a6:
- {
- // throw new ArgumentException("Only trinomial and pentomial curves are supported");
- ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_42 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
- ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_42, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDB77F5662969C68C9C6D5ECF666ADD5C9D634441)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var)));
- }
- IL_00b1:
- {
- // throw new ArgumentException("'ecParameters' not a known curve type");
- ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_43 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
- ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_43, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAE246C9E6549E0B6B82491683E4A61128F0E8131)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteExplicitECParameters_mAEDA09DE5ACF71E849B2EFB19F661FE7A23095C9_RuntimeMethod_var)));
- }
- IL_00bc:
- {
- // WriteECFieldElement(curve.A, output);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_44 = V_0;
- NullCheck(L_44);
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_45;
- 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);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_46 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B(L_45, L_46, /*hidden argument*/NULL);
- // WriteECFieldElement(curve.B, output);
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_47 = V_0;
- NullCheck(L_47);
- ECFieldElement_t5B3E4EB355D81F73F6FAC09A042BE908A9631117 * L_48;
- 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);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_49 = ___output2;
- TlsEccUtilities_WriteECFieldElement_m6FCB2FEC3451C6254BB7ECB62C9D5CAEA54DEB5B(L_48, L_49, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, ecParameters.G), output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = ___ecPointFormats0;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_51 = ___ecParameters1;
- NullCheck(L_51);
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_52;
- L_52 = ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline(L_51, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53;
- L_53 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_50, L_52, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_54 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_53, L_54, /*hidden argument*/NULL);
- // WriteECParameter(ecParameters.N, output);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_55 = ___ecParameters1;
- NullCheck(L_55);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_56;
- L_56 = ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline(L_55, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_57 = ___output2;
- TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_56, L_57, /*hidden argument*/NULL);
- // WriteECParameter(ecParameters.H, output);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_58 = ___ecParameters1;
- NullCheck(L_58);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_59;
- L_59 = ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline(L_58, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_60 = ___output2;
- TlsEccUtilities_WriteECParameter_m552A10B99038728B05EA956FA4F49A46501773E5(L_59, L_60, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteECPoint(System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteECPoint_mE79A5D21AA9009666D66F391109E3F74B084BC2D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___ecPointFormats0, ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ___point1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.WriteOpaque8(SerializeECPoint(ecPointFormats, point), output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___ecPointFormats0;
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_1 = ___point1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = TlsEccUtilities_SerializeECPoint_m4500BCB0E755C444DC53C374D97D5ED2ABFD3164(L_0, L_1, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_2, L_3, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::WriteNamedECParameters(System.Int32,System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C (int32_t ___namedCurve0, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!NamedCurve.RefersToASpecificNamedCurve(namedCurve))
- int32_t L_0 = ___namedCurve0;
- bool L_1;
- L_1 = NamedCurve_RefersToASpecificNamedCurve_m07FDC262ED5E7B0B10E67ADA2CCF07958EC4924E(L_0, /*hidden argument*/NULL);
- if (L_1)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsEccUtilities_WriteNamedECParameters_m78BEE159801C95235C9F5D7BE2C85F4551DFD51C_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // TlsUtilities.WriteUint8(ECCurveType.named_curve, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___output1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825((uint8_t)3, L_3, /*hidden argument*/NULL);
- // TlsUtilities.CheckUint16(namedCurve);
- int32_t L_4 = ___namedCurve0;
- TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_4, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint16(namedCurve, output);
- int32_t L_5 = ___namedCurve0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output1;
- TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_5, L_6, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities__ctor_mFF2217E7AA376D17ECC1A9C7BA92C3619AA93234 (TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsEccUtilities::.cctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsEccUtilities__cctor_m151C898E8818458D9ED312C352AC06A658357905 (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
- s_Il2CppMethodInitialized = true;
- }
- {
- // private static readonly string[] CurveNames = new string[] { "sect163k1", "sect163r1", "sect163r2", "sect193r1",
- // "sect193r2", "sect233k1", "sect233r1", "sect239k1", "sect283k1", "sect283r1", "sect409k1", "sect409r1",
- // "sect571k1", "sect571r1", "secp160k1", "secp160r1", "secp160r2", "secp192k1", "secp192r1", "secp224k1",
- // "secp224r1", "secp256k1", "secp256r1", "secp384r1", "secp521r1",
- // "brainpoolP256r1", "brainpoolP384r1", "brainpoolP512r1"};
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)((int32_t)28));
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
- NullCheck(L_1);
- ArrayElementTypeCheck (L_1, _stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
- (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral5CF8F317A0F31BCFFA61870265D17E1F64F60FC4);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = L_1;
- NullCheck(L_2);
- ArrayElementTypeCheck (L_2, _stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
- (L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteralFFE75A95B7D3247C2BAC6EA44FC795138FB2A034);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_2;
- NullCheck(L_3);
- ArrayElementTypeCheck (L_3, _stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
- (L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral7B6830563CB740F590BA73639EE340CD8924E7BC);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
- NullCheck(L_4);
- ArrayElementTypeCheck (L_4, _stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
- (L_4)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralB49DFC1F57BC99FD5BB3C405A05DE58592B829CD);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_5 = L_4;
- NullCheck(L_5);
- ArrayElementTypeCheck (L_5, _stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
- (L_5)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral3B15D43C3C3CF7810D1DB4600E3558EA56F61F8D);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_5;
- NullCheck(L_6);
- ArrayElementTypeCheck (L_6, _stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
- (L_6)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteralB864FA713E0DCD2132FFDF2E1F4113DC6243B5A5);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
- NullCheck(L_7);
- ArrayElementTypeCheck (L_7, _stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
- (L_7)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral884724CC95307DD596874FA08EE010892E4A183C);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_8 = L_7;
- NullCheck(L_8);
- ArrayElementTypeCheck (L_8, _stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
- (L_8)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteralA344F15495B254FE3D4B9C07925DDD4CC039D78E);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_8;
- NullCheck(L_9);
- ArrayElementTypeCheck (L_9, _stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
- (L_9)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteralACB9A1832D3C353D963D539E4EC52CD3E7916B78);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
- NullCheck(L_10);
- ArrayElementTypeCheck (L_10, _stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
- (L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteralB2CAB479468CF767096ACC4632C28817AA097913);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_11 = L_10;
- NullCheck(L_11);
- ArrayElementTypeCheck (L_11, _stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
- (L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral50A9CE486E3E9EFF76FBCA6538E018EA3EFFEE43);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_12 = L_11;
- NullCheck(L_12);
- ArrayElementTypeCheck (L_12, _stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
- (L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteral14B0A532250BF0860700A7A9315ACC3640CBADAE);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_13 = L_12;
- NullCheck(L_13);
- ArrayElementTypeCheck (L_13, _stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
- (L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral8A935BC163FB7C550742399792C4D1966C3E2AF4);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = L_13;
- NullCheck(L_14);
- ArrayElementTypeCheck (L_14, _stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
- (L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteral2F7BF7401F3F7A3BA05C7AA32544809B4FB2BD98);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = L_14;
- NullCheck(L_15);
- ArrayElementTypeCheck (L_15, _stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
- (L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteral24A57AFC86DFC2F917FB3184B090926214BB2C69);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_16 = L_15;
- NullCheck(L_16);
- ArrayElementTypeCheck (L_16, _stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
- (L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (String_t*)_stringLiteralFAC97F3CD7D12781406344C6B230BE7320057813);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_17 = L_16;
- NullCheck(L_17);
- ArrayElementTypeCheck (L_17, _stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
- (L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (String_t*)_stringLiteral190F59210696C8475CFA176585CFF1622879DBE1);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_18 = L_17;
- NullCheck(L_18);
- ArrayElementTypeCheck (L_18, _stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
- (L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (String_t*)_stringLiteral294687797ABDD257E21658BA5C1227138C09DD53);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_19 = L_18;
- NullCheck(L_19);
- ArrayElementTypeCheck (L_19, _stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
- (L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (String_t*)_stringLiteralEDCB09D2C4DDB18CC9498045EEF5EB7E8BFC5A7C);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_20 = L_19;
- NullCheck(L_20);
- ArrayElementTypeCheck (L_20, _stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
- (L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (String_t*)_stringLiteralABB62B8930F03CF00DE8D94D913ACB908E73A303);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_21 = L_20;
- NullCheck(L_21);
- ArrayElementTypeCheck (L_21, _stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
- (L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (String_t*)_stringLiteral7187EE2A7EE264D8D5ED3324026616F1451B1256);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_22 = L_21;
- NullCheck(L_22);
- ArrayElementTypeCheck (L_22, _stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
- (L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (String_t*)_stringLiteral9C5C06DB877BD7B3274BB146538D0362FDA80644);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_23 = L_22;
- NullCheck(L_23);
- ArrayElementTypeCheck (L_23, _stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
- (L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (String_t*)_stringLiteralA345B47042D46E66AF27151C921F5ED266CD400D);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_24 = L_23;
- NullCheck(L_24);
- ArrayElementTypeCheck (L_24, _stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
- (L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (String_t*)_stringLiteralD744D02E9F69554C563F58496A5C08C4A6486D26);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_25 = L_24;
- NullCheck(L_25);
- ArrayElementTypeCheck (L_25, _stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
- (L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (String_t*)_stringLiteralB6317D9BDEAB95DE0D033C96F2C144B408D15A4E);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_26 = L_25;
- NullCheck(L_26);
- ArrayElementTypeCheck (L_26, _stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
- (L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (String_t*)_stringLiteralA769D26CEBDB76B20A90DFECE81C1D6E4E458A71);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_27 = L_26;
- NullCheck(L_27);
- ArrayElementTypeCheck (L_27, _stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
- (L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (String_t*)_stringLiteralC2F13D6423712EE49184F09B7A5C47EEF28ADBE2);
- StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_28 = L_27;
- NullCheck(L_28);
- ArrayElementTypeCheck (L_28, _stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
- (L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (String_t*)_stringLiteral281BB5D0C04BC40D275D9DCE38ABB73950A5F20C);
- ((TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_StaticFields*)il2cpp_codegen_static_fields_for(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var))->set_CurveNames_0(L_28);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsException::.ctor(System.String,System.Exception)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66 (TlsException_t1732743E62B1390C3072EA484D216C08D2C75983 * __this, String_t* ___message0, Exception_t * ___cause1, const RuntimeMethod* method)
- {
- {
- // : base(message, cause)
- String_t* L_0 = ___message0;
- Exception_t * L_1 = ___cause1;
- IOException__ctor_m6FEE731FB9201F8322FB67EFEE6F43D424DFE1E7(__this, L_0, L_1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::EnsureExtensionsInitialised(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return extensions == null ? BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateHashtable() : extensions;
- RuntimeObject* L_0 = ___extensions0;
- if (!L_0)
- {
- goto IL_0005;
- }
- }
- {
- RuntimeObject* L_1 = ___extensions0;
- return L_1;
- }
- IL_0005:
- {
- IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- RuntimeObject* L_2;
- L_2 = Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06(/*hidden argument*/NULL);
- return L_2;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddClientCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddClientCertificateTypeExtensionClient_mD317BAB68BD5B10E46AE903AD5DBB073D4178641 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.client_certificate_type] = CreateCertificateTypeExtensionClient(certificateTypes);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)19);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___certificateTypes1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddClientCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddClientCertificateTypeExtensionServer_m9098330F80B538FCED81339E53FCE74430A2E914 (RuntimeObject* ___extensions0, uint8_t ___certificateType1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.client_certificate_type] = CreateCertificateTypeExtensionServer(certificateType);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)19);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- uint8_t L_3 = ___certificateType1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddEncryptThenMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddEncryptThenMacExtension_mE0AFD0E9AAD60B720FCC0CDC23ABBED1B1218DE7 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.encrypt_then_mac] = CreateEncryptThenMacExtension();
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)22);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73(/*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddExtendedMasterSecretExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.extended_master_secret] = CreateExtendedMasterSecretExtension();
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)23);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011(/*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddHeartbeatExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddHeartbeatExtension_m07C8FD3CD024D57F780A68FB5C44B5C9874C0946 (RuntimeObject* ___extensions0, HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.heartbeat] = CreateHeartbeatExtension(heartbeatExtension);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)15);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_3 = ___heartbeatExtension1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddMaxFragmentLengthExtension(System.Collections.IDictionary,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddMaxFragmentLengthExtension_mB28DEEC706D2D1B5C338A4C56CBF4C65E27FF4E7 (RuntimeObject* ___extensions0, uint8_t ___maxFragmentLength1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.max_fragment_length] = CreateMaxFragmentLengthExtension(maxFragmentLength);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = 1;
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- uint8_t L_3 = ___maxFragmentLength1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddPaddingExtension(System.Collections.IDictionary,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddPaddingExtension_mE00844998FBD2D3BF8A2979951136BA93AC70146 (RuntimeObject* ___extensions0, int32_t ___dataLength1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.padding] = CreatePaddingExtension(dataLength);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)21);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- int32_t L_3 = ___dataLength1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerCertificateTypeExtensionClient(System.Collections.IDictionary,System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerCertificateTypeExtensionClient_m2B26F9332127B4E9AD00EE960DD2F386EE6BFB20 (RuntimeObject* ___extensions0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.server_certificate_type] = CreateCertificateTypeExtensionClient(certificateTypes);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)20);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___certificateTypes1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerCertificateTypeExtensionServer(System.Collections.IDictionary,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerCertificateTypeExtensionServer_m104EF5BB531ECF8D27DD6589F9B86E678745CF50 (RuntimeObject* ___extensions0, uint8_t ___certificateType1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.server_certificate_type] = CreateCertificateTypeExtensionServer(certificateType);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)20);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- uint8_t L_3 = ___certificateType1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddServerNameExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddServerNameExtension_m1EABD1F4CB9CE8CA76E23A46E8E236C0D5B7A7DF (RuntimeObject* ___extensions0, ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.server_name] = CreateServerNameExtension(serverNameList);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = 0;
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_3 = ___serverNameList1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddStatusRequestExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddStatusRequestExtension_m6A1105558BB9715E2A1B8E359ED41D15F9FCCC6B (RuntimeObject* ___extensions0, CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.status_request] = CreateStatusRequestExtension(statusRequest);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = 5;
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_3 = ___statusRequest1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::AddTruncatedHMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities_AddTruncatedHMacExtension_m291495C7C889A3625EDC84B631C3391DE731FB4B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.truncated_hmac] = CreateTruncatedHMacExtension();
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = 4;
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34(/*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetClientCertificateTypeExtensionClient(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_GetClientCertificateTypeExtensionClient_m9226FC11B1D806A00638D4BCE452BBF820424FFC (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.client_certificate_type);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)19), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadCertificateTypeExtensionClient(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- }
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetClientCertificateTypeExtensionServer(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetClientCertificateTypeExtensionServer_m818022FCC9E2C8BC775DB13B1F5A6135434444DD (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.client_certificate_type);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)19), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? (short)-1 : (short)ReadCertificateTypeExtensionServer(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- uint8_t L_4;
- L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (int16_t)(-1);
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetHeartbeatExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_GetHeartbeatExtension_mF7CDE89FCBB3CB75407F853CDF5C6C7B82B7B1F6 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.heartbeat);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)15), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadHeartbeatExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_4;
- L_4 = TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 *)NULL;
- }
- }
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetMaxFragmentLengthExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.max_fragment_length);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 1, /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? (short)-1 : (short)ReadMaxFragmentLengthExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0012;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- uint8_t L_4;
- L_4 = TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0012:
- {
- return (int16_t)(-1);
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetPaddingExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.padding);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)21), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? -1 : ReadPaddingExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- int32_t L_4;
- L_4 = TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (-1);
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerCertificateTypeExtensionClient(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_GetServerCertificateTypeExtensionClient_m6F8FC582ABCA51F1FA493CEECCEFB4365CFB97F1 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_certificate_type);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)20), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadCertificateTypeExtensionClient(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- }
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerCertificateTypeExtensionServer(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsExtensionsUtilities_GetServerCertificateTypeExtensionServer_mDBAB773C0D5DC5061FE6C2F83537B137A48BFF2B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_certificate_type);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)20), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? (short)-1 : (short)ReadCertificateTypeExtensionServer(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- uint8_t L_4;
- L_4 = TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (int16_t)(-1);
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetServerNameExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_GetServerNameExtension_mE2E2EF6214C43D768F2B58714A6D63992A625CDF (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.server_name);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 0, /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadServerNameExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0012;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_4;
- L_4 = TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0012:
- {
- return (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 *)NULL;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::GetStatusRequestExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_GetStatusRequestExtension_m487F06121CE54AA5373A7EEDCAD173C03F7578BB (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.status_request);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 5, /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadStatusRequestExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0012;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_4;
- L_4 = TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0012:
- {
- return (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 *)NULL;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasEncryptThenMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.encrypt_then_mac);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)22), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? false : ReadEncryptThenMacExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- bool L_4;
- L_4 = TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasExtendedMasterSecretExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.extended_master_secret);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)23), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? false : ReadExtendedMasterSecretExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- bool L_4;
- L_4 = TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (bool)0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::HasTruncatedHMacExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.truncated_hmac);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, 4, /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? false : ReadTruncatedHMacExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0012;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- bool L_4;
- L_4 = TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0012:
- {
- return (bool)0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionClient(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___certificateTypes0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (certificateTypes == null || certificateTypes.Length < 1 || certificateTypes.Length > 255)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___certificateTypes0;
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___certificateTypes0;
- NullCheck(L_1);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) < ((int32_t)1)))
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___certificateTypes0;
- NullCheck(L_2);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) <= ((int32_t)((int32_t)255))))
- {
- goto IL_001b;
- }
- }
- IL_0013:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateCertificateTypeExtensionClient_m993004BBE234297A200104A158A20E5DE8C7F985_RuntimeMethod_var)));
- }
- IL_001b:
- {
- // return TlsUtilities.EncodeUint8ArrayWithUint8Length(certificateTypes);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___certificateTypes0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsUtilities_EncodeUint8ArrayWithUint8Length_m71D352912D6B9669F44CA67E5CA37DE0ACDDF791(L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateCertificateTypeExtensionServer(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateCertificateTypeExtensionServer_mF310883B161E57CA89151F6847A6ED2F38A8FBBC (uint8_t ___certificateType0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EncodeUint8(certificateType);
- uint8_t L_0 = ___certificateType0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEmptyExtensionData()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1 (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EmptyBytes;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- return L_0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateEncryptThenMacExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEncryptThenMacExtension_m701689762BF48867C6DD283653F327A6AC0D5C73 (const RuntimeMethod* method)
- {
- {
- // return CreateEmptyExtensionData();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
- L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
- return L_0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateExtendedMasterSecretExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateExtendedMasterSecretExtension_m8CE1A9DF08E843A537A9EAA70E16196F39572011 (const RuntimeMethod* method)
- {
- {
- // return CreateEmptyExtensionData();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
- L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
- return L_0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateHeartbeatExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884 (HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * ___heartbeatExtension0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (heartbeatExtension == null)
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_0 = ___heartbeatExtension0;
- if (L_0)
- {
- goto IL_000b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateHeartbeatExtension_m1A32C7A1FD03F6D9E0FAE90C2971E20700647884_RuntimeMethod_var)));
- }
- IL_000b:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
- V_0 = L_2;
- // heartbeatExtension.Encode(buf);
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_3 = ___heartbeatExtension0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
- NullCheck(L_3);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension::Encode(System.IO.Stream) */, L_3, L_4);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
- return L_6;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateMaxFragmentLengthExtension(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateMaxFragmentLengthExtension_mC4283EDD7C02BBDFDAD3446368A1A1A6234942DD (uint8_t ___maxFragmentLength0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EncodeUint8(maxFragmentLength);
- uint8_t L_0 = ___maxFragmentLength0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_EncodeUint8_mDE39232C9223C18F851B7CF55197F1C4A9FE0F52(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreatePaddingExtension(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreatePaddingExtension_m0AEC9181E816484080875FCD4E34C3FF00231732 (int32_t ___dataLength0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // TlsUtilities.CheckUint16(dataLength);
- int32_t L_0 = ___dataLength0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_0, /*hidden argument*/NULL);
- // return new byte[dataLength];
- int32_t L_1 = ___dataLength0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_1);
- return L_2;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateServerNameExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246 (ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * ___serverNameList0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (serverNameList == null)
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_0 = ___serverNameList0;
- if (L_0)
- {
- goto IL_000b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateServerNameExtension_m0ECAAEFC91B9EDD0131C7514242E7714A0EE4246_RuntimeMethod_var)));
- }
- IL_000b:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
- V_0 = L_2;
- // serverNameList.Encode(buf);
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_3 = ___serverNameList0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
- NullCheck(L_3);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(5 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList::Encode(System.IO.Stream) */, L_3, L_4);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
- return L_6;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateStatusRequestExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086 (CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * ___statusRequest0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (statusRequest == null)
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_0 = ___statusRequest0;
- if (L_0)
- {
- goto IL_000b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_CreateStatusRequestExtension_mD8CE47A99AAEED396D2F6E665A75EF1FC4E7B086_RuntimeMethod_var)));
- }
- IL_000b:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
- V_0 = L_2;
- // statusRequest.Encode(buf);
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_3 = ___statusRequest0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
- NullCheck(L_3);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest::Encode(System.IO.Stream) */, L_3, L_4);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_5);
- return L_6;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::CreateTruncatedHMacExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateTruncatedHMacExtension_mF4FEC6F472CE5B480C92F292E611386F2A246C34 (const RuntimeMethod* method)
- {
- {
- // return CreateEmptyExtensionData();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0;
- L_0 = TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline(/*hidden argument*/NULL);
- return L_0;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEmptyExtensionData(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // if (extensionData.Length != 0)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- NullCheck(L_2);
- if (!(((RuntimeArray*)L_2)->max_length))
- {
- goto IL_001a;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914_RuntimeMethod_var)));
- }
- IL_001a:
- {
- // return true;
- return (bool)1;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionClient(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B2_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B1_0 = NULL;
- {
- // byte[] certificateTypes = TlsUtilities.DecodeUint8ArrayWithUint8Length(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_DecodeUint8ArrayWithUint8Length_mACBDF2652AB13E8BFE83D317EB7BF40CBA8269B2(L_0, /*hidden argument*/NULL);
- // if (certificateTypes.Length < 1)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
- NullCheck(L_2);
- G_B1_0 = L_2;
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))) >= ((int32_t)1)))
- {
- G_B2_0 = L_2;
- goto IL_0014;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadCertificateTypeExtensionClient_m3068515DD39EDC20F478F7644C602E645A635BCC_RuntimeMethod_var)));
- }
- IL_0014:
- {
- // return certificateTypes;
- return G_B2_0;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadCertificateTypeExtensionServer(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadCertificateTypeExtensionServer_m6741ED134327D31510B7C3E236BA4FBA12BA4357 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.DecodeUint8(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_1;
- L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadEncryptThenMacExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadEncryptThenMacExtension_m6E75C866AEF6A3EEFC8D0706DFC279FCB8F134B4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- {
- // return ReadEmptyExtensionData(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- bool L_1;
- L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadExtendedMasterSecretExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadExtendedMasterSecretExtension_m62966B7378A229D6FE12A4298D33DFB3278F7C4D (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- {
- // return ReadEmptyExtensionData(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- bool L_1;
- L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.HeartbeatExtension BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadHeartbeatExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * V_0 = NULL;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadHeartbeatExtension_m453F3932DA3DEB84CBA75BC74A58CB45DB4C7C21_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream(extensionData, false);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
- // HeartbeatExtension heartbeatExtension = HeartbeatExtension.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_5;
- L_5 = HeartbeatExtension_Parse_mEF43B54D435CB887090892A30DD3BC6371712CCE(L_4, /*hidden argument*/NULL);
- V_0 = L_5;
- // TlsProtocol.AssertEmpty(buf);
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
- // return heartbeatExtension;
- HeartbeatExtension_t2BD363B2637B8A983BBDCA9EB10EE4B832B299E7 * L_6 = V_0;
- return L_6;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadMaxFragmentLengthExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsExtensionsUtilities_ReadMaxFragmentLengthExtension_m4BA27AAF294BCD390F49F06195168261ECFA0B4A (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.DecodeUint8(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_1;
- L_1 = TlsUtilities_DecodeUint8_m57778B7F33441CB83978D2F08FBF48FE3ED4FD25(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadPaddingExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // for (int i = 0; i < extensionData.Length; ++i)
- V_0 = 0;
- goto IL_0023;
- }
- IL_0012:
- {
- // if (extensionData[i] != 0)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- int32_t L_3 = V_0;
- NullCheck(L_2);
- int32_t L_4 = L_3;
- uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- if (!L_5)
- {
- goto IL_001f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadPaddingExtension_mD2273CCF07295FA7B4B7B02F96D634303D9DF7D3_RuntimeMethod_var)));
- }
- IL_001f:
- {
- // for (int i = 0; i < extensionData.Length; ++i)
- int32_t L_7 = V_0;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
- }
- IL_0023:
- {
- // for (int i = 0; i < extensionData.Length; ++i)
- int32_t L_8 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = ___extensionData0;
- NullCheck(L_9);
- if ((((int32_t)L_8) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length))))))
- {
- goto IL_0012;
- }
- }
- {
- // return extensionData.Length;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___extensionData0;
- NullCheck(L_10);
- return ((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)));
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ServerNameList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadServerNameExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * V_0 = NULL;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadServerNameExtension_m41E45A29930E3D918C25E99B827662ECFBA46CCE_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream(extensionData, false);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
- // ServerNameList serverNameList = ServerNameList.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_5;
- L_5 = ServerNameList_Parse_m6438CE9C79DC77BAC6CE2B863828AE49ADB67F42(L_4, /*hidden argument*/NULL);
- V_0 = L_5;
- // TlsProtocol.AssertEmpty(buf);
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
- // return serverNameList;
- ServerNameList_t0AD4FCB1DE8CF29A35882591180C32EB8C352676 * L_6 = V_0;
- return L_6;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatusRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadStatusRequestExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * V_0 = NULL;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsExtensionsUtilities_ReadStatusRequestExtension_m20C33046E921B844E54FE11B0D1F1EA7F14DD160_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream(extensionData, false);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)0, /*hidden argument*/NULL);
- // CertificateStatusRequest statusRequest = CertificateStatusRequest.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = L_3;
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_5;
- L_5 = CertificateStatusRequest_Parse_mFE546FA55E39716667D76E62DFBC0EAFA02CBFA5(L_4, /*hidden argument*/NULL);
- V_0 = L_5;
- // TlsProtocol.AssertEmpty(buf);
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_4, /*hidden argument*/NULL);
- // return statusRequest;
- CertificateStatusRequest_t7E84E6704998859C490175ED9CC7A17D8D7C6B30 * L_6 = V_0;
- return L_6;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::ReadTruncatedHMacExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsExtensionsUtilities_ReadTruncatedHMacExtension_mA14DE3733C162ABA9AF412025F5F94948C247DE8 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- {
- // return ReadEmptyExtensionData(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- bool L_1;
- L_1 = TlsExtensionsUtilities_ReadEmptyExtensionData_mFF5066FE5290BD5946D451468E0E14467196A914(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsExtensionsUtilities::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsExtensionsUtilities__ctor_m9FC0AAA681B586516769DF345E0BAD9AC9D252C5 (TlsExtensionsUtilities_tAE93D1652EC01B1B58CCE751FC963A070C2F7247 * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
- {
- {
- // : this(alertDescription, null)
- uint8_t L_0 = ___alertDescription0;
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(__this, L_0, (Exception_t *)NULL, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::.ctor(System.Byte,System.Exception)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333 (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, uint8_t ___alertDescription0, Exception_t * ___alertCause1, const RuntimeMethod* method)
- {
- {
- // : base(Tls.AlertDescription.GetText(alertDescription), alertCause)
- uint8_t L_0 = ___alertDescription0;
- String_t* L_1;
- L_1 = AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E(L_0, /*hidden argument*/NULL);
- Exception_t * L_2 = ___alertCause1;
- TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66(__this, L_1, L_2, /*hidden argument*/NULL);
- // this.alertDescription = alertDescription;
- uint8_t L_3 = ___alertDescription0;
- __this->set_alertDescription_18(L_3);
- // }
- return;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsFatalAlert_get_AlertDescription_mBA4ACD1C9CFCA2D7CF822E13A23C0F3F87655C8B (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * __this, const RuntimeMethod* method)
- {
- {
- // get { return alertDescription; }
- uint8_t L_0 = __this->get_alertDescription_18();
- return L_0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::.ctor(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
- {
- {
- // : base(Tls.AlertDescription.GetText(alertDescription), null)
- uint8_t L_0 = ___alertDescription0;
- String_t* L_1;
- L_1 = AlertDescription_GetText_m623D05CB03A1F3A96437EE0D96A65021A605C43E(L_0, /*hidden argument*/NULL);
- TlsException__ctor_m59C5CB6681B5F8D103DF94D7100C42411DB8CE66(__this, L_1, (Exception_t *)NULL, /*hidden argument*/NULL);
- // this.alertDescription = alertDescription;
- uint8_t L_2 = ___alertDescription0;
- __this->set_alertDescription_18(L_2);
- // }
- return;
- }
- }
- // System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived::get_AlertDescription()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t TlsFatalAlertReceived_get_AlertDescription_m4889AD129BAB38C597868A9F763362F66B381522 (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * __this, const RuntimeMethod* method)
- {
- {
- // get { return alertDescription; }
- uint8_t L_0 = __this->get_alertDescription_18();
- return L_0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * V_0 = NULL;
- {
- // public TlsMac(TlsContext context, IDigest digest, byte[] key, int keyOff, int keyLen)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.context = context;
- RuntimeObject* L_0 = ___context0;
- __this->set_context_0(L_0);
- // KeyParameter keyParameter = new KeyParameter(key, keyOff, keyLen);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___key2;
- int32_t L_2 = ___keyOff3;
- int32_t L_3 = ___keyLen4;
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_4 = (KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC *)il2cpp_codegen_object_new(KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC_il2cpp_TypeInfo_var);
- KeyParameter__ctor_mA7E94BCEFAFE6F84602F24F9752CB2117CA7B8BF(L_4, L_1, L_2, L_3, /*hidden argument*/NULL);
- V_0 = L_4;
- // this.secret = Arrays.Clone(keyParameter.GetKey());
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_5 = V_0;
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = KeyParameter_GetKey_mCA2C132B43F669063C426602DD5A8A672531385A(L_5, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_6, /*hidden argument*/NULL);
- __this->set_secret_1(L_7);
- // if (digest is LongDigest)
- RuntimeObject* L_8 = ___digest1;
- if (!((LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F *)IsInstClass((RuntimeObject*)L_8, LongDigest_tD253781B07F071CC9768F5D4DD82C721F7B9665F_il2cpp_TypeInfo_var)))
- {
- goto IL_0046;
- }
- }
- {
- // this.digestBlockSize = 128;
- __this->set_digestBlockSize_3(((int32_t)128));
- // this.digestOverhead = 16;
- __this->set_digestOverhead_4(((int32_t)16));
- // }
- goto IL_0055;
- }
- IL_0046:
- {
- // this.digestBlockSize = 64;
- __this->set_digestBlockSize_3(((int32_t)64));
- // this.digestOverhead = 8;
- __this->set_digestOverhead_4(8);
- }
- IL_0055:
- {
- // if (TlsUtilities.IsSsl(context))
- RuntimeObject* L_9 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_10;
- L_10 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_9, /*hidden argument*/NULL);
- if (!L_10)
- {
- goto IL_007c;
- }
- }
- {
- // this.mac = new Ssl3Mac(digest);
- RuntimeObject* L_11 = ___digest1;
- Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E * L_12 = (Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E *)il2cpp_codegen_object_new(Ssl3Mac_t1E4448C9AEE75720AF669D9C9760F751C299501E_il2cpp_TypeInfo_var);
- Ssl3Mac__ctor_m0F273E8D113CF7441C28B0A02BB7F073DBE0AAD3(L_12, L_11, /*hidden argument*/NULL);
- __this->set_mac_2(L_12);
- // if (digest.GetDigestSize() == 20)
- RuntimeObject* L_13 = ___digest1;
- NullCheck(L_13);
- int32_t L_14;
- L_14 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_13);
- if ((!(((uint32_t)L_14) == ((uint32_t)((int32_t)20)))))
- {
- goto IL_0088;
- }
- }
- {
- // this.digestOverhead = 4;
- __this->set_digestOverhead_4(4);
- // }
- goto IL_0088;
- }
- IL_007c:
- {
- // this.mac = new HMac(digest);
- RuntimeObject* L_15 = ___digest1;
- HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B * L_16 = (HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B *)il2cpp_codegen_object_new(HMac_t739AB3FACB38654C1D0DB339A8444A6ABC61D31B_il2cpp_TypeInfo_var);
- HMac__ctor_m2F116E272494B59F6E93CF539BBAE3A571D0FBFE(L_16, L_15, /*hidden argument*/NULL);
- __this->set_mac_2(L_16);
- }
- IL_0088:
- {
- // this.mac.Init(keyParameter);
- RuntimeObject* L_17 = __this->get_mac_2();
- KeyParameter_t5407FA53F46E5481A5F286DE11652FC49C78A7FC * L_18 = V_0;
- NullCheck(L_17);
- 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);
- // this.macLength = mac.GetMacSize();
- RuntimeObject* L_19 = __this->get_mac_2();
- NullCheck(L_19);
- int32_t L_20;
- L_20 = InterfaceFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::GetMacSize() */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_19);
- __this->set_macLength_5(L_20);
- // if (context.SecurityParameters.truncatedHMac)
- RuntimeObject* L_21 = ___context0;
- NullCheck(L_21);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_22;
- 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);
- NullCheck(L_22);
- bool L_23 = L_22->get_truncatedHMac_12();
- if (!L_23)
- {
- goto IL_00c5;
- }
- }
- {
- // this.macLength = System.Math.Min(this.macLength, 10);
- int32_t L_24 = __this->get_macLength_5();
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_25;
- L_25 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_24, ((int32_t)10), /*hidden argument*/NULL);
- __this->set_macLength_5(L_25);
- }
- IL_00c5:
- {
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_MacSecret()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_get_MacSecret_m897914D112A4FFB96A28F7E02771DD15BABCAE18 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, const RuntimeMethod* method)
- {
- {
- // get { return this.secret; }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_secret_1();
- return L_0;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsMac_get_Size_mFEA86803815D655AFC776B7937EFB100D9288B7A (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, const RuntimeMethod* method)
- {
- {
- // get { return macLength; }
- int32_t L_0 = __this->get_macLength_5();
- return L_0;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMac(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- bool G_B2_0 = false;
- bool G_B1_0 = false;
- int32_t G_B3_0 = 0;
- bool G_B3_1 = false;
- {
- // ProtocolVersion serverVersion = context.ServerVersion;
- RuntimeObject* L_0 = __this->get_context_0();
- NullCheck(L_0);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
- 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);
- V_0 = L_1;
- // bool isSsl = serverVersion.IsSsl;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2 = V_0;
- NullCheck(L_2);
- bool L_3;
- L_3 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_2, /*hidden argument*/NULL);
- // byte[] macHeader = new byte[isSsl ? 11 : 13];
- bool L_4 = L_3;
- G_B1_0 = L_4;
- if (L_4)
- {
- G_B2_0 = L_4;
- goto IL_0019;
- }
- }
- {
- G_B3_0 = ((int32_t)13);
- G_B3_1 = G_B1_0;
- goto IL_001b;
- }
- IL_0019:
- {
- G_B3_0 = ((int32_t)11);
- G_B3_1 = G_B2_0;
- }
- IL_001b:
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)G_B3_0);
- V_1 = L_5;
- // TlsUtilities.WriteUint64(seqNo, macHeader, 0);
- int64_t L_6 = ___seqNo0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint64_m968A8E651AAD172DD4DD7D2FC8F31CCD58950181(L_6, L_7, 0, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint8(type, macHeader, 8);
- uint8_t L_8 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_1;
- TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186(L_8, L_9, 8, /*hidden argument*/NULL);
- // if (!isSsl)
- if (G_B3_1)
- {
- goto IL_003c;
- }
- }
- {
- // TlsUtilities.WriteVersion(serverVersion, macHeader, 9);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_10 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_10, L_11, ((int32_t)9), /*hidden argument*/NULL);
- }
- IL_003c:
- {
- // TlsUtilities.WriteUint16(length, macHeader, macHeader.Length - 2);
- int32_t L_12 = ___length4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_1;
- NullCheck(L_14);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- 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);
- // mac.BlockUpdate(macHeader, 0, macHeader.Length);
- RuntimeObject* L_15 = __this->get_mac_2();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = V_1;
- NullCheck(L_17);
- NullCheck(L_15);
- 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))));
- // mac.BlockUpdate(message, offset, length);
- RuntimeObject* L_18 = __this->get_mac_2();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = ___message2;
- int32_t L_20 = ___offset3;
- int32_t L_21 = ___length4;
- NullCheck(L_18);
- 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);
- // return Truncate(MacUtilities.DoFinal(mac));
- RuntimeObject* L_22 = __this->get_mac_2();
- IL2CPP_RUNTIME_CLASS_INIT(MacUtilities_t870E4AF1B674CB6A920687E584CDC3FBDA5FD58E_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23;
- L_23 = MacUtilities_DoFinal_m07D2EDE7426AE8B7BB98545CFE3D0CB03393A7D4(L_22, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24;
- L_24 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::Truncate(System.Byte[]) */, __this, L_23);
- return L_24;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::CalculateMacConstantTime(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32,System.Int32,System.Byte[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- int32_t V_2 = 0;
- int32_t G_B3_0 = 0;
- {
- // byte[] result = CalculateMac(seqNo, type, message, offset, length);
- int64_t L_0 = ___seqNo0;
- uint8_t L_1 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___message2;
- int32_t L_3 = ___offset3;
- int32_t L_4 = ___length4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- 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);
- V_0 = L_5;
- // int headerLength = TlsUtilities.IsSsl(context) ? 11 : 13;
- RuntimeObject* L_6 = __this->get_context_0();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_7;
- L_7 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_6, /*hidden argument*/NULL);
- if (L_7)
- {
- goto IL_001f;
- }
- }
- {
- G_B3_0 = ((int32_t)13);
- goto IL_0021;
- }
- IL_001f:
- {
- G_B3_0 = ((int32_t)11);
- }
- IL_0021:
- {
- V_1 = G_B3_0;
- // int extra = GetDigestBlockCount(headerLength + fullLength) - GetDigestBlockCount(headerLength + length);
- int32_t L_8 = V_1;
- int32_t L_9 = ___fullLength5;
- int32_t L_10;
- 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)));
- int32_t L_11 = V_1;
- int32_t L_12 = ___length4;
- int32_t L_13;
- 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)));
- V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)L_13));
- goto IL_004e;
- }
- IL_003a:
- {
- // mac.BlockUpdate(dummyData, 0, digestBlockSize);
- RuntimeObject* L_14 = __this->get_mac_2();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___dummyData6;
- int32_t L_16 = __this->get_digestBlockSize_3();
- NullCheck(L_14);
- 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);
- }
- IL_004e:
- {
- // while (--extra >= 0)
- int32_t L_17 = V_2;
- int32_t L_18 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)1));
- V_2 = L_18;
- if ((((int32_t)L_18) >= ((int32_t)0)))
- {
- goto IL_003a;
- }
- }
- {
- // mac.Update(dummyData[0]);
- RuntimeObject* L_19 = __this->get_mac_2();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ___dummyData6;
- NullCheck(L_20);
- int32_t L_21 = 0;
- uint8_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
- NullCheck(L_19);
- 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);
- // mac.Reset();
- RuntimeObject* L_23 = __this->get_mac_2();
- NullCheck(L_23);
- InterfaceActionInvoker0::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IMac::Reset() */, IMac_tF574CEDFF4E3D5D95581FD8DF86EF985AE61B37C_il2cpp_TypeInfo_var, L_23);
- // return result;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_0;
- return L_24;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::GetDigestBlockCount(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsMac_GetDigestBlockCount_m9CA4412CEF396EC8B097A54D58CBF026AFC77D23 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, int32_t ___inputLength0, const RuntimeMethod* method)
- {
- {
- // return (inputLength + digestOverhead) / digestBlockSize;
- int32_t L_0 = ___inputLength0;
- int32_t L_1 = __this->get_digestOverhead_4();
- int32_t L_2 = __this->get_digestBlockSize_3();
- return ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)L_1))/(int32_t)L_2));
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::Truncate(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsMac_Truncate_m829913CB5D97DBC33EA50648981FC92B8AA799F8 (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bs0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (bs.Length <= macLength)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___bs0;
- NullCheck(L_0);
- int32_t L_1 = __this->get_macLength_5();
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length)))) > ((int32_t)L_1)))
- {
- goto IL_000d;
- }
- }
- {
- // return bs;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___bs0;
- return L_2;
- }
- IL_000d:
- {
- // return Arrays.CopyOf(bs, macLength);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___bs0;
- int32_t L_4 = __this->get_macLength_5();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = Arrays_CopyOf_m2B8A6EDB7EB962FAA8DC4F8C0F8511C0102C4872(L_3, L_4, /*hidden argument*/NULL);
- return L_5;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNoCloseNotifyException::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5 (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : base("No close_notify alert received before connection closed")
- EndOfStreamException__ctor_m62AD97E22305B690B74C4EA6E3EAC36D10CE3800(__this, _stringLiteralA30DFF2BDE53E1202C2E998E4DAC5C19DE45989B, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCipher__ctor_mA10A43962F30E1B449687DC1A690FC7DC8254EF3 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, RuntimeObject* ___context0, const RuntimeMethod* method)
- {
- {
- // public TlsNullCipher(TlsContext context)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.context = context;
- RuntimeObject* L_0 = ___context0;
- __this->set_context_0(L_0);
- // this.writeMac = null;
- __this->set_writeMac_1((TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL);
- // this.readMac = null;
- __this->set_readMac_2((TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL);
- // }
- return;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, RuntimeObject* ___context0, RuntimeObject* ___clientWriteDigest1, RuntimeObject* ___serverWriteDigest2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_0 = NULL;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * V_1 = NULL;
- int32_t V_2 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- int32_t V_4 = 0;
- {
- // public TlsNullCipher(TlsContext context, IDigest clientWriteDigest, IDigest serverWriteDigest)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // if ((clientWriteDigest == null) != (serverWriteDigest == null))
- RuntimeObject* L_0 = ___clientWriteDigest1;
- RuntimeObject* L_1 = ___serverWriteDigest2;
- if ((((int32_t)((((RuntimeObject*)(RuntimeObject*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)) == ((int32_t)((((RuntimeObject*)(RuntimeObject*)L_1) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0))))
- {
- goto IL_0018;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var)));
- }
- IL_0018:
- {
- // this.context = context;
- RuntimeObject* L_3 = ___context0;
- __this->set_context_0(L_3);
- // TlsMac clientWriteMac = null, serverWriteMac = null;
- V_0 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL;
- // TlsMac clientWriteMac = null, serverWriteMac = null;
- V_1 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)NULL;
- // if (clientWriteDigest != null)
- RuntimeObject* L_4 = ___clientWriteDigest1;
- if (!L_4)
- {
- goto IL_0084;
- }
- }
- {
- // int key_block_size = clientWriteDigest.GetDigestSize()
- // + serverWriteDigest.GetDigestSize();
- RuntimeObject* L_5 = ___clientWriteDigest1;
- NullCheck(L_5);
- int32_t L_6;
- L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_5);
- RuntimeObject* L_7 = ___serverWriteDigest2;
- NullCheck(L_7);
- int32_t L_8;
- L_8 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_7);
- V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_8));
- // byte[] key_block = TlsUtilities.CalculateKeyBlock(context, key_block_size);
- RuntimeObject* L_9 = ___context0;
- int32_t L_10 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
- L_11 = TlsUtilities_CalculateKeyBlock_m7FDE8AFE57AB0BD5B8ACBC7B39E899D56766603F(L_9, L_10, /*hidden argument*/NULL);
- V_3 = L_11;
- // int offset = 0;
- V_4 = 0;
- // clientWriteMac = new TlsMac(context, clientWriteDigest, key_block, offset,
- // clientWriteDigest.GetDigestSize());
- RuntimeObject* L_12 = ___context0;
- RuntimeObject* L_13 = ___clientWriteDigest1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_3;
- int32_t L_15 = V_4;
- RuntimeObject* L_16 = ___clientWriteDigest1;
- NullCheck(L_16);
- int32_t L_17;
- L_17 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_16);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_18 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_18, L_12, L_13, L_14, L_15, L_17, /*hidden argument*/NULL);
- V_0 = L_18;
- // offset += clientWriteDigest.GetDigestSize();
- int32_t L_19 = V_4;
- RuntimeObject* L_20 = ___clientWriteDigest1;
- NullCheck(L_20);
- int32_t L_21;
- L_21 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_20);
- V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_21));
- // serverWriteMac = new TlsMac(context, serverWriteDigest, key_block, offset,
- // serverWriteDigest.GetDigestSize());
- RuntimeObject* L_22 = ___context0;
- RuntimeObject* L_23 = ___serverWriteDigest2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_3;
- int32_t L_25 = V_4;
- RuntimeObject* L_26 = ___serverWriteDigest2;
- NullCheck(L_26);
- int32_t L_27;
- L_27 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_26);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_28 = (TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C *)il2cpp_codegen_object_new(TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C_il2cpp_TypeInfo_var);
- TlsMac__ctor_m83D0DB005E17D50C2451C8D5D2BD32E683DD653D(L_28, L_22, L_23, L_24, L_25, L_27, /*hidden argument*/NULL);
- V_1 = L_28;
- // offset += serverWriteDigest.GetDigestSize();
- int32_t L_29 = V_4;
- RuntimeObject* L_30 = ___serverWriteDigest2;
- NullCheck(L_30);
- int32_t L_31;
- L_31 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest::GetDigestSize() */, IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var, L_30);
- V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)L_31));
- // if (offset != key_block_size)
- int32_t L_32 = V_4;
- int32_t L_33 = V_2;
- if ((((int32_t)L_32) == ((int32_t)L_33)))
- {
- goto IL_0084;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_34 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_34, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher__ctor_m258C54864F3D79130CAD7536DD60CAAE3E3F8EE9_RuntimeMethod_var)));
- }
- IL_0084:
- {
- // if (context.IsServer)
- RuntimeObject* L_35 = ___context0;
- NullCheck(L_35);
- bool L_36;
- L_36 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_35);
- if (!L_36)
- {
- goto IL_009b;
- }
- }
- {
- // writeMac = serverWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_37 = V_1;
- __this->set_writeMac_1(L_37);
- // readMac = clientWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_38 = V_0;
- __this->set_readMac_2(L_38);
- // }
- return;
- }
- IL_009b:
- {
- // writeMac = clientWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_39 = V_0;
- __this->set_writeMac_1(L_39);
- // readMac = serverWriteMac;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_40 = V_1;
- __this->set_readMac_2(L_40);
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::GetPlaintextLimit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsNullCipher_GetPlaintextLimit_mCD6ADA5F6519F87213A6407051DD6F3A482985F5 (TlsNullCipher_t9360870BA0FFF0F96FFE5C77DC5F3A1EE59F73C3 * __this, int32_t ___ciphertextLimit0, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // int result = ciphertextLimit;
- int32_t L_0 = ___ciphertextLimit0;
- V_0 = L_0;
- // if (writeMac != null)
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_1 = __this->get_writeMac_1();
- if (!L_1)
- {
- goto IL_0018;
- }
- }
- {
- // result -= writeMac.Size;
- int32_t L_2 = V_0;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_3 = __this->get_writeMac_1();
- NullCheck(L_3);
- int32_t L_4;
- L_4 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_3);
- V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_4));
- }
- IL_0018:
- {
- // return result;
- int32_t L_5 = V_0;
- return L_5;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::EncodePlaintext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- {
- // if (writeMac == null)
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_writeMac_1();
- if (L_0)
- {
- goto IL_0016;
- }
- }
- {
- // return Arrays.CopyOfRange(plaintext, offset, offset + len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___plaintext2;
- int32_t L_2 = ___offset3;
- int32_t L_3 = ___offset3;
- int32_t L_4 = ___len4;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- 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);
- return L_5;
- }
- IL_0016:
- {
- // byte[] mac = writeMac.CalculateMac(seqNo, type, plaintext, offset, len);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_6 = __this->get_writeMac_1();
- int64_t L_7 = ___seqNo0;
- uint8_t L_8 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = ___plaintext2;
- int32_t L_10 = ___offset3;
- int32_t L_11 = ___len4;
- NullCheck(L_6);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
- 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);
- V_0 = L_12;
- // byte[] ciphertext = new byte[len + mac.Length];
- int32_t L_13 = ___len4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = V_0;
- NullCheck(L_14);
- 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))))));
- V_1 = L_15;
- // Array.Copy(plaintext, offset, ciphertext, 0, len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___plaintext2;
- int32_t L_17 = ___offset3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = V_1;
- int32_t L_19 = ___len4;
- Array_Copy_m3F127FFB5149532135043FFE285F9177C80CB877((RuntimeArray *)(RuntimeArray *)L_16, L_17, (RuntimeArray *)(RuntimeArray *)L_18, 0, L_19, /*hidden argument*/NULL);
- // Array.Copy(mac, 0, ciphertext, len, mac.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_1;
- int32_t L_22 = ___len4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_0;
- NullCheck(L_23);
- 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);
- // return ciphertext;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_24 = V_1;
- return L_24;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCipher::DecodeCiphertext(System.Int64,System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- {
- // if (readMac == null)
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_0 = __this->get_readMac_2();
- if (L_0)
- {
- goto IL_0016;
- }
- }
- {
- // return Arrays.CopyOfRange(ciphertext, offset, offset + len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___ciphertext2;
- int32_t L_2 = ___offset3;
- int32_t L_3 = ___offset3;
- int32_t L_4 = ___len4;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- 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);
- return L_5;
- }
- IL_0016:
- {
- // int macSize = readMac.Size;
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_6 = __this->get_readMac_2();
- NullCheck(L_6);
- int32_t L_7;
- L_7 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsMac::get_Size() */, L_6);
- V_0 = L_7;
- // if (len < macSize)
- int32_t L_8 = ___len4;
- int32_t L_9 = V_0;
- if ((((int32_t)L_8) >= ((int32_t)L_9)))
- {
- goto IL_002f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var)));
- }
- IL_002f:
- {
- // int macInputLen = len - macSize;
- int32_t L_11 = ___len4;
- int32_t L_12 = V_0;
- V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12));
- // byte[] receivedMac = Arrays.CopyOfRange(ciphertext, offset + macInputLen, offset + len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = ___ciphertext2;
- int32_t L_14 = ___offset3;
- int32_t L_15 = V_1;
- int32_t L_16 = ___offset3;
- int32_t L_17 = ___len4;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
- 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);
- // byte[] computedMac = readMac.CalculateMac(seqNo, type, ciphertext, offset, macInputLen);
- TlsMac_tE19121C12EB7C6DB46620EF743BD20014DEA418C * L_19 = __this->get_readMac_2();
- int64_t L_20 = ___seqNo0;
- uint8_t L_21 = ___type1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = ___ciphertext2;
- int32_t L_23 = ___offset3;
- int32_t L_24 = V_1;
- NullCheck(L_19);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25;
- 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);
- V_2 = L_25;
- // if (!Arrays.ConstantTimeAreEqual(receivedMac, computedMac))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = V_2;
- bool L_27;
- L_27 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_18, L_26, /*hidden argument*/NULL);
- if (L_27)
- {
- goto IL_0065;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_record_mac);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_28 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_28, (uint8_t)((int32_t)20), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNullCipher_DecodeCiphertext_mEAC5D676E662204438760DA00840A900945B16D0_RuntimeMethod_var)));
- }
- IL_0065:
- {
- // return Arrays.CopyOfRange(ciphertext, offset, offset + macInputLen);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29 = ___ciphertext2;
- int32_t L_30 = ___offset3;
- int32_t L_31 = ___offset3;
- int32_t L_32 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33;
- 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);
- return L_33;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::Compress(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsNullCompression_Compress_mF2A987870A4EF9D3674A8F6F8347BE2EEBA57CEC (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- {
- // return output;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
- return L_0;
- }
- }
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::Decompress(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsNullCompression_Decompress_m2BFBD4F807AEF4051B5CD34FA9A8007E16162DEB (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- {
- // return output;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___output0;
- return L_0;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsNullCompression::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsNullCompression__ctor_mA3BE8683E03879ADCF8FB3BD60168B40BCF02604 (TlsNullCompression_t49470554C57A5B979EF77D41D47FD59BC5960B82 * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
- {
- {
- // : this(stream, stream, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___stream0;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom1;
- TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // private ByteQueue mApplicationDataQueue = new ByteQueue(0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_0, 0, /*hidden argument*/NULL);
- __this->set_mApplicationDataQueue_20(L_0);
- // private ByteQueue mAlertQueue = new ByteQueue(2);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_1, 2, /*hidden argument*/NULL);
- __this->set_mAlertQueue_21(L_1);
- // private ByteQueue mHandshakeQueue = new ByteQueue(0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_2 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_2, 0, /*hidden argument*/NULL);
- __this->set_mHandshakeQueue_22(L_2);
- // private volatile bool mAppDataSplitEnabled = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataSplitEnabled_29(1);
- // protected bool mBlocking = true;
- __this->set_mBlocking_46((bool)1);
- // public TlsProtocol(Stream input, Stream output, SecureRandom secureRandom)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.mRecordStream = new RecordStream(this, input, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_3 = ___input0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___output1;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E *)il2cpp_codegen_object_new(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
- RecordStream__ctor_m8712D6AB53DA18770CC24D867A4DD0BFCAA7E4CE(L_5, __this, L_3, L_4, /*hidden argument*/NULL);
- __this->set_mRecordStream_23(L_5);
- // this.mSecureRandom = secureRandom;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_6 = ___secureRandom2;
- __this->set_mSecureRandom_24(L_6);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // private ByteQueue mApplicationDataQueue = new ByteQueue(0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_0, 0, /*hidden argument*/NULL);
- __this->set_mApplicationDataQueue_20(L_0);
- // private ByteQueue mAlertQueue = new ByteQueue(2);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_1, 2, /*hidden argument*/NULL);
- __this->set_mAlertQueue_21(L_1);
- // private ByteQueue mHandshakeQueue = new ByteQueue(0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_2 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_mB75CFC462842EE908DF66DEBA400094149C0ADB3(L_2, 0, /*hidden argument*/NULL);
- __this->set_mHandshakeQueue_22(L_2);
- // private volatile bool mAppDataSplitEnabled = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataSplitEnabled_29(1);
- // protected bool mBlocking = true;
- __this->set_mBlocking_46((bool)1);
- // public TlsProtocol(SecureRandom secureRandom)
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- // this.mBlocking = false;
- __this->set_mBlocking_46((bool)0);
- // this.mInputBuffers = new ByteQueueStream();
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_3 = (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 *)il2cpp_codegen_object_new(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
- ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F(L_3, /*hidden argument*/NULL);
- __this->set_mInputBuffers_47(L_3);
- // this.mOutputBuffer = new ByteQueueStream();
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_4 = (ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 *)il2cpp_codegen_object_new(ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8_il2cpp_TypeInfo_var);
- ByteQueueStream__ctor_mC1C555169172A164C262C2EB2800FDF42235FE5F(L_4, /*hidden argument*/NULL);
- __this->set_mOutputBuffer_48(L_4);
- // this.mRecordStream = new RecordStream(this, mInputBuffers, mOutputBuffer);
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_5 = __this->get_mInputBuffers_47();
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_6 = __this->get_mOutputBuffer_48();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_7 = (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E *)il2cpp_codegen_object_new(RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E_il2cpp_TypeInfo_var);
- RecordStream__ctor_m8712D6AB53DA18770CC24D867A4DD0BFCAA7E4CE(L_7, __this, L_5, L_6, /*hidden argument*/NULL);
- __this->set_mRecordStream_23(L_7);
- // this.mSecureRandom = secureRandom;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_8 = ___secureRandom0;
- __this->set_mSecureRandom_24(L_8);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertMessage(System.Byte,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertLevel0, uint8_t ___alertDescription1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // Peer.NotifyAlertReceived(alertLevel, alertDescription);
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- uint8_t L_1 = ___alertLevel0;
- uint8_t L_2 = ___alertDescription1;
- NullCheck(L_0);
- 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);
- // if (alertLevel == AlertLevel.warning)
- uint8_t L_3 = ___alertLevel0;
- if ((!(((uint32_t)L_3) == ((uint32_t)1))))
- {
- goto IL_0019;
- }
- }
- {
- // HandleAlertWarningMessage(alertDescription);
- uint8_t L_4 = ___alertDescription1;
- VirtualActionInvoker1< uint8_t >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte) */, __this, L_4);
- // }
- return;
- }
- IL_0019:
- {
- // HandleFailure();
- VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
- // throw new TlsFatalAlertReceived(alertDescription);
- uint8_t L_5 = ___alertDescription1;
- TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D * L_6 = (TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlertReceived_t34549C6167C8F5648D5A5204ACCF334B3D6C117D_il2cpp_TypeInfo_var)));
- TlsFatalAlertReceived__ctor_mB00A7A9012D49FFFC2EB5194B855B2F167D0BF60(L_6, L_5, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_HandleAlertMessage_m59BB3AF06C47A79D5E3FA901F2AA4FB0416311E8_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleAlertWarningMessage(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
- {
- {
- // if (alertDescription == AlertDescription.close_notify)
- uint8_t L_0 = ___alertDescription0;
- if (L_0)
- {
- goto IL_001c;
- }
- }
- {
- // if (!mAppDataReady)
- bool L_1 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_1)
- {
- goto IL_0015;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E_RuntimeMethod_var)));
- }
- IL_0015:
- {
- // HandleClose(false);
- VirtualActionInvoker1< bool >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean) */, __this, (bool)0);
- }
- IL_001c:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleChangeCipherSpecMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleChangeCipherSpecMessage_m37F343D22750D6B1EF4DC9715E5EA02E12EF2A78 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleClose_m4B062570B314D8119922724475AC54575B727122 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___user_canceled0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD220CDF0569B079DA9155148CBAAD45EEA57A983);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE7ABFF9F62676E7B9EF244C1CD1C83FA6AD2F1B3);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!mClosed)
- bool L_0 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (L_0)
- {
- goto IL_0054;
- }
- }
- {
- // this.mClosed = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mClosed_26(1);
- // if (user_canceled && !mAppDataReady)
- bool L_1 = ___user_canceled0;
- if (!L_1)
- {
- goto IL_002d;
- }
- }
- {
- bool L_2 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_2)
- {
- goto IL_002d;
- }
- }
- {
- // RaiseAlertWarning(AlertDescription.user_canceled, "User canceled handshake");
- 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);
- }
- IL_002d:
- {
- // RaiseAlertWarning(AlertDescription.close_notify, "Connection closed");
- 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);
- // mRecordStream.SafeClose();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_3 = __this->get_mRecordStream_23();
- NullCheck(L_3);
- RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D(L_3, /*hidden argument*/NULL);
- // if (!mAppDataReady)
- bool L_4 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_4)
- {
- goto IL_0054;
- }
- }
- {
- // CleanupHandshake();
- VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
- }
- IL_0054:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleException(System.Byte,System.String,System.Exception)
- 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)
- {
- {
- // if (!mClosed)
- bool L_0 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (L_0)
- {
- goto IL_0019;
- }
- }
- {
- // RaiseAlertFatal(alertDescription, message, cause);
- uint8_t L_1 = ___alertDescription0;
- String_t* L_2 = ___message1;
- Exception_t * L_3 = ___cause2;
- 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);
- // HandleFailure();
- VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
- }
- IL_0019:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_HandleFailure_m4142BDAAB652F564F4610789361E9BBD65E5E4F3 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // this.mClosed = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mClosed_26(1);
- // this.mFailedWithError = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mFailedWithError_27(1);
- // InvalidateSession();
- VirtualActionInvoker0::Invoke(35 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession() */, __this);
- // mRecordStream.SafeClose();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
- NullCheck(L_0);
- RecordStream_SafeClose_mDA0C028AD0F3FE0DE951726FA49D5E645764892D(L_0, /*hidden argument*/NULL);
- // if (!mAppDataReady)
- bool L_1 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_1)
- {
- goto IL_0033;
- }
- }
- {
- // CleanupHandshake();
- VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
- }
- IL_0033:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // if (mSecurityParameters.maxFragmentLength >= 0)
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_0 = __this->get_mSecurityParameters_34();
- NullCheck(L_0);
- int16_t L_1 = L_0->get_maxFragmentLength_11();
- if ((((int32_t)L_1) < ((int32_t)0)))
- {
- goto IL_0048;
- }
- }
- {
- // if (!MaxFragmentLength.IsValid((byte)mSecurityParameters.maxFragmentLength))
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_2 = __this->get_mSecurityParameters_34();
- NullCheck(L_2);
- int16_t L_3 = L_2->get_maxFragmentLength_11();
- bool L_4;
- L_4 = MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79((uint8_t)((int32_t)((uint8_t)L_3)), /*hidden argument*/NULL);
- if (L_4)
- {
- goto IL_0029;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ApplyMaxFragmentLengthExtension_m2E33078701C4DDD129A5DEBA45C97FD4BFECB135_RuntimeMethod_var)));
- }
- IL_0029:
- {
- // int plainTextLimit = 1 << (8 + mSecurityParameters.maxFragmentLength);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = __this->get_mSecurityParameters_34();
- NullCheck(L_6);
- int16_t L_7 = L_6->get_maxFragmentLength_11();
- 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)))));
- // mRecordStream.SetPlaintextLimit(plainTextLimit);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = __this->get_mRecordStream_23();
- int32_t L_9 = V_0;
- NullCheck(L_8);
- RecordStream_SetPlaintextLimit_m51621D157A53043CCE5BC4BA4BA190391F5F695A(L_8, L_9, /*hidden argument*/NULL);
- }
- IL_0048:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CheckReceivedChangeCipherSpec(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___expected0, const RuntimeMethod* method)
- {
- {
- // if (expected != mReceivedChangeCipherSpec)
- bool L_0 = ___expected0;
- bool L_1 = __this->get_mReceivedChangeCipherSpec_42();
- if ((((int32_t)L_0) == ((int32_t)L_1)))
- {
- goto IL_0011;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CheckReceivedChangeCipherSpec_m5F6818716E3AC627F3E74DA22474D314086DA733_RuntimeMethod_var)));
- }
- IL_0011:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (this.mExpectedVerifyData != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mExpectedVerifyData_31();
- if (!L_0)
- {
- goto IL_001b;
- }
- }
- {
- // Arrays.Fill(this.mExpectedVerifyData, (byte)0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = __this->get_mExpectedVerifyData_31();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_1, (uint8_t)0, /*hidden argument*/NULL);
- // this.mExpectedVerifyData = null;
- __this->set_mExpectedVerifyData_31((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
- }
- IL_001b:
- {
- // this.mSecurityParameters.Clear();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_2 = __this->get_mSecurityParameters_34();
- NullCheck(L_2);
- VirtualActionInvoker0::Invoke(4 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::Clear() */, L_2);
- // this.mPeerCertificate = null;
- __this->set_mPeerCertificate_35((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E *)NULL);
- // this.mOfferedCipherSuites = null;
- __this->set_mOfferedCipherSuites_36((Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32*)NULL);
- // this.mOfferedCompressionMethods = null;
- __this->set_mOfferedCompressionMethods_37((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
- // this.mClientExtensions = null;
- __this->set_mClientExtensions_38((RuntimeObject*)NULL);
- // this.mServerExtensions = null;
- __this->set_mServerExtensions_39((RuntimeObject*)NULL);
- // this.mResumedSession = false;
- __this->set_mResumedSession_41((bool)0);
- // this.mReceivedChangeCipherSpec = false;
- __this->set_mReceivedChangeCipherSpec_42((bool)0);
- // this.mSecureRenegotiation = false;
- __this->set_mSecureRenegotiation_43((bool)0);
- // this.mAllowCertificateStatus = false;
- __this->set_mAllowCertificateStatus_44((bool)0);
- // this.mExpectSessionTicket = false;
- __this->set_mExpectSessionTicket_45((bool)0);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_002c;
- }
- }
- {
- goto IL_0022;
- }
- IL_000a:
- {
- // if (this.mClosed)
- bool L_1 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_1)
- {
- goto IL_001c;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_BlockForHandshake_mBF188551012AA9B5AECBDE0D8F66CBC3F31D2AAB_RuntimeMethod_var)));
- }
- IL_001c:
- {
- // SafeReadRecord();
- VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
- }
- IL_0022:
- {
- // while (this.mConnectionState != CS_END)
- int16_t L_3 = __this->get_mConnectionState_40();
- if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)16)))))
- {
- goto IL_000a;
- }
- }
- IL_002c:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CompleteHandshake_mB830BBF0FD0CD267BB24647A2635E32EB13FCDB5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- Exception_t * __last_unhandled_exception = 0;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- IL_0000:
- try
- {// begin try (depth: 1)
- {
- // this.mConnectionState = CS_END;
- __this->set_mConnectionState_40((int16_t)((int32_t)16));
- // this.mAlertQueue.Shrink();
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mAlertQueue_21();
- NullCheck(L_0);
- ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35(L_0, /*hidden argument*/NULL);
- // this.mHandshakeQueue.Shrink();
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = __this->get_mHandshakeQueue_22();
- NullCheck(L_1);
- ByteQueue_Shrink_m8CB81F5534274651F8EB86A4E1F079D325015F35(L_1, /*hidden argument*/NULL);
- // this.mRecordStream.FinaliseHandshake();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_2 = __this->get_mRecordStream_23();
- NullCheck(L_2);
- RecordStream_FinaliseHandshake_mAA8B7BFF6E2C1A47D90E9006B5DA0ACFAE6CB720(L_2, /*hidden argument*/NULL);
- // this.mAppDataSplitEnabled = !TlsUtilities.IsTlsV11(Context);
- RuntimeObject* L_3;
- L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_4;
- L_4 = TlsUtilities_IsTlsV11_m129A8077638636E94CF9DD7690266E46BC14801B(L_3, /*hidden argument*/NULL);
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataSplitEnabled_29(((((int32_t)L_4) == ((int32_t)0))? 1 : 0));
- // if (!mAppDataReady)
- bool L_5 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_5)
- {
- goto IL_0066;
- }
- }
- IL_0049:
- {
- // this.mAppDataReady = true;
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataReady_28(1);
- // if (mBlocking)
- bool L_6 = __this->get_mBlocking_46();
- if (!L_6)
- {
- goto IL_0066;
- }
- }
- IL_005a:
- {
- // this.mTlsStream = new TlsStream(this);
- TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * L_7 = (TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A *)il2cpp_codegen_object_new(TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A_il2cpp_TypeInfo_var);
- TlsStream__ctor_m5066C48F907ED400732E57F19BBF695296AE1EEF(L_7, __this, /*hidden argument*/NULL);
- __this->set_mTlsStream_25(L_7);
- }
- IL_0066:
- {
- // if (this.mTlsSession != null)
- RuntimeObject* L_8 = __this->get_mTlsSession_32();
- if (!L_8)
- {
- goto IL_012f;
- }
- }
- IL_0071:
- {
- // if (this.mSessionParameters == null)
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_9 = __this->get_mSessionParameters_33();
- if (L_9)
- {
- goto IL_011e;
- }
- }
- IL_007c:
- {
- // this.mSessionParameters = new SessionParameters.Builder()
- // .SetCipherSuite(this.mSecurityParameters.CipherSuite)
- // .SetCompressionAlgorithm(this.mSecurityParameters.CompressionAlgorithm)
- // .SetExtendedMasterSecret(this.mSecurityParameters.IsExtendedMasterSecret)
- // .SetMasterSecret(this.mSecurityParameters.MasterSecret)
- // .SetPeerCertificate(this.mPeerCertificate)
- // .SetPskIdentity(this.mSecurityParameters.PskIdentity)
- // .SetSrpIdentity(this.mSecurityParameters.SrpIdentity)
- // // TODO Consider filtering extensions that aren't relevant to resumed sessions
- // .SetServerExtensions(this.mServerExtensions)
- // .Build();
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_10 = (Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 *)il2cpp_codegen_object_new(Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917_il2cpp_TypeInfo_var);
- Builder__ctor_mE988E0105711C1C96058476761349B2017052378(L_10, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_11 = __this->get_mSecurityParameters_34();
- NullCheck(L_11);
- int32_t L_12;
- L_12 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_11);
- NullCheck(L_10);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_13;
- L_13 = Builder_SetCipherSuite_mC1F1EE4077A53B058D4A2C73DE40AF3B475F5B69(L_10, L_12, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_14 = __this->get_mSecurityParameters_34();
- NullCheck(L_14);
- uint8_t L_15;
- L_15 = VirtualFuncInvoker0< uint8_t >::Invoke(7 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CompressionAlgorithm() */, L_14);
- NullCheck(L_13);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_16;
- L_16 = Builder_SetCompressionAlgorithm_m45E921336E7C496AD188939DDB2D2AFBECADED87(L_13, L_15, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = __this->get_mSecurityParameters_34();
- NullCheck(L_17);
- bool L_18;
- L_18 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_17);
- NullCheck(L_16);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_19;
- L_19 = Builder_SetExtendedMasterSecret_m76C730F21B480C125DDD9BE793F7CB7F4C51A1E9(L_16, L_18, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_20 = __this->get_mSecurityParameters_34();
- NullCheck(L_20);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21;
- L_21 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_MasterSecret() */, L_20);
- NullCheck(L_19);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_22;
- L_22 = Builder_SetMasterSecret_m53CAAD98FA7CB308C43C591AFF63BB2E45995770(L_19, L_21, /*hidden argument*/NULL);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_23 = __this->get_mPeerCertificate_35();
- NullCheck(L_22);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_24;
- L_24 = Builder_SetPeerCertificate_mF41ED1BB97B965EEB5AD4D5F9E7492097BE9C20F(L_22, L_23, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_25 = __this->get_mSecurityParameters_34();
- NullCheck(L_25);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
- L_26 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(14 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_PskIdentity() */, L_25);
- NullCheck(L_24);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_27;
- L_27 = Builder_SetPskIdentity_m2DFDC64692A71857E58FD2F384023C4BCF209341(L_24, L_26, /*hidden argument*/NULL);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_28 = __this->get_mSecurityParameters_34();
- NullCheck(L_28);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
- L_29 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(15 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SrpIdentity() */, L_28);
- NullCheck(L_27);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_30;
- L_30 = Builder_SetSrpIdentity_m78995F21BE245249A3916F395564D0C89814AF9F(L_27, L_29, /*hidden argument*/NULL);
- RuntimeObject* L_31 = __this->get_mServerExtensions_39();
- NullCheck(L_30);
- Builder_tFA2A7025F9A18051CB6A31308D06C0A0E5CAE917 * L_32;
- L_32 = Builder_SetServerExtensions_mB625AB7258E79FA07D8493F614D2D8845938A9F4(L_30, L_31, /*hidden argument*/NULL);
- NullCheck(L_32);
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_33;
- L_33 = Builder_Build_m25E6C6D3E14797CC0156E1C9FC2062BE805CB2D0(L_32, /*hidden argument*/NULL);
- __this->set_mSessionParameters_33(L_33);
- // this.mTlsSession = new TlsSessionImpl(this.mTlsSession.SessionID, this.mSessionParameters);
- RuntimeObject* L_34 = __this->get_mTlsSession_32();
- NullCheck(L_34);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
- 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);
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_36 = __this->get_mSessionParameters_33();
- TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 * L_37 = (TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2 *)il2cpp_codegen_object_new(TlsSessionImpl_tF4C93BBC90100A83C866B22818E82A3D9CD73DB2_il2cpp_TypeInfo_var);
- TlsSessionImpl__ctor_m4DCD26F01B89986B91993F64F549C12D118AC86B(L_37, L_35, L_36, /*hidden argument*/NULL);
- __this->set_mTlsSession_32(L_37);
- }
- IL_011e:
- {
- // ContextAdmin.SetResumableSession(this.mTlsSession);
- AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_38;
- L_38 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
- RuntimeObject* L_39 = __this->get_mTlsSession_32();
- NullCheck(L_38);
- 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);
- }
- IL_012f:
- {
- // Peer.NotifyHandshakeComplete();
- RuntimeObject* L_40;
- L_40 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_40);
- InterfaceActionInvoker0::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::NotifyHandshakeComplete() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_40);
- // }
- IL2CPP_LEAVE(0x143, FINALLY_013c);
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __last_unhandled_exception = (Exception_t *)e.ex;
- goto FINALLY_013c;
- }
- FINALLY_013c:
- {// begin finally (depth: 1)
- // CleanupHandshake();
- VirtualActionInvoker0::Invoke(16 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CleanupHandshake() */, __this);
- // }
- IL2CPP_END_FINALLY(316)
- }// end finally (depth: 1)
- IL2CPP_CLEANUP(316)
- {
- IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
- IL2CPP_JUMP_TBL(0x143, IL_0143)
- }
- IL_0143:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * V_0 = NULL;
- int32_t V_1 = 0;
- {
- uint8_t L_0 = ___protocol0;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)((int32_t)20))))
- {
- case 0:
- {
- goto IL_005c;
- }
- case 1:
- {
- goto IL_001e;
- }
- case 2:
- {
- goto IL_0067;
- }
- case 3:
- {
- goto IL_0034;
- }
- }
- }
- {
- goto IL_00c1;
- }
- IL_001e:
- {
- // mAlertQueue.AddData(buf, off, len);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = __this->get_mAlertQueue_21();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf1;
- int32_t L_3 = ___off2;
- int32_t L_4 = ___len3;
- NullCheck(L_1);
- ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
- // ProcessAlertQueue();
- TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8(__this, /*hidden argument*/NULL);
- // break;
- return;
- }
- IL_0034:
- {
- // if (!mAppDataReady)
- bool L_5 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_5)
- {
- goto IL_0046;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var)));
- }
- IL_0046:
- {
- // mApplicationDataQueue.AddData(buf, off, len);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_7 = __this->get_mApplicationDataQueue_20();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___buf1;
- int32_t L_9 = ___off2;
- int32_t L_10 = ___len3;
- NullCheck(L_7);
- ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
- // ProcessApplicationDataQueue();
- TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335(__this, /*hidden argument*/NULL);
- // break;
- return;
- }
- IL_005c:
- {
- // ProcessChangeCipherSpec(buf, off, len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___buf1;
- int32_t L_12 = ___off2;
- int32_t L_13 = ___len3;
- TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8(__this, L_11, L_12, L_13, /*hidden argument*/NULL);
- // break;
- return;
- }
- IL_0067:
- {
- // if (mHandshakeQueue.Available > 0)
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_14 = __this->get_mHandshakeQueue_22();
- NullCheck(L_14);
- int32_t L_15;
- L_15 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_14, /*hidden argument*/NULL);
- if ((((int32_t)L_15) <= ((int32_t)0)))
- {
- goto IL_0091;
- }
- }
- {
- // mHandshakeQueue.AddData(buf, off, len);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_16 = __this->get_mHandshakeQueue_22();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___buf1;
- int32_t L_18 = ___off2;
- int32_t L_19 = ___len3;
- NullCheck(L_16);
- ByteQueue_AddData_mA479ED80FB8807626D34788691C5E259CE8F5D58(L_16, L_17, L_18, L_19, /*hidden argument*/NULL);
- // ProcessHandshakeQueue(mHandshakeQueue);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_20 = __this->get_mHandshakeQueue_22();
- TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83(__this, L_20, /*hidden argument*/NULL);
- // }
- return;
- }
- IL_0091:
- {
- // ByteQueue tmpQueue = new ByteQueue(buf, off, len);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = ___buf1;
- int32_t L_22 = ___off2;
- int32_t L_23 = ___len3;
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_24 = (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 *)il2cpp_codegen_object_new(ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471_il2cpp_TypeInfo_var);
- ByteQueue__ctor_m0C89EBB061E9F38ED27DAD4475CFAAB2E586B7D4(L_24, L_21, L_22, L_23, /*hidden argument*/NULL);
- V_0 = L_24;
- // ProcessHandshakeQueue(tmpQueue);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_25 = V_0;
- TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83(__this, L_25, /*hidden argument*/NULL);
- // int remaining = tmpQueue.Available;
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_26 = V_0;
- NullCheck(L_26);
- int32_t L_27;
- L_27 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_26, /*hidden argument*/NULL);
- V_1 = L_27;
- // if (remaining > 0)
- int32_t L_28 = V_1;
- if ((((int32_t)L_28) <= ((int32_t)0)))
- {
- goto IL_00c9;
- }
- }
- {
- // mHandshakeQueue.AddData(buf, off + len - remaining, remaining);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_29 = __this->get_mHandshakeQueue_22();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = ___buf1;
- int32_t L_31 = ___off2;
- int32_t L_32 = ___len3;
- int32_t L_33 = V_1;
- int32_t L_34 = V_1;
- NullCheck(L_29);
- 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);
- // break;
- return;
- }
- IL_00c1:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_35, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessRecord_m6BF02DF6A0D9AA05270FD49A99E23BD0F1F9BA50_RuntimeMethod_var)));
- }
- IL_00c9:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessHandshakeQueue(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueue)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessHandshakeQueue_m91B013D2450214C8A512651553239F447A328C83 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * ___queue0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- uint8_t V_1 = 0x0;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_4 = NULL;
- RuntimeObject* V_5 = NULL;
- {
- goto IL_00b6;
- }
- IL_0005:
- {
- // byte[] beginning = new byte[4];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)4);
- V_0 = L_0;
- // queue.Read(beginning, 0, 4, 0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_1 = ___queue0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- NullCheck(L_1);
- ByteQueue_Read_mE15C131ABFE6BBCB9F6D2603B03791FB8ACCA1EA(L_1, L_2, 0, 4, 0, /*hidden argument*/NULL);
- // byte type = TlsUtilities.ReadUint8(beginning, 0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_4;
- L_4 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_3, 0, /*hidden argument*/NULL);
- V_1 = L_4;
- // int length = TlsUtilities.ReadUint24(beginning, 1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
- int32_t L_6;
- L_6 = TlsUtilities_ReadUint24_mE47D3CE63AF329C4F7204B2F1CE320BFC8159BA3(L_5, 1, /*hidden argument*/NULL);
- V_2 = L_6;
- // int totalLength = 4 + length;
- int32_t L_7 = V_2;
- V_3 = ((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)L_7));
- // if (queue.Available < totalLength)
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_8 = ___queue0;
- NullCheck(L_8);
- int32_t L_9;
- L_9 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_8, /*hidden argument*/NULL);
- int32_t L_10 = V_3;
- if ((((int32_t)L_9) < ((int32_t)L_10)))
- {
- goto IL_00c2;
- }
- }
- {
- // if (HandshakeType.hello_request != type)
- uint8_t L_11 = V_1;
- if (!L_11)
- {
- goto IL_009d;
- }
- }
- {
- // if (HandshakeType.finished == type)
- uint8_t L_12 = V_1;
- if ((!(((uint32_t)((int32_t)20)) == ((uint32_t)L_12))))
- {
- goto IL_007b;
- }
- }
- {
- // CheckReceivedChangeCipherSpec(true);
- VirtualActionInvoker1< bool >::Invoke(15 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CheckReceivedChangeCipherSpec(System.Boolean) */, __this, (bool)1);
- // TlsContext ctx = Context;
- RuntimeObject* L_13;
- L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- V_5 = L_13;
- // if (this.mExpectedVerifyData == null
- // && ctx.SecurityParameters.MasterSecret != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = __this->get_mExpectedVerifyData_31();
- if (L_14)
- {
- goto IL_008b;
- }
- }
- {
- RuntimeObject* L_15 = V_5;
- NullCheck(L_15);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_16;
- 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);
- NullCheck(L_16);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
- L_17 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(10 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_MasterSecret() */, L_16);
- if (!L_17)
- {
- goto IL_008b;
- }
- }
- {
- // this.mExpectedVerifyData = CreateVerifyData(!ctx.IsServer);
- RuntimeObject* L_18 = V_5;
- NullCheck(L_18);
- bool L_19;
- L_19 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_18);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20;
- 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));
- __this->set_mExpectedVerifyData_31(L_20);
- // }
- goto IL_008b;
- }
- IL_007b:
- {
- // CheckReceivedChangeCipherSpec(mConnectionState == CS_END);
- int16_t L_21 = __this->get_mConnectionState_40();
- 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));
- }
- IL_008b:
- {
- // queue.CopyTo(mRecordStream.HandshakeHashUpdater, totalLength);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_22 = ___queue0;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_23 = __this->get_mRecordStream_23();
- NullCheck(L_23);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_24;
- L_24 = RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline(L_23, /*hidden argument*/NULL);
- int32_t L_25 = V_3;
- NullCheck(L_22);
- ByteQueue_CopyTo_mD77BC0C4CEC7DC65E84CEF8FE8118341AC527B92(L_22, L_24, L_25, /*hidden argument*/NULL);
- }
- IL_009d:
- {
- // queue.RemoveData(4);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_26 = ___queue0;
- NullCheck(L_26);
- ByteQueue_RemoveData_m266F5BDC7CFC94D26B9EF74E1D26C8C212262F00(L_26, 4, /*hidden argument*/NULL);
- // MemoryStream buf = queue.ReadFrom(length);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_27 = ___queue0;
- int32_t L_28 = V_2;
- NullCheck(L_27);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_29;
- L_29 = ByteQueue_ReadFrom_m18A085C108194E880824DBE87A746A6A221FE80E(L_27, L_28, /*hidden argument*/NULL);
- V_4 = L_29;
- // HandleHandshakeMessage(type, buf);
- uint8_t L_30 = V_1;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_31 = V_4;
- 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);
- }
- IL_00b6:
- {
- // while (queue.Available >= 4)
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_32 = ___queue0;
- NullCheck(L_32);
- int32_t L_33;
- L_33 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_32, /*hidden argument*/NULL);
- if ((((int32_t)L_33) >= ((int32_t)4)))
- {
- goto IL_0005;
- }
- }
- IL_00c2:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessApplicationDataQueue()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessApplicationDataQueue_m88D042B5D52743F9F158AD2511E8217C57D11335 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessAlertQueue()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessAlertQueue_m737B5C0E23EF7D5C6BACE61A4E82811DF84DD7B8 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- uint8_t V_0 = 0x0;
- uint8_t V_1 = 0x0;
- {
- goto IL_001e;
- }
- IL_0002:
- {
- // byte[] alert = mAlertQueue.RemoveData(2, 0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mAlertQueue_21();
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = ByteQueue_RemoveData_m3162B7DD9CE22199A6AFC6F3F8FE27F4606622A4(L_0, 2, 0, /*hidden argument*/NULL);
- // byte alertLevel = alert[0];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = L_1;
- NullCheck(L_2);
- int32_t L_3 = 0;
- uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
- V_0 = L_4;
- // byte alertDescription = alert[1];
- NullCheck(L_2);
- int32_t L_5 = 1;
- uint8_t L_6 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
- V_1 = L_6;
- // HandleAlertMessage(alertLevel, alertDescription);
- uint8_t L_7 = V_0;
- uint8_t L_8 = V_1;
- 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);
- }
- IL_001e:
- {
- // while (mAlertQueue.Available >= 2)
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_9 = __this->get_mAlertQueue_21();
- NullCheck(L_9);
- int32_t L_10;
- L_10 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_9, /*hidden argument*/NULL);
- if ((((int32_t)L_10) >= ((int32_t)2)))
- {
- goto IL_0002;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessChangeCipherSpec(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- {
- // for (int i = 0; i < len; ++i)
- V_0 = 0;
- goto IL_0060;
- }
- IL_0004:
- {
- // byte message = TlsUtilities.ReadUint8(buf, off + i);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___buf0;
- int32_t L_1 = ___off1;
- int32_t L_2 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_3;
- L_3 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_0, ((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_2)), /*hidden argument*/NULL);
- // if (message != ChangeCipherSpec.change_cipher_spec)
- if ((((int32_t)L_3) == ((int32_t)1)))
- {
- goto IL_0018;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var)));
- }
- IL_0018:
- {
- // if (this.mReceivedChangeCipherSpec
- // || mAlertQueue.Available > 0
- // || mHandshakeQueue.Available > 0)
- bool L_5 = __this->get_mReceivedChangeCipherSpec_42();
- if (L_5)
- {
- goto IL_003c;
- }
- }
- {
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_6 = __this->get_mAlertQueue_21();
- NullCheck(L_6);
- int32_t L_7;
- L_7 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_6, /*hidden argument*/NULL);
- if ((((int32_t)L_7) > ((int32_t)0)))
- {
- goto IL_003c;
- }
- }
- {
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_8 = __this->get_mHandshakeQueue_22();
- NullCheck(L_8);
- int32_t L_9;
- L_9 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_8, /*hidden argument*/NULL);
- if ((((int32_t)L_9) <= ((int32_t)0)))
- {
- goto IL_0044;
- }
- }
- IL_003c:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessChangeCipherSpec_m89BC49143EDB031FA5F2F11B5AF4850F62A425C8_RuntimeMethod_var)));
- }
- IL_0044:
- {
- // mRecordStream.ReceivedReadCipherSpec();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_11 = __this->get_mRecordStream_23();
- NullCheck(L_11);
- RecordStream_ReceivedReadCipherSpec_m32F30B23085A98C4AF5E08370E73B25D88BEA901(L_11, /*hidden argument*/NULL);
- // this.mReceivedChangeCipherSpec = true;
- __this->set_mReceivedChangeCipherSpec_42((bool)1);
- // HandleChangeCipherSpecMessage();
- VirtualActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleChangeCipherSpecMessage() */, __this);
- // for (int i = 0; i < len; ++i)
- int32_t L_12 = V_0;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
- }
- IL_0060:
- {
- // for (int i = 0; i < len; ++i)
- int32_t L_13 = V_0;
- int32_t L_14 = ___len2;
- if ((((int32_t)L_13) < ((int32_t)L_14)))
- {
- goto IL_0004;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_ApplicationDataAvailable_mA0AFAE49A5E9BAAA81D9B5BDDED72D724B069B00 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // return mApplicationDataQueue.Available;
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_0 = __this->get_mApplicationDataQueue_20();
- NullCheck(L_0);
- int32_t L_1;
- L_1 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadApplicationData(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (len < 1)
- int32_t L_0 = ___len2;
- if ((((int32_t)L_0) >= ((int32_t)1)))
- {
- goto IL_0042;
- }
- }
- {
- // return 0;
- return 0;
- }
- IL_0006:
- {
- // if (this.mClosed)
- bool L_1 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_1)
- {
- goto IL_003c;
- }
- }
- {
- // if (this.mFailedWithError)
- bool L_2 = __this->get_mFailedWithError_27();
- il2cpp_codegen_memory_barrier();
- if (!L_2)
- {
- goto IL_0025;
- }
- }
- {
- // throw new IOException("Cannot read application data on failed TLS connection");
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
- IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral0CDD452B2C2336D2C4DE572858BA380389E9CC5B)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var)));
- }
- IL_0025:
- {
- // if (!mAppDataReady)
- bool L_4 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_4)
- {
- goto IL_003a;
- }
- }
- {
- // throw new InvalidOperationException("Cannot read application data until initial handshake completed.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_5 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_5, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2F72190F9E764CFA6673369A9C490B95A085AFF0)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadApplicationData_mB4AB60B0EB24CFF92635B1C3CF8AF70CE1B4EACF_RuntimeMethod_var)));
- }
- IL_003a:
- {
- // return 0;
- return 0;
- }
- IL_003c:
- {
- // SafeReadRecord();
- VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
- }
- IL_0042:
- {
- // while (mApplicationDataQueue.Available == 0)
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_6 = __this->get_mApplicationDataQueue_20();
- NullCheck(L_6);
- int32_t L_7;
- L_7 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_6, /*hidden argument*/NULL);
- if (!L_7)
- {
- goto IL_0006;
- }
- }
- {
- // len = System.Math.Min(len, mApplicationDataQueue.Available);
- int32_t L_8 = ___len2;
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_9 = __this->get_mApplicationDataQueue_20();
- NullCheck(L_9);
- int32_t L_10;
- L_10 = ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline(L_9, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_11;
- L_11 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_8, L_10, /*hidden argument*/NULL);
- ___len2 = L_11;
- // mApplicationDataQueue.RemoveData(buf, offset, len, 0);
- ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * L_12 = __this->get_mApplicationDataQueue_20();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = ___buf0;
- int32_t L_14 = ___offset1;
- int32_t L_15 = ___len2;
- NullCheck(L_12);
- ByteQueue_RemoveData_m55688B85979D2459B82FE58673243941E1B3DCE5(L_12, L_13, L_14, L_15, 0, /*hidden argument*/NULL);
- // return len;
- int32_t L_16 = ___len2;
- return L_16;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeCheckRecordHeader(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___recordHeader0, const RuntimeMethod* method)
- {
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
- Exception_t * V_2 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- IL_0000:
- try
- {// begin try (depth: 1)
- // mRecordStream.CheckRecordHeader(recordHeader);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___recordHeader0;
- NullCheck(L_0);
- RecordStream_CheckRecordHeader_m29044432FF8CD46B58BFE538261A9372A9B1CCAE(L_0, L_1, /*hidden argument*/NULL);
- // }
- goto IL_004c;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_000e;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0023;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0034;
- }
- throw e;
- }
- CATCH_000e:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
- // catch (TlsFatalAlert e)
- V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
- // HandleException(e.AlertDescription, "Failed to read record", e);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = V_0;
- NullCheck(L_2);
- uint8_t L_3;
- L_3 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_2);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = V_0;
- 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);
- // throw e;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = V_0;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_0023:
- {// begin catch(System.IO.IOException)
- // catch (IOException e)
- V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
- // HandleException(AlertDescription.internal_error, "Failed to read record", e);
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_6 = V_1;
- 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);
- // throw e;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_7 = V_1;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_0034:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // HandleException(AlertDescription.internal_error, "Failed to read record", e);
- Exception_t * L_8 = V_2;
- 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);
- // throw new TlsFatalAlert(AlertDescription.internal_error, e);
- Exception_t * L_9 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_10, (uint8_t)((int32_t)80), L_9, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeCheckRecordHeader_mA7DE51D7A25C81993408BF91167409BF0A5EE615_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_004c:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
- Exception_t * V_2 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
- IL_0000:
- try
- {// begin try (depth: 1)
- {
- // if (mRecordStream.ReadRecord())
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
- NullCheck(L_0);
- bool L_1;
- L_1 = RecordStream_ReadRecord_mFACDFFD3F4C551076A0E33FA9F088F5D8E3FE914(L_0, /*hidden argument*/NULL);
- if (!L_1)
- {
- goto IL_000f;
- }
- }
- IL_000d:
- {
- // return;
- goto IL_006e;
- }
- IL_000f:
- {
- // if (!mAppDataReady)
- bool L_2 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_2)
- {
- goto IL_0021;
- }
- }
- IL_0019:
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
- }
- IL_0021:
- {
- // }
- goto IL_0062;
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0023;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0024;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0039;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_004a;
- }
- throw e;
- }
- CATCH_0023:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlertReceived)
- // throw e;
- 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)));
- }// end catch (depth: 1)
- CATCH_0024:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
- // catch (TlsFatalAlert e)
- V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
- // HandleException(e.AlertDescription, "Failed to read record", e);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = V_0;
- NullCheck(L_4);
- uint8_t L_5;
- L_5 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_4);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = V_0;
- 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);
- // throw e;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = V_0;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_0039:
- {// begin catch(System.IO.IOException)
- // catch (IOException e)
- V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
- // HandleException(AlertDescription.internal_error, "Failed to read record", e);
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_8 = V_1;
- 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);
- // throw e;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_9 = V_1;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_004a:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // HandleException(AlertDescription.internal_error, "Failed to read record", e);
- Exception_t * L_10 = V_2;
- 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);
- // throw new TlsFatalAlert(AlertDescription.internal_error, e);
- Exception_t * L_11 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)80), L_11, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0062:
- {
- // HandleFailure();
- VirtualActionInvoker0::Invoke(12 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleFailure() */, __this);
- // throw new TlsNoCloseNotifyException();
- TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * L_13 = (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var)));
- TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5(L_13, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeReadRecord_mEEE475085B7CE83A4A36C0E7D265C0107FCDEC6F_RuntimeMethod_var)));
- }
- IL_006e:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeWriteRecord(System.Byte,System.Byte[],System.Int32,System.Int32)
- 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)
- {
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * V_0 = NULL;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * V_1 = NULL;
- Exception_t * V_2 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- IL_0000:
- try
- {// begin try (depth: 1)
- // mRecordStream.WriteRecord(type, buf, offset, len);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
- uint8_t L_1 = ___type0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf1;
- int32_t L_3 = ___offset2;
- int32_t L_4 = ___len3;
- NullCheck(L_0);
- RecordStream_WriteRecord_m2B1018B88F35925BF5B33983BA1FA75F99FE110C(L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
- // }
- goto IL_0050;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0012;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0027;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0038;
- }
- throw e;
- }
- CATCH_0012:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
- // catch (TlsFatalAlert e)
- V_0 = ((TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)IL2CPP_GET_ACTIVE_EXCEPTION(TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *));
- // HandleException(e.AlertDescription, "Failed to write record", e);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = V_0;
- NullCheck(L_5);
- uint8_t L_6;
- L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(13 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert::get_AlertDescription() */, L_5);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = V_0;
- 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);
- // throw e;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = V_0;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_0027:
- {// begin catch(System.IO.IOException)
- // catch (IOException e)
- V_1 = ((IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)IL2CPP_GET_ACTIVE_EXCEPTION(IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *));
- // HandleException(AlertDescription.internal_error, "Failed to write record", e);
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_9 = V_1;
- 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);
- // throw e;
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_10 = V_1;
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
- }// end catch (depth: 1)
- CATCH_0038:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // HandleException(AlertDescription.internal_error, "Failed to write record", e);
- Exception_t * L_11 = V_2;
- 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);
- // throw new TlsFatalAlert(AlertDescription.internal_error, e);
- Exception_t * L_12 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_13 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_13, (uint8_t)((int32_t)80), L_12, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SafeWriteRecord_mAE52D617B735EA7F6DE537A7124A990A59E1DBE1_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0050:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteData(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- // if (this.mClosed)
- bool L_0 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_0)
- {
- goto IL_00aa;
- }
- }
- {
- // throw new IOException("Cannot write application data on closed/failed TLS connection");
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_1 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
- IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA04466B10E83D10F494805142BC26E01FC2FAB6E)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_WriteData_m2A2ECAABD80A44BCD27764FF07C7A9ADCF01419B_RuntimeMethod_var)));
- }
- IL_0018:
- {
- // if (this.mAppDataSplitEnabled)
- bool L_2 = __this->get_mAppDataSplitEnabled_29();
- il2cpp_codegen_memory_barrier();
- if (!L_2)
- {
- goto IL_007f;
- }
- }
- {
- // switch (mAppDataSplitMode)
- int32_t L_3 = __this->get_mAppDataSplitMode_30();
- il2cpp_codegen_memory_barrier();
- V_0 = L_3;
- int32_t L_4 = V_0;
- switch (L_4)
- {
- case 0:
- {
- goto IL_006a;
- }
- case 1:
- {
- goto IL_003f;
- }
- case 2:
- {
- goto IL_0050;
- }
- }
- }
- {
- goto IL_006a;
- }
- IL_003f:
- {
- // SafeWriteRecord(ContentType.application_data, TlsUtilities.EmptyBytes, 0, 0);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- 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);
- // break;
- goto IL_007f;
- }
- IL_0050:
- {
- // this.mAppDataSplitEnabled = false;
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataSplitEnabled_29(0);
- // SafeWriteRecord(ContentType.application_data, TlsUtilities.EmptyBytes, 0, 0);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- 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);
- // break;
- goto IL_007f;
- }
- IL_006a:
- {
- // SafeWriteRecord(ContentType.application_data, buf, offset, 1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___buf0;
- int32_t L_8 = ___offset1;
- 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);
- // ++offset;
- int32_t L_9 = ___offset1;
- ___offset1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
- // --len;
- int32_t L_10 = ___len2;
- ___len2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)1));
- }
- IL_007f:
- {
- // if (len > 0)
- int32_t L_11 = ___len2;
- if ((((int32_t)L_11) <= ((int32_t)0)))
- {
- goto IL_00aa;
- }
- }
- {
- // int toWrite = System.Math.Min(len, mRecordStream.GetPlaintextLimit());
- int32_t L_12 = ___len2;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_13 = __this->get_mRecordStream_23();
- NullCheck(L_13);
- int32_t L_14;
- L_14 = RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline(L_13, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_15;
- L_15 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_12, L_14, /*hidden argument*/NULL);
- V_1 = L_15;
- // SafeWriteRecord(ContentType.application_data, buf, offset, toWrite);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___buf0;
- int32_t L_17 = ___offset1;
- int32_t L_18 = V_1;
- 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);
- // offset += toWrite;
- int32_t L_19 = ___offset1;
- int32_t L_20 = V_1;
- ___offset1 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_20));
- // len -= toWrite;
- int32_t L_21 = ___len2;
- int32_t L_22 = V_1;
- ___len2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)L_22));
- }
- IL_00aa:
- {
- // while (len > 0)
- int32_t L_23 = ___len2;
- if ((((int32_t)L_23) > ((int32_t)0)))
- {
- goto IL_0018;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SetAppDataSplitMode(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, int32_t ___appDataSplitMode0, const RuntimeMethod* method)
- {
- {
- // if (appDataSplitMode < ADS_MODE_1_Nsub1 || appDataSplitMode > ADS_MODE_0_N_FIRSTONLY)
- int32_t L_0 = ___appDataSplitMode0;
- if ((((int32_t)L_0) < ((int32_t)0)))
- {
- goto IL_0008;
- }
- }
- {
- int32_t L_1 = ___appDataSplitMode0;
- if ((((int32_t)L_1) <= ((int32_t)2)))
- {
- goto IL_0024;
- }
- }
- IL_0008:
- {
- // throw new ArgumentException("Illegal appDataSplitMode mode: " + appDataSplitMode, "appDataSplitMode");
- String_t* L_2;
- L_2 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)(&___appDataSplitMode0), /*hidden argument*/NULL);
- String_t* L_3;
- L_3 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5250BA63551725419B95C420601F0567BA750D2F)), L_2, /*hidden argument*/NULL);
- ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_4 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
- ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_4, L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF2CCF1E7FF46A317D4B9ADE22CC36C02BB238336)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_SetAppDataSplitMode_m67711505208F0503829B35CA8A1169CF99412FAE_RuntimeMethod_var)));
- }
- IL_0024:
- {
- // this.mAppDataSplitMode = appDataSplitMode;
- int32_t L_5 = ___appDataSplitMode0;
- il2cpp_codegen_memory_barrier();
- __this->set_mAppDataSplitMode_30(L_5);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteHandshakeMessage(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- // if (len < 4)
- int32_t L_0 = ___len2;
- if ((((int32_t)L_0) >= ((int32_t)4)))
- {
- goto IL_000c;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_WriteHandshakeMessage_m59149BE5A93B0D651A1AA6F1460292D73C08F563_RuntimeMethod_var)));
- }
- IL_000c:
- {
- // byte type = TlsUtilities.ReadUint8(buf, off);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buf0;
- int32_t L_3 = ___off1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- uint8_t L_4;
- L_4 = TlsUtilities_ReadUint8_m18EBCC12EE3DB706396578F590D15BEF82339D38(L_2, L_3, /*hidden argument*/NULL);
- // if (type != HandshakeType.hello_request)
- if (!L_4)
- {
- goto IL_0028;
- }
- }
- {
- // mRecordStream.HandshakeHashUpdater.Write(buf, off, len);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = __this->get_mRecordStream_23();
- NullCheck(L_5);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6;
- L_6 = RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline(L_5, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___buf0;
- int32_t L_8 = ___off1;
- int32_t L_9 = ___len2;
- NullCheck(L_6);
- 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);
- }
- IL_0028:
- {
- // int total = 0;
- V_0 = 0;
- }
- IL_002a:
- {
- // int toWrite = System.Math.Min(len - total, mRecordStream.GetPlaintextLimit());
- int32_t L_10 = ___len2;
- int32_t L_11 = V_0;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_12 = __this->get_mRecordStream_23();
- NullCheck(L_12);
- int32_t L_13;
- L_13 = RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline(L_12, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_14;
- L_14 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)L_11)), L_13, /*hidden argument*/NULL);
- V_1 = L_14;
- // SafeWriteRecord(ContentType.handshake, buf, off + total, toWrite);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = ___buf0;
- int32_t L_16 = ___off1;
- int32_t L_17 = V_0;
- int32_t L_18 = V_1;
- 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);
- // total += toWrite;
- int32_t L_19 = V_0;
- int32_t L_20 = V_1;
- V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)L_20));
- // while (total < len);
- int32_t L_21 = V_0;
- int32_t L_22 = ___len2;
- if ((((int32_t)L_21) < ((int32_t)L_22)))
- {
- goto IL_002a;
- }
- }
- {
- // }
- return;
- }
- }
- // System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Stream()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // if (!mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use Stream in non-blocking mode! Use OfferInput()/OfferOutput() instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6B72FA35D4EDE9CDE7DB7A03F8847CC07EACFF93)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_get_Stream_m26DAEC37907FA9A8C009DBB1E717201A49F47E15_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // return this.mTlsStream;
- TlsStream_tE67EA4971A8FA0C9BFF2779F6B2DA94770376E5A * L_2 = __this->get_mTlsStream_25();
- return L_2;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CloseInput()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use CloseInput() in blocking mode!");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF43EEDBB08A088CD7B0F2B40B4DE6C94C2A1FB0C)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // if (mClosed)
- bool L_2 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_2)
- {
- goto IL_001e;
- }
- }
- {
- // return;
- return;
- }
- IL_001e:
- {
- // if (mInputBuffers.Available > 0)
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_3 = __this->get_mInputBuffers_47();
- NullCheck(L_3);
- int32_t L_4;
- L_4 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_3);
- if ((((int32_t)L_4) <= ((int32_t)0)))
- {
- goto IL_0032;
- }
- }
- {
- // throw new EndOfStreamException();
- EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 * L_5 = (EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&EndOfStreamException_tDA8337E29A941EFB3E26721033B1826C1ACB0059_il2cpp_TypeInfo_var)));
- EndOfStreamException__ctor_m2D2184E744B5B0762EA690CFD757F64E0BC6D539(L_5, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
- }
- IL_0032:
- {
- // if (!mAppDataReady)
- bool L_6 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_6)
- {
- goto IL_0044;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
- }
- IL_0044:
- {
- // throw new TlsNoCloseNotifyException();
- TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A * L_8 = (TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsNoCloseNotifyException_t1A82D53DA46B26B72A47AC1F86586F96C010BA1A_il2cpp_TypeInfo_var)));
- TlsNoCloseNotifyException__ctor_mC3617FDDFB1806166BB895B1C5D3EB52E5FBF6B5(L_8, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_CloseInput_mAF613EBA5D37244130AECD22A1992BB9021A3DF2_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::OfferInput(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use OfferInput() in blocking mode! Use Stream instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4E05F5E4D1E688C1EA07D3556298D06AC8B37E2B)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // if (mClosed)
- bool L_2 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_2)
- {
- goto IL_0028;
- }
- }
- {
- // throw new IOException("Connection is closed, cannot accept any more input");
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
- IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralAF56843B4028CD637013BC262E54C485F386B807)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
- }
- IL_0028:
- {
- // mInputBuffers.Write(input);
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_4 = __this->get_mInputBuffers_47();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___input0;
- NullCheck(L_4);
- VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(38 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::Write(System.Byte[]) */, L_4, L_5);
- goto IL_008c;
- }
- IL_0036:
- {
- // byte[] recordHeader = new byte[RecordStream.TLS_HEADER_SIZE];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)5);
- V_0 = L_6;
- // mInputBuffers.Peek(recordHeader);
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_7 = __this->get_mInputBuffers_47();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_0;
- NullCheck(L_7);
- int32_t L_9;
- 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);
- // int totalLength = TlsUtilities.ReadUint16(recordHeader, RecordStream.TLS_HEADER_LENGTH_OFFSET) + RecordStream.TLS_HEADER_SIZE;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_11;
- L_11 = TlsUtilities_ReadUint16_m1E5799E6E15832FAB71BF8BE758A1679A7BACE97(L_10, 3, /*hidden argument*/NULL);
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)5));
- // if (mInputBuffers.Available < totalLength)
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_12 = __this->get_mInputBuffers_47();
- NullCheck(L_12);
- int32_t L_13;
- L_13 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_12);
- int32_t L_14 = V_1;
- if ((((int32_t)L_13) >= ((int32_t)L_14)))
- {
- goto IL_006a;
- }
- }
- {
- // SafeCheckRecordHeader(recordHeader);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
- VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(21 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeCheckRecordHeader(System.Byte[]) */, __this, L_15);
- // break;
- return;
- }
- IL_006a:
- {
- // SafeReadRecord();
- VirtualActionInvoker0::Invoke(22 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SafeReadRecord() */, __this);
- // if (mClosed)
- bool L_16 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- if (!L_16)
- {
- goto IL_008c;
- }
- }
- {
- // if (mConnectionState != CS_END)
- int16_t L_17 = __this->get_mConnectionState_40();
- if ((((int32_t)L_17) == ((int32_t)((int32_t)16))))
- {
- goto IL_009a;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferInput_m7DECCFE871A36BD62C262C9AD3A6BE50A10F0438_RuntimeMethod_var)));
- }
- IL_008c:
- {
- // while (mInputBuffers.Available >= RecordStream.TLS_HEADER_SIZE)
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_19 = __this->get_mInputBuffers_47();
- NullCheck(L_19);
- int32_t L_20;
- L_20 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_19);
- if ((((int32_t)L_20) >= ((int32_t)5)))
- {
- goto IL_0036;
- }
- }
- IL_009a:
- {
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetAvailableInputBytes()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use GetAvailableInputBytes() in blocking mode! Use ApplicationDataAvailable() instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral9F89FBEA2D349D4A3C6BC61466CA166C572D5AC7)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetAvailableInputBytes_mF0185D6CA34985A5E8BFC20422B69E4290D3DAA2_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // return ApplicationDataAvailable();
- int32_t L_2;
- L_2 = VirtualFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable() */, __this);
- return L_2;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadInput(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use ReadInput() in blocking mode! Use Stream instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB0A3497D5BED2CF28F1583DF6E3B1EF34D0E5099)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadInput_m821F828B96E180B52B278F1E9D8CD2DCC55C7247_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // return ReadApplicationData(buffer, offset, System.Math.Min(length, ApplicationDataAvailable()));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___buffer0;
- int32_t L_3 = ___offset1;
- int32_t L_4 = ___length2;
- int32_t L_5;
- L_5 = VirtualFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplicationDataAvailable() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
- int32_t L_6;
- L_6 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(L_4, L_5, /*hidden argument*/NULL);
- int32_t L_7;
- 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);
- return L_7;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::OfferOutput(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use OfferOutput() in blocking mode! Use Stream instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2C4D71076EDBBCCA2E9D07081C00234E302AEF79)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // if (!mAppDataReady)
- bool L_2 = __this->get_mAppDataReady_28();
- il2cpp_codegen_memory_barrier();
- if (L_2)
- {
- goto IL_0028;
- }
- }
- {
- // throw new IOException("Application data cannot be sent until the handshake is complete!");
- IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA * L_3 = (IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&IOException_t09E5C01DA4748C36D703728C4668C5CDF3882EBA_il2cpp_TypeInfo_var)));
- IOException__ctor_m208E01C02FF2C1D6C5AA661A5816C744804E1690(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral01535C3A4EAE804DC02CB15CE4D83CCCFA82D872)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_OfferOutput_m865DF8A5DA4DCDC78F651C129CC8270FB7A6E2B2_RuntimeMethod_var)));
- }
- IL_0028:
- {
- // WriteData(buffer, offset, length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___buffer0;
- int32_t L_5 = ___offset1;
- int32_t L_6 = ___length2;
- 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);
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetAvailableOutputBytes()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use GetAvailableOutputBytes() in blocking mode! Use Stream instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral456163A21AEEF94F6A4BF779794AB694A79B40C1)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetAvailableOutputBytes_mA2C41E0ED010425E1CC95A720D02983010A48DA5_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // return mOutputBuffer.Available;
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_2 = __this->get_mOutputBuffer_48();
- NullCheck(L_2);
- int32_t L_3;
- L_3 = VirtualFuncInvoker0< int32_t >::Invoke(34 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.ByteQueueStream::get_Available() */, L_2);
- return L_3;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadOutput(System.Byte[],System.Int32,System.Int32)
- 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)
- {
- {
- // if (mBlocking)
- bool L_0 = __this->get_mBlocking_46();
- if (!L_0)
- {
- goto IL_0013;
- }
- }
- {
- // throw new InvalidOperationException("Cannot use ReadOutput() in blocking mode! Use Stream instead.");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral860394B6123C56DF23862D0E8E5C111DAA5373E7)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadOutput_mF64CE8A336C80C6C7F048A721A0F0F4A27B62744_RuntimeMethod_var)));
- }
- IL_0013:
- {
- // return mOutputBuffer.Read(buffer, offset, length);
- ByteQueueStream_t4D33684562A3B8282ABEF110EF63454A9E2B6CF8 * L_2 = __this->get_mOutputBuffer_48();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___buffer0;
- int32_t L_4 = ___offset1;
- int32_t L_5 = ___length2;
- NullCheck(L_2);
- int32_t L_6;
- 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);
- return L_6;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::InvalidateSession()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_InvalidateSession_mC918B95476759B90E3B82A7EBCDDBAE632D9860D (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (this.mSessionParameters != null)
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_0 = __this->get_mSessionParameters_33();
- if (!L_0)
- {
- goto IL_001a;
- }
- }
- {
- // this.mSessionParameters.Clear();
- SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * L_1 = __this->get_mSessionParameters_33();
- NullCheck(L_1);
- SessionParameters_Clear_m52D91A2DD15900F6C4754E12966AD000EC3A9232(L_1, /*hidden argument*/NULL);
- // this.mSessionParameters = null;
- __this->set_mSessionParameters_33((SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D *)NULL);
- }
- IL_001a:
- {
- // if (this.mTlsSession != null)
- RuntimeObject* L_2 = __this->get_mTlsSession_32();
- if (!L_2)
- {
- goto IL_0034;
- }
- }
- {
- // this.mTlsSession.Invalidate();
- RuntimeObject* L_3 = __this->get_mTlsSession_32();
- NullCheck(L_3);
- InterfaceActionInvoker0::Invoke(2 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSession::Invalidate() */, TlsSession_t4CB6C94A80A6FE3AF5678CBB7475A74FE61AE4F0_il2cpp_TypeInfo_var, L_3);
- // this.mTlsSession = null;
- __this->set_mTlsSession_32((RuntimeObject*)NULL);
- }
- IL_0034:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // if (mExpectedVerifyData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mExpectedVerifyData_31();
- if (L_0)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // byte[] verify_data = TlsUtilities.ReadFully(mExpectedVerifyData.Length, buf);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mExpectedVerifyData_31();
- NullCheck(L_2);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))), L_3, /*hidden argument*/NULL);
- V_0 = L_4;
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = ___buf0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_5, /*hidden argument*/NULL);
- // if (!Arrays.ConstantTimeAreEqual(mExpectedVerifyData, verify_data))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = __this->get_mExpectedVerifyData_31();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_8;
- L_8 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_6, L_7, /*hidden argument*/NULL);
- if (L_8)
- {
- goto IL_003b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decrypt_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_9 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_9, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessFinishedMessage_m993CE1164A76B6E690656B9EB667FCDE0D290ECA_RuntimeMethod_var)));
- }
- IL_003b:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertFatal(System.Byte,System.String,System.Exception)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
- {
- // Peer.NotifyAlertRaised(AlertLevel.fatal, alertDescription, message, cause);
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- uint8_t L_1 = ___alertDescription0;
- String_t* L_2 = ___message1;
- Exception_t * L_3 = ___cause2;
- NullCheck(L_0);
- 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);
- // byte[] alert = new byte[]{ AlertLevel.fatal, alertDescription };
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = L_4;
- NullCheck(L_5);
- (L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = L_5;
- uint8_t L_7 = ___alertDescription0;
- NullCheck(L_6);
- (L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_7);
- V_0 = L_6;
- }
- IL_001e:
- try
- {// begin try (depth: 1)
- // mRecordStream.WriteRecord(ContentType.alert, alert, 0, 2);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = __this->get_mRecordStream_23();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
- NullCheck(L_8);
- RecordStream_WriteRecord_m2B1018B88F35925BF5B33983BA1FA75F99FE110C(L_8, (uint8_t)((int32_t)21), L_9, 0, 2, /*hidden argument*/NULL);
- // }
- goto IL_0033;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0030;
- }
- throw e;
- }
- CATCH_0030:
- {// begin catch(System.Exception)
- // catch (Exception)
- // }
- IL2CPP_POP_ACTIVE_EXCEPTION();
- goto IL_0033;
- }// end catch (depth: 1)
- IL_0033:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RaiseAlertWarning(System.Byte,System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_RaiseAlertWarning_mED61DDB5A462E998045C3F978670243CADDD7F41 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, uint8_t ___alertDescription0, String_t* ___message1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // Peer.NotifyAlertRaised(AlertLevel.warning, alertDescription, message, null);
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- uint8_t L_1 = ___alertDescription0;
- String_t* L_2 = ___message1;
- NullCheck(L_0);
- 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);
- // byte[] alert = new byte[]{ AlertLevel.warning, alertDescription };
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = L_3;
- NullCheck(L_4);
- (L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = L_4;
- uint8_t L_6 = ___alertDescription0;
- NullCheck(L_5);
- (L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_6);
- V_0 = L_5;
- // SafeWriteRecord(ContentType.alert, alert, 0, 2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendCertificateMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendCertificateMessage_m1ABEFECA6EAF9A43502346A573E6B3231D41DDC5 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___certificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_1 = NULL;
- String_t* V_2 = NULL;
- {
- // if (certificate == null)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_0 = ___certificate0;
- if (L_0)
- {
- goto IL_000a;
- }
- }
- {
- // certificate = Certificate.EmptyChain;
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_1 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
- ___certificate0 = L_1;
- }
- IL_000a:
- {
- // if (certificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___certificate0;
- NullCheck(L_2);
- bool L_3;
- L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
- if (!L_3)
- {
- goto IL_004e;
- }
- }
- {
- // TlsContext context = Context;
- RuntimeObject* L_4;
- L_4 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- // if (!context.IsServer)
- NullCheck(L_4);
- bool L_5;
- L_5 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_4);
- if (L_5)
- {
- goto IL_004e;
- }
- }
- {
- // ProtocolVersion serverVersion = Context.ServerVersion;
- RuntimeObject* L_6;
- L_6 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_6);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_7;
- 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);
- V_1 = L_7;
- // if (serverVersion.IsSsl)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_8 = V_1;
- NullCheck(L_8);
- bool L_9;
- L_9 = ProtocolVersion_get_IsSsl_m0F595A68E77BC643D69FC18B6F9E5BB8EBADF08D(L_8, /*hidden argument*/NULL);
- if (!L_9)
- {
- goto IL_004e;
- }
- }
- {
- // string errorMessage = serverVersion.ToString() + " client didn't provide credentials";
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_10 = V_1;
- NullCheck(L_10);
- String_t* L_11;
- L_11 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_10);
- String_t* L_12;
- L_12 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_11, _stringLiteral4AE9D663642BCB30991B3A5F974139B350697BC0, /*hidden argument*/NULL);
- V_2 = L_12;
- // RaiseAlertWarning(AlertDescription.no_certificate, errorMessage);
- String_t* L_13 = V_2;
- 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);
- // return;
- return;
- }
- IL_004e:
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_14 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_14, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
- V_0 = L_14;
- // certificate.Encode(message);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_15 = ___certificate0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_16 = V_0;
- NullCheck(L_15);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(8 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::Encode(System.IO.Stream) */, L_15, L_16);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_17 = V_0;
- NullCheck(L_17);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_17, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendChangeCipherSpecMessage_m1B115C15327A011859E505F8D7E4F45B42EEF761 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] message = new byte[]{ 1 };
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = L_0;
- NullCheck(L_1);
- (L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
- V_0 = L_1;
- // SafeWriteRecord(ContentType.change_cipher_spec, message, 0, message.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- NullCheck(L_3);
- 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))));
- // mRecordStream.SentWriteCipherSpec();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_4 = __this->get_mRecordStream_23();
- NullCheck(L_4);
- RecordStream_SentWriteCipherSpec_mFD2E540F193E56A715D677C91BF149E829F0FC1A(L_4, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendFinishedMessage_mF2292798CB2E9BA055F658AF4CE7389DF2FD54E6 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] verify_data = CreateVerifyData(Context.IsServer);
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_0);
- bool L_1;
- L_1 = InterfaceFuncInvoker0< bool >::Invoke(3 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext::get_IsServer() */, TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var, L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
- L_2 = VirtualFuncInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, bool >::Invoke(43 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateVerifyData(System.Boolean) */, __this, L_1);
- V_0 = L_2;
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.finished, verify_data.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- NullCheck(L_3);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_4 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852(L_4, (uint8_t)((int32_t)20), ((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))), /*hidden argument*/NULL);
- // message.Write(verify_data, 0, verify_data.Length);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_5 = L_4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- NullCheck(L_7);
- NullCheck(L_5);
- 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))));
- // message.WriteToRecordStream(this);
- NullCheck(L_5);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_5, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_SendSupplementalDataMessage_m1165AAE3040CA98F32198CAF6AF86785FC105AC9 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, RuntimeObject* ___supplementalData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.supplemental_data);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)23), /*hidden argument*/NULL);
- // WriteSupplementalData(message, supplementalData);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_1 = L_0;
- RuntimeObject* L_2 = ___supplementalData0;
- TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0(L_1, L_2, /*hidden argument*/NULL);
- // message.WriteToRecordStream(this);
- NullCheck(L_1);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_1, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateVerifyData(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateVerifyData_mA586C14BC166364C79168E59BCF46E26E7FCD955 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, bool ___isServer0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084);
- s_Il2CppMethodInitialized = true;
- }
- String_t* V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- RuntimeObject* G_B2_0 = NULL;
- RuntimeObject* G_B1_0 = NULL;
- String_t* G_B3_0 = NULL;
- RuntimeObject* G_B3_1 = NULL;
- RuntimeObject* G_B5_0 = NULL;
- RuntimeObject* G_B4_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* G_B6_0 = NULL;
- RuntimeObject* G_B6_1 = NULL;
- {
- // TlsContext context = Context;
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- // string asciiLabel = isServer ? ExporterLabel.server_finished : ExporterLabel.client_finished;
- bool L_1 = ___isServer0;
- G_B1_0 = L_0;
- if (L_1)
- {
- G_B2_0 = L_0;
- goto IL_0010;
- }
- }
- {
- G_B3_0 = _stringLiteralE9EB7F6DC0891EC69352011CA6D5DEF0C0B81084;
- G_B3_1 = G_B1_0;
- goto IL_0015;
- }
- IL_0010:
- {
- G_B3_0 = _stringLiteral3B79EDA774A2169951FB22EA76BF0D73F00FE1BB;
- G_B3_1 = G_B2_0;
- }
- IL_0015:
- {
- V_0 = G_B3_0;
- // byte[] sslSender = isServer ? TlsUtilities.SSL_SERVER : TlsUtilities.SSL_CLIENT;
- bool L_2 = ___isServer0;
- G_B4_0 = G_B3_1;
- if (L_2)
- {
- G_B5_0 = G_B3_1;
- goto IL_0020;
- }
- }
- {
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_SSL_CLIENT_4();
- G_B6_0 = L_3;
- G_B6_1 = G_B4_0;
- goto IL_0025;
- }
- IL_0020:
- {
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_SSL_SERVER_5();
- G_B6_0 = L_4;
- G_B6_1 = G_B5_0;
- }
- IL_0025:
- {
- V_1 = G_B6_0;
- // byte[] hash = GetCurrentPrfHash(context, mRecordStream.HandshakeHash, sslSender);
- RuntimeObject* L_5 = G_B6_1;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_6 = __this->get_mRecordStream_23();
- NullCheck(L_6);
- RuntimeObject* L_7;
- L_7 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_6, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_5, L_7, L_8, /*hidden argument*/NULL);
- V_2 = L_9;
- // return TlsUtilities.CalculateVerifyData(context, asciiLabel, hash);
- String_t* L_10 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
- L_12 = TlsUtilities_CalculateVerifyData_m2DF91E1B5E4AB70894595689E772ACFC09D0DE73(L_5, L_10, L_11, /*hidden argument*/NULL);
- return L_12;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::Close()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_Close_mBEA4D8125D811421C8C630B552A35F4A5450B111 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // HandleClose(true);
- VirtualActionInvoker1< bool >::Invoke(10 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::HandleClose(System.Boolean) */, __this, (bool)1);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::Flush()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_Flush_m5F9E7D84B64445C075C014E9856A068BE770CD69 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // mRecordStream.Flush();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_0 = __this->get_mRecordStream_23();
- NullCheck(L_0);
- RecordStream_Flush_mA29E8F83F3B90192E971F3DC0CB33FDCABC9A542(L_0, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_IsClosed()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsProtocol_get_IsClosed_mEB605E7F119BEA3BE64FAB41350C37A2C280B420 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mClosed; }
- bool L_0 = __this->get_mClosed_26();
- il2cpp_codegen_memory_barrier();
- return L_0;
- }
- }
- // System.Int16 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessMaxFragmentLengthExtension(System.Collections.IDictionary,System.Collections.IDictionary,System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, RuntimeObject* ___clientExtensions0, RuntimeObject* ___serverExtensions1, uint8_t ___alertDescription2, const RuntimeMethod* method)
- {
- int16_t V_0 = 0;
- {
- // short maxFragmentLength = TlsExtensionsUtilities.GetMaxFragmentLengthExtension(serverExtensions);
- RuntimeObject* L_0 = ___serverExtensions1;
- int16_t L_1;
- L_1 = TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // if (maxFragmentLength >= 0)
- int16_t L_2 = V_0;
- if ((((int32_t)L_2) < ((int32_t)0)))
- {
- goto IL_002c;
- }
- }
- {
- // if (!MaxFragmentLength.IsValid((byte)maxFragmentLength)
- // || (!this.mResumedSession && maxFragmentLength != TlsExtensionsUtilities
- // .GetMaxFragmentLengthExtension(clientExtensions)))
- int16_t L_3 = V_0;
- bool L_4;
- L_4 = MaxFragmentLength_IsValid_m5D205F1963F7EA3C01A51D398AE66B34CF608A79((uint8_t)((int32_t)((uint8_t)L_3)), /*hidden argument*/NULL);
- if (!L_4)
- {
- goto IL_0025;
- }
- }
- {
- bool L_5 = __this->get_mResumedSession_41();
- if (L_5)
- {
- goto IL_002c;
- }
- }
- {
- int16_t L_6 = V_0;
- RuntimeObject* L_7 = ___clientExtensions0;
- int16_t L_8;
- L_8 = TlsExtensionsUtilities_GetMaxFragmentLengthExtension_m76BD5AE20A99F3EEC6AB1DFA0CFA19EBC1A6ACBF(L_7, /*hidden argument*/NULL);
- if ((((int32_t)L_6) == ((int32_t)L_8)))
- {
- goto IL_002c;
- }
- }
- IL_0025:
- {
- // throw new TlsFatalAlert(alertDescription);
- uint8_t L_9 = ___alertDescription2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, L_9, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ProcessMaxFragmentLengthExtension_mF0D24E79D0E0570D3F445CED9DD8E1818DED1787_RuntimeMethod_var)));
- }
- IL_002c:
- {
- // return maxFragmentLength;
- int16_t L_11 = V_0;
- return L_11;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24 (TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD7DAD16955D2DF014C7B8CD1EFB4EB61C01BABE4);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (TlsUtilities.IsSsl(Context))
- RuntimeObject* L_0;
- L_0 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_1;
- L_1 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_0, /*hidden argument*/NULL);
- if (!L_1)
- {
- goto IL_0015;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_RefuseRenegotiation_m79E1DAC5971849468EA1FBB3F36A3519E2BCDE24_RuntimeMethod_var)));
- }
- IL_0015:
- {
- // RaiseAlertWarning(AlertDescription.no_renegotiation, "Renegotiation not supported");
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::AssertEmpty(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- {
- // if (buf.Position < buf.Length)
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
- NullCheck(L_0);
- int64_t L_1;
- L_1 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_0);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
- NullCheck(L_2);
- int64_t L_3;
- L_3 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_2);
- if ((((int64_t)L_1) >= ((int64_t)L_3)))
- {
- goto IL_0016;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6_RuntimeMethod_var)));
- }
- IL_0016:
- {
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRandomBlock(System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63 (bool ___useGmtUnixTime0, RuntimeObject* ___randomGenerator1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IRandomGenerator_tA534F4AC93EEA5CDB578DDE58AE9A1E9C7B7487A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] result = new byte[32];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
- V_0 = L_0;
- // randomGenerator.NextBytes(result);
- RuntimeObject* L_1 = ___randomGenerator1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- NullCheck(L_1);
- 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);
- // if (useGmtUnixTime)
- bool L_3 = ___useGmtUnixTime0;
- if (!L_3)
- {
- goto IL_0019;
- }
- }
- {
- // TlsUtilities.WriteGmtUnixTime(result, 0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteGmtUnixTime_mFBD89415A70AA088F3A67E91356310E06277AA0D(L_4, 0, /*hidden argument*/NULL);
- }
- IL_0019:
- {
- // return result;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
- return L_5;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CreateRenegotiationInfo(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___renegotiated_connection0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EncodeOpaque8(renegotiated_connection);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___renegotiated_connection0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_EncodeOpaque8_mE549B2AED00C2DFF09A20DC7D56C7E0DB53B6066(L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::EstablishMasterSecret(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7 (RuntimeObject* ___context0, RuntimeObject* ___keyExchange1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- Exception_t * __last_unhandled_exception = 0;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // byte[] pre_master_secret = keyExchange.GeneratePremasterSecret();
- RuntimeObject* L_0 = ___keyExchange1;
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(14 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::GeneratePremasterSecret() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_0);
- V_0 = L_1;
- }
- IL_0007:
- try
- {// begin try (depth: 1)
- // context.SecurityParameters.masterSecret = TlsUtilities.CalculateMasterSecret(context, pre_master_secret);
- RuntimeObject* L_2 = ___context0;
- NullCheck(L_2);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_3;
- 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);
- RuntimeObject* L_4 = ___context0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6;
- L_6 = TlsUtilities_CalculateMasterSecret_mB85088F4CCA5E986737042327EE67F4DC64931EE(L_4, L_5, /*hidden argument*/NULL);
- NullCheck(L_3);
- L_3->set_masterSecret_5(L_6);
- // }
- IL2CPP_LEAVE(0x26, FINALLY_001b);
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __last_unhandled_exception = (Exception_t *)e.ex;
- goto FINALLY_001b;
- }
- FINALLY_001b:
- {// begin finally (depth: 1)
- {
- // if (pre_master_secret != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- if (!L_7)
- {
- goto IL_0025;
- }
- }
- IL_001e:
- {
- // Arrays.Fill(pre_master_secret, (byte)0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_8, (uint8_t)0, /*hidden argument*/NULL);
- }
- IL_0025:
- {
- // }
- IL2CPP_END_FINALLY(27)
- }
- }// end finally (depth: 1)
- IL2CPP_CLEANUP(27)
- {
- IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
- IL2CPP_JUMP_TBL(0x26, IL_0026)
- }
- IL_0026:
- {
- // }
- return;
- }
- }
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA (RuntimeObject* ___context0, RuntimeObject* ___handshakeHash1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___sslSender2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDigest_tB278FE56BD588CA024BB5476E2A7468F836C78C6_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- {
- // IDigest d = handshakeHash.ForkPrfHash();
- RuntimeObject* L_0 = ___handshakeHash1;
- NullCheck(L_0);
- RuntimeObject* L_1;
- 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);
- V_0 = L_1;
- // if (sslSender != null && TlsUtilities.IsSsl(context))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___sslSender2;
- if (!L_2)
- {
- goto IL_001d;
- }
- }
- {
- RuntimeObject* L_3 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_4;
- L_4 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_3, /*hidden argument*/NULL);
- if (!L_4)
- {
- goto IL_001d;
- }
- }
- {
- // d.BlockUpdate(sslSender, 0, sslSender.Length);
- RuntimeObject* L_5 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___sslSender2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___sslSender2;
- NullCheck(L_7);
- NullCheck(L_5);
- 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))));
- }
- IL_001d:
- {
- // return DigestUtilities.DoFinal(d);
- RuntimeObject* L_8 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(DigestUtilities_tB5A6CF632B0E12AB785E7F9D437596A3E2DC8127_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = DigestUtilities_DoFinal_m94875B084FCF4E6FE8C699429F94EC1CDE3F2CCC(L_8, /*hidden argument*/NULL);
- return L_9;
- }
- }
- // System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadExtensions(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649 (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- int32_t V_2 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- {
- // if (input.Position >= input.Length)
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___input0;
- NullCheck(L_0);
- int64_t L_1;
- L_1 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_0);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___input0;
- NullCheck(L_2);
- int64_t L_3;
- L_3 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_2);
- if ((((int64_t)L_1) < ((int64_t)L_3)))
- {
- goto IL_0010;
- }
- }
- {
- // return null;
- return (RuntimeObject*)NULL;
- }
- IL_0010:
- {
- // byte[] extBytes = TlsUtilities.ReadOpaque16(input);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_4, /*hidden argument*/NULL);
- // AssertEmpty(input);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = ___input0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_6, /*hidden argument*/NULL);
- // MemoryStream buf = new MemoryStream(extBytes, false);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_7, L_5, (bool)0, /*hidden argument*/NULL);
- V_0 = L_7;
- // IDictionary extensions = BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateHashtable();
- IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- RuntimeObject* L_8;
- L_8 = Platform_CreateHashtable_mC95944AF156429BA5DCBC1173539FC65A7782B06(/*hidden argument*/NULL);
- V_1 = L_8;
- goto IL_005c;
- }
- IL_002b:
- {
- // int extension_type = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_10;
- L_10 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_9, /*hidden argument*/NULL);
- V_2 = L_10;
- // byte[] extension_data = TlsUtilities.ReadOpaque16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_11 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
- L_12 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_11, /*hidden argument*/NULL);
- V_3 = L_12;
- // if (extensions.Contains(extension_type))
- RuntimeObject* L_13 = V_1;
- int32_t L_14 = V_2;
- int32_t L_15 = L_14;
- RuntimeObject * L_16 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_15);
- NullCheck(L_13);
- bool L_17;
- L_17 = InterfaceFuncInvoker1< bool, RuntimeObject * >::Invoke(4 /* System.Boolean System.Collections.IDictionary::Contains(System.Object) */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_13, L_16);
- if (!L_17)
- {
- goto IL_004f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_18 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_18, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649_RuntimeMethod_var)));
- }
- IL_004f:
- {
- // extensions.Add(extension_type, extension_data);
- RuntimeObject* L_19 = V_1;
- int32_t L_20 = V_2;
- int32_t L_21 = L_20;
- RuntimeObject * L_22 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_21);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_3;
- NullCheck(L_19);
- 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);
- }
- IL_005c:
- {
- // while (buf.Position < buf.Length)
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_24 = V_0;
- NullCheck(L_24);
- int64_t L_25;
- L_25 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_24);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_26 = V_0;
- NullCheck(L_26);
- int64_t L_27;
- L_27 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_26);
- if ((((int64_t)L_25) < ((int64_t)L_27)))
- {
- goto IL_002b;
- }
- }
- {
- // return extensions;
- RuntimeObject* L_28 = V_1;
- return L_28;
- }
- }
- // System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ReadSupplementalDataMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IList_tB15A9D6625D09661D6E47976BB626C703EC81910_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- int32_t V_2 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- {
- // byte[] supp_data = TlsUtilities.ReadOpaque24(input);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_ReadOpaque24_mAD1098801E362CB40F509F6BDB4107DB9F8B3F2B(L_0, /*hidden argument*/NULL);
- // AssertEmpty(input);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___input0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
- // MemoryStream buf = new MemoryStream(supp_data, false);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_1, (bool)0, /*hidden argument*/NULL);
- V_0 = L_3;
- // IList supplementalData = BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Platform.CreateArrayList();
- IL2CPP_RUNTIME_CLASS_INIT(Platform_t0EFEB39A6344675D077C7B85E0F7F00BDD996804_il2cpp_TypeInfo_var);
- RuntimeObject* L_4;
- L_4 = Platform_CreateArrayList_mDA08F8A3BC566FA8E0753B97D8B06F3EF26A4143(/*hidden argument*/NULL);
- V_1 = L_4;
- goto IL_0037;
- }
- IL_001b:
- {
- // int supp_data_type = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_6;
- L_6 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_5, /*hidden argument*/NULL);
- V_2 = L_6;
- // byte[] data = TlsUtilities.ReadOpaque16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
- L_8 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_7, /*hidden argument*/NULL);
- V_3 = L_8;
- // supplementalData.Add(new SupplementalDataEntry(supp_data_type, data));
- RuntimeObject* L_9 = V_1;
- int32_t L_10 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_3;
- SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * L_12 = (SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 *)il2cpp_codegen_object_new(SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
- SupplementalDataEntry__ctor_m5B61B00A2178D43BCF0783AB999DC08BFA76732F(L_12, L_10, L_11, /*hidden argument*/NULL);
- NullCheck(L_9);
- int32_t L_13;
- 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);
- }
- IL_0037:
- {
- // while (buf.Position < buf.Length)
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_14 = V_0;
- NullCheck(L_14);
- int64_t L_15;
- L_15 = VirtualFuncInvoker0< int64_t >::Invoke(11 /* System.Int64 System.IO.Stream::get_Position() */, L_14);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
- NullCheck(L_16);
- int64_t L_17;
- L_17 = VirtualFuncInvoker0< int64_t >::Invoke(10 /* System.Int64 System.IO.Stream::get_Length() */, L_16);
- if ((((int64_t)L_15) < ((int64_t)L_17)))
- {
- goto IL_001b;
- }
- }
- {
- // return supplementalData;
- RuntimeObject* L_18 = V_1;
- return L_18;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteExtensions(System.IO.Stream,System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_0, /*hidden argument*/NULL);
- // WriteSelectedExtensions(buf, extensions, true);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = L_0;
- RuntimeObject* L_2 = ___extensions1;
- TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5(L_1, L_2, (bool)1, /*hidden argument*/NULL);
- // WriteSelectedExtensions(buf, extensions, false);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = L_1;
- RuntimeObject* L_4 = ___extensions1;
- TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5(L_3, L_4, (bool)0, /*hidden argument*/NULL);
- // byte[] extBytes = buf.ToArray();
- NullCheck(L_3);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_3);
- // TlsUtilities.WriteOpaque16(extBytes, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_5, L_6, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSelectedExtensions(System.IO.Stream,System.Collections.IDictionary,System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSelectedExtensions_mAA1E1CEB59C8F8F788E14AAA627684E31C2EC5D5 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___extensions1, bool ___selectEmpty2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- int32_t V_1 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- RuntimeObject* V_3 = NULL;
- Exception_t * __last_unhandled_exception = 0;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // foreach (int extension_type in extensions.Keys)
- RuntimeObject* L_0 = ___extensions1;
- NullCheck(L_0);
- RuntimeObject* L_1;
- L_1 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Collections.ICollection System.Collections.IDictionary::get_Keys() */, IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var, L_0);
- NullCheck(L_1);
- RuntimeObject* L_2;
- L_2 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_1);
- V_0 = L_2;
- }
- IL_000c:
- try
- {// begin try (depth: 1)
- {
- goto IL_0048;
- }
- IL_000e:
- {
- // foreach (int extension_type in extensions.Keys)
- RuntimeObject* L_3 = V_0;
- NullCheck(L_3);
- RuntimeObject * L_4;
- L_4 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_3);
- V_1 = ((*(int32_t*)((int32_t*)UnBox(L_4, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var))));
- // byte[] extension_data = (byte[])extensions[extension_type];
- RuntimeObject* L_5 = ___extensions1;
- int32_t L_6 = V_1;
- int32_t L_7 = L_6;
- RuntimeObject * L_8 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_7);
- NullCheck(L_5);
- RuntimeObject * L_9;
- 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);
- V_2 = ((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)Castclass((RuntimeObject*)L_9, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var));
- // if (selectEmpty == (extension_data.Length == 0))
- bool L_10 = ___selectEmpty2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_2;
- NullCheck(L_11);
- if ((!(((uint32_t)L_10) == ((uint32_t)((((int32_t)(((RuntimeArray*)L_11)->max_length)) == ((int32_t)0))? 1 : 0)))))
- {
- goto IL_0048;
- }
- }
- IL_0034:
- {
- // TlsUtilities.CheckUint16(extension_type);
- int32_t L_12 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_12, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint16(extension_type, output);
- int32_t L_13 = V_1;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_14 = ___output0;
- TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_13, L_14, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque16(extension_data, output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_2;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___output0;
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_15, L_16, /*hidden argument*/NULL);
- }
- IL_0048:
- {
- // foreach (int extension_type in extensions.Keys)
- RuntimeObject* L_17 = V_0;
- NullCheck(L_17);
- bool L_18;
- L_18 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_17);
- if (L_18)
- {
- goto IL_000e;
- }
- }
- IL_0050:
- {
- IL2CPP_LEAVE(0x63, FINALLY_0052);
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __last_unhandled_exception = (Exception_t *)e.ex;
- goto FINALLY_0052;
- }
- FINALLY_0052:
- {// begin finally (depth: 1)
- {
- RuntimeObject* L_19 = V_0;
- V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_19, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
- RuntimeObject* L_20 = V_3;
- if (!L_20)
- {
- goto IL_0062;
- }
- }
- IL_005c:
- {
- RuntimeObject* L_21 = V_3;
- NullCheck(L_21);
- InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_21);
- }
- IL_0062:
- {
- IL2CPP_END_FINALLY(82)
- }
- }// end finally (depth: 1)
- IL2CPP_CLEANUP(82)
- {
- IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
- IL2CPP_JUMP_TBL(0x63, IL_0063)
- }
- IL_0063:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::WriteSupplementalData(System.IO.Stream,System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocol_WriteSupplementalData_m7579E23A5F368CFBBB324574BAA47C9A4EA771A0 (Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, RuntimeObject* ___supplementalData1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- RuntimeObject* V_2 = NULL;
- Exception_t * __last_unhandled_exception = 0;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_0, /*hidden argument*/NULL);
- V_0 = L_0;
- // foreach (SupplementalDataEntry entry in supplementalData)
- RuntimeObject* L_1 = ___supplementalData1;
- NullCheck(L_1);
- RuntimeObject* L_2;
- L_2 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t47A618747A1BB2A868710316F7372094849163A2_il2cpp_TypeInfo_var, L_1);
- V_1 = L_2;
- }
- IL_000d:
- try
- {// begin try (depth: 1)
- {
- goto IL_0037;
- }
- IL_000f:
- {
- // foreach (SupplementalDataEntry entry in supplementalData)
- RuntimeObject* L_3 = V_1;
- NullCheck(L_3);
- RuntimeObject * L_4;
- L_4 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_3);
- // int supp_data_type = entry.DataType;
- SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 * L_5 = ((SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7 *)CastclassClass((RuntimeObject*)L_4, SupplementalDataEntry_tD1192409F539AB3607D1A26D473C912075C92FA7_il2cpp_TypeInfo_var));
- NullCheck(L_5);
- int32_t L_6;
- L_6 = VirtualFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::get_DataType() */, L_5);
- // TlsUtilities.CheckUint16(supp_data_type);
- int32_t L_7 = L_6;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_CheckUint16_mCDB92B2FE6AF9FCE4583FF61C5170BC12A37CE12(L_7, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint16(supp_data_type, buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
- TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_7, L_8, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque16(entry.Data, buf);
- NullCheck(L_5);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SupplementalDataEntry::get_Data() */, L_5);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_9, L_10, /*hidden argument*/NULL);
- }
- IL_0037:
- {
- // foreach (SupplementalDataEntry entry in supplementalData)
- RuntimeObject* L_11 = V_1;
- NullCheck(L_11);
- bool L_12;
- L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105_il2cpp_TypeInfo_var, L_11);
- if (L_12)
- {
- goto IL_000f;
- }
- }
- IL_003f:
- {
- IL2CPP_LEAVE(0x52, FINALLY_0041);
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __last_unhandled_exception = (Exception_t *)e.ex;
- goto FINALLY_0041;
- }
- FINALLY_0041:
- {// begin finally (depth: 1)
- {
- RuntimeObject* L_13 = V_1;
- V_2 = ((RuntimeObject*)IsInst((RuntimeObject*)L_13, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var));
- RuntimeObject* L_14 = V_2;
- if (!L_14)
- {
- goto IL_0051;
- }
- }
- IL_004b:
- {
- RuntimeObject* L_15 = V_2;
- NullCheck(L_15);
- InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t099785737FC6A1E3699919A94109383715A8D807_il2cpp_TypeInfo_var, L_15);
- }
- IL_0051:
- {
- IL2CPP_END_FINALLY(65)
- }
- }// end finally (depth: 1)
- IL2CPP_CLEANUP(65)
- {
- IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
- IL2CPP_JUMP_TBL(0x52, IL_0052)
- }
- IL_0052:
- {
- // byte[] supp_data = buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
- NullCheck(L_16);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
- L_17 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_16);
- // TlsUtilities.WriteOpaque24(supp_data, output);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_18 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque24_mCCD10ABBB7A9ADBA3F2F10F716B1EF7485E3AB75(L_17, L_18, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::GetPrfAlgorithm(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3 (RuntimeObject* ___context0, int32_t ___ciphersuite1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- bool V_0 = false;
- {
- // bool isTLSv12 = TlsUtilities.IsTlsV12(context);
- RuntimeObject* L_0 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_1;
- L_1 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- int32_t L_2 = ___ciphersuite1;
- if ((((int32_t)L_2) > ((int32_t)((int32_t)197))))
- {
- goto IL_00df;
- }
- }
- {
- int32_t L_3 = ___ciphersuite1;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)((int32_t)59)))) > ((uint32_t)5))))
- {
- goto IL_034a;
- }
- }
- {
- int32_t L_4 = ___ciphersuite1;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)103)))) > ((uint32_t)6))))
- {
- goto IL_034a;
- }
- }
- {
- int32_t L_5 = ___ciphersuite1;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)156))))
- {
- case 0:
- {
- goto IL_034a;
- }
- case 1:
- {
- goto IL_0357;
- }
- case 2:
- {
- goto IL_034a;
- }
- case 3:
- {
- goto IL_0357;
- }
- case 4:
- {
- goto IL_034a;
- }
- case 5:
- {
- goto IL_0357;
- }
- case 6:
- {
- goto IL_034a;
- }
- case 7:
- {
- goto IL_0357;
- }
- case 8:
- {
- goto IL_034a;
- }
- case 9:
- {
- goto IL_0357;
- }
- case 10:
- {
- goto IL_034a;
- }
- case 11:
- {
- goto IL_0357;
- }
- case 12:
- {
- goto IL_034a;
- }
- case 13:
- {
- goto IL_0357;
- }
- case 14:
- {
- goto IL_034a;
- }
- case 15:
- {
- goto IL_0357;
- }
- case 16:
- {
- goto IL_034a;
- }
- case 17:
- {
- goto IL_0357;
- }
- case 18:
- {
- goto IL_036b;
- }
- case 19:
- {
- goto IL_0364;
- }
- case 20:
- {
- goto IL_036b;
- }
- case 21:
- {
- goto IL_0364;
- }
- case 22:
- {
- goto IL_036b;
- }
- case 23:
- {
- goto IL_0364;
- }
- case 24:
- {
- goto IL_036b;
- }
- case 25:
- {
- goto IL_0364;
- }
- case 26:
- {
- goto IL_036b;
- }
- case 27:
- {
- goto IL_0364;
- }
- case 28:
- {
- goto IL_036b;
- }
- case 29:
- {
- goto IL_0364;
- }
- case 30:
- {
- goto IL_034a;
- }
- case 31:
- {
- goto IL_034a;
- }
- case 32:
- {
- goto IL_034a;
- }
- case 33:
- {
- goto IL_034a;
- }
- case 34:
- {
- goto IL_034a;
- }
- case 35:
- {
- goto IL_034a;
- }
- case 36:
- {
- goto IL_034a;
- }
- case 37:
- {
- goto IL_034a;
- }
- case 38:
- {
- goto IL_034a;
- }
- case 39:
- {
- goto IL_034a;
- }
- case 40:
- {
- goto IL_034a;
- }
- case 41:
- {
- goto IL_034a;
- }
- }
- }
- {
- goto IL_036b;
- }
- IL_00df:
- {
- int32_t L_6 = ___ciphersuite1;
- if ((((int32_t)L_6) > ((int32_t)((int32_t)52398))))
- {
- goto IL_0336;
- }
- }
- {
- int32_t L_7 = ___ciphersuite1;
- switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)((int32_t)49187))))
- {
- case 0:
- {
- goto IL_034a;
- }
- case 1:
- {
- goto IL_0357;
- }
- case 2:
- {
- goto IL_034a;
- }
- case 3:
- {
- goto IL_0357;
- }
- case 4:
- {
- goto IL_034a;
- }
- case 5:
- {
- goto IL_0357;
- }
- case 6:
- {
- goto IL_034a;
- }
- case 7:
- {
- goto IL_0357;
- }
- case 8:
- {
- goto IL_034a;
- }
- case 9:
- {
- goto IL_0357;
- }
- case 10:
- {
- goto IL_034a;
- }
- case 11:
- {
- goto IL_0357;
- }
- case 12:
- {
- goto IL_034a;
- }
- case 13:
- {
- goto IL_0357;
- }
- case 14:
- {
- goto IL_034a;
- }
- case 15:
- {
- goto IL_0357;
- }
- case 16:
- {
- goto IL_036b;
- }
- case 17:
- {
- goto IL_036b;
- }
- case 18:
- {
- goto IL_036b;
- }
- case 19:
- {
- goto IL_036b;
- }
- case 20:
- {
- goto IL_036b;
- }
- case 21:
- {
- goto IL_0364;
- }
- case 22:
- {
- goto IL_036b;
- }
- case 23:
- {
- goto IL_036b;
- }
- case 24:
- {
- goto IL_0364;
- }
- case 25:
- {
- goto IL_036b;
- }
- case 26:
- {
- goto IL_036b;
- }
- case 27:
- {
- goto IL_036b;
- }
- case 28:
- {
- goto IL_036b;
- }
- case 29:
- {
- goto IL_036b;
- }
- case 30:
- {
- goto IL_036b;
- }
- case 31:
- {
- goto IL_036b;
- }
- case 32:
- {
- goto IL_036b;
- }
- case 33:
- {
- goto IL_036b;
- }
- case 34:
- {
- goto IL_036b;
- }
- case 35:
- {
- goto IL_036b;
- }
- case 36:
- {
- goto IL_036b;
- }
- case 37:
- {
- goto IL_036b;
- }
- case 38:
- {
- goto IL_036b;
- }
- case 39:
- {
- goto IL_036b;
- }
- case 40:
- {
- goto IL_036b;
- }
- case 41:
- {
- goto IL_036b;
- }
- case 42:
- {
- goto IL_036b;
- }
- case 43:
- {
- goto IL_036b;
- }
- case 44:
- {
- goto IL_036b;
- }
- case 45:
- {
- goto IL_036b;
- }
- case 46:
- {
- goto IL_036b;
- }
- case 47:
- {
- goto IL_036b;
- }
- case 48:
- {
- goto IL_036b;
- }
- case 49:
- {
- goto IL_036b;
- }
- case 50:
- {
- goto IL_036b;
- }
- case 51:
- {
- goto IL_036b;
- }
- case 52:
- {
- goto IL_036b;
- }
- case 53:
- {
- goto IL_036b;
- }
- case 54:
- {
- goto IL_036b;
- }
- case 55:
- {
- goto IL_036b;
- }
- case 56:
- {
- goto IL_036b;
- }
- case 57:
- {
- goto IL_036b;
- }
- case 58:
- {
- goto IL_036b;
- }
- case 59:
- {
- goto IL_036b;
- }
- case 60:
- {
- goto IL_036b;
- }
- case 61:
- {
- goto IL_036b;
- }
- case 62:
- {
- goto IL_036b;
- }
- case 63:
- {
- goto IL_036b;
- }
- case 64:
- {
- goto IL_036b;
- }
- case 65:
- {
- goto IL_036b;
- }
- case 66:
- {
- goto IL_036b;
- }
- case 67:
- {
- goto IL_036b;
- }
- case 68:
- {
- goto IL_036b;
- }
- case 69:
- {
- goto IL_036b;
- }
- case 70:
- {
- goto IL_036b;
- }
- case 71:
- {
- goto IL_036b;
- }
- case 72:
- {
- goto IL_036b;
- }
- case 73:
- {
- goto IL_036b;
- }
- case 74:
- {
- goto IL_036b;
- }
- case 75:
- {
- goto IL_036b;
- }
- case 76:
- {
- goto IL_036b;
- }
- case 77:
- {
- goto IL_036b;
- }
- case 78:
- {
- goto IL_036b;
- }
- case 79:
- {
- goto IL_034a;
- }
- case 80:
- {
- goto IL_0357;
- }
- case 81:
- {
- goto IL_034a;
- }
- case 82:
- {
- goto IL_0357;
- }
- case 83:
- {
- goto IL_034a;
- }
- case 84:
- {
- goto IL_0357;
- }
- case 85:
- {
- goto IL_034a;
- }
- case 86:
- {
- goto IL_0357;
- }
- case 87:
- {
- goto IL_034a;
- }
- case 88:
- {
- goto IL_0357;
- }
- case 89:
- {
- goto IL_034a;
- }
- case 90:
- {
- goto IL_0357;
- }
- case 91:
- {
- goto IL_034a;
- }
- case 92:
- {
- goto IL_0357;
- }
- case 93:
- {
- goto IL_034a;
- }
- case 94:
- {
- goto IL_0357;
- }
- case 95:
- {
- goto IL_034a;
- }
- case 96:
- {
- goto IL_0357;
- }
- case 97:
- {
- goto IL_034a;
- }
- case 98:
- {
- goto IL_0357;
- }
- case 99:
- {
- goto IL_034a;
- }
- case 100:
- {
- goto IL_0357;
- }
- case 101:
- {
- goto IL_034a;
- }
- case 102:
- {
- goto IL_0357;
- }
- case 103:
- {
- goto IL_034a;
- }
- case 104:
- {
- goto IL_0357;
- }
- case 105:
- {
- goto IL_034a;
- }
- case 106:
- {
- goto IL_0357;
- }
- case 107:
- {
- goto IL_034a;
- }
- case 108:
- {
- goto IL_0357;
- }
- case 109:
- {
- goto IL_034a;
- }
- case 110:
- {
- goto IL_0357;
- }
- case 111:
- {
- goto IL_034a;
- }
- case 112:
- {
- goto IL_0357;
- }
- case 113:
- {
- goto IL_036b;
- }
- case 114:
- {
- goto IL_0364;
- }
- case 115:
- {
- goto IL_036b;
- }
- case 116:
- {
- goto IL_0364;
- }
- case 117:
- {
- goto IL_036b;
- }
- case 118:
- {
- goto IL_0364;
- }
- case 119:
- {
- goto IL_036b;
- }
- case 120:
- {
- goto IL_0364;
- }
- case 121:
- {
- goto IL_034a;
- }
- case 122:
- {
- goto IL_034a;
- }
- case 123:
- {
- goto IL_034a;
- }
- case 124:
- {
- goto IL_034a;
- }
- case 125:
- {
- goto IL_034a;
- }
- case 126:
- {
- goto IL_034a;
- }
- case 127:
- {
- goto IL_034a;
- }
- case 128:
- {
- goto IL_034a;
- }
- case 129:
- {
- goto IL_034a;
- }
- case 130:
- {
- goto IL_034a;
- }
- case 131:
- {
- goto IL_034a;
- }
- case 132:
- {
- goto IL_034a;
- }
- case 133:
- {
- goto IL_034a;
- }
- case 134:
- {
- goto IL_034a;
- }
- case 135:
- {
- goto IL_034a;
- }
- case 136:
- {
- goto IL_034a;
- }
- case 137:
- {
- goto IL_034a;
- }
- case 138:
- {
- goto IL_034a;
- }
- case 139:
- {
- goto IL_034a;
- }
- case 140:
- {
- goto IL_034a;
- }
- }
- }
- {
- int32_t L_8 = ___ciphersuite1;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)52392)))) > ((uint32_t)6))))
- {
- goto IL_034a;
- }
- }
- {
- goto IL_036b;
- }
- IL_0336:
- {
- int32_t L_9 = ___ciphersuite1;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)65280)))) > ((uint32_t)5))))
- {
- goto IL_034a;
- }
- }
- {
- int32_t L_10 = ___ciphersuite1;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)65296)))) <= ((uint32_t)5))))
- {
- goto IL_036b;
- }
- }
- IL_034a:
- {
- // if (isTLSv12)
- bool L_11 = V_0;
- if (!L_11)
- {
- goto IL_034f;
- }
- }
- {
- // return PrfAlgorithm.tls_prf_sha256;
- return 1;
- }
- IL_034f:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var)));
- }
- IL_0357:
- {
- // if (isTLSv12)
- bool L_13 = V_0;
- if (!L_13)
- {
- goto IL_035c;
- }
- }
- {
- // return PrfAlgorithm.tls_prf_sha384;
- return 2;
- }
- IL_035c:
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_14 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_14, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3_RuntimeMethod_var)));
- }
- IL_0364:
- {
- // if (isTLSv12)
- bool L_15 = V_0;
- if (!L_15)
- {
- goto IL_0369;
- }
- }
- {
- // return PrfAlgorithm.tls_prf_sha384;
- return 2;
- }
- IL_0369:
- {
- // return PrfAlgorithm.tls_prf_legacy;
- return 0;
- }
- IL_036b:
- {
- // if (isTLSv12)
- bool L_16 = V_0;
- if (!L_16)
- {
- goto IL_0370;
- }
- }
- {
- // return PrfAlgorithm.tls_prf_sha256;
- return 1;
- }
- IL_0370:
- {
- // return PrfAlgorithm.tls_prf_legacy;
- return 0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsProtocolHandler__ctor_m91EFBA6C22F90B776BEE2589C060EB53AC017C70 (TlsProtocolHandler_t2AA29C37CF178FABCE77F25A25D7FD43CF1D8DFA * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
- {
- {
- // : base(stream, stream, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___stream0;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom1;
- TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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)
- {
- {
- // : base(input, output, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
- TlsClientProtocol__ctor_mD6B44D54E8B222F05B2FDBAC2B4634ED41ABAE38(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : this(keyExchange, supportedSignatureAlgorithms, pskIdentity, pskIdentityManager, new DefaultTlsDHVerifier(),
- // dhParameters, namedCurves, clientECPointFormats, serverECPointFormats)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- RuntimeObject* L_2 = ___pskIdentity2;
- RuntimeObject* L_3 = ___pskIdentityManager3;
- DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 * L_4 = (DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1 *)il2cpp_codegen_object_new(DefaultTlsDHVerifier_t7CFA7549009ED45135C98C36D33D6BB76B3BE4C1_il2cpp_TypeInfo_var);
- DefaultTlsDHVerifier__ctor_mF52164D6444B3E4A5EA88BA0D60AA3F4A52A529F(L_4, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5 = ___dhParameters4;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_6 = ___namedCurves5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___clientECPointFormats6;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___serverECPointFormats7;
- 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);
- // }
- return;
- }
- }
- // 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[])
- 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)
- {
- {
- // : base(keyExchange, supportedSignatureAlgorithms)
- int32_t L_0 = ___keyExchange0;
- RuntimeObject* L_1 = ___supportedSignatureAlgorithms1;
- AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, L_0, L_1, /*hidden argument*/NULL);
- int32_t L_2 = ___keyExchange0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)13)))) > ((uint32_t)2))))
- {
- goto IL_001f;
- }
- }
- {
- int32_t L_3 = ___keyExchange0;
- if ((((int32_t)L_3) == ((int32_t)((int32_t)24))))
- {
- goto IL_001f;
- }
- }
- {
- // throw new InvalidOperationException("unsupported key exchange algorithm");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_4 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB72657F0B8D2D8F073DD492DC0BA16984E3BA442)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange__ctor_m1519E0A868F1C67DD4590B9AEE09639B03D813F2_RuntimeMethod_var)));
- }
- IL_001f:
- {
- // this.mPskIdentity = pskIdentity;
- RuntimeObject* L_5 = ___pskIdentity2;
- __this->set_mPskIdentity_3(L_5);
- // this.mPskIdentityManager = pskIdentityManager;
- RuntimeObject* L_6 = ___pskIdentityManager3;
- __this->set_mPskIdentityManager_4(L_6);
- // this.mDHVerifier = dhVerifier;
- RuntimeObject* L_7 = ___dhVerifier4;
- __this->set_mDHVerifier_5(L_7);
- // this.mDHParameters = dhParameters;
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8 = ___dhParameters5;
- __this->set_mDHParameters_6(L_8);
- // this.mNamedCurves = namedCurves;
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_9 = ___namedCurves6;
- __this->set_mNamedCurves_7(L_9);
- // this.mClientECPointFormats = clientECPointFormats;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___clientECPointFormats7;
- __this->set_mClientECPointFormats_8(L_10);
- // this.mServerECPointFormats = serverECPointFormats;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___serverECPointFormats8;
- __this->set_mServerECPointFormats_9(L_11);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::SkipServerCredentials()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
- {
- {
- // if (mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)15)))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_SkipServerCredentials_m2ACE82BBEEDAB0FBBA08C2D1E8B2D5C59FFE4B45_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!(serverCredentials is TlsEncryptionCredentials))
- RuntimeObject* L_0 = ___serverCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCredentials_m6712AD1B7106177EC1BC854B1C03DC86597477F3_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // ProcessServerCertificate(serverCredentials.Certificate);
- RuntimeObject* L_2 = ___serverCredentials0;
- NullCheck(L_2);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
- 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);
- 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);
- // this.mServerCredentials = (TlsEncryptionCredentials)serverCredentials;
- RuntimeObject* L_4 = ___serverCredentials0;
- __this->set_mServerCredentials_18(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // this.mPskIdentityHint = mPskIdentityManager.GetHint();
- RuntimeObject* L_0 = __this->get_mPskIdentityManager_4();
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(0 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentityManager::GetHint() */, TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var, L_0);
- __this->set_mPskIdentityHint_10(L_1);
- // if (this.mPskIdentityHint == null && !RequiresServerKeyExchange)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mPskIdentityHint_10();
- if (L_2)
- {
- goto IL_0023;
- }
- }
- {
- bool L_3;
- L_3 = VirtualFuncInvoker0< bool >::Invoke(24 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange::get_RequiresServerKeyExchange() */, __this);
- if (L_3)
- {
- goto IL_0023;
- }
- }
- {
- // return null;
- return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
- }
- IL_0023:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_4, /*hidden argument*/NULL);
- V_0 = L_4;
- // if (this.mPskIdentityHint == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mPskIdentityHint_10();
- if (L_5)
- {
- goto IL_003e;
- }
- }
- {
- // TlsUtilities.WriteOpaque16(TlsUtilities.EmptyBytes, buf);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = V_0;
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_6, L_7, /*hidden argument*/NULL);
- // }
- goto IL_004a;
- }
- IL_003e:
- {
- // TlsUtilities.WriteOpaque16(this.mPskIdentityHint, buf);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = __this->get_mPskIdentityHint_10();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_8, L_9, /*hidden argument*/NULL);
- }
- IL_004a:
- {
- // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
- int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)14)))))
- {
- goto IL_0083;
- }
- }
- {
- // if (this.mDHParameters == null)
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_11 = __this->get_mDHParameters_6();
- if (L_11)
- {
- goto IL_0064;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_12, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateServerKeyExchange_m717151FB9D49D2133AB6C3C4BC84B2392904BF2F_RuntimeMethod_var)));
- }
- IL_0064:
- {
- // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
- // this.mDHParameters, buf);
- RuntimeObject* L_13 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_13);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_14;
- 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);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_15 = __this->get_mDHParameters_6();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_16 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_17;
- L_17 = TlsDHUtilities_GenerateEphemeralServerKeyExchange_m6FA07F6CC2E8351D65763A87CBC70B5E17408D6F(L_14, L_15, L_16, /*hidden argument*/NULL);
- __this->set_mDHAgreePrivateKey_12(L_17);
- // }
- goto IL_00b0;
- }
- IL_0083:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
- int32_t L_18 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_18) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_00b0;
- }
- }
- {
- // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralServerKeyExchange(mContext.SecureRandom,
- // mNamedCurves, mClientECPointFormats, buf);
- RuntimeObject* L_19 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_19);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_20;
- 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);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_21 = __this->get_mNamedCurves_7();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = __this->get_mClientECPointFormats_8();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_23 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_24;
- L_24 = TlsEccUtilities_GenerateEphemeralServerKeyExchange_m9DEB4D6304F2EB8ACAB4BB93B3480AEF6DED1C24(L_20, L_21, L_22, L_23, /*hidden argument*/NULL);
- __this->set_mECAgreePrivateKey_14(L_24);
- }
- IL_00b0:
- {
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = V_0;
- NullCheck(L_25);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
- L_26 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_25);
- return L_26;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
- Exception_t * V_2 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // if (mKeyExchange != KeyExchangeAlgorithm.RSA_PSK)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((((int32_t)L_0) == ((int32_t)((int32_t)15))))
- {
- goto IL_0012;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
- }
- IL_0012:
- {
- // if (serverCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ___serverCertificate0;
- NullCheck(L_2);
- bool L_3;
- L_3 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_2);
- if (!L_3)
- {
- goto IL_0022;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_certificate);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_4 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_4, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
- }
- IL_0022:
- {
- // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___serverCertificate0;
- NullCheck(L_5);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_6;
- 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);
- V_0 = L_6;
- // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_7 = V_0;
- NullCheck(L_7);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_8;
- L_8 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_7, /*hidden argument*/NULL);
- V_1 = L_8;
- }
- IL_0031:
- try
- {// begin try (depth: 1)
- // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_9 = V_1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_10;
- L_10 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_9, /*hidden argument*/NULL);
- __this->set_mServerPublicKey_16(L_10);
- // }
- goto IL_0049;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_003f;
- }
- throw e;
- }
- CATCH_003f:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
- Exception_t * L_11 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_12 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_12, (uint8_t)((int32_t)43), L_11, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0049:
- {
- // if (this.mServerPublicKey.IsPrivate)
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_13 = __this->get_mServerPublicKey_16();
- NullCheck(L_13);
- bool L_14;
- L_14 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_13, /*hidden argument*/NULL);
- if (!L_14)
- {
- goto IL_005e;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_15 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_15, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessServerCertificate_mA047DEEE6BA355BFA1CE60E6C68C9EC52E34BFD6_RuntimeMethod_var)));
- }
- IL_005e:
- {
- // this.mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)this.mServerPublicKey);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_16 = __this->get_mServerPublicKey_16();
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_17;
- 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)));
- __this->set_mRsaServerPublicKey_17(L_17);
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyEncipherment);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_18 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_18, ((int32_t)32), /*hidden argument*/NULL);
- // base.ProcessServerCertificate(serverCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_19 = ___serverCertificate0;
- AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_19, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::get_RequiresServerKeyExchange()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsPskKeyExchange_get_RequiresServerKeyExchange_m75F6C95E5912191CE8EAE709DCDFE0A892ECE7F8 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- // switch (mKeyExchange)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- V_0 = L_0;
- int32_t L_1 = V_0;
- if ((((int32_t)L_1) == ((int32_t)((int32_t)14))))
- {
- goto IL_0011;
- }
- }
- {
- int32_t L_2 = V_0;
- if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_0013;
- }
- }
- IL_0011:
- {
- // return true;
- return (bool)1;
- }
- IL_0013:
- {
- // return false;
- return (bool)0;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessServerKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessServerKeyExchange_m0AD67B5E6B0BB4D4B465C36B24C06B528939D8AE (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- {
- // this.mPskIdentityHint = TlsUtilities.ReadOpaque16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
- __this->set_mPskIdentityHint_10(L_1);
- // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
- int32_t L_2 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)14)))))
- {
- goto IL_0040;
- }
- }
- {
- // this.mDHParameters = TlsDHUtilities.ReceiveDHParameters(mDHVerifier, input);
- RuntimeObject* L_3 = __this->get_mDHVerifier_5();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_5;
- L_5 = TlsDHUtilities_ReceiveDHParameters_m566D5875AA4E56366C97048220F917DFF2FE4D8B(L_3, L_4, /*hidden argument*/NULL);
- __this->set_mDHParameters_6(L_5);
- // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_6 = ___input0;
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_7;
- L_7 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_6, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_8 = __this->get_mDHParameters_6();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_9 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_9, L_7, L_8, /*hidden argument*/NULL);
- __this->set_mDHAgreePublicKey_13(L_9);
- // }
- return;
- }
- IL_0040:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
- int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_007c;
- }
- }
- {
- // ECDomainParameters ecParams = TlsEccUtilities.ReadECParameters(mNamedCurves, mClientECPointFormats, input);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11 = __this->get_mNamedCurves_7();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = __this->get_mClientECPointFormats_8();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_14;
- L_14 = TlsEccUtilities_ReadECParameters_mA0CA264B65062D22BD2598E7E1204E3B48319DD5(L_11, L_12, L_13, /*hidden argument*/NULL);
- V_0 = L_14;
- // byte[] point = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_15 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
- L_16 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_15, /*hidden argument*/NULL);
- V_1 = L_16;
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
- // mClientECPointFormats, ecParams, point));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = __this->get_mClientECPointFormats_8();
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_18 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = V_1;
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_20;
- L_20 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_17, L_18, L_19, /*hidden argument*/NULL);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_21;
- L_21 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_20, /*hidden argument*/NULL);
- __this->set_mECAgreePublicKey_15(L_21);
- }
- IL_007c:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ValidateCertificateRequest_mFB5DCD479BFEA0A41243D9ED374279074B241D3F_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
- {
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessClientCredentials_m4130A613F69B8ED34A03FB5677A07065837370DF_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // if (mPskIdentityHint == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPskIdentityHint_10();
- if (L_0)
- {
- goto IL_0015;
- }
- }
- {
- // mPskIdentity.SkipIdentityHint();
- RuntimeObject* L_1 = __this->get_mPskIdentity_3();
- NullCheck(L_1);
- InterfaceActionInvoker0::Invoke(0 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::SkipIdentityHint() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_1);
- // }
- goto IL_0026;
- }
- IL_0015:
- {
- // mPskIdentity.NotifyIdentityHint(mPskIdentityHint);
- RuntimeObject* L_2 = __this->get_mPskIdentity_3();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mPskIdentityHint_10();
- NullCheck(L_2);
- 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);
- }
- IL_0026:
- {
- // byte[] psk_identity = mPskIdentity.GetPskIdentity();
- RuntimeObject* L_4 = __this->get_mPskIdentity_3();
- NullCheck(L_4);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(2 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::GetPskIdentity() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_4);
- V_0 = L_5;
- // if (psk_identity == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
- if (L_6)
- {
- goto IL_003d;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var)));
- }
- IL_003d:
- {
- // this.mPsk = mPskIdentity.GetPsk();
- RuntimeObject* L_8 = __this->get_mPskIdentity_3();
- NullCheck(L_8);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(3 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskIdentity::GetPsk() */, TlsPskIdentity_t526A17525D9312D41C441E4602685DBD961C3794_il2cpp_TypeInfo_var, L_8);
- __this->set_mPsk_11(L_9);
- // if (mPsk == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = __this->get_mPsk_11();
- if (L_10)
- {
- goto IL_005e;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateClientKeyExchange_m30420E42F1C85462033F69529341B1E252AABAB0_RuntimeMethod_var)));
- }
- IL_005e:
- {
- // TlsUtilities.WriteOpaque16(psk_identity, output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = V_0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_13 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_12, L_13, /*hidden argument*/NULL);
- // mContext.SecurityParameters.pskIdentity = psk_identity;
- RuntimeObject* L_14 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_14);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_15;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_0;
- NullCheck(L_15);
- L_15->set_pskIdentity_9(L_16);
- // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
- int32_t L_17 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_17) == ((uint32_t)((int32_t)14)))))
- {
- goto IL_009e;
- }
- }
- {
- // this.mDHAgreePrivateKey = TlsDHUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
- // mDHParameters, output);
- RuntimeObject* L_18 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_18);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_19;
- 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);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_20 = __this->get_mDHParameters_6();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_21 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_22;
- L_22 = TlsDHUtilities_GenerateEphemeralClientKeyExchange_mF73F3F40D8026863EF4214E13C3475A0D05582B3(L_19, L_20, L_21, /*hidden argument*/NULL);
- __this->set_mDHAgreePrivateKey_12(L_22);
- // }
- return;
- }
- IL_009e:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
- int32_t L_23 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_23) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_00d1;
- }
- }
- {
- // this.mECAgreePrivateKey = TlsEccUtilities.GenerateEphemeralClientKeyExchange(mContext.SecureRandom,
- // mServerECPointFormats, mECAgreePublicKey.Parameters, output);
- RuntimeObject* L_24 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_24);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_25;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26 = __this->get_mServerECPointFormats_9();
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_27 = __this->get_mECAgreePublicKey_15();
- NullCheck(L_27);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_28;
- L_28 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_27, /*hidden argument*/NULL);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_29 = ___output0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_30;
- L_30 = TlsEccUtilities_GenerateEphemeralClientKeyExchange_m98B6D7D65CBEC79168EA4B70D3222A70AC5AC392(L_25, L_26, L_28, L_29, /*hidden argument*/NULL);
- __this->set_mECAgreePrivateKey_14(L_30);
- // }
- return;
- }
- IL_00d1:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
- int32_t L_31 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_31) == ((uint32_t)((int32_t)15)))))
- {
- goto IL_00f3;
- }
- }
- {
- // this.mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext,
- // this.mRsaServerPublicKey, output);
- RuntimeObject* L_32 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_33 = __this->get_mRsaServerPublicKey_17();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_34 = ___output0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35;
- L_35 = TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD(L_32, L_33, L_34, /*hidden argument*/NULL);
- __this->set_mPremasterSecret_19(L_35);
- }
- IL_00f3:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPskIdentityManager_tDD5DCC669AFA8F998DA3E6B2122A039DCEE710BD_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- {
- // byte[] psk_identity = TlsUtilities.ReadOpaque16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // this.mPsk = mPskIdentityManager.GetPsk(psk_identity);
- RuntimeObject* L_2 = __this->get_mPskIdentityManager_4();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- NullCheck(L_2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- 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);
- __this->set_mPsk_11(L_4);
- // if (mPsk == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = __this->get_mPsk_11();
- if (L_5)
- {
- goto IL_0029;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unknown_psk_identity);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)115), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ProcessClientKeyExchange_m578648B5F75C11BFA12545922321186465856B1A_RuntimeMethod_var)));
- }
- IL_0029:
- {
- // mContext.SecurityParameters.pskIdentity = psk_identity;
- RuntimeObject* L_7 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- NullCheck(L_7);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_0;
- NullCheck(L_8);
- L_8->set_pskIdentity_9(L_9);
- // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
- int32_t L_10 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_10) == ((uint32_t)((int32_t)14)))))
- {
- goto IL_005c;
- }
- }
- {
- // this.mDHAgreePublicKey = new DHPublicKeyParameters(TlsDHUtilities.ReadDHParameter(input), mDHParameters);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_11 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_12;
- L_12 = TlsDHUtilities_ReadDHParameter_mA0DAAAE500F1D680AB77D3B5814E18B90A16FAEB(L_11, /*hidden argument*/NULL);
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_13 = __this->get_mDHParameters_6();
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_14 = (DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 *)il2cpp_codegen_object_new(DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862_il2cpp_TypeInfo_var);
- DHPublicKeyParameters__ctor_m8F461BEDA6C12C2CED69D85A4C67380875FAE570(L_14, L_12, L_13, /*hidden argument*/NULL);
- __this->set_mDHAgreePublicKey_13(L_14);
- // }
- return;
- }
- IL_005c:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
- int32_t L_15 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_0092;
- }
- }
- {
- // byte[] point = TlsUtilities.ReadOpaque8(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_16 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
- L_17 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_16, /*hidden argument*/NULL);
- V_1 = L_17;
- // ECDomainParameters curve_params = this.mECAgreePrivateKey.Parameters;
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_18 = __this->get_mECAgreePrivateKey_14();
- NullCheck(L_18);
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_19;
- L_19 = ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline(L_18, /*hidden argument*/NULL);
- V_2 = L_19;
- // this.mECAgreePublicKey = TlsEccUtilities.ValidateECPublicKey(TlsEccUtilities.DeserializeECPublicKey(
- // mServerECPointFormats, curve_params, point));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = __this->get_mServerECPointFormats_9();
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_21 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_23;
- L_23 = TlsEccUtilities_DeserializeECPublicKey_m64123B44AFA988D95B777237BEEBE1401A7D8362(L_20, L_21, L_22, /*hidden argument*/NULL);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_24;
- L_24 = TlsEccUtilities_ValidateECPublicKey_m32C8922C29F765BF73CD164B54752EB801CB6676(L_23, /*hidden argument*/NULL);
- __this->set_mECAgreePublicKey_15(L_24);
- // }
- return;
- }
- IL_0092:
- {
- // else if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
- int32_t L_25 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_25) == ((uint32_t)((int32_t)15)))))
- {
- goto IL_00cb;
- }
- }
- {
- // if (TlsUtilities.IsSsl(mContext))
- RuntimeObject* L_26 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_27;
- L_27 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_26, /*hidden argument*/NULL);
- if (!L_27)
- {
- goto IL_00b2;
- }
- }
- {
- // encryptedPreMasterSecret = Streams.ReadAll(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_28 = ___input0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
- L_29 = Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C(L_28, /*hidden argument*/NULL);
- V_3 = L_29;
- // }
- goto IL_00b9;
- }
- IL_00b2:
- {
- // encryptedPreMasterSecret = TlsUtilities.ReadOpaque16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_30 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
- L_31 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_30, /*hidden argument*/NULL);
- V_3 = L_31;
- }
- IL_00b9:
- {
- // this.mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret);
- RuntimeObject* L_32 = __this->get_mServerCredentials_18();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = V_3;
- NullCheck(L_32);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34;
- 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);
- __this->set_mPremasterSecret_19(L_34);
- }
- IL_00cb:
- {
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GeneratePremasterSecret()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GeneratePremasterSecret_m94182D722AD451930CC47868CB14364EA27BFE16 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_1 = NULL;
- {
- // byte[] other_secret = GenerateOtherSecret(mPsk.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPsk_11();
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- 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))));
- V_0 = L_1;
- // MemoryStream buf = new MemoryStream(4 + other_secret.Length + mPsk.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- NullCheck(L_2);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get_mPsk_11();
- NullCheck(L_3);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- 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);
- V_1 = L_4;
- // TlsUtilities.WriteOpaque16(other_secret, buf);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_6 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_5, L_6, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque16(mPsk, buf);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = __this->get_mPsk_11();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_1;
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_7, L_8, /*hidden argument*/NULL);
- // Arrays.Fill(mPsk, (byte)0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = __this->get_mPsk_11();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- Arrays_Fill_m841D30B6E9F2CA374C9F6D5C3A690607C6E1BCFF(L_9, (uint8_t)0, /*hidden argument*/NULL);
- // this.mPsk = null;
- __this->set_mPsk_11((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_1;
- NullCheck(L_10);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
- L_11 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_10);
- return L_11;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::GenerateOtherSecret(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, int32_t ___pskLength0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (this.mKeyExchange == KeyExchangeAlgorithm.DHE_PSK)
- int32_t L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)14)))))
- {
- goto IL_002c;
- }
- }
- {
- // if (mDHAgreePrivateKey != null)
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_1 = __this->get_mDHAgreePrivateKey_12();
- if (!L_1)
- {
- goto IL_0024;
- }
- }
- {
- // return TlsDHUtilities.CalculateDHBasicAgreement(mDHAgreePublicKey, mDHAgreePrivateKey);
- DHPublicKeyParameters_t47DB50F7F1B8284C8265B4DDE5D32CCDAB8E8862 * L_2 = __this->get_mDHAgreePublicKey_13();
- DHPrivateKeyParameters_tAF64A6F7342B2BD5F53015A701126BFEF11B2E7F * L_3 = __this->get_mDHAgreePrivateKey_12();
- IL2CPP_RUNTIME_CLASS_INIT(TlsDHUtilities_tF7F59DE2239E324B90BCA09C4464D3BF85F43FAC_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsDHUtilities_CalculateDHBasicAgreement_m79711D64AA991D3600C39DBB11DE8B33BD14A770(L_2, L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0024:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_5 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var)));
- }
- IL_002c:
- {
- // if (this.mKeyExchange == KeyExchangeAlgorithm.ECDHE_PSK)
- int32_t L_6 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)24)))))
- {
- goto IL_0058;
- }
- }
- {
- // if (mECAgreePrivateKey != null)
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_7 = __this->get_mECAgreePrivateKey_14();
- if (!L_7)
- {
- goto IL_0050;
- }
- }
- {
- // return TlsEccUtilities.CalculateECDHBasicAgreement(mECAgreePublicKey, mECAgreePrivateKey);
- ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * L_8 = __this->get_mECAgreePublicKey_15();
- ECPrivateKeyParameters_t4F22D9A57AC7E670B61E096835534ECE1D259029 * L_9 = __this->get_mECAgreePrivateKey_14();
- IL2CPP_RUNTIME_CLASS_INIT(TlsEccUtilities_tA8FA2CF6C2582ADEB9045A54E18452FF71644AAD_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
- L_10 = TlsEccUtilities_CalculateECDHBasicAgreement_m410E9B63B3FADBDD1B2345BD120E2AF92C6A36C5(L_8, L_9, /*hidden argument*/NULL);
- return L_10;
- }
- IL_0050:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_GenerateOtherSecret_mD3C3204F31FAE59412AF7ABFF87823422852B8D8_RuntimeMethod_var)));
- }
- IL_0058:
- {
- // if (this.mKeyExchange == KeyExchangeAlgorithm.RSA_PSK)
- int32_t L_12 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mKeyExchange_0();
- if ((!(((uint32_t)L_12) == ((uint32_t)((int32_t)15)))))
- {
- goto IL_0069;
- }
- }
- {
- // return this.mPremasterSecret;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = __this->get_mPremasterSecret_19();
- return L_13;
- }
- IL_0069:
- {
- // return new byte[pskLength];
- int32_t L_14 = ___pskLength0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_14);
- return L_15;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPskKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3 (TlsPskKeyExchange_tAE87193EF8493C86E142915CBC5939F480CF6B3A * __this, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key0, const RuntimeMethod* method)
- {
- {
- // if (!key.Exponent.IsProbablePrime(2))
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_0 = ___key0;
- NullCheck(L_0);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline(L_0, /*hidden argument*/NULL);
- NullCheck(L_1);
- bool L_2;
- L_2 = BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD(L_1, 2, /*hidden argument*/NULL);
- if (L_2)
- {
- goto IL_0016;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsPskKeyExchange_ValidateRsaPublicKey_m87742D203DEC05F9EADE620670ED302A7AC31EC3_RuntimeMethod_var)));
- }
- IL_0016:
- {
- // return key;
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_4 = ___key0;
- return L_4;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::.ctor(System.Collections.IList)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange__ctor_m5A0A860B08E1E99A7317323B4C5DB76D1C850D97 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___supportedSignatureAlgorithms0, const RuntimeMethod* method)
- {
- {
- // : base(KeyExchangeAlgorithm.RSA, supportedSignatureAlgorithms)
- RuntimeObject* L_0 = ___supportedSignatureAlgorithms0;
- AbstractTlsKeyExchange__ctor_m2FDD97E09FEC1C3588274D65D6CC18903CD8B06A(__this, 1, L_0, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::SkipServerCredentials()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, const RuntimeMethod* method)
- {
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_0 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_0, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_SkipServerCredentials_m3F0F4005518C63F77237DDD7B04096372BA2E310_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessServerCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___serverCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!(serverCredentials is TlsEncryptionCredentials))
- RuntimeObject* L_0 = ___serverCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCredentials_m0D5470D3AF375C244581B9EFBC10D5EF6962EC72_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // ProcessServerCertificate(serverCredentials.Certificate);
- RuntimeObject* L_2 = ___serverCredentials0;
- NullCheck(L_2);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3;
- 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);
- 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);
- // this.mServerCredentials = (TlsEncryptionCredentials)serverCredentials;
- RuntimeObject* L_4 = ___serverCredentials0;
- __this->set_mServerCredentials_5(((RuntimeObject*)Castclass((RuntimeObject*)L_4, TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var)));
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessServerCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___serverCertificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * V_0 = NULL;
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * V_1 = NULL;
- Exception_t * V_2 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // if (serverCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_0 = ___serverCertificate0;
- NullCheck(L_0);
- bool L_1;
- L_1 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_0);
- if (!L_1)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.bad_certificate);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_2 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_2, (uint8_t)((int32_t)42), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // X509CertificateStructure x509Cert = serverCertificate.GetCertificateAt(0);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3 = ___serverCertificate0;
- NullCheck(L_3);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_4;
- 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);
- V_0 = L_4;
- // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_5 = V_0;
- NullCheck(L_5);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_6;
- L_6 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_5, /*hidden argument*/NULL);
- V_1 = L_6;
- }
- IL_001f:
- try
- {// begin try (depth: 1)
- // this.mServerPublicKey = PublicKeyFactory.CreateKey(keyInfo);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_7 = V_1;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_8;
- L_8 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_7, /*hidden argument*/NULL);
- __this->set_mServerPublicKey_3(L_8);
- // }
- goto IL_0037;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_002d;
- }
- throw e;
- }
- CATCH_002d:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_2 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.unsupported_certificate, e);
- Exception_t * L_9 = V_2;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_10, (uint8_t)((int32_t)43), L_9, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0037:
- {
- // if (this.mServerPublicKey.IsPrivate)
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_11 = __this->get_mServerPublicKey_3();
- NullCheck(L_11);
- bool L_12;
- L_12 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_11, /*hidden argument*/NULL);
- if (!L_12)
- {
- goto IL_004c;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_13 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_13, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessServerCertificate_m647DD34A3944323B882CECFD33280C5F491299A8_RuntimeMethod_var)));
- }
- IL_004c:
- {
- // this.mRsaServerPublicKey = ValidateRsaPublicKey((RsaKeyParameters)this.mServerPublicKey);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_14 = __this->get_mServerPublicKey_3();
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_15;
- 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)));
- __this->set_mRsaServerPublicKey_4(L_15);
- // TlsUtilities.ValidateKeyUsage(x509Cert, KeyUsage.KeyEncipherment);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_16 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_ValidateKeyUsage_m354429F1AB5B78BB867FF23086E1B3940DC4258D(L_16, ((int32_t)32), /*hidden argument*/NULL);
- // base.ProcessServerCertificate(serverCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_17 = ___serverCertificate0;
- AbstractTlsKeyExchange_ProcessServerCertificate_mC2FB92884B37F3B4F90222FB70FC71504CFB04E9(__this, L_17, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ValidateCertificateRequest(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- int32_t V_1 = 0;
- uint8_t V_2 = 0x0;
- {
- // byte[] types = certificateRequest.CertificateTypes;
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = ___certificateRequest0;
- NullCheck(L_0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_CertificateTypes() */, L_0);
- V_0 = L_1;
- // for (int i = 0; i < types.Length; ++i)
- V_1 = 0;
- goto IL_0026;
- }
- IL_000b:
- {
- // switch (types[i])
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- int32_t L_3 = V_1;
- NullCheck(L_2);
- int32_t L_4 = L_3;
- uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
- V_2 = L_5;
- uint8_t L_6 = V_2;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1))) > ((uint32_t)1))))
- {
- goto IL_0022;
- }
- }
- {
- uint8_t L_7 = V_2;
- if ((((int32_t)L_7) == ((int32_t)((int32_t)64))))
- {
- goto IL_0022;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ValidateCertificateRequest_m1EE39E12E344159EDFB60B29D79323B35C1F4E1E_RuntimeMethod_var)));
- }
- IL_0022:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_9 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
- }
- IL_0026:
- {
- // for (int i = 0; i < types.Length; ++i)
- int32_t L_10 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = V_0;
- NullCheck(L_11);
- if ((((int32_t)L_10) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))))
- {
- goto IL_000b;
- }
- }
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessClientCredentials(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsCredentials)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RuntimeObject* ___clientCredentials0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (!(clientCredentials is TlsSignerCredentials))
- RuntimeObject* L_0 = ___clientCredentials0;
- if (((RuntimeObject*)IsInst((RuntimeObject*)L_0, TlsSignerCredentials_tD97AFD728341914EEC7251E9ADE382EFC23FEB0C_il2cpp_TypeInfo_var)))
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ProcessClientCredentials_mDC7E786370F35F69AF411077BD799FB0A18D3862_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::GenerateClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_GenerateClientKeyExchange_mE879B32DB5E34C4492F8BD78BC262CC9AEFDC2ED (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output0, const RuntimeMethod* method)
- {
- {
- // this.mPremasterSecret = TlsRsaUtilities.GenerateEncryptedPreMasterSecret(mContext, mRsaServerPublicKey, output);
- RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_1 = __this->get_mRsaServerPublicKey_4();
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___output0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD(L_0, L_1, L_2, /*hidden argument*/NULL);
- __this->set_mPremasterSecret_6(L_3);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ProcessClientKeyExchange(System.IO.Stream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaKeyExchange_ProcessClientKeyExchange_m1787E4E3FD288C7B347858FB6C1FEC384B7E6489 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___input0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsEncryptionCredentials_t592C8C6829956CE4A059C6E1D5CFA95D7C6AA4B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // if (TlsUtilities.IsSsl(mContext))
- RuntimeObject* L_0 = ((AbstractTlsKeyExchange_t469056906A1F384443B6EA3D807B76A8ABCF5EDA *)__this)->get_mContext_2();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_1;
- L_1 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_0, /*hidden argument*/NULL);
- if (!L_1)
- {
- goto IL_0016;
- }
- }
- {
- // encryptedPreMasterSecret = Streams.ReadAll(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_2 = ___input0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3;
- L_3 = Streams_ReadAll_m433E35F4920644D94A2D1434C24F7D799DAC475C(L_2, /*hidden argument*/NULL);
- V_0 = L_3;
- // }
- goto IL_001d;
- }
- IL_0016:
- {
- // encryptedPreMasterSecret = TlsUtilities.ReadOpaque16(input);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_4 = ___input0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5;
- L_5 = TlsUtilities_ReadOpaque16_m088E805B3D0DAE7BB5F51A76073945EA2E186A40(L_4, /*hidden argument*/NULL);
- V_0 = L_5;
- }
- IL_001d:
- {
- // this.mPremasterSecret = mServerCredentials.DecryptPreMasterSecret(encryptedPreMasterSecret);
- RuntimeObject* L_6 = __this->get_mServerCredentials_5();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
- NullCheck(L_6);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
- 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);
- __this->set_mPremasterSecret_6(L_8);
- // }
- return;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::GeneratePremasterSecret()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420 (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, const RuntimeMethod* method)
- {
- {
- // if (this.mPremasterSecret == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mPremasterSecret_6();
- if (L_0)
- {
- goto IL_0010;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_GeneratePremasterSecret_m7A278B7C8D0A03545FAB4767AD0257F0C148D420_RuntimeMethod_var)));
- }
- IL_0010:
- {
- // byte[] tmp = this.mPremasterSecret;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = __this->get_mPremasterSecret_6();
- // this.mPremasterSecret = null;
- __this->set_mPremasterSecret_6((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL);
- // return tmp;
- return L_2;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaKeyExchange::ValidateRsaPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D (TlsRsaKeyExchange_tC2EA68789ADE0DA271B6C07BEF5807C35BDF539E * __this, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___key0, const RuntimeMethod* method)
- {
- {
- // if (!key.Exponent.IsProbablePrime(2))
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_0 = ___key0;
- NullCheck(L_0);
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_1;
- L_1 = RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline(L_0, /*hidden argument*/NULL);
- NullCheck(L_1);
- bool L_2;
- L_2 = BigInteger_IsProbablePrime_m0793CB745AA8451B6B5916788FD60F3829B93EBD(L_1, 2, /*hidden argument*/NULL);
- if (L_2)
- {
- goto IL_0016;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaKeyExchange_ValidateRsaPublicKey_m3D77C86356E3945BDDECC0D5008BBE354F8D5C3D_RuntimeMethod_var)));
- }
- IL_0016:
- {
- // return key;
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_4 = ___key0;
- return L_4;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // ISigner signer = MakeSigner(algorithm, true, true,
- // new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
- RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
- NullCheck(L_2);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
- 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);
- ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
- RuntimeObject* L_5;
- 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);
- // signer.BlockUpdate(hash, 0, hash.Length);
- RuntimeObject* L_6 = L_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___hash2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___hash2;
- NullCheck(L_8);
- NullCheck(L_6);
- 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))));
- // return signer.GenerateSignature();
- NullCheck(L_6);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
- L_9 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner::GenerateSignature() */, ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var, L_6);
- return L_9;
- }
- }
- // 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[])
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // ISigner signer = MakeSigner(algorithm, true, false, publicKey);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey2;
- RuntimeObject* L_2;
- 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);
- // signer.BlockUpdate(hash, 0, hash.Length);
- RuntimeObject* L_3 = L_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = ___hash3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___hash3;
- NullCheck(L_5);
- NullCheck(L_3);
- 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))));
- // return signer.VerifySignature(sigBytes);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___sigBytes1;
- NullCheck(L_3);
- bool L_7;
- 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);
- return L_7;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateSigner_m81FC95F1C66A621CB5B04AA8A5BA285EA4B53AA8 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___privateKey1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return MakeSigner(algorithm, false, true, new ParametersWithRandom(privateKey, this.mContext.SecureRandom));
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___privateKey1;
- RuntimeObject* L_2 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
- NullCheck(L_2);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_3;
- 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);
- ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_4 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_4, L_1, L_3, /*hidden argument*/NULL);
- RuntimeObject* L_5;
- 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);
- return L_5;
- }
- }
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateVerifyer_mBDC278CF4C41341B9036207F4C363F629218DA66 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * ___algorithm0, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey1, const RuntimeMethod* method)
- {
- {
- // return MakeSigner(algorithm, false, false, publicKey);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey1;
- RuntimeObject* L_2;
- 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);
- return L_2;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::IsValidPublicKey(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsRsaSigner_IsValidPublicKey_m299A4EB2E603CCF53273424248C72B73F9D8E303 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * ___publicKey0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return publicKey is RsaKeyParameters && !publicKey.IsPrivate;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = ___publicKey0;
- if (!((RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 *)IsInstClass((RuntimeObject*)L_0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801_il2cpp_TypeInfo_var)))
- {
- goto IL_0012;
- }
- }
- {
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_1 = ___publicKey0;
- NullCheck(L_1);
- bool L_2;
- L_2 = AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline(L_1, /*hidden argument*/NULL);
- return (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
- }
- IL_0012:
- {
- return (bool)0;
- }
- }
- // 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)
- 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)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISigner_tCCA744D5676F335002A9182CD1A47660B2100EEA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- RuntimeObject* V_0 = NULL;
- RuntimeObject* V_1 = NULL;
- {
- // if ((algorithm != null) != TlsUtilities.IsTlsV12(mContext))
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_0 = ___algorithm0;
- RuntimeObject* L_1 = ((AbstractTlsSigner_t24989BA8F6A4C023621CCF4C4B42BDF8648B0BE1 *)__this)->get_mContext_0();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_2;
- L_2 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_1, /*hidden argument*/NULL);
- if ((((int32_t)((!(((RuntimeObject*)(SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0)) == ((int32_t)L_2)))
- {
- goto IL_0017;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_3, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var)));
- }
- IL_0017:
- {
- // if (algorithm != null && algorithm.Signature != SignatureAlgorithm.rsa)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_4 = ___algorithm0;
- if (!L_4)
- {
- goto IL_0029;
- }
- }
- {
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_5 = ___algorithm0;
- NullCheck(L_5);
- uint8_t L_6;
- L_6 = VirtualFuncInvoker0< uint8_t >::Invoke(5 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Signature() */, L_5);
- if ((((int32_t)L_6) == ((int32_t)1)))
- {
- goto IL_0029;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_7 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_7, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaSigner_MakeSigner_m474DEF09220DF6D8C409F11F482E0C46E383C266_RuntimeMethod_var)));
- }
- IL_0029:
- {
- // if (raw)
- bool L_8 = ___raw1;
- if (!L_8)
- {
- goto IL_0034;
- }
- }
- {
- // d = new NullDigest();
- NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 * L_9 = (NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82 *)il2cpp_codegen_object_new(NullDigest_t4BCB1626A8C555E32E26F70ABD9081D3A9A5DD82_il2cpp_TypeInfo_var);
- NullDigest__ctor_m2CDC49E91B55B309967491BC55BBBCF9E71CC0AB(L_9, /*hidden argument*/NULL);
- V_0 = L_9;
- // }
- goto IL_004b;
- }
- IL_0034:
- {
- // else if (algorithm == null)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_10 = ___algorithm0;
- if (L_10)
- {
- goto IL_003f;
- }
- }
- {
- // d = new CombinedHash();
- CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 * L_11 = (CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82 *)il2cpp_codegen_object_new(CombinedHash_t85DE4091355794EBDB0073F9C293A2CABDA9EF82_il2cpp_TypeInfo_var);
- CombinedHash__ctor_mAF1B1EC0CA417999390BD6FC66BC734372E19D4D(L_11, /*hidden argument*/NULL);
- V_0 = L_11;
- // }
- goto IL_004b;
- }
- IL_003f:
- {
- // d = TlsUtilities.CreateHash(algorithm.Hash);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_12 = ___algorithm0;
- NullCheck(L_12);
- uint8_t L_13;
- L_13 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_12);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- RuntimeObject* L_14;
- L_14 = TlsUtilities_CreateHash_m14A3ED0375E79886C74DE1BAC49447C922246D88(L_13, /*hidden argument*/NULL);
- V_0 = L_14;
- }
- IL_004b:
- {
- // if (algorithm != null)
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_15 = ___algorithm0;
- if (!L_15)
- {
- goto IL_0062;
- }
- }
- {
- // s = new RsaDigestSigner(d, TlsUtilities.GetOidForHashAlgorithm(algorithm.Hash));
- RuntimeObject* L_16 = V_0;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_17 = ___algorithm0;
- NullCheck(L_17);
- uint8_t L_18;
- L_18 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_17);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- DerObjectIdentifier_t13656672D4AE623000AC109D2DFA4A1F7CAE42A8 * L_19;
- L_19 = TlsUtilities_GetOidForHashAlgorithm_mAED1F6BCB8CBF66A70EC441040D91A6C02DC17E7(L_18, /*hidden argument*/NULL);
- RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC * L_20 = (RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC *)il2cpp_codegen_object_new(RsaDigestSigner_tFE7CAA21FA585A1888EB7F041B342E3106059DFC_il2cpp_TypeInfo_var);
- RsaDigestSigner__ctor_mD472AA69794114573ABDDF074D02205F4E89A5B6(L_20, L_16, L_19, /*hidden argument*/NULL);
- V_1 = L_20;
- // }
- goto IL_006f;
- }
- IL_0062:
- {
- // s = new GenericSigner(CreateRsaImpl(), d);
- RuntimeObject* L_21;
- L_21 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(25 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateRsaImpl() */, __this);
- RuntimeObject* L_22 = V_0;
- GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E * L_23 = (GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E *)il2cpp_codegen_object_new(GenericSigner_t94FE0EE517738D12B7CE7413E07D9428FC44536E_il2cpp_TypeInfo_var);
- GenericSigner__ctor_mBA7C6A7161C93D290DF85B252DB80D515C4441E9(L_23, L_21, L_22, /*hidden argument*/NULL);
- V_1 = L_23;
- }
- IL_006f:
- {
- // s.Init(forSigning, cp);
- RuntimeObject* L_24 = V_1;
- bool L_25 = ___forSigning2;
- RuntimeObject* L_26 = ___cp3;
- NullCheck(L_24);
- 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);
- // return s;
- RuntimeObject* L_27 = V_1;
- return L_27;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::CreateRsaImpl()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsRsaSigner_CreateRsaImpl_m182C61CFED55FF7442B5A1C54FAFF10EAE2F6B7F (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return new Pkcs1Encoding(new RsaBlindedEngine());
- RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_0 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_0, /*hidden argument*/NULL);
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_1 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7(L_1, L_0, /*hidden argument*/NULL);
- return L_1;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaSigner::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaSigner__ctor_m187660635EC2A4A84F7DF307C6AFE647C1FF0019 (TlsRsaSigner_t7E4C3F2B1DF7BBDD631E90A707E1C76B07A8BD88 * __this, const RuntimeMethod* method)
- {
- {
- AbstractTlsSigner__ctor_m8BC10417388286735795E5F14F3B9EB21B825121(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // 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)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPublicKey1, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___output2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * V_1 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D * V_3 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // byte[] premasterSecret = new byte[48];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
- V_0 = L_0;
- // context.SecureRandom.NextBytes(premasterSecret);
- RuntimeObject* L_1 = ___context0;
- NullCheck(L_1);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- NullCheck(L_2);
- VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Void System.Random::NextBytes(System.Byte[]) */, L_2, L_3);
- // TlsUtilities.WriteVersion(context.ClientVersion, premasterSecret, 0);
- RuntimeObject* L_4 = ___context0;
- NullCheck(L_4);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteVersion_m9F96059833D59596B7BA97B51522AE9CECC8036E(L_5, L_6, 0, /*hidden argument*/NULL);
- // Pkcs1Encoding encoding = new Pkcs1Encoding(new RsaBlindedEngine());
- RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_7 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_7, /*hidden argument*/NULL);
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_8 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- Pkcs1Encoding__ctor_mFDC0C9838C10C17B83A8C9E5FA5D19979F1F30B7(L_8, L_7, /*hidden argument*/NULL);
- V_1 = L_8;
- // encoding.Init(true, new ParametersWithRandom(rsaServerPublicKey, context.SecureRandom));
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_9 = V_1;
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_10 = ___rsaServerPublicKey1;
- RuntimeObject* L_11 = ___context0;
- NullCheck(L_11);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_12;
- 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);
- ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_13 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_13, L_10, L_12, /*hidden argument*/NULL);
- NullCheck(L_9);
- Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3(L_9, (bool)1, L_13, /*hidden argument*/NULL);
- }
- IL_003f:
- try
- {// begin try (depth: 1)
- {
- // byte[] encryptedPreMasterSecret = encoding.ProcessBlock(premasterSecret, 0, premasterSecret.Length);
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_14 = V_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = V_0;
- NullCheck(L_16);
- NullCheck(L_14);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17;
- L_17 = Pkcs1Encoding_ProcessBlock_m3F83A5D5E8BB728A0F13518784DA63EB32E85843(L_14, L_15, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length))), /*hidden argument*/NULL);
- V_2 = L_17;
- // if (TlsUtilities.IsSsl(context))
- RuntimeObject* L_18 = ___context0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_19;
- L_19 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_18, /*hidden argument*/NULL);
- if (!L_19)
- {
- goto IL_0060;
- }
- }
- IL_0053:
- {
- // output.Write(encryptedPreMasterSecret, 0, encryptedPreMasterSecret.Length);
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_20 = ___output2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = V_2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_22 = V_2;
- NullCheck(L_22);
- NullCheck(L_20);
- 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))));
- // }
- goto IL_0067;
- }
- IL_0060:
- {
- // TlsUtilities.WriteOpaque16(encryptedPreMasterSecret, output);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = V_2;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_24 = ___output2;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteOpaque16_mABE5E6F8BDC6343B2AD3EEA2602B32291449F1EC(L_23, L_24, /*hidden argument*/NULL);
- }
- IL_0067:
- {
- // }
- goto IL_0073;
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_0069;
- }
- throw e;
- }
- CATCH_0069:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.InvalidCipherTextException)
- // catch (InvalidCipherTextException e)
- V_3 = ((InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D *)IL2CPP_GET_ACTIVE_EXCEPTION(InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D *));
- // throw new TlsFatalAlert(AlertDescription.internal_error, e);
- InvalidCipherTextException_tCB4102F353576109DF6723BAD28806C82D61BC8D * L_25 = V_3;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_26 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_26, (uint8_t)((int32_t)80), L_25, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsRsaUtilities_GenerateEncryptedPreMasterSecret_mDD7191399051D6AF9D069B47D834C72B03814DFD_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_0073:
- {
- // return premasterSecret;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_27 = V_0;
- return L_27;
- }
- }
- // 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[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsRsaUtilities_SafeDecryptPreMasterSecret_mA229110738A474EB3D8478973D585FF1311D9145 (RuntimeObject* ___context0, RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * ___rsaServerPrivateKey1, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___encryptedPreMasterSecret2, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
- bool V_1 = false;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- int32_t V_4 = 0;
- int32_t V_5 = 0;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
- {
- // ProtocolVersion clientVersion = context.ClientVersion;
- RuntimeObject* L_0 = ___context0;
- NullCheck(L_0);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
- 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);
- V_0 = L_1;
- // bool versionNumberCheckDisabled = false;
- V_1 = (bool)0;
- // byte[] fallback = new byte[48];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
- V_2 = L_2;
- // context.SecureRandom.NextBytes(fallback);
- RuntimeObject* L_3 = ___context0;
- NullCheck(L_3);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_4;
- 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);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_2;
- NullCheck(L_4);
- VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(9 /* System.Void System.Random::NextBytes(System.Byte[]) */, L_4, L_5);
- // byte[] M = Arrays.Clone(fallback);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = Arrays_Clone_m362B6E8EAA394ABF566EABAF08A37C8232D398D8(L_6, /*hidden argument*/NULL);
- V_3 = L_7;
- }
- IL_0024:
- try
- {// begin try (depth: 1)
- // Pkcs1Encoding encoding = new Pkcs1Encoding(new RsaBlindedEngine(), fallback);
- RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 * L_8 = (RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2 *)il2cpp_codegen_object_new(RsaBlindedEngine_t4F192F2B138DBFB23611F919883B586E26113CF2_il2cpp_TypeInfo_var);
- RsaBlindedEngine__ctor_m310A5FACC596A6A5203D793F835E9CC930846A31(L_8, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9 = V_2;
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_10 = (Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 *)il2cpp_codegen_object_new(Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818_il2cpp_TypeInfo_var);
- Pkcs1Encoding__ctor_m7209D642D73AEEEA93FAD564BC62B57C58A3811F(L_10, L_8, L_9, /*hidden argument*/NULL);
- // encoding.Init(false,
- // new ParametersWithRandom(rsaServerPrivateKey, context.SecureRandom));
- Pkcs1Encoding_t394A58F7A8B08BB6882774A5CF81630CCB8D9818 * L_11 = L_10;
- RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * L_12 = ___rsaServerPrivateKey1;
- RuntimeObject* L_13 = ___context0;
- NullCheck(L_13);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_14;
- 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);
- ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC * L_15 = (ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC *)il2cpp_codegen_object_new(ParametersWithRandom_t557A9B373F5F2998BE6C0461812FBE4EB73425AC_il2cpp_TypeInfo_var);
- ParametersWithRandom__ctor_m9CC2D927A9DC93F6BED2DE101C93E19050FEDF97(L_15, L_12, L_14, /*hidden argument*/NULL);
- NullCheck(L_11);
- Pkcs1Encoding_Init_m30D6ABD066E951C0EE2E79618AA869F41422F5F3(L_11, (bool)0, L_15, /*hidden argument*/NULL);
- // M = encoding.ProcessBlock(encryptedPreMasterSecret, 0, encryptedPreMasterSecret.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16 = ___encryptedPreMasterSecret2;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ___encryptedPreMasterSecret2;
- NullCheck(L_17);
- NullCheck(L_11);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
- L_18 = Pkcs1Encoding_ProcessBlock_m3F83A5D5E8BB728A0F13518784DA63EB32E85843(L_11, L_16, 0, ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))), /*hidden argument*/NULL);
- V_3 = L_18;
- // }
- goto IL_0052;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_004f;
- }
- throw e;
- }
- CATCH_004f:
- {// begin catch(System.Exception)
- // catch (Exception)
- // }
- IL2CPP_POP_ACTIVE_EXCEPTION();
- goto IL_0052;
- }// end catch (depth: 1)
- IL_0052:
- {
- // if (versionNumberCheckDisabled && clientVersion.IsEqualOrEarlierVersionOf(ProtocolVersion.TLSv10))
- bool L_19 = V_1;
- if (!L_19)
- {
- goto IL_0062;
- }
- }
- {
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_20 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_21 = ((ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_StaticFields*)il2cpp_codegen_static_fields_for(ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915_il2cpp_TypeInfo_var))->get_TLSv10_1();
- NullCheck(L_20);
- bool L_22;
- L_22 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_20, L_21, /*hidden argument*/NULL);
- if (L_22)
- {
- goto IL_00bc;
- }
- }
- IL_0062:
- {
- // int correct = (clientVersion.MajorVersion ^ (M[0] & 0xff))
- // | (clientVersion.MinorVersion ^ (M[1] & 0xff));
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_23 = V_0;
- NullCheck(L_23);
- int32_t L_24;
- L_24 = ProtocolVersion_get_MajorVersion_mCDB5EA5B771D23FAD458103A4E528238B8A311C5(L_23, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = V_3;
- NullCheck(L_25);
- int32_t L_26 = 0;
- uint8_t L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_28 = V_0;
- NullCheck(L_28);
- int32_t L_29;
- L_29 = ProtocolVersion_get_MinorVersion_m4650B25C1A6717658D8DDFACB6C25EFF2F8A43C5(L_28, /*hidden argument*/NULL);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_30 = V_3;
- NullCheck(L_30);
- int32_t L_31 = 1;
- uint8_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
- // correct |= correct >> 1;
- 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)))))));
- // correct |= correct >> 2;
- int32_t L_34 = ((int32_t)((int32_t)L_33|(int32_t)((int32_t)((int32_t)L_33>>(int32_t)1))));
- // correct |= correct >> 4;
- int32_t L_35 = ((int32_t)((int32_t)L_34|(int32_t)((int32_t)((int32_t)L_34>>(int32_t)2))));
- // int mask = ~((correct & 1) - 1);
- 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))));
- // for (int i = 0; i < 48; i++)
- V_5 = 0;
- goto IL_00b6;
- }
- IL_009b:
- {
- // M[i] = (byte)((M[i] & (~mask)) | (fallback[i] & mask));
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_3;
- int32_t L_37 = V_5;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_38 = V_3;
- int32_t L_39 = V_5;
- NullCheck(L_38);
- int32_t L_40 = L_39;
- uint8_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
- int32_t L_42 = V_4;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_43 = V_2;
- int32_t L_44 = V_5;
- NullCheck(L_43);
- int32_t L_45 = L_44;
- uint8_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
- int32_t L_47 = V_4;
- NullCheck(L_36);
- (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)))))));
- // for (int i = 0; i < 48; i++)
- int32_t L_48 = V_5;
- V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)1));
- }
- IL_00b6:
- {
- // for (int i = 0; i < 48; i++)
- int32_t L_49 = V_5;
- if ((((int32_t)L_49) < ((int32_t)((int32_t)48))))
- {
- goto IL_009b;
- }
- }
- IL_00bc:
- {
- // return M;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50 = V_3;
- return L_50;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsRsaUtilities::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsRsaUtilities__ctor_m1F1098D9E6A2B2389F1AA2163ECE45EE4D434806 (TlsRsaUtilities_tAD6C7A18825215A0FC773BB4DE76A6697E9F38BE * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::AddUseSrtpExtension(System.Collections.IDictionary,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSRTPUtils_AddUseSrtpExtension_mE7A796EEDB001E6BB4CBC29C0D4AE53569958AC4 (RuntimeObject* ___extensions0, UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSRTPData1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // extensions[ExtensionType.use_srtp] = CreateUseSrtpExtension(useSRTPData);
- RuntimeObject* L_0 = ___extensions0;
- int32_t L_1 = ((int32_t)14);
- RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_3 = ___useSRTPData1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
- L_4 = TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A(L_3, /*hidden argument*/NULL);
- NullCheck(L_0);
- 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);
- // }
- return;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::GetUseSrtpExtension(System.Collections.IDictionary)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_GetUseSrtpExtension_m91EADE4046A457E9D7ABE478FE10061838BA7E55 (RuntimeObject* ___extensions0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] extensionData = TlsUtilities.GetExtensionData(extensions, ExtensionType.use_srtp);
- RuntimeObject* L_0 = ___extensions0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1;
- L_1 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_0, ((int32_t)14), /*hidden argument*/NULL);
- V_0 = L_1;
- // return extensionData == null ? null : ReadUseSrtpExtension(extensionData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- if (!L_2)
- {
- goto IL_0013;
- }
- }
- {
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_4;
- L_4 = TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12(L_3, /*hidden argument*/NULL);
- return L_4;
- }
- IL_0013:
- {
- return (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 *)NULL;
- }
- }
- // System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::CreateUseSrtpExtension(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * ___useSrtpData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- {
- // if (useSrtpData == null)
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_0 = ___useSrtpData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("useSrtpData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralBDF96DF3EAF79369A531DDAF5811FC3B39F11FEC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_CreateUseSrtpExtension_mB18474D2962B57C4FF8BD049237FF96039884C5A_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_mD27B3DF2400D46A4A81EE78B0BD2C29EFCFAA44F(L_2, /*hidden argument*/NULL);
- V_0 = L_2;
- // TlsUtilities.WriteUint16ArrayWithUint16Length(useSrtpData.ProtectionProfiles, buf);
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_3 = ___useSrtpData0;
- NullCheck(L_3);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_4;
- L_4 = VirtualFuncInvoker0< Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* >::Invoke(4 /* System.Int32[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::get_ProtectionProfiles() */, L_3);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint16ArrayWithUint16Length_m53E762005E61573759246268B5B21B0A6AFE2B31(L_4, L_5, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque8(useSrtpData.Mki, buf);
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_6 = ___useSrtpData0;
- NullCheck(L_6);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7;
- L_7 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData::get_Mki() */, L_6);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_8 = V_0;
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_7, L_8, /*hidden argument*/NULL);
- // return buf.ToArray();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = V_0;
- NullCheck(L_9);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
- L_10 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(37 /* System.Byte[] System.IO.MemoryStream::ToArray() */, L_9);
- return L_10;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.UseSrtpData BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::ReadUseSrtpExtension(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extensionData0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * V_0 = NULL;
- int32_t V_1 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- {
- // if (extensionData == null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extensionData0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("extensionData");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE2FD3D94E06B9B9C783012C3308EEF95D32EC5AC)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // MemoryStream buf = new MemoryStream(extensionData, true);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extensionData0;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = (MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C *)il2cpp_codegen_object_new(MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C_il2cpp_TypeInfo_var);
- MemoryStream__ctor_m27461F2CC712138C855A9C1CDCB211CC5BDBAC9A(L_3, L_2, (bool)1, /*hidden argument*/NULL);
- V_0 = L_3;
- // int length = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_5;
- L_5 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_4, /*hidden argument*/NULL);
- V_1 = L_5;
- // if (length < 2 || (length & 1) != 0)
- int32_t L_6 = V_1;
- if ((((int32_t)L_6) < ((int32_t)2)))
- {
- goto IL_0026;
- }
- }
- {
- int32_t L_7 = V_1;
- if (!((int32_t)((int32_t)L_7&(int32_t)1)))
- {
- goto IL_002e;
- }
- }
- IL_0026:
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_8 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_8, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsSRTPUtils_ReadUseSrtpExtension_mEB6EFD7768672D67A3CE845E599A6F91C6516D12_RuntimeMethod_var)));
- }
- IL_002e:
- {
- // int[] protectionProfiles = TlsUtilities.ReadUint16Array(length / 2, buf);
- int32_t L_9 = V_1;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_10 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_11;
- L_11 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_9/(int32_t)2)), L_10, /*hidden argument*/NULL);
- // byte[] mki = TlsUtilities.ReadOpaque8(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
- L_13 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_12, /*hidden argument*/NULL);
- V_2 = L_13;
- // TlsProtocol.AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_14 = V_0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_14, /*hidden argument*/NULL);
- // return new UseSrtpData(protectionProfiles, mki);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = V_2;
- UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 * L_16 = (UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935 *)il2cpp_codegen_object_new(UseSrtpData_t4BDF031BD174009EE41D3BA18294159AED140935_il2cpp_TypeInfo_var);
- UseSrtpData__ctor_m315F9112A763358E4E5BACC1B3D0E0B23BDF7AEC(L_16, L_11, L_15, /*hidden argument*/NULL);
- return L_16;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsSRTPUtils::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsSRTPUtils__ctor_mC95E08DDD4719580EC6CE6A914621099E08F99FA (TlsSRTPUtils_t5090718D19882351D0BAE3EAE21E818BDF14C597 * __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9 (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * ___securityParameters1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // : base(secureRandom, securityParameters)
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_1 = ___securityParameters1;
- IL2CPP_RUNTIME_CLASS_INIT(AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836_il2cpp_TypeInfo_var);
- AbstractTlsContext__ctor_mD6E25A60EFBD088D842BB739C9A20EBC85EA416A(__this, L_0, L_1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerContextImpl::get_IsServer()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsServerContextImpl_get_IsServer_mE64C49D75EE934580777FFEDBCC877E167EC344F (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * __this, const RuntimeMethod* method)
- {
- {
- // get { return true; }
- return (bool)1;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol__ctor_mA670BDECE5B385435D7FF0AC2FF84F064B82F293 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * ___stream0, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom1, const RuntimeMethod* method)
- {
- {
- // protected short mClientCertificateType = -1;
- __this->set_mClientCertificateType_54((int16_t)(-1));
- // : base(stream, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___stream0;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_1 = ___secureRandom1;
- TlsProtocol__ctor_mE9EFDC6057509BF206D47B10825D5F8AA0E38221(__this, L_0, L_1, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(System.IO.Stream,System.IO.Stream,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- 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)
- {
- {
- // protected short mClientCertificateType = -1;
- __this->set_mClientCertificateType_54((int16_t)(-1));
- // : base(input, output, secureRandom)
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_0 = ___input0;
- Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * L_1 = ___output1;
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_2 = ___secureRandom2;
- TlsProtocol__ctor_m2A743D7B0C34E98EBE48320C21DE07D0BD95B2CF(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol__ctor_m15A0827F8B2DB624CBE2D3424BEE5EC36EFA28ED (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * ___secureRandom0, const RuntimeMethod* method)
- {
- {
- // protected short mClientCertificateType = -1;
- __this->set_mClientCertificateType_54((int16_t)(-1));
- // : base(secureRandom)
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_0 = ___secureRandom0;
- TlsProtocol__ctor_m879F34DD5D9B91297AD1554C656739D131C38FFE(__this, L_0, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::Accept(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, RuntimeObject* ___tlsServer0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (tlsServer == null)
- RuntimeObject* L_0 = ___tlsServer0;
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new ArgumentNullException("tlsServer");
- ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
- ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF304F86AAE3300AAF6CC1D68596A5C135E98DA7F)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // if (this.mTlsServer != null)
- RuntimeObject* L_2 = __this->get_mTlsServer_49();
- if (!L_2)
- {
- goto IL_0021;
- }
- }
- {
- // throw new InvalidOperationException("'Accept' can only be called once");
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_3 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral411A64854237B0AD4EE521F452B977C964D0C11F)), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_Accept_mCD6FAF49EBEBA76115004829DDD2737F9405F808_RuntimeMethod_var)));
- }
- IL_0021:
- {
- // this.mTlsServer = tlsServer;
- RuntimeObject* L_4 = ___tlsServer0;
- __this->set_mTlsServer_49(L_4);
- // this.mSecurityParameters = new SecurityParameters();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_5 = (SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 *)il2cpp_codegen_object_new(SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803_il2cpp_TypeInfo_var);
- SecurityParameters__ctor_m4DEFDB6F8DEAF74BBF4A939145C6553275873D19(L_5, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecurityParameters_34(L_5);
- // this.mSecurityParameters.entity = ConnectionEnd.server;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_6 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_6);
- L_6->set_entity_0(0);
- // this.mTlsServerContext = new TlsServerContextImpl(mSecureRandom, mSecurityParameters);
- SecureRandom_t9625E4D95ED6174D321E8A8CB7DA3E264B11DC28 * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRandom_24();
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_9 = (TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 *)il2cpp_codegen_object_new(TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930_il2cpp_TypeInfo_var);
- TlsServerContextImpl__ctor_m36D7EC1D29FB0763F97E513A22E653F5788652B9(L_9, L_7, L_8, /*hidden argument*/NULL);
- __this->set_mTlsServerContext_50(L_9);
- // this.mSecurityParameters.serverRandom = CreateRandomBlock(tlsServer.ShouldUseGmtUnixTime(),
- // mTlsServerContext.NonceRandomGenerator);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_11 = ___tlsServer0;
- NullCheck(L_11);
- bool L_12;
- L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::ShouldUseGmtUnixTime() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_11);
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_13 = __this->get_mTlsServerContext_50();
- NullCheck(L_13);
- RuntimeObject* L_14;
- L_14 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(14 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng.IRandomGenerator BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext::get_NonceRandomGenerator() */, L_13);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15;
- L_15 = TlsProtocol_CreateRandomBlock_m92598180A2F8675959253CF8A9600DDA1AE02D63(L_12, L_14, /*hidden argument*/NULL);
- NullCheck(L_10);
- L_10->set_serverRandom_7(L_15);
- // this.mTlsServer.Init(mTlsServerContext);
- RuntimeObject* L_16 = __this->get_mTlsServer_49();
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_17 = __this->get_mTlsServerContext_50();
- NullCheck(L_16);
- 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);
- // this.mRecordStream.Init(mTlsServerContext);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_19 = __this->get_mTlsServerContext_50();
- NullCheck(L_18);
- RecordStream_Init_m9B7BFECDEC979B94D94BB2C24071E49AFF3D68BF(L_18, L_19, /*hidden argument*/NULL);
- // this.mRecordStream.SetRestrictReadVersion(false);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_20 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_20);
- RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline(L_20, (bool)0, /*hidden argument*/NULL);
- // BlockForHandshake();
- VirtualActionInvoker0::Invoke(17 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::BlockForHandshake() */, __this);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::CleanupHandshake()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_CleanupHandshake_m25321ECA98E047C4BE3F44FFD9CEB1DDDB640608 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- {
- // base.CleanupHandshake();
- TlsProtocol_CleanupHandshake_m921BDC8FC6232FBF55A09FC90E8C37FC146F5F7B(__this, /*hidden argument*/NULL);
- // this.mKeyExchange = null;
- __this->set_mKeyExchange_51((RuntimeObject*)NULL);
- // this.mServerCredentials = null;
- __this->set_mServerCredentials_52((RuntimeObject*)NULL);
- // this.mCertificateRequest = null;
- __this->set_mCertificateRequest_53((CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 *)NULL);
- // this.mPrepareFinishHash = null;
- __this->set_mPrepareFinishHash_55((RuntimeObject*)NULL);
- // }
- return;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_Context()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsServerProtocol_get_Context_m2BDDFFF2C025B11C38098D111CEF5169EEA8534B (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsServerContext; }
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_0 = __this->get_mTlsServerContext_50();
- return L_0;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_ContextAdmin()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * TlsServerProtocol_get_ContextAdmin_mB3A40C3FDFADDD8647C1A927A678BCDB7188FFDE (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsServerContext; }
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_0 = __this->get_mTlsServerContext_50();
- return L_0;
- }
- }
- // BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::get_Peer()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TlsServerProtocol_get_Peer_m99C119102B6F19B2E0BED604C692D0B0338632E1 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- {
- // get { return mTlsServer; }
- RuntimeObject* L_0 = __this->get_mTlsServer_49();
- return L_0;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::HandleHandshakeMessage(System.Byte,System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, uint8_t ___type0, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf1, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int16_t V_0 = 0;
- RuntimeObject* V_1 = NULL;
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * V_2 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_3 = NULL;
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * V_4 = NULL;
- {
- uint8_t L_0 = ___type0;
- switch (L_0)
- {
- case 0:
- {
- goto IL_03fe;
- }
- case 1:
- {
- goto IL_006b;
- }
- case 2:
- {
- goto IL_03fe;
- }
- case 3:
- {
- goto IL_03fe;
- }
- case 4:
- {
- goto IL_03fe;
- }
- case 5:
- {
- goto IL_03fe;
- }
- case 6:
- {
- goto IL_03fe;
- }
- case 7:
- {
- goto IL_03fe;
- }
- case 8:
- {
- goto IL_03fe;
- }
- case 9:
- {
- goto IL_03fe;
- }
- case 10:
- {
- goto IL_03fe;
- }
- case 11:
- {
- goto IL_026c;
- }
- case 12:
- {
- goto IL_03fe;
- }
- case 13:
- {
- goto IL_03fe;
- }
- case 14:
- {
- goto IL_03fe;
- }
- case 15:
- {
- goto IL_0351;
- }
- case 16:
- {
- goto IL_02b7;
- }
- case 17:
- {
- goto IL_03fe;
- }
- case 18:
- {
- goto IL_03fe;
- }
- case 19:
- {
- goto IL_03fe;
- }
- case 20:
- {
- goto IL_0383;
- }
- case 21:
- {
- goto IL_03fe;
- }
- case 22:
- {
- goto IL_03fe;
- }
- case 23:
- {
- goto IL_0241;
- }
- }
- }
- {
- goto IL_03fe;
- }
- IL_006b:
- {
- // switch (this.mConnectionState)
- int16_t L_1 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_1;
- int16_t L_2 = V_0;
- if (!L_2)
- {
- goto IL_0082;
- }
- }
- {
- int16_t L_3 = V_0;
- if ((((int32_t)L_3) == ((int32_t)((int32_t)16))))
- {
- goto IL_0232;
- }
- }
- {
- goto IL_0239;
- }
- IL_0082:
- {
- // ReceiveClientHelloMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_4 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(53 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientHelloMessage(System.IO.MemoryStream) */, __this, L_4);
- // this.mConnectionState = CS_CLIENT_HELLO;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)1);
- // SendServerHelloMessage();
- VirtualActionInvoker0::Invoke(58 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloMessage() */, __this);
- // this.mConnectionState = CS_SERVER_HELLO;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)2);
- // mRecordStream.NotifyHelloComplete();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_5 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_5);
- RecordStream_NotifyHelloComplete_m739BBC328691A56B4AFB68E4471D3AC26B2297DD(L_5, /*hidden argument*/NULL);
- // IList serverSupplementalData = mTlsServer.GetServerSupplementalData();
- RuntimeObject* L_6 = __this->get_mTlsServer_49();
- NullCheck(L_6);
- RuntimeObject* L_7;
- L_7 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(10 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetServerSupplementalData() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_6);
- V_1 = L_7;
- // if (serverSupplementalData != null)
- RuntimeObject* L_8 = V_1;
- if (!L_8)
- {
- goto IL_00be;
- }
- }
- {
- // SendSupplementalDataMessage(serverSupplementalData);
- RuntimeObject* L_9 = V_1;
- VirtualActionInvoker1< RuntimeObject* >::Invoke(42 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendSupplementalDataMessage(System.Collections.IList) */, __this, L_9);
- }
- IL_00be:
- {
- // this.mConnectionState = CS_SERVER_SUPPLEMENTAL_DATA;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)3);
- // this.mKeyExchange = mTlsServer.GetKeyExchange();
- RuntimeObject* L_10 = __this->get_mTlsServer_49();
- NullCheck(L_10);
- RuntimeObject* L_11;
- 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);
- __this->set_mKeyExchange_51(L_11);
- // this.mKeyExchange.Init(Context);
- RuntimeObject* L_12 = __this->get_mKeyExchange_51();
- RuntimeObject* L_13;
- L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_12);
- 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);
- // this.mServerCredentials = mTlsServer.GetCredentials();
- RuntimeObject* L_14 = __this->get_mTlsServer_49();
- NullCheck(L_14);
- RuntimeObject* L_15;
- 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);
- __this->set_mServerCredentials_52(L_15);
- // Certificate serverCertificate = null;
- V_2 = (Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E *)NULL;
- // if (this.mServerCredentials == null)
- RuntimeObject* L_16 = __this->get_mServerCredentials_52();
- if (L_16)
- {
- goto IL_010f;
- }
- }
- {
- // this.mKeyExchange.SkipServerCredentials();
- RuntimeObject* L_17 = __this->get_mKeyExchange_51();
- NullCheck(L_17);
- InterfaceActionInvoker0::Invoke(1 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipServerCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_17);
- // }
- goto IL_0133;
- }
- IL_010f:
- {
- // this.mKeyExchange.ProcessServerCredentials(this.mServerCredentials);
- RuntimeObject* L_18 = __this->get_mKeyExchange_51();
- RuntimeObject* L_19 = __this->get_mServerCredentials_52();
- NullCheck(L_18);
- 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);
- // serverCertificate = this.mServerCredentials.Certificate;
- RuntimeObject* L_20 = __this->get_mServerCredentials_52();
- NullCheck(L_20);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_21;
- 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);
- V_2 = L_21;
- // SendCertificateMessage(serverCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_22 = V_2;
- 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);
- }
- IL_0133:
- {
- // this.mConnectionState = CS_SERVER_CERTIFICATE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)4);
- // if (serverCertificate == null || serverCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_23 = V_2;
- if (!L_23)
- {
- goto IL_0145;
- }
- }
- {
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_24 = V_2;
- NullCheck(L_24);
- bool L_25;
- L_25 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_24);
- if (!L_25)
- {
- goto IL_014c;
- }
- }
- IL_0145:
- {
- // this.mAllowCertificateStatus = false;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mAllowCertificateStatus_44((bool)0);
- }
- IL_014c:
- {
- // if (this.mAllowCertificateStatus)
- bool L_26 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mAllowCertificateStatus_44();
- if (!L_26)
- {
- goto IL_016d;
- }
- }
- {
- // CertificateStatus certificateStatus = mTlsServer.GetCertificateStatus();
- RuntimeObject* L_27 = __this->get_mTlsServer_49();
- NullCheck(L_27);
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_28;
- 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);
- V_4 = L_28;
- // if (certificateStatus != null)
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_29 = V_4;
- if (!L_29)
- {
- goto IL_016d;
- }
- }
- {
- // SendCertificateStatusMessage(certificateStatus);
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_30 = V_4;
- 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);
- }
- IL_016d:
- {
- // this.mConnectionState = CS_CERTIFICATE_STATUS;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)5);
- // byte[] serverKeyExchange = this.mKeyExchange.GenerateServerKeyExchange();
- RuntimeObject* L_31 = __this->get_mKeyExchange_51();
- NullCheck(L_31);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_32;
- L_32 = InterfaceFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::GenerateServerKeyExchange() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_31);
- V_3 = L_32;
- // if (serverKeyExchange != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_33 = V_3;
- if (!L_33)
- {
- goto IL_018a;
- }
- }
- {
- // SendServerKeyExchangeMessage(serverKeyExchange);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34 = V_3;
- VirtualActionInvoker1< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(60 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerKeyExchangeMessage(System.Byte[]) */, __this, L_34);
- }
- IL_018a:
- {
- // this.mConnectionState = CS_SERVER_KEY_EXCHANGE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)6);
- // if (this.mServerCredentials != null)
- RuntimeObject* L_35 = __this->get_mServerCredentials_52();
- if (!L_35)
- {
- goto IL_020d;
- }
- }
- {
- // this.mCertificateRequest = mTlsServer.GetCertificateRequest();
- RuntimeObject* L_36 = __this->get_mTlsServer_49();
- NullCheck(L_36);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_37;
- 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);
- __this->set_mCertificateRequest_53(L_37);
- // if (this.mCertificateRequest != null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_38 = __this->get_mCertificateRequest_53();
- if (!L_38)
- {
- goto IL_020d;
- }
- }
- {
- // if (TlsUtilities.IsTlsV12(Context) != (mCertificateRequest.SupportedSignatureAlgorithms != null))
- RuntimeObject* L_39;
- L_39 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_40;
- L_40 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_39, /*hidden argument*/NULL);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_41 = __this->get_mCertificateRequest_53();
- NullCheck(L_41);
- RuntimeObject* L_42;
- L_42 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_41);
- if ((((int32_t)L_40) == ((int32_t)((!(((RuntimeObject*)(RuntimeObject*)L_42) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0))))
- {
- goto IL_01d5;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_43 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_43, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_01d5:
- {
- // this.mKeyExchange.ValidateCertificateRequest(mCertificateRequest);
- RuntimeObject* L_44 = __this->get_mKeyExchange_51();
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_45 = __this->get_mCertificateRequest_53();
- NullCheck(L_44);
- 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);
- // SendCertificateRequestMessage(mCertificateRequest);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_46 = __this->get_mCertificateRequest_53();
- 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);
- // TlsUtilities.TrackHashAlgorithms(this.mRecordStream.HandshakeHash,
- // this.mCertificateRequest.SupportedSignatureAlgorithms);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_47 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_47);
- RuntimeObject* L_48;
- L_48 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_47, /*hidden argument*/NULL);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_49 = __this->get_mCertificateRequest_53();
- NullCheck(L_49);
- RuntimeObject* L_50;
- L_50 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_49);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_TrackHashAlgorithms_m7CD5565B381CE06A0B8CC3B1E7EED3724A56681B(L_48, L_50, /*hidden argument*/NULL);
- }
- IL_020d:
- {
- // this.mConnectionState = CS_CERTIFICATE_REQUEST;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)7);
- // SendServerHelloDoneMessage();
- VirtualActionInvoker0::Invoke(59 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloDoneMessage() */, __this);
- // this.mConnectionState = CS_SERVER_HELLO_DONE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)8);
- // this.mRecordStream.HandshakeHash.SealHashAlgorithms();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_51 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_51);
- RuntimeObject* L_52;
- L_52 = RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline(L_51, /*hidden argument*/NULL);
- NullCheck(L_52);
- InterfaceActionInvoker0::Invoke(3 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsHandshakeHash::SealHashAlgorithms() */, TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var, L_52);
- // break;
- return;
- }
- IL_0232:
- {
- // RefuseRenegotiation();
- VirtualActionInvoker0::Invoke(48 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::RefuseRenegotiation() */, __this);
- // break;
- return;
- }
- IL_0239:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_53 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_53, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_53, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_0241:
- {
- // switch (this.mConnectionState)
- int16_t L_54 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_54) == ((uint32_t)8))))
- {
- goto IL_0264;
- }
- }
- {
- // mTlsServer.ProcessClientSupplementalData(ReadSupplementalDataMessage(buf));
- RuntimeObject* L_55 = __this->get_mTlsServer_49();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_56 = ___buf1;
- RuntimeObject* L_57;
- L_57 = TlsProtocol_ReadSupplementalDataMessage_m018C910B817450B54F9B08295771D764DCAEAD4F(L_56, /*hidden argument*/NULL);
- NullCheck(L_55);
- 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);
- // this.mConnectionState = CS_CLIENT_SUPPLEMENTAL_DATA;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)9));
- // break;
- return;
- }
- IL_0264:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_58 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_58, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_58, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_026c:
- {
- // switch (this.mConnectionState)
- int16_t L_59 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_59;
- int16_t L_60 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_60, (int32_t)8))) <= ((uint32_t)1))))
- {
- goto IL_02af;
- }
- }
- {
- // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
- int16_t L_61 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_61) >= ((int32_t)((int32_t)9))))
- {
- goto IL_028f;
- }
- }
- {
- // mTlsServer.ProcessClientSupplementalData(null);
- RuntimeObject* L_62 = __this->get_mTlsServer_49();
- NullCheck(L_62);
- 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);
- }
- IL_028f:
- {
- // if (this.mCertificateRequest == null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_63 = __this->get_mCertificateRequest_53();
- if (L_63)
- {
- goto IL_029f;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_64 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_64, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_64, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_029f:
- {
- // ReceiveCertificateMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_65 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(51 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateMessage(System.IO.MemoryStream) */, __this, L_65);
- // this.mConnectionState = CS_CLIENT_CERTIFICATE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
- // break;
- return;
- }
- IL_02af:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_66 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_66, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_02b7:
- {
- // switch (this.mConnectionState)
- int16_t L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_67;
- int16_t L_68 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_68, (int32_t)8))) <= ((uint32_t)2))))
- {
- goto IL_0349;
- }
- }
- {
- // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
- int16_t L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_69) >= ((int32_t)((int32_t)9))))
- {
- goto IL_02dd;
- }
- }
- {
- // mTlsServer.ProcessClientSupplementalData(null);
- RuntimeObject* L_70 = __this->get_mTlsServer_49();
- NullCheck(L_70);
- 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);
- }
- IL_02dd:
- {
- // if (mConnectionState < CS_CLIENT_CERTIFICATE)
- int16_t L_71 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_71) >= ((int32_t)((int32_t)10))))
- {
- goto IL_0339;
- }
- }
- {
- // if (this.mCertificateRequest == null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_72 = __this->get_mCertificateRequest_53();
- if (L_72)
- {
- goto IL_02fc;
- }
- }
- {
- // this.mKeyExchange.SkipClientCredentials();
- RuntimeObject* L_73 = __this->get_mKeyExchange_51();
- NullCheck(L_73);
- InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_73);
- // }
- goto IL_0339;
- }
- IL_02fc:
- {
- // if (TlsUtilities.IsTlsV12(Context))
- RuntimeObject* L_74;
- L_74 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_75;
- L_75 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_74, /*hidden argument*/NULL);
- if (!L_75)
- {
- goto IL_0311;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_76 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_76, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_76, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_0311:
- {
- // else if (TlsUtilities.IsSsl(Context))
- RuntimeObject* L_77;
- L_77 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_78;
- L_78 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_77, /*hidden argument*/NULL);
- if (!L_78)
- {
- goto IL_032e;
- }
- }
- {
- // if (this.mPeerCertificate == null)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_79 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- if (L_79)
- {
- goto IL_0339;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_80 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_80, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_80, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_032e:
- {
- // NotifyClientCertificate(Certificate.EmptyChain);
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_81 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
- 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);
- }
- IL_0339:
- {
- // ReceiveClientKeyExchangeMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_82 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(54 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientKeyExchangeMessage(System.IO.MemoryStream) */, __this, L_82);
- // this.mConnectionState = CS_CLIENT_KEY_EXCHANGE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)11));
- // break;
- return;
- }
- IL_0349:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_83 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_83, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_0351:
- {
- // switch (this.mConnectionState)
- int16_t L_84 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((!(((uint32_t)L_84) == ((uint32_t)((int32_t)11)))))
- {
- goto IL_037b;
- }
- }
- {
- // if (!ExpectCertificateVerifyMessage())
- bool L_85;
- L_85 = VirtualFuncInvoker0< bool >::Invoke(61 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage() */, __this);
- if (L_85)
- {
- goto IL_036b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_86 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_86, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_86, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_036b:
- {
- // ReceiveCertificateVerifyMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_87 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(52 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateVerifyMessage(System.IO.MemoryStream) */, __this, L_87);
- // this.mConnectionState = CS_CERTIFICATE_VERIFY;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)12));
- // break;
- return;
- }
- IL_037b:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_88 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_88, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_88, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_0383:
- {
- // switch (this.mConnectionState)
- int16_t L_89 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_89;
- int16_t L_90 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_90, (int32_t)((int32_t)11)))) <= ((uint32_t)1))))
- {
- goto IL_03f6;
- }
- }
- {
- // if (mConnectionState < CS_CERTIFICATE_VERIFY && ExpectCertificateVerifyMessage())
- int16_t L_91 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_91) >= ((int32_t)((int32_t)12))))
- {
- goto IL_03ab;
- }
- }
- {
- bool L_92;
- L_92 = VirtualFuncInvoker0< bool >::Invoke(61 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage() */, __this);
- if (!L_92)
- {
- goto IL_03ab;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_93 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_93, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_93, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_03ab:
- {
- // ProcessFinishedMessage(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_94 = ___buf1;
- VirtualActionInvoker1< MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * >::Invoke(36 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ProcessFinishedMessage(System.IO.MemoryStream) */, __this, L_94);
- // this.mConnectionState = CS_CLIENT_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)13));
- // if (this.mExpectSessionTicket)
- bool L_95 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mExpectSessionTicket_45();
- if (!L_95)
- {
- goto IL_03d3;
- }
- }
- {
- // SendNewSessionTicketMessage(mTlsServer.GetNewSessionTicket());
- RuntimeObject* L_96 = __this->get_mTlsServer_49();
- NullCheck(L_96);
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_97;
- 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);
- 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);
- }
- IL_03d3:
- {
- // this.mConnectionState = CS_SERVER_SESSION_TICKET;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)14));
- // SendChangeCipherSpecMessage();
- VirtualActionInvoker0::Invoke(40 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendChangeCipherSpecMessage() */, __this);
- // SendFinishedMessage();
- VirtualActionInvoker0::Invoke(41 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::SendFinishedMessage() */, __this);
- // this.mConnectionState = CS_SERVER_FINISHED;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)15));
- // CompleteHandshake();
- VirtualActionInvoker0::Invoke(18 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::CompleteHandshake() */, __this);
- // break;
- return;
- }
- IL_03f6:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_98 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_98, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_98, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- IL_03fe:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_99 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_99, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_99, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleHandshakeMessage_m1B8CDCAF5E5CEADF4E8351E45CF922EE072DCA86_RuntimeMethod_var)));
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::HandleAlertWarningMessage(System.Byte)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, uint8_t ___alertDescription0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int16_t V_0 = 0;
- {
- // base.HandleAlertWarningMessage(alertDescription);
- uint8_t L_0 = ___alertDescription0;
- TlsProtocol_HandleAlertWarningMessage_mAB47A6559235898B84D0E7558E0A99C651C3572E(__this, L_0, /*hidden argument*/NULL);
- uint8_t L_1 = ___alertDescription0;
- if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)41)))))
- {
- goto IL_0060;
- }
- }
- {
- // if (TlsUtilities.IsSsl(Context) && this.mCertificateRequest != null)
- RuntimeObject* L_2;
- L_2 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_3;
- L_3 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_2, /*hidden argument*/NULL);
- if (!L_3)
- {
- goto IL_0058;
- }
- }
- {
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_4 = __this->get_mCertificateRequest_53();
- if (!L_4)
- {
- goto IL_0058;
- }
- }
- {
- // switch (this.mConnectionState)
- int16_t L_5 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- V_0 = L_5;
- int16_t L_6 = V_0;
- if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)8))) <= ((uint32_t)1))))
- {
- goto IL_0058;
- }
- }
- {
- // if (mConnectionState < CS_CLIENT_SUPPLEMENTAL_DATA)
- int16_t L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mConnectionState_40();
- if ((((int32_t)L_7) >= ((int32_t)((int32_t)9))))
- {
- goto IL_0044;
- }
- }
- {
- // mTlsServer.ProcessClientSupplementalData(null);
- RuntimeObject* L_8 = __this->get_mTlsServer_49();
- NullCheck(L_8);
- 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);
- }
- IL_0044:
- {
- // NotifyClientCertificate(Certificate.EmptyChain);
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_9 = ((Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_StaticFields*)il2cpp_codegen_static_fields_for(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var))->get_EmptyChain_0();
- 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);
- // this.mConnectionState = CS_CLIENT_CERTIFICATE;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mConnectionState_40((int16_t)((int32_t)10));
- // return;
- return;
- }
- IL_0058:
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_10 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_10, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_HandleAlertWarningMessage_m54A00D5F2ED695A7364C45EE6AEE3603BD64EBE9_RuntimeMethod_var)));
- }
- IL_0060:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::NotifyClientCertificate(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * ___clientCertificate0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsCredentials_t6C3F3B2C48D027442C1753CA9C9E1D75BC3B4CA7_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // if (mCertificateRequest == null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = __this->get_mCertificateRequest_53();
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_1, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // if (mPeerCertificate != null)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- if (!L_2)
- {
- goto IL_001e;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.unexpected_message);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_3 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_3, (uint8_t)((int32_t)10), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_NotifyClientCertificate_mF1558F6A75F946AE8B787C73106B6C709271A34F_RuntimeMethod_var)));
- }
- IL_001e:
- {
- // this.mPeerCertificate = clientCertificate;
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_4 = ___clientCertificate0;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mPeerCertificate_35(L_4);
- // if (clientCertificate.IsEmpty)
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_5 = ___clientCertificate0;
- NullCheck(L_5);
- bool L_6;
- L_6 = VirtualFuncInvoker0< bool >::Invoke(7 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.Certificate::get_IsEmpty() */, L_5);
- if (!L_6)
- {
- goto IL_003a;
- }
- }
- {
- // this.mKeyExchange.SkipClientCredentials();
- RuntimeObject* L_7 = __this->get_mKeyExchange_51();
- NullCheck(L_7);
- InterfaceActionInvoker0::Invoke(9 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsKeyExchange::SkipClientCredentials() */, TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var, L_7);
- // }
- goto IL_005d;
- }
- IL_003a:
- {
- // this.mClientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate,
- // this.mServerCredentials.Certificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_8 = ___clientCertificate0;
- RuntimeObject* L_9 = __this->get_mServerCredentials_52();
- NullCheck(L_9);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_10;
- 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);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int16_t L_11;
- L_11 = TlsUtilities_GetClientCertificateType_mAE0F44C7FD3D721D4C0B7D82921FDD21AC2A4F29(L_8, L_10, /*hidden argument*/NULL);
- __this->set_mClientCertificateType_54(L_11);
- // this.mKeyExchange.ProcessClientCertificate(clientCertificate);
- RuntimeObject* L_12 = __this->get_mKeyExchange_51();
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_13 = ___clientCertificate0;
- NullCheck(L_12);
- 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);
- }
- IL_005d:
- {
- // this.mTlsServer.NotifyClientCertificate(clientCertificate);
- RuntimeObject* L_14 = __this->get_mTlsServer_49();
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_15 = ___clientCertificate0;
- NullCheck(L_14);
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveCertificateMessage_mC01C5340D1427120B8B5AF2F174713E1F793C33D (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * V_0 = NULL;
- {
- // Certificate clientCertificate = Certificate.Parse(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E_il2cpp_TypeInfo_var);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_1;
- L_1 = Certificate_Parse_m20B75E8C173A1F773E05828F11FDC91C757D808E(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
- // NotifyClientCertificate(clientCertificate);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_3 = V_0;
- 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);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveCertificateVerifyMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsHandshakeHash_tDE3722A66DA26F2E7CDFBD4FAE3E90EEE0FF40B1_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsSigner_t2CEADB2E04B023348A2D88BBAC131A7514FB3921_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * V_0 = NULL;
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * V_1 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * V_3 = NULL;
- Exception_t * V_4 = NULL;
- il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
- il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
- {
- // if (mCertificateRequest == null)
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_0 = __this->get_mCertificateRequest_53();
- if (L_0)
- {
- goto IL_000e;
- }
- }
- {
- // throw new InvalidOperationException();
- InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_1 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
- InvalidOperationException__ctor_m26BD2B620B5FBFA4376C16011C60E18A2EDC8E96(L_1, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
- }
- IL_000e:
- {
- // DigitallySigned clientCertificateVerify = DigitallySigned.Parse(Context, buf);
- RuntimeObject* L_2;
- L_2 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_3 = ___buf0;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_4;
- L_4 = DigitallySigned_Parse_m258106102318F297392C5F9705890CCA96F399A2(L_2, L_3, /*hidden argument*/NULL);
- V_0 = L_4;
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_5 = ___buf0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_5, /*hidden argument*/NULL);
- }
- IL_0021:
- try
- {// begin try (depth: 1)
- {
- // SignatureAndHashAlgorithm signatureAlgorithm = clientCertificateVerify.Algorithm;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_6 = V_0;
- NullCheck(L_6);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_7;
- 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);
- V_1 = L_7;
- // if (TlsUtilities.IsTlsV12(Context))
- RuntimeObject* L_8;
- L_8 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_9;
- L_9 = TlsUtilities_IsTlsV12_m5D10CAF7D91A0D6E16130EEB505F51BB48749885(L_8, /*hidden argument*/NULL);
- if (!L_9)
- {
- goto IL_005a;
- }
- }
- IL_0035:
- {
- // TlsUtilities.VerifySupportedSignatureAlgorithm(mCertificateRequest.SupportedSignatureAlgorithms, signatureAlgorithm);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_10 = __this->get_mCertificateRequest_53();
- NullCheck(L_10);
- RuntimeObject* L_11;
- L_11 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(5 /* System.Collections.IList BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::get_SupportedSignatureAlgorithms() */, L_10);
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_12 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_VerifySupportedSignatureAlgorithm_mB7A7E8BDC377BAB0E781A0537344D18F56F2E59A(L_11, L_12, /*hidden argument*/NULL);
- // hash = mPrepareFinishHash.GetFinalHash(signatureAlgorithm.Hash);
- RuntimeObject* L_13 = __this->get_mPrepareFinishHash_55();
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_14 = V_1;
- NullCheck(L_14);
- uint8_t L_15;
- L_15 = VirtualFuncInvoker0< uint8_t >::Invoke(4 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm::get_Hash() */, L_14);
- NullCheck(L_13);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
- 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);
- V_2 = L_16;
- // }
- goto IL_0066;
- }
- IL_005a:
- {
- // hash = mSecurityParameters.SessionHash;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_17 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_17);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
- L_18 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(13 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_SessionHash() */, L_17);
- V_2 = L_18;
- }
- IL_0066:
- {
- // X509CertificateStructure x509Cert = mPeerCertificate.GetCertificateAt(0);
- Certificate_t31EFEC0119C00E11336F10F40156AF72B3D4EE8E * L_19 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mPeerCertificate_35();
- NullCheck(L_19);
- X509CertificateStructure_tD48237F907D1001604C98590613EFD6D720BEDE1 * L_20;
- 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);
- // SubjectPublicKeyInfo keyInfo = x509Cert.SubjectPublicKeyInfo;
- NullCheck(L_20);
- SubjectPublicKeyInfo_t13A2C106F62C6CA1BDB7D5F2E5853257EEBED6FB * L_21;
- L_21 = X509CertificateStructure_get_SubjectPublicKeyInfo_mBFE5A9BF23F805A7399C832CA291203A29121C6F(L_20, /*hidden argument*/NULL);
- // AsymmetricKeyParameter publicKey = PublicKeyFactory.CreateKey(keyInfo);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_22;
- L_22 = PublicKeyFactory_CreateKey_mCDC9554A79A6CD26010C632AFB5E37153A4DEFFB(L_21, /*hidden argument*/NULL);
- V_3 = L_22;
- // TlsSigner tlsSigner = TlsUtilities.CreateTlsSigner((byte)mClientCertificateType);
- int16_t L_23 = __this->get_mClientCertificateType_54();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- RuntimeObject* L_24;
- L_24 = TlsUtilities_CreateTlsSigner_m7414649CB3AF308E08E9D2C2CA4D6ECA734A479F((uint8_t)((int32_t)((uint8_t)L_23)), /*hidden argument*/NULL);
- // tlsSigner.Init(Context);
- RuntimeObject* L_25 = L_24;
- RuntimeObject* L_26;
- L_26 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_25);
- 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);
- // if (!tlsSigner.VerifyRawSignature(signatureAlgorithm, clientCertificateVerify.Signature, publicKey, hash))
- SignatureAndHashAlgorithm_tBBC66260EA04CDA3345052EE1446B2D7AF784F25 * L_27 = V_1;
- DigitallySigned_t630CBD6E2C3ADE2C06C1EDDEF14636616B31B288 * L_28 = V_0;
- NullCheck(L_28);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
- L_29 = VirtualFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(5 /* System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.DigitallySigned::get_Signature() */, L_28);
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_30 = V_3;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31 = V_2;
- NullCheck(L_25);
- bool L_32;
- 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);
- if (L_32)
- {
- goto IL_00ad;
- }
- }
- IL_00a5:
- {
- // throw new TlsFatalAlert(AlertDescription.decrypt_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_33 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_33, (uint8_t)((int32_t)51), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
- }
- IL_00ad:
- {
- // }
- goto IL_00bc;
- }
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_00af;
- }
- 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)))
- {
- IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
- goto CATCH_00b0;
- }
- throw e;
- }
- CATCH_00af:
- {// begin catch(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsFatalAlert)
- // throw e;
- 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)));
- }// end catch (depth: 1)
- CATCH_00b0:
- {// begin catch(System.Exception)
- // catch (Exception e)
- V_4 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
- // throw new TlsFatalAlert(AlertDescription.decrypt_error, e);
- Exception_t * L_34 = V_4;
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_35 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_mB946761CD8831D1CA0FFE235C0B4B0013B666333(L_35, (uint8_t)((int32_t)51), L_34, /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveCertificateVerifyMessage_m8B5BEF0F5ADAD38FBB209D2EE9C45348B6E9F0B1_RuntimeMethod_var)));
- }// end catch (depth: 1)
- IL_00bc:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientHelloMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_0 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
- int32_t V_2 = 0;
- int32_t V_3 = 0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- {
- // ProtocolVersion client_version = TlsUtilities.ReadVersion(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_0 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_1;
- L_1 = TlsUtilities_ReadVersion_mF343EA2DE02C7086C0D30321EA04AD516F2B551A(L_0, /*hidden argument*/NULL);
- V_0 = L_1;
- // mRecordStream.SetWriteVersion(client_version);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_2 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_3 = V_0;
- NullCheck(L_2);
- RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_2, L_3, /*hidden argument*/NULL);
- // if (client_version.IsDtls)
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_4 = V_0;
- NullCheck(L_4);
- bool L_5;
- L_5 = ProtocolVersion_get_IsDtls_m303924D8926713A01DB249AF1B4DED397A13AC7D(L_4, /*hidden argument*/NULL);
- if (!L_5)
- {
- goto IL_0023;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_6 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_6, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_0023:
- {
- // byte[] client_random = TlsUtilities.ReadFully(32, buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_7 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
- L_8 = TlsUtilities_ReadFully_mE5FC834E4FC4A791892231FF5C437BB30CEA8F1D(((int32_t)32), L_7, /*hidden argument*/NULL);
- V_1 = L_8;
- // byte[] sessionID = TlsUtilities.ReadOpaque8(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_9 = ___buf0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10;
- L_10 = TlsUtilities_ReadOpaque8_m7E62AE309E857BBD7C4008D18FD07850A2E77501(L_9, /*hidden argument*/NULL);
- // if (sessionID.Length > 32)
- NullCheck(L_10);
- if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))) <= ((int32_t)((int32_t)32))))
- {
- goto IL_0040;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_11 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_11, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_0040:
- {
- // int cipher_suites_length = TlsUtilities.ReadUint16(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_12 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- int32_t L_13;
- L_13 = TlsUtilities_ReadUint16_mB813EC24F2ECAE1A4F28509A6819745BEDD7D8A4(L_12, /*hidden argument*/NULL);
- V_2 = L_13;
- // if (cipher_suites_length < 2 || (cipher_suites_length & 1) != 0)
- int32_t L_14 = V_2;
- if ((((int32_t)L_14) < ((int32_t)2)))
- {
- goto IL_0050;
- }
- }
- {
- int32_t L_15 = V_2;
- if (!((int32_t)((int32_t)L_15&(int32_t)1)))
- {
- goto IL_0058;
- }
- }
- IL_0050:
- {
- // throw new TlsFatalAlert(AlertDescription.decode_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_16 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_16, (uint8_t)((int32_t)50), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_0058:
- {
- // this.mOfferedCipherSuites = TlsUtilities.ReadUint16Array(cipher_suites_length / 2, buf);
- int32_t L_17 = V_2;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_18 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_19;
- L_19 = TlsUtilities_ReadUint16Array_mF649622C854614FFCB145A35104C84585A175EBC(((int32_t)((int32_t)L_17/(int32_t)2)), L_18, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCipherSuites_36(L_19);
- // int compression_methods_length = TlsUtilities.ReadUint8(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_20 = ___buf0;
- uint8_t L_21;
- L_21 = TlsUtilities_ReadUint8_mA28B77E9A9751670539E56507461A93522CD551B(L_20, /*hidden argument*/NULL);
- V_3 = L_21;
- // if (compression_methods_length < 1)
- int32_t L_22 = V_3;
- if ((((int32_t)L_22) >= ((int32_t)1)))
- {
- goto IL_007a;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_23 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_23, (uint8_t)((int32_t)47), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_007a:
- {
- // this.mOfferedCompressionMethods = TlsUtilities.ReadUint8Array(compression_methods_length, buf);
- int32_t L_24 = V_3;
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_25 = ___buf0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
- L_26 = TlsUtilities_ReadUint8Array_m24B3E47B01E3CC1A702DAD1088D1DBF3CD2459D7(L_24, L_25, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mOfferedCompressionMethods_37(L_26);
- // this.mClientExtensions = ReadExtensions(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_27 = ___buf0;
- RuntimeObject* L_28;
- L_28 = TlsProtocol_ReadExtensions_m19F1B82BA48024ACDF61F9440F039DDFD6BB6649(L_27, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mClientExtensions_38(L_28);
- // this.mSecurityParameters.extendedMasterSecret = TlsExtensionsUtilities.HasExtendedMasterSecretExtension(mClientExtensions);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_29 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_30 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- bool L_31;
- L_31 = TlsExtensionsUtilities_HasExtendedMasterSecretExtension_m16ECF6193002976777668FB2ADC044F8124F6215(L_30, /*hidden argument*/NULL);
- NullCheck(L_29);
- L_29->set_extendedMasterSecret_14(L_31);
- // if (!mSecurityParameters.IsExtendedMasterSecret && mTlsServer.RequiresExtendedMasterSecret())
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_32 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_32);
- bool L_33;
- L_33 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_32);
- if (L_33)
- {
- goto IL_00cb;
- }
- }
- {
- RuntimeObject* L_34 = __this->get_mTlsServer_49();
- NullCheck(L_34);
- bool L_35;
- L_35 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer::RequiresExtendedMasterSecret() */, TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var, L_34);
- if (!L_35)
- {
- goto IL_00cb;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_36 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_36, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_36, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_00cb:
- {
- // ContextAdmin.SetClientVersion(client_version);
- AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_37;
- L_37 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_38 = V_0;
- NullCheck(L_37);
- 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);
- // mTlsServer.NotifyClientVersion(client_version);
- RuntimeObject* L_39 = __this->get_mTlsServer_49();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_40 = V_0;
- NullCheck(L_39);
- 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);
- // mTlsServer.NotifyFallback(Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_FALLBACK_SCSV));
- RuntimeObject* L_41 = __this->get_mTlsServer_49();
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_42 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_43;
- L_43 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_42, ((int32_t)22016), /*hidden argument*/NULL);
- NullCheck(L_41);
- 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);
- // mSecurityParameters.clientRandom = client_random;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_44 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45 = V_1;
- NullCheck(L_44);
- L_44->set_clientRandom_6(L_45);
- // mTlsServer.NotifyOfferedCipherSuites(mOfferedCipherSuites);
- RuntimeObject* L_46 = __this->get_mTlsServer_49();
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_47 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- NullCheck(L_46);
- 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);
- // mTlsServer.NotifyOfferedCompressionMethods(mOfferedCompressionMethods);
- RuntimeObject* L_48 = __this->get_mTlsServer_49();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_49 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
- NullCheck(L_48);
- 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);
- // if (Arrays.Contains(mOfferedCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_50 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- bool L_51;
- L_51 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_50, ((int32_t)255), /*hidden argument*/NULL);
- if (!L_51)
- {
- goto IL_0145;
- }
- }
- {
- // this.mSecureRenegotiation = true;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
- }
- IL_0145:
- {
- // byte[] renegExtData = TlsUtilities.GetExtensionData(mClientExtensions, ExtensionType.renegotiation_info);
- RuntimeObject* L_52 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_53;
- L_53 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_52, ((int32_t)65281), /*hidden argument*/NULL);
- V_4 = L_53;
- // if (renegExtData != null)
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54 = V_4;
- if (!L_54)
- {
- goto IL_017d;
- }
- }
- {
- // this.mSecureRenegotiation = true;
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mSecureRenegotiation_43((bool)1);
- // if (!Arrays.ConstantTimeAreEqual(renegExtData, CreateRenegotiationInfo(TlsUtilities.EmptyBytes)))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_55 = V_4;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_56 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_57;
- L_57 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_56, /*hidden argument*/NULL);
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_58;
- L_58 = Arrays_ConstantTimeAreEqual_mA8B0D8A56AE0903D0723D146FD1777A01E2014E4(L_55, L_57, /*hidden argument*/NULL);
- if (L_58)
- {
- goto IL_017d;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.handshake_failure);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_59 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_59, (uint8_t)((int32_t)40), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_59, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_ReceiveClientHelloMessage_mC63F0D3859705B7ADFCCCAB5E3CABC9F447034C7_RuntimeMethod_var)));
- }
- IL_017d:
- {
- // mTlsServer.NotifySecureRenegotiation(this.mSecureRenegotiation);
- RuntimeObject* L_60 = __this->get_mTlsServer_49();
- bool L_61 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
- NullCheck(L_60);
- 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);
- // if (mClientExtensions != null)
- RuntimeObject* L_62 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- if (!L_62)
- {
- goto IL_01b3;
- }
- }
- {
- // TlsExtensionsUtilities.GetPaddingExtension(mClientExtensions);
- RuntimeObject* L_63 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- int32_t L_64;
- L_64 = TlsExtensionsUtilities_GetPaddingExtension_m0C42E83B74F586B87D15C8CBE435B39316552576(L_63, /*hidden argument*/NULL);
- // mTlsServer.ProcessClientExtensions(mClientExtensions);
- RuntimeObject* L_65 = __this->get_mTlsServer_49();
- RuntimeObject* L_66 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- NullCheck(L_65);
- 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);
- }
- IL_01b3:
- {
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ReceiveClientKeyExchangeMessage(System.IO.MemoryStream)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_ReceiveClientKeyExchangeMessage_m24ACA9687D7D9E8323958DFF5A887F0F16232FEF (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * ___buf0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsKeyExchange_t52E8C3B2BF640CA203CB3987859AB00DA9343807_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsPeer_tBC992F97A16EC0798791CB9BF62C21AA1CD54348_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // mKeyExchange.ProcessClientKeyExchange(buf);
- RuntimeObject* L_0 = __this->get_mKeyExchange_51();
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_1 = ___buf0;
- NullCheck(L_0);
- 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);
- // AssertEmpty(buf);
- MemoryStream_t0B450399DD6D0175074FED99DD321D65771C9E1C * L_2 = ___buf0;
- TlsProtocol_AssertEmpty_m8949A72432991E8A93062D69639FCE23DC0030B6(L_2, /*hidden argument*/NULL);
- // if (TlsUtilities.IsSsl(Context))
- RuntimeObject* L_3;
- L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_4;
- L_4 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_3, /*hidden argument*/NULL);
- if (!L_4)
- {
- goto IL_0030;
- }
- }
- {
- // EstablishMasterSecret(Context, mKeyExchange);
- RuntimeObject* L_5;
- L_5 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_6 = __this->get_mKeyExchange_51();
- TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_5, L_6, /*hidden argument*/NULL);
- }
- IL_0030:
- {
- // this.mPrepareFinishHash = mRecordStream.PrepareToFinish();
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_7 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_7);
- RuntimeObject* L_8;
- L_8 = RecordStream_PrepareToFinish_m0885E437AF5D0B0C2D29F3591F4DF637BDF4A4E0(L_7, /*hidden argument*/NULL);
- __this->set_mPrepareFinishHash_55(L_8);
- // this.mSecurityParameters.sessionHash = GetCurrentPrfHash(Context, mPrepareFinishHash, null);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_9 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_10;
- L_10 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_11 = __this->get_mPrepareFinishHash_55();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
- L_12 = TlsProtocol_GetCurrentPrfHash_m388CF705EEB0F2A5C018224772F4ED6AB7FE77BA(L_10, L_11, (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL, /*hidden argument*/NULL);
- NullCheck(L_9);
- L_9->set_sessionHash_8(L_12);
- // if (!TlsUtilities.IsSsl(Context))
- RuntimeObject* L_13;
- L_13 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_14;
- L_14 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_13, /*hidden argument*/NULL);
- if (L_14)
- {
- goto IL_007c;
- }
- }
- {
- // EstablishMasterSecret(Context, mKeyExchange);
- RuntimeObject* L_15;
- L_15 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- RuntimeObject* L_16 = __this->get_mKeyExchange_51();
- TlsProtocol_EstablishMasterSecret_m0D881878248C4CFFBD293DC32DFA6011222616A7(L_15, L_16, /*hidden argument*/NULL);
- }
- IL_007c:
- {
- // mRecordStream.SetPendingConnectionState(Peer.GetCompression(), Peer.GetCipher());
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_17 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- RuntimeObject* L_18;
- L_18 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_18);
- RuntimeObject* L_19;
- 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);
- RuntimeObject* L_20;
- L_20 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(6 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsPeer BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Peer() */, __this);
- NullCheck(L_20);
- RuntimeObject* L_21;
- 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);
- NullCheck(L_17);
- RecordStream_SetPendingConnectionState_mE877AA000ABC1F1232D0014B4953B8284294B8F1(L_17, L_19, L_21, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateRequestMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendCertificateRequestMessage_m3F3F1C8D618B8E0E1142E8224D6CA969FB3303A3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * ___certificateRequest0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_request);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
- V_0 = L_0;
- // certificateRequest.Encode(message);
- CertificateRequest_t563CAFA8CE312838EF79883A288ACC021302D620 * L_1 = ___certificateRequest0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
- NullCheck(L_1);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateRequest::Encode(System.IO.Stream) */, L_1, L_2);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
- NullCheck(L_3);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendCertificateStatusMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendCertificateStatusMessage_m9EC84556012DAC27F69F78A99105307737BF377A (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * ___certificateStatus0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_status);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)((int32_t)22), /*hidden argument*/NULL);
- V_0 = L_0;
- // certificateStatus.Encode(message);
- CertificateStatus_t51F07730DE508AD3EE89644D00A5B214706D27A3 * L_1 = ___certificateStatus0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = V_0;
- NullCheck(L_1);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(7 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.CertificateStatus::Encode(System.IO.Stream) */, L_1, L_2);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_3 = V_0;
- NullCheck(L_3);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_3, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendNewSessionTicketMessage(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * ___newSessionTicket0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- {
- // if (newSessionTicket == null)
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_0 = ___newSessionTicket0;
- if (L_0)
- {
- goto IL_000b;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_1 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_1, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendNewSessionTicketMessage_m06665E5E3E192F6F550F67274CE0A5466445D9CF_RuntimeMethod_var)));
- }
- IL_000b:
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.session_ticket);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_2, (uint8_t)4, /*hidden argument*/NULL);
- V_0 = L_2;
- // newSessionTicket.Encode(message);
- NewSessionTicket_tE97CC8F3816C300BC527EEB9DF903C4AB90348EF * L_3 = ___newSessionTicket0;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_4 = V_0;
- NullCheck(L_3);
- VirtualActionInvoker1< Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * >::Invoke(6 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.NewSessionTicket::Encode(System.IO.Stream) */, L_3, L_4);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_5 = V_0;
- NullCheck(L_5);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_5, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsContext_t4B26631B1E8D556073EE641DCEE757DBEEC197DB_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * V_0 = NULL;
- int32_t V_1 = 0;
- uint8_t V_2 = 0x0;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * V_3 = NULL;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_4 = NULL;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B19_0 = NULL;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B18_0 = NULL;
- int32_t G_B20_0 = 0;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B20_1 = NULL;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B22_0 = NULL;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B21_0 = NULL;
- int32_t G_B23_0 = 0;
- TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * G_B23_1 = NULL;
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.server_hello);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_0 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m62A4359AB647A816A465AD8CE4E3A5FA2EF283D6(L_0, (uint8_t)2, /*hidden argument*/NULL);
- V_0 = L_0;
- // ProtocolVersion server_version = mTlsServer.GetServerVersion();
- RuntimeObject* L_1 = __this->get_mTlsServer_49();
- NullCheck(L_1);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_2;
- 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);
- V_3 = L_2;
- // if (!server_version.IsEqualOrEarlierVersionOf(Context.ClientVersion))
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_3 = V_3;
- RuntimeObject* L_4;
- L_4 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_4);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_5;
- 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);
- NullCheck(L_3);
- bool L_6;
- L_6 = ProtocolVersion_IsEqualOrEarlierVersionOf_mA6DCE6087D568B23EF6CE3AA61F87A322A592C7D(L_3, L_5, /*hidden argument*/NULL);
- if (L_6)
- {
- goto IL_002e;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_7 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_7, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
- }
- IL_002e:
- {
- // mRecordStream.ReadVersion = server_version;
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_8 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_9 = V_3;
- NullCheck(L_8);
- RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline(L_8, L_9, /*hidden argument*/NULL);
- // mRecordStream.SetWriteVersion(server_version);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_10 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_11 = V_3;
- NullCheck(L_10);
- RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline(L_10, L_11, /*hidden argument*/NULL);
- // mRecordStream.SetRestrictReadVersion(true);
- RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * L_12 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mRecordStream_23();
- NullCheck(L_12);
- RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline(L_12, (bool)1, /*hidden argument*/NULL);
- // ContextAdmin.SetServerVersion(server_version);
- AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * L_13;
- L_13 = VirtualFuncInvoker0< AbstractTlsContext_t7A215D1CD3DB1EB0C4E20AD4811CAED401141836 * >::Invoke(5 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.AbstractTlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_ContextAdmin() */, __this);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_14 = V_3;
- NullCheck(L_13);
- 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);
- // TlsUtilities.WriteVersion(server_version, message);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_15 = V_3;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_16 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteVersion_m68966868BF7698C214AA0C5EF1157ADCDFEC1509(L_15, L_16, /*hidden argument*/NULL);
- // message.Write(this.mSecurityParameters.serverRandom);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_17 = V_0;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_18 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_18);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = L_18->get_serverRandom_7();
- NullCheck(L_17);
- HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_17, L_19, /*hidden argument*/NULL);
- // TlsUtilities.WriteOpaque8(TlsUtilities.EmptyBytes, message);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_21 = V_0;
- TlsUtilities_WriteOpaque8_m44042F177FBCFAD069991148333A008369268058(L_20, L_21, /*hidden argument*/NULL);
- // int selectedCipherSuite = mTlsServer.GetSelectedCipherSuite();
- RuntimeObject* L_22 = __this->get_mTlsServer_49();
- NullCheck(L_22);
- int32_t L_23;
- L_23 = InterfaceFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetSelectedCipherSuite() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_22);
- V_1 = L_23;
- // if (!Arrays.Contains(mOfferedCipherSuites, selectedCipherSuite)
- // || selectedCipherSuite == CipherSuite.TLS_NULL_WITH_NULL_NULL
- // || CipherSuite.IsScsv(selectedCipherSuite)
- // || !TlsUtilities.IsValidCipherSuiteForVersion(selectedCipherSuite, Context.ServerVersion))
- Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* L_24 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCipherSuites_36();
- int32_t L_25 = V_1;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_26;
- L_26 = Arrays_Contains_mA6F27613B7535BFB5B27C6005F406A558D525FF1(L_24, L_25, /*hidden argument*/NULL);
- if (!L_26)
- {
- goto IL_00b9;
- }
- }
- {
- int32_t L_27 = V_1;
- if (!L_27)
- {
- goto IL_00b9;
- }
- }
- {
- int32_t L_28 = V_1;
- bool L_29;
- L_29 = CipherSuite_IsScsv_m9666A8538EA9FAC19F85B056E6FAF76CB01651DD(L_28, /*hidden argument*/NULL);
- if (L_29)
- {
- goto IL_00b9;
- }
- }
- {
- int32_t L_30 = V_1;
- RuntimeObject* L_31;
- L_31 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- NullCheck(L_31);
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_32;
- 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);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_33;
- L_33 = TlsUtilities_IsValidCipherSuiteForVersion_mC3ED3FE1C17CAD0B5DE835A6E275E7A1CF122182(L_30, L_32, /*hidden argument*/NULL);
- if (L_33)
- {
- goto IL_00c1;
- }
- }
- IL_00b9:
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_34 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_34, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
- }
- IL_00c1:
- {
- // mSecurityParameters.cipherSuite = selectedCipherSuite;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_35 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- int32_t L_36 = V_1;
- NullCheck(L_35);
- L_35->set_cipherSuite_1(L_36);
- // byte selectedCompressionMethod = mTlsServer.GetSelectedCompressionMethod();
- RuntimeObject* L_37 = __this->get_mTlsServer_49();
- NullCheck(L_37);
- uint8_t L_38;
- L_38 = InterfaceFuncInvoker0< uint8_t >::Invoke(8 /* System.Byte BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetSelectedCompressionMethod() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_37);
- V_2 = L_38;
- // if (!Arrays.Contains(mOfferedCompressionMethods, selectedCompressionMethod))
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mOfferedCompressionMethods_37();
- uint8_t L_40 = V_2;
- IL2CPP_RUNTIME_CLASS_INIT(Arrays_t7CFD09DA7425047721E193958DAC5AB0FCFF67BF_il2cpp_TypeInfo_var);
- bool L_41;
- L_41 = Arrays_Contains_m98270A2286043FD81622E3B5B508F39AEC53F0CF(L_39, L_40, /*hidden argument*/NULL);
- if (L_41)
- {
- goto IL_00ef;
- }
- }
- {
- // throw new TlsFatalAlert(AlertDescription.internal_error);
- TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 * L_42 = (TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsFatalAlert_t0276C80DB71173ABBF3DD2ED80381B2C93500946_il2cpp_TypeInfo_var)));
- TlsFatalAlert__ctor_m5E60530B7A2FB64D19A7635CCBBB4873940F48C5(L_42, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TlsServerProtocol_SendServerHelloMessage_m009558C9D2DB29B4094ABB971852536AB003BDA3_RuntimeMethod_var)));
- }
- IL_00ef:
- {
- // mSecurityParameters.compressionAlgorithm = selectedCompressionMethod;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_43 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- uint8_t L_44 = V_2;
- NullCheck(L_43);
- L_43->set_compressionAlgorithm_2(L_44);
- // TlsUtilities.WriteUint16(selectedCipherSuite, message);
- int32_t L_45 = V_1;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_46 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint16_mC42E46986EDBAA3B4B4C80D99A49ABE7634C204E(L_45, L_46, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint8(selectedCompressionMethod, message);
- uint8_t L_47 = V_2;
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_48 = V_0;
- TlsUtilities_WriteUint8_mFDD5DCC4EB56283CA6B0A5DFF0B6BB86FDB0E825(L_47, L_48, /*hidden argument*/NULL);
- // this.mServerExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(mTlsServer.GetServerExtensions());
- RuntimeObject* L_49 = __this->get_mTlsServer_49();
- NullCheck(L_49);
- RuntimeObject* L_50;
- L_50 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(9 /* System.Collections.IDictionary BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServer::GetServerExtensions() */, TlsServer_tF90B35B0591A052640414461069D41A6FAD2AF57_il2cpp_TypeInfo_var, L_49);
- RuntimeObject* L_51;
- L_51 = TlsExtensionsUtilities_EnsureExtensionsInitialised_mA4EB7585E0F22B3517895F3930A3FAABB66F5963(L_50, /*hidden argument*/NULL);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->set_mServerExtensions_39(L_51);
- // if (this.mSecureRenegotiation)
- bool L_52 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecureRenegotiation_43();
- if (!L_52)
- {
- goto IL_015f;
- }
- }
- {
- // byte[] renegExtData = TlsUtilities.GetExtensionData(this.mServerExtensions, ExtensionType.renegotiation_info);
- RuntimeObject* L_53 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_54;
- L_54 = TlsUtilities_GetExtensionData_mA10C3AE8DD3888E07330B794DE4AD7FB0AA522A0(L_53, ((int32_t)65281), /*hidden argument*/NULL);
- V_4 = L_54;
- // bool noRenegExt = (null == renegExtData);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_55 = V_4;
- // if (noRenegExt)
- if (!((((RuntimeObject*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)L_55) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0))
- {
- goto IL_015f;
- }
- }
- {
- // this.mServerExtensions[ExtensionType.renegotiation_info] = CreateRenegotiationInfo(TlsUtilities.EmptyBytes);
- RuntimeObject* L_56 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- int32_t L_57 = ((int32_t)65281);
- RuntimeObject * L_58 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_57);
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_59 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_60;
- L_60 = TlsProtocol_CreateRenegotiationInfo_m9174B688CBCAF00CC668E636242962FB6BE97246(L_59, /*hidden argument*/NULL);
- NullCheck(L_56);
- 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);
- }
- IL_015f:
- {
- // if (TlsUtilities.IsSsl(mTlsServerContext))
- TlsServerContextImpl_tB804A9F8D6664A236DE72550DB86A141E44B4930 * L_61 = __this->get_mTlsServerContext_50();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_62;
- L_62 = TlsUtilities_IsSsl_m00FDA744E489981F6285852D1C10167CCEE97958(L_61, /*hidden argument*/NULL);
- if (!L_62)
- {
- goto IL_017a;
- }
- }
- {
- // mSecurityParameters.extendedMasterSecret = false;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_63 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_63);
- L_63->set_extendedMasterSecret_14((bool)0);
- // }
- goto IL_0192;
- }
- IL_017a:
- {
- // else if (mSecurityParameters.IsExtendedMasterSecret)
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_64 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_64);
- bool L_65;
- L_65 = VirtualFuncInvoker0< bool >::Invoke(16 /* System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_IsExtendedMasterSecret() */, L_64);
- if (!L_65)
- {
- goto IL_0192;
- }
- }
- {
- // TlsExtensionsUtilities.AddExtendedMasterSecretExtension(mServerExtensions);
- RuntimeObject* L_66 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- TlsExtensionsUtilities_AddExtendedMasterSecretExtension_mF1901A787FD726F1A75276B4BCDA49523FB53AE1(L_66, /*hidden argument*/NULL);
- }
- IL_0192:
- {
- // if (this.mServerExtensions.Count > 0)
- RuntimeObject* L_67 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- NullCheck(L_67);
- int32_t L_68;
- L_68 = InterfaceFuncInvoker0< int32_t >::Invoke(1 /* System.Int32 System.Collections.ICollection::get_Count() */, ICollection_tC1E1DED86C0A66845675392606B302452210D5DA_il2cpp_TypeInfo_var, L_67);
- if ((((int32_t)L_68) <= ((int32_t)0)))
- {
- goto IL_0239;
- }
- }
- {
- // this.mSecurityParameters.encryptThenMac = TlsExtensionsUtilities.HasEncryptThenMacExtension(mServerExtensions);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_69 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_70 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- bool L_71;
- L_71 = TlsExtensionsUtilities_HasEncryptThenMacExtension_m9F9FADA5CBE41A1A8B94E300DF918FFEA73E011B(L_70, /*hidden argument*/NULL);
- NullCheck(L_69);
- L_69->set_encryptThenMac_13(L_71);
- // this.mSecurityParameters.maxFragmentLength = ProcessMaxFragmentLengthExtension(mClientExtensions,
- // mServerExtensions, AlertDescription.internal_error);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_72 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_73 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mClientExtensions_38();
- RuntimeObject* L_74 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- int16_t L_75;
- 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));
- NullCheck(L_72);
- L_72->set_maxFragmentLength_11(L_75);
- // this.mSecurityParameters.truncatedHMac = TlsExtensionsUtilities.HasTruncatedHMacExtension(mServerExtensions);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_76 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_77 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- bool L_78;
- L_78 = TlsExtensionsUtilities_HasTruncatedHMacExtension_m4A99645588466BA771AE23CD20338BA9EC03D24F(L_77, /*hidden argument*/NULL);
- NullCheck(L_76);
- L_76->set_truncatedHMac_12(L_78);
- // this.mAllowCertificateStatus = !mResumedSession
- // && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, ExtensionType.status_request,
- // AlertDescription.internal_error);
- bool L_79 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- G_B18_0 = __this;
- if (L_79)
- {
- G_B19_0 = __this;
- goto IL_0207;
- }
- }
- {
- RuntimeObject* L_80 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_81;
- L_81 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_80, 5, (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- G_B20_0 = ((int32_t)(L_81));
- G_B20_1 = G_B18_0;
- goto IL_0208;
- }
- IL_0207:
- {
- G_B20_0 = 0;
- G_B20_1 = G_B19_0;
- }
- IL_0208:
- {
- NullCheck(G_B20_1);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B20_1)->set_mAllowCertificateStatus_44((bool)G_B20_0);
- // this.mExpectSessionTicket = !mResumedSession
- // && TlsUtilities.HasExpectedEmptyExtensionData(mServerExtensions, ExtensionType.session_ticket,
- // AlertDescription.internal_error);
- bool L_82 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mResumedSession_41();
- G_B21_0 = __this;
- if (L_82)
- {
- G_B22_0 = __this;
- goto IL_0227;
- }
- }
- {
- RuntimeObject* L_83 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_84;
- L_84 = TlsUtilities_HasExpectedEmptyExtensionData_m8696FC157600CFD36C8DD19ADFA6AD12B50828C6(L_83, ((int32_t)35), (uint8_t)((int32_t)80), /*hidden argument*/NULL);
- G_B23_0 = ((int32_t)(L_84));
- G_B23_1 = G_B21_0;
- goto IL_0228;
- }
- IL_0227:
- {
- G_B23_0 = 0;
- G_B23_1 = G_B22_0;
- }
- IL_0228:
- {
- NullCheck(G_B23_1);
- ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)G_B23_1)->set_mExpectSessionTicket_45((bool)G_B23_0);
- // WriteExtensions(message, this.mServerExtensions);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_85 = V_0;
- RuntimeObject* L_86 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mServerExtensions_39();
- TlsProtocol_WriteExtensions_mFA1A29833D1EE8175E459315FE480AB2BE54B2B0(L_85, L_86, /*hidden argument*/NULL);
- }
- IL_0239:
- {
- // mSecurityParameters.prfAlgorithm = GetPrfAlgorithm(Context, mSecurityParameters.CipherSuite);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_87 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- RuntimeObject* L_88;
- L_88 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(4 /* BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsContext BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::get_Context() */, __this);
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_89 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_89);
- int32_t L_90;
- L_90 = VirtualFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SecurityParameters::get_CipherSuite() */, L_89);
- int32_t L_91;
- L_91 = TlsProtocol_GetPrfAlgorithm_mA98A53EB2AC319D63D378B38D75ABCCD2A7BAAD3(L_88, L_90, /*hidden argument*/NULL);
- NullCheck(L_87);
- L_87->set_prfAlgorithm_3(L_91);
- // mSecurityParameters.verifyDataLength = 12;
- SecurityParameters_t6B17CF2860B92B5393C0EC2B7CF4986ABB598803 * L_92 = ((TlsProtocol_t0AF7CC5A58D00FFFD3D400269F4EFEF8E0A0AF69 *)__this)->get_mSecurityParameters_34();
- NullCheck(L_92);
- L_92->set_verifyDataLength_4(((int32_t)12));
- // ApplyMaxFragmentLengthExtension();
- VirtualActionInvoker0::Invoke(14 /* System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsProtocol::ApplyMaxFragmentLengthExtension() */, __this);
- // message.WriteToRecordStream(this);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_93 = V_0;
- NullCheck(L_93);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_93, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerHelloDoneMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerHelloDoneMessage_mC2C79727F106A24C645AE286E03A81D4EC7C6B33 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
- {
- // byte[] message = new byte[4];
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)4);
- V_0 = L_0;
- // TlsUtilities.WriteUint8(HandshakeType.server_hello_done, message, 0);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = V_0;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- TlsUtilities_WriteUint8_mF51A9F2BA4D361435E4993CFC5BD46CCCB65E186((uint8_t)((int32_t)14), L_1, 0, /*hidden argument*/NULL);
- // TlsUtilities.WriteUint24(0, message, 1);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = V_0;
- TlsUtilities_WriteUint24_mCF0566BA8435AE3747917DE7F5A575C323C40ECF(0, L_2, 1, /*hidden argument*/NULL);
- // WriteHandshakeMessage(message, 0, message.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = V_0;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = V_0;
- NullCheck(L_4);
- 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))));
- // }
- return;
- }
- }
- // System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::SendServerKeyExchangeMessage(System.Byte[])
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsServerProtocol_SendServerKeyExchangeMessage_m429B360C8A1CD0F68690987C6BB3B25EE57751D3 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___serverKeyExchange0, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // HandshakeMessage message = new HandshakeMessage(HandshakeType.server_key_exchange, serverKeyExchange.Length);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___serverKeyExchange0;
- NullCheck(L_0);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_1 = (HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F *)il2cpp_codegen_object_new(HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F_il2cpp_TypeInfo_var);
- HandshakeMessage__ctor_m9E2423B0D0504BCD4FE101668522D891AA8FD852(L_1, (uint8_t)((int32_t)12), ((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))), /*hidden argument*/NULL);
- // message.Write(serverKeyExchange);
- HandshakeMessage_tD11451C9867FA4C067312FD71285F27B60C3BF7F * L_2 = L_1;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___serverKeyExchange0;
- NullCheck(L_2);
- HandshakeMessage_Write_m8B23268DEE7739040C718255AB95FDC29AFB24F9(L_2, L_3, /*hidden argument*/NULL);
- // message.WriteToRecordStream(this);
- NullCheck(L_2);
- HandshakeMessage_WriteToRecordStream_mFE4F549993B16F59AF49BA86279DB8650AF58FC3(L_2, __this, /*hidden argument*/NULL);
- // }
- return;
- }
- }
- // System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsServerProtocol::ExpectCertificateVerifyMessage()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TlsServerProtocol_ExpectCertificateVerifyMessage_m97FEF17AE96C8AF4448CD7AE7AF366F820A2D391 (TlsServerProtocol_t1A768418D5A573DA404959115DE6AD151C340733 * __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return mClientCertificateType >= 0 && TlsUtilities.HasSigningCapability((byte)mClientCertificateType);
- int16_t L_0 = __this->get_mClientCertificateType_54();
- if ((((int32_t)L_0) < ((int32_t)0)))
- {
- goto IL_0016;
- }
- }
- {
- int16_t L_1 = __this->get_mClientCertificateType_54();
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- bool L_2;
- L_2 = TlsUtilities_HasSigningCapability_mFFC9436C58DCC2B37C956BB17DB94F8BD8B6360D((uint8_t)((int32_t)((uint8_t)L_1)), /*hidden argument*/NULL);
- return L_2;
- }
- IL_0016:
- {
- return (bool)0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * Armature_get_armatureData_m629F1CEA81A0029A853BA8226F2547983A81DCFA_inline (Armature_t83B55B875E92A11A27E8BDB2AEB4FEA22D7070AD * __this, const RuntimeMethod* method)
- {
- {
- // get { return this._armatureData; }
- ArmatureData_tC4014AAE9703E67A9D0B03DD8ACB0544B0F882D2 * L_0 = __this->get__armatureData_17();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool SessionParameters_get_IsExtendedMasterSecret_m0E44233725BECE1CE04D35EE9221186CC3C561DA_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
- {
- {
- // get { return mExtendedMasterSecret; }
- bool L_0 = __this->get_mExtendedMasterSecret_7();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* SessionParameters_get_MasterSecret_m95C307C8EE17D2EFA209BB98AA21E6B8DB4CA04C_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
- {
- {
- // get { return mMasterSecret; }
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_mMasterSecret_2();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* RecordStream_get_HandshakeHash_m87F9746D3880A3BFDB60733DD58D5509A8EAA3A1_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
- {
- {
- // get { return mHandshakeHash; }
- RuntimeObject* L_0 = __this->get_mHandshakeHash_17();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * RecordStream_get_ReadVersion_m0FB8670BB138B6FAD2A518C05F360D05FBBFE6E9_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
- {
- {
- // get { return mReadVersion; }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = __this->get_mReadVersion_19();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetWriteVersion_m723487D9B61610B991994CB077F5E38E9C680200_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___writeVersion0, const RuntimeMethod* method)
- {
- {
- // this.mWriteVersion = writeVersion;
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = ___writeVersion0;
- __this->set_mWriteVersion_20(L_0);
- // }
- return;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t SessionParameters_get_CipherSuite_mE16D34429B906E513708398FABFCBD48690D9453_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
- {
- {
- // get { return mCipherSuite; }
- int32_t L_0 = __this->get_mCipherSuite_0();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t SessionParameters_get_CompressionAlgorithm_mF018EFA16DF41F3AA8A74E03F3C0FF380B7DB999_inline (SessionParameters_tD123179695A5EB2FFEFF3AF304B4499FA9EFB48D * __this, const RuntimeMethod* method)
- {
- {
- // get { return mCompressionAlgorithm; }
- uint8_t L_0 = __this->get_mCompressionAlgorithm_1();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * DHKeyParameters_get_Parameters_m8326B9027BC20424443693EE35810E681E9F07C1_inline (DHKeyParameters_t6691EA3D1F8F4AC3FFD335951291147F81281626 * __this, const RuntimeMethod* method)
- {
- {
- // get { return parameters; }
- DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * L_0 = __this->get_parameters_1();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_P_m4F16EAF2B2AE1031176E637AF06F2877B9E1CC87_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
- {
- {
- // get { return p; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_p_1();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_G_mE648B11712FAA465A0FB35A53B99A32B71FBD10F_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
- {
- {
- // get { return g; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_g_2();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * DHParameters_get_Q_m0A4571AD221D5F3BF41228872EE0F5F6C428F19C_inline (DHParameters_tCDF67A47BA2AB208DA1E9A0D0B1A15FB10A7401C * __this, const RuntimeMethod* method)
- {
- {
- // get { return q; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_q_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Public_mA3C7A50C4C75C3A9003ACC9454F6B941AED2EB98_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method)
- {
- {
- // get { return publicParameter; }
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = __this->get_publicParameter_0();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * AsymmetricCipherKeyPair_get_Private_m74718BBBC8CD464CA09BC88F15ED38156A92280A_inline (AsymmetricCipherKeyPair_t975F15F5FD9FD35454E104A768061EAFB010D929 * __this, const RuntimeMethod* method)
- {
- {
- // get { return privateParameter; }
- AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * L_0 = __this->get_privateParameter_1();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * ECKeyParameters_get_Parameters_m542E2EBDEDF773CFA59A881334563D7B3888F32B_inline (ECKeyParameters_tC564F57CB492506FC8DACDDD142BFEF68E9A3141 * __this, const RuntimeMethod* method)
- {
- {
- // get { return parameters; }
- ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * L_0 = __this->get_parameters_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * X9ECParameters_get_Curve_m1BC4F848F8E72563287A1FA9395C9E3ECD2FCD23_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
- {
- {
- // get { return curve; }
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_0 = __this->get_curve_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_N_mA5FBAFD92C027D5B545F8CBD8D9C77A01B950EAA_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
- {
- {
- // get { return n; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_n_5();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * X9ECParameters_get_H_m14081C62E77B14A1088C1A3494E8BCB77BB0564C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
- {
- {
- // get { return h; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_h_6();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X9ECParameters_GetSeed_mBF568758D960F3414ED0AF05FA4C66DFE46ED05C_inline (X9ECParameters_tB28B6062173497FECD7BE710F3F948B2F968D639 * __this, const RuntimeMethod* method)
- {
- {
- // return seed;
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get_seed_7();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECPublicKeyParameters_get_Q_m37408C2CF552166020ADF2CFD5D881029BC9C533_inline (ECPublicKeyParameters_tB75EB7F71DB6B346048D07C4EC9D4968988F92FB * __this, const RuntimeMethod* method)
- {
- {
- // get { return q; }
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = __this->get_q_5();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * ECDomainParameters_get_Curve_mAF743EDFBA6FB8B0CBFB23022CE6D7471EEEFC79_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
- {
- {
- // get { return curve; }
- ECCurve_t850A42EEB1867F313B111B5A75430D443165B926 * L_0 = __this->get_curve_0();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * ECDomainParameters_get_G_m98A15A2437F3706CF1B8D7F738246A1675B6243B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
- {
- {
- // get { return g; }
- ECPoint_tB125EF230297BF796402D7C2818D0ADF6328B6EA * L_0 = __this->get_g_2();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_N_m080834A40F7AF8441A6C3858E9E7738CE8812D2B_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
- {
- {
- // get { return n; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_n_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * ECDomainParameters_get_H_m63EEBE8D9957F9B7487AC767891F317A488E3014_inline (ECDomainParameters_t497C366AFE7E3BFD490E52439C422AFDE91B12DC * __this, const RuntimeMethod* method)
- {
- {
- // get { return h; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_h_4();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* TlsExtensionsUtilities_CreateEmptyExtensionData_m937EB02F14DC30DED4DF7FEBDCC40DDEC76DF7B1_inline (const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- // return TlsUtilities.EmptyBytes;
- IL2CPP_RUNTIME_CLASS_INIT(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var);
- ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ((TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_StaticFields*)il2cpp_codegen_static_fields_for(TlsUtilities_tBD7059E0F720D0F1FFAEE7EBFEFBDF40FA20D352_il2cpp_TypeInfo_var))->get_EmptyBytes_0();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ByteQueue_get_Available_m91501B129D3156941F03D56F51CBEFD0EEE75E7B_inline (ByteQueue_tFCDD21AF1559BE58C2488F5FA5AEBAA16ED1A471 * __this, const RuntimeMethod* method)
- {
- {
- // get { return available; }
- int32_t L_0 = __this->get_available_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Stream_t5DC87DD578C2C5298D98E7802E92DEABB66E2ECB * RecordStream_get_HandshakeHashUpdater_m0DC8C2B1AA26421C8C3F35643545FE7357040211_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
- {
- {
- // get { return mHandshakeHashUpdater; }
- BaseOutputStream_t2D9489B8980FD869AC00639443535AA2CE496A6D * L_0 = __this->get_mHandshakeHashUpdater_18();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RecordStream_GetPlaintextLimit_m6F2F2B47C34C96A560E19ADD36591D06FA8D8E00_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, const RuntimeMethod* method)
- {
- {
- // return mPlaintextLimit;
- int32_t L_0 = __this->get_mPlaintextLimit_22();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool AsymmetricKeyParameter_get_IsPrivate_m4A94334067C062D7991228DDB6CBFE57A5D8244B_inline (AsymmetricKeyParameter_t99E15FA54F59DFD554A3211C73037A0F5E85374A * __this, const RuntimeMethod* method)
- {
- {
- // get { return privateKey; }
- bool L_0 = __this->get_privateKey_0();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * RsaKeyParameters_get_Exponent_m21F569575AA358CF9B770D3C7C4D26DF1AF76A62_inline (RsaKeyParameters_t5CEAA6F9B92D2B6F1225DFF7C089B43146012801 * __this, const RuntimeMethod* method)
- {
- {
- // get { return exponent; }
- BigInteger_t7D955A486C5008F717581BC0AD632A69F58730D9 * L_0 = __this->get_exponent_3();
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_SetRestrictReadVersion_mB75E409D812FDB56CCFFCE7410A8BA3DCA11C53F_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, bool ___enabled0, const RuntimeMethod* method)
- {
- {
- // this.mRestrictReadVersion = enabled;
- bool L_0 = ___enabled0;
- __this->set_mRestrictReadVersion_21(L_0);
- // }
- return;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RecordStream_set_ReadVersion_m4880B015F85C7C541627CFC915FA651BF7431C2E_inline (RecordStream_t7C44C947EB6F1ED4E1EE3A0869D4D9542A6D6C3E * __this, ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * ___value0, const RuntimeMethod* method)
- {
- {
- // set { this.mReadVersion = value; }
- ProtocolVersion_t15E37D4A7EDC7F9F94B9A4A6149AC9F7F6C04915 * L_0 = ___value0;
- __this->set_mReadVersion_19(L_0);
- // set { this.mReadVersion = value; }
- return;
- }
- }
- 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)
- {
- {
- int32_t L_0 = ___index0;
- int32_t L_1 = (int32_t)__this->get__size_2();
- if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
- {
- goto IL_000e;
- }
- }
- {
- ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929(/*hidden argument*/NULL);
- }
- IL_000e:
- {
- UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* L_2 = (UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF*)__this->get__items_1();
- int32_t L_3 = ___index0;
- uint32_t L_4;
- L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF*)L_2, (int32_t)L_3);
- return (uint32_t)L_4;
- }
- }
|