ifapi_serialization.3 127 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482
  1. .TH "ifapi_serialization" 3 "Fri Oct 7 2022" "Version 3.2.0" "tpm2-tss" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ifapi_serialization
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .SS "Functions"
  10. .in +1c
  11. .ti -1c
  12. .RI "TSS2_RC \fBifapi_json_FAPI_QUOTE_INFO_serialize\fP (const \fBFAPI_QUOTE_INFO\fP *in, json_object **jso)"
  13. .br
  14. .ti -1c
  15. .RI "TSS2_RC \fBifapi_json_IFAPI_CAP_INFO_serialize\fP (const \fBIFAPI_CAP_INFO\fP *in, json_object **jso)"
  16. .br
  17. .ti -1c
  18. .RI "TSS2_RC \fBifapi_json_IFAPI_DUPLICATE_serialize\fP (const \fBIFAPI_DUPLICATE\fP *in, json_object **jso)"
  19. .br
  20. .ti -1c
  21. .RI "TSS2_RC \fBifapi_json_IFAPI_EVENT_TYPE_serialize\fP (const IFAPI_EVENT_TYPE in, json_object **jso)"
  22. .br
  23. .ti -1c
  24. .RI "TSS2_RC \fBifapi_json_IFAPI_EVENT_TYPE_serialize_txt\fP (const IFAPI_EVENT_TYPE in, json_object **str_jso)"
  25. .br
  26. .ti -1c
  27. .RI "TSS2_RC \fBifapi_json_IFAPI_EVENT_UNION_serialize\fP (const \fBIFAPI_EVENT_UNION\fP *in, UINT32 selector, json_object **jso)"
  28. .br
  29. .ti -1c
  30. .RI "TSS2_RC \fBifapi_json_IFAPI_EVENT_serialize\fP (const \fBIFAPI_EVENT\fP *in, json_object **jso)"
  31. .br
  32. .ti -1c
  33. .RI "TSS2_RC \fBifapi_json_IFAPI_EXT_PUB_KEY_serialize\fP (const \fBIFAPI_EXT_PUB_KEY\fP *in, json_object **jso)"
  34. .br
  35. .ti -1c
  36. .RI "TSS2_RC \fBifapi_json_IFAPI_HIERARCHY_serialize\fP (const \fBIFAPI_HIERARCHY\fP *in, json_object **jso)"
  37. .br
  38. .ti -1c
  39. .RI "TSS2_RC \fBifapi_json_IFAPI_IMA_EVENT_serialize\fP (const \fBIFAPI_IMA_EVENT\fP *in, json_object **jso)"
  40. .br
  41. .ti -1c
  42. .RI "TSS2_RC \fBifapi_json_IFAPI_INFO_serialize\fP (const \fBIFAPI_INFO\fP *in, json_object **jso)"
  43. .br
  44. .ti -1c
  45. .RI "TSS2_RC \fBifapi_json_IFAPI_KEY_serialize\fP (const \fBIFAPI_KEY\fP *in, json_object **jso)"
  46. .br
  47. .ti -1c
  48. .RI "TSS2_RC \fBifapi_json_IFAPI_NV_serialize\fP (const \fBIFAPI_NV\fP *in, json_object **jso)"
  49. .br
  50. .ti -1c
  51. .RI "TSS2_RC \fBifapi_json_IFAPI_OBJECT_TYPE_CONSTANT_serialize\fP (const IFAPI_OBJECT_TYPE_CONSTANT in, json_object **jso)"
  52. .br
  53. .ti -1c
  54. .RI "TSS2_RC \fBifapi_json_IFAPI_OBJECT_serialize\fP (const \fBIFAPI_OBJECT\fP *in, json_object **jso)"
  55. .br
  56. .ti -1c
  57. .RI "TSS2_RC \fBifapi_json_IFAPI_TSS_EVENT_serialize\fP (const \fBIFAPI_TSS_EVENT\fP *in, json_object **jso)"
  58. .br
  59. .ti -1c
  60. .RI "TSS2_RC \fBifapi_json_UINT8_ARY_serialize\fP (const \fBUINT8_ARY\fP *in, json_object **jso)"
  61. .br
  62. .ti -1c
  63. .RI "TSS2_RC \fBifapi_json_char_serialize\fP (const char *in, json_object **jso)"
  64. .br
  65. .ti -1c
  66. .RI "TSS2_RC \fBifapi_json_INT32_serialize\fP (const INT32 in, json_object **jso)"
  67. .br
  68. .ti -1c
  69. .RI "TSS2_RC \fBifapi_json_TPM2B_CREATION_DATA_serialize\fP (const TPM2B_CREATION_DATA *in, json_object **jso)"
  70. .br
  71. .ti -1c
  72. .RI "TSS2_RC \fBifapi_json_TPM2B_DATA_serialize\fP (const TPM2B_DATA *in, json_object **jso)"
  73. .br
  74. .ti -1c
  75. .RI "TSS2_RC \fBifapi_json_TPM2B_DIGEST_serialize\fP (const TPM2B_DIGEST *in, json_object **jso)"
  76. .br
  77. .ti -1c
  78. .RI "TSS2_RC \fBifapi_json_TPM2B_ECC_PARAMETER_serialize\fP (const TPM2B_ECC_PARAMETER *in, json_object **jso)"
  79. .br
  80. .ti -1c
  81. .RI "TSS2_RC \fBifapi_json_TPM2B_ENCRYPTED_SECRET_serialize\fP (const TPM2B_ENCRYPTED_SECRET *in, json_object **jso)"
  82. .br
  83. .ti -1c
  84. .RI "TSS2_RC \fBifapi_json_TPM2B_EVENT_serialize\fP (const TPM2B_EVENT *in, json_object **jso)"
  85. .br
  86. .ti -1c
  87. .RI "TSS2_RC \fBifapi_json_TPM2B_MAX_NV_BUFFER_serialize\fP (const TPM2B_MAX_NV_BUFFER *in, json_object **jso)"
  88. .br
  89. .ti -1c
  90. .RI "TSS2_RC \fBifapi_json_TPM2B_NAME_serialize\fP (const TPM2B_NAME *in, json_object **jso)"
  91. .br
  92. .ti -1c
  93. .RI "TSS2_RC \fBifapi_json_TPM2B_NONCE_serialize\fP (const TPM2B_NONCE *in, json_object **jso)"
  94. .br
  95. .ti -1c
  96. .RI "TSS2_RC \fBifapi_json_TPM2B_NV_PUBLIC_serialize\fP (const TPM2B_NV_PUBLIC *in, json_object **jso)"
  97. .br
  98. .ti -1c
  99. .RI "TSS2_RC \fBifapi_json_TPM2B_OPERAND_serialize\fP (const TPM2B_OPERAND *in, json_object **jso)"
  100. .br
  101. .ti -1c
  102. .RI "TSS2_RC \fBifapi_json_TPM2B_PRIVATE_serialize\fP (const TPM2B_PRIVATE *in, json_object **jso)"
  103. .br
  104. .ti -1c
  105. .RI "TSS2_RC \fBifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize\fP (const TPM2B_PUBLIC_KEY_RSA *in, json_object **jso)"
  106. .br
  107. .ti -1c
  108. .RI "TSS2_RC \fBifapi_json_TPM2B_PUBLIC_serialize\fP (const TPM2B_PUBLIC *in, json_object **jso)"
  109. .br
  110. .ti -1c
  111. .RI "TSS2_RC \fBifapi_json_TPM2_ALG_ID_serialize\fP (const TPM2_ALG_ID in, json_object **jso)"
  112. .br
  113. .ti -1c
  114. .RI "TSS2_RC \fBifapi_json_TPM2_CAP_serialize\fP (const TPM2_CAP in, json_object **jso)"
  115. .br
  116. .ti -1c
  117. .RI "TSS2_RC \fBifapi_json_TPM2_CC_serialize\fP (const TPM2_CC in, json_object **jso)"
  118. .br
  119. .ti -1c
  120. .RI "TSS2_RC \fBifapi_json_TPM2_ECC_CURVE_serialize\fP (const TPM2_ECC_CURVE in, json_object **jso)"
  121. .br
  122. .ti -1c
  123. .RI "TSS2_RC \fBifapi_json_TPM2_EO_serialize\fP (const TPM2_EO in, json_object **jso)"
  124. .br
  125. .ti -1c
  126. .RI "TSS2_RC \fBifapi_json_TPM2_GENERATED_serialize\fP (const TPM2_GENERATED in, json_object **jso)"
  127. .br
  128. .ti -1c
  129. .RI "TSS2_RC \fBifapi_json_TPM2_HANDLE_serialize\fP (const TPM2_HANDLE in, json_object **jso)"
  130. .br
  131. .ti -1c
  132. .RI "TSS2_RC \fBifapi_json_TPM2_NT_serialize\fP (const TPM2_NT in, json_object **jso)"
  133. .br
  134. .ti -1c
  135. .RI "TSS2_RC \fBifapi_json_TPM2_PT_PCR_serialize\fP (const TPM2_PT_PCR in, json_object **jso)"
  136. .br
  137. .ti -1c
  138. .RI "TSS2_RC \fBifapi_json_TPM2_PT_serialize\fP (const TPM2_PT in, json_object **jso)"
  139. .br
  140. .ti -1c
  141. .RI "TSS2_RC \fBifapi_json_TPM2_ST_serialize\fP (const TPM2_ST in, json_object **jso)"
  142. .br
  143. .ti -1c
  144. .RI "TSS2_RC \fBifapi_json_TPMA_ALGORITHM_serialize\fP (const TPMA_ALGORITHM in, json_object **jso)"
  145. .br
  146. .ti -1c
  147. .RI "TSS2_RC \fBifapi_json_TPMA_CC_serialize\fP (const TPMA_CC in, json_object **jso)"
  148. .br
  149. .ti -1c
  150. .RI "TSS2_RC \fBifapi_json_TPMA_LOCALITY_serialize\fP (const TPMA_LOCALITY in, json_object **jso)"
  151. .br
  152. .ti -1c
  153. .RI "TSS2_RC \fBifapi_json_TPMA_NV_serialize\fP (const TPMA_NV in, json_object **jso)"
  154. .br
  155. .ti -1c
  156. .RI "TSS2_RC \fBifapi_json_TPMA_OBJECT_serialize\fP (const TPMA_OBJECT in, json_object **jso)"
  157. .br
  158. .ti -1c
  159. .RI "TSS2_RC \fBifapi_json_TPMI_AES_KEY_BITS_serialize\fP (const TPMI_AES_KEY_BITS in, json_object **jso)"
  160. .br
  161. .ti -1c
  162. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_ASYM_SCHEME_serialize\fP (const TPMI_ALG_ASYM_SCHEME in, json_object **jso)"
  163. .br
  164. .ti -1c
  165. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_ECC_SCHEME_serialize\fP (const TPMI_ALG_ECC_SCHEME in, json_object **jso)"
  166. .br
  167. .ti -1c
  168. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_HASH_serialize\fP (const TPMI_ALG_HASH in, json_object **jso)"
  169. .br
  170. .ti -1c
  171. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_KDF_serialize\fP (const TPMI_ALG_KDF in, json_object **jso)"
  172. .br
  173. .ti -1c
  174. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_KEYEDHASH_SCHEME_serialize\fP (const TPMI_ALG_KEYEDHASH_SCHEME in, json_object **jso)"
  175. .br
  176. .ti -1c
  177. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_PUBLIC_serialize\fP (const TPMI_ALG_PUBLIC in, json_object **jso)"
  178. .br
  179. .ti -1c
  180. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_RSA_SCHEME_serialize\fP (const TPMI_ALG_RSA_SCHEME in, json_object **jso)"
  181. .br
  182. .ti -1c
  183. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_SIG_SCHEME_serialize\fP (const TPMI_ALG_SIG_SCHEME in, json_object **jso)"
  184. .br
  185. .ti -1c
  186. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_SYM_MODE_serialize\fP (const TPMI_ALG_SYM_MODE in, json_object **jso)"
  187. .br
  188. .ti -1c
  189. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_CIPHER_MODE_serialize\fP (const TPMI_ALG_CIPHER_MODE in, json_object **jso)"
  190. .br
  191. .ti -1c
  192. .RI "TSS2_RC \fBifapi_json_TPMI_ALG_SYM_OBJECT_serialize\fP (const TPMI_ALG_SYM_OBJECT in, json_object **jso)"
  193. .br
  194. .ti -1c
  195. .RI "TSS2_RC \fBifapi_json_TPMI_ECC_CURVE_serialize\fP (const TPMI_ECC_CURVE in, json_object **jso)"
  196. .br
  197. .ti -1c
  198. .RI "TSS2_RC \fBifapi_json_TPMI_RH_HIERARCHY_serialize\fP (const TPMI_RH_HIERARCHY in, json_object **jso)"
  199. .br
  200. .ti -1c
  201. .RI "TSS2_RC \fBifapi_json_TPMI_RH_NV_INDEX_serialize\fP (const TPMI_RH_NV_INDEX in, json_object **jso)"
  202. .br
  203. .ti -1c
  204. .RI "TSS2_RC \fBifapi_json_TPMI_RSA_KEY_BITS_serialize\fP (const TPMI_RSA_KEY_BITS in, json_object **jso)"
  205. .br
  206. .ti -1c
  207. .RI "TSS2_RC \fBifapi_json_TPMI_ST_ATTEST_serialize\fP (const TPMI_ST_ATTEST in, json_object **jso)"
  208. .br
  209. .ti -1c
  210. .RI "TSS2_RC \fBifapi_json_TPMI_YES_NO_serialize\fP (const TPMI_YES_NO in, json_object **jso)"
  211. .br
  212. .ti -1c
  213. .RI "TSS2_RC \fBifapi_json_TPML_ALG_PROPERTY_serialize\fP (const TPML_ALG_PROPERTY *in, json_object **jso)"
  214. .br
  215. .ti -1c
  216. .RI "TSS2_RC \fBifapi_json_TPML_CCA_serialize\fP (const TPML_CCA *in, json_object **jso)"
  217. .br
  218. .ti -1c
  219. .RI "TSS2_RC \fBifapi_json_TPML_CC_serialize\fP (const TPML_CC *in, json_object **jso)"
  220. .br
  221. .ti -1c
  222. .RI "TSS2_RC \fBifapi_json_TPML_DIGEST_VALUES_serialize\fP (const TPML_DIGEST_VALUES *in, json_object **jso)"
  223. .br
  224. .ti -1c
  225. .RI "TSS2_RC \fBifapi_json_TPML_ECC_CURVE_serialize\fP (const TPML_ECC_CURVE *in, json_object **jso)"
  226. .br
  227. .ti -1c
  228. .RI "TSS2_RC \fBifapi_json_TPML_HANDLE_serialize\fP (const TPML_HANDLE *in, json_object **jso)"
  229. .br
  230. .ti -1c
  231. .RI "TSS2_RC \fBifapi_json_TPML_PCR_SELECTION_serialize\fP (const TPML_PCR_SELECTION *in, json_object **jso)"
  232. .br
  233. .ti -1c
  234. .RI "TSS2_RC \fBifapi_json_TPML_TAGGED_PCR_PROPERTY_serialize\fP (const TPML_TAGGED_PCR_PROPERTY *in, json_object **jso)"
  235. .br
  236. .ti -1c
  237. .RI "TSS2_RC \fBifapi_json_TPML_TAGGED_TPM_PROPERTY_serialize\fP (const TPML_TAGGED_TPM_PROPERTY *in, json_object **jso)"
  238. .br
  239. .ti -1c
  240. .RI "TSS2_RC \fBifapi_json_TPMS_ALG_PROPERTY_serialize\fP (const TPMS_ALG_PROPERTY *in, json_object **jso)"
  241. .br
  242. .ti -1c
  243. .RI "TSS2_RC \fBifapi_json_TPMS_ATTEST_serialize\fP (const TPMS_ATTEST *in, json_object **jso)"
  244. .br
  245. .ti -1c
  246. .RI "TSS2_RC \fBifapi_json_TPMS_CAPABILITY_DATA_serialize\fP (const TPMS_CAPABILITY_DATA *in, json_object **jso)"
  247. .br
  248. .ti -1c
  249. .RI "TSS2_RC \fBifapi_json_TPMS_CERTIFY_INFO_serialize\fP (const TPMS_CERTIFY_INFO *in, json_object **jso)"
  250. .br
  251. .ti -1c
  252. .RI "TSS2_RC \fBifapi_json_TPMS_CLOCK_INFO_serialize\fP (const TPMS_CLOCK_INFO *in, json_object **jso)"
  253. .br
  254. .ti -1c
  255. .RI "TSS2_RC \fBifapi_json_TPMS_COMMAND_AUDIT_INFO_serialize\fP (const TPMS_COMMAND_AUDIT_INFO *in, json_object **jso)"
  256. .br
  257. .ti -1c
  258. .RI "TSS2_RC \fBifapi_json_TPMS_CREATION_DATA_serialize\fP (const TPMS_CREATION_DATA *in, json_object **jso)"
  259. .br
  260. .ti -1c
  261. .RI "TSS2_RC \fBifapi_json_TPMS_CREATION_INFO_serialize\fP (const TPMS_CREATION_INFO *in, json_object **jso)"
  262. .br
  263. .ti -1c
  264. .RI "TSS2_RC \fBifapi_json_TPMS_ECC_PARMS_serialize\fP (const TPMS_ECC_PARMS *in, json_object **jso)"
  265. .br
  266. .ti -1c
  267. .RI "TSS2_RC \fBifapi_json_TPMS_ECC_POINT_serialize\fP (const TPMS_ECC_POINT *in, json_object **jso)"
  268. .br
  269. .ti -1c
  270. .RI "TSS2_RC \fBifapi_json_TPMS_EMPTY_serialize\fP (const TPMS_EMPTY *in, json_object **jso)"
  271. .br
  272. .ti -1c
  273. .RI "TSS2_RC \fBifapi_json_TPMS_ENC_SCHEME_OAEP_serialize\fP (const TPMS_ENC_SCHEME_OAEP *in, json_object **jso)"
  274. .br
  275. .ti -1c
  276. .RI "TSS2_RC \fBifapi_json_TPMS_ENC_SCHEME_RSAES_serialize\fP (const TPMS_ENC_SCHEME_RSAES *in, json_object **jso)"
  277. .br
  278. .ti -1c
  279. .RI "TSS2_RC \fBifapi_json_TPMS_KEYEDHASH_PARMS_serialize\fP (const TPMS_KEYEDHASH_PARMS *in, json_object **jso)"
  280. .br
  281. .ti -1c
  282. .RI "TSS2_RC \fBifapi_json_TPMS_KEY_SCHEME_ECDH_serialize\fP (const TPMS_KEY_SCHEME_ECDH *in, json_object **jso)"
  283. .br
  284. .ti -1c
  285. .RI "TSS2_RC \fBifapi_json_TPMS_NV_CERTIFY_INFO_serialize\fP (const TPMS_NV_CERTIFY_INFO *in, json_object **jso)"
  286. .br
  287. .ti -1c
  288. .RI "TSS2_RC \fBifapi_json_TPMS_NV_PUBLIC_serialize\fP (const TPMS_NV_PUBLIC *in, json_object **jso)"
  289. .br
  290. .ti -1c
  291. .RI "TSS2_RC \fBifapi_json_TPMS_PCR_SELECTION_serialize\fP (const TPMS_PCR_SELECTION *in, json_object **jso)"
  292. .br
  293. .ti -1c
  294. .RI "TSS2_RC \fBifapi_json_TPMS_PCR_SELECT_serialize\fP (const TPMS_PCR_SELECT *in, json_object **jso)"
  295. .br
  296. .ti -1c
  297. .RI "TSS2_RC \fBifapi_json_TPMS_QUOTE_INFO_serialize\fP (const TPMS_QUOTE_INFO *in, json_object **jso)"
  298. .br
  299. .ti -1c
  300. .RI "TSS2_RC \fBifapi_json_TPMS_RSA_PARMS_serialize\fP (const TPMS_RSA_PARMS *in, json_object **jso)"
  301. .br
  302. .ti -1c
  303. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_ECDAA_serialize\fP (const TPMS_SCHEME_ECDAA *in, json_object **jso)"
  304. .br
  305. .ti -1c
  306. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_HASH_serialize\fP (const TPMS_SCHEME_HASH *in, json_object **jso)"
  307. .br
  308. .ti -1c
  309. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_HMAC_serialize\fP (const TPMS_SCHEME_HMAC *in, json_object **jso)"
  310. .br
  311. .ti -1c
  312. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_KDF1_SP800_108_serialize\fP (const TPMS_SCHEME_KDF1_SP800_108 *in, json_object **jso)"
  313. .br
  314. .ti -1c
  315. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_KDF1_SP800_56A_serialize\fP (const TPMS_SCHEME_KDF1_SP800_56A *in, json_object **jso)"
  316. .br
  317. .ti -1c
  318. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_MGF1_serialize\fP (const TPMS_SCHEME_MGF1 *in, json_object **jso)"
  319. .br
  320. .ti -1c
  321. .RI "TSS2_RC \fBifapi_json_TPMS_SCHEME_XOR_serialize\fP (const TPMS_SCHEME_XOR *in, json_object **jso)"
  322. .br
  323. .ti -1c
  324. .RI "TSS2_RC \fBifapi_json_TPMS_SESSION_AUDIT_INFO_serialize\fP (const TPMS_SESSION_AUDIT_INFO *in, json_object **jso)"
  325. .br
  326. .ti -1c
  327. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_ECC_serialize\fP (const TPMS_SIGNATURE_ECC *in, json_object **jso)"
  328. .br
  329. .ti -1c
  330. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_ECDAA_serialize\fP (const TPMS_SIGNATURE_ECDAA *in, json_object **jso)"
  331. .br
  332. .ti -1c
  333. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_ECDSA_serialize\fP (const TPMS_SIGNATURE_ECDSA *in, json_object **jso)"
  334. .br
  335. .ti -1c
  336. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_ECSCHNORR_serialize\fP (const TPMS_SIGNATURE_ECSCHNORR *in, json_object **jso)"
  337. .br
  338. .ti -1c
  339. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_RSAPSS_serialize\fP (const TPMS_SIGNATURE_RSAPSS *in, json_object **jso)"
  340. .br
  341. .ti -1c
  342. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_RSASSA_serialize\fP (const TPMS_SIGNATURE_RSASSA *in, json_object **jso)"
  343. .br
  344. .ti -1c
  345. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_RSA_serialize\fP (const TPMS_SIGNATURE_RSA *in, json_object **jso)"
  346. .br
  347. .ti -1c
  348. .RI "TSS2_RC \fBifapi_json_TPMS_SIGNATURE_SM2_serialize\fP (const TPMS_SIGNATURE_SM2 *in, json_object **jso)"
  349. .br
  350. .ti -1c
  351. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_ECDAA_serialize\fP (const TPMS_SIG_SCHEME_ECDAA *in, json_object **jso)"
  352. .br
  353. .ti -1c
  354. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_ECDSA_serialize\fP (const TPMS_SIG_SCHEME_ECDSA *in, json_object **jso)"
  355. .br
  356. .ti -1c
  357. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_ECSCHNORR_serialize\fP (const TPMS_SIG_SCHEME_ECSCHNORR *in, json_object **jso)"
  358. .br
  359. .ti -1c
  360. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_RSAPSS_serialize\fP (const TPMS_SIG_SCHEME_RSAPSS *in, json_object **jso)"
  361. .br
  362. .ti -1c
  363. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_RSASSA_serialize\fP (const TPMS_SIG_SCHEME_RSASSA *in, json_object **jso)"
  364. .br
  365. .ti -1c
  366. .RI "TSS2_RC \fBifapi_json_TPMS_SIG_SCHEME_SM2_serialize\fP (const TPMS_SIG_SCHEME_SM2 *in, json_object **jso)"
  367. .br
  368. .ti -1c
  369. .RI "TSS2_RC \fBifapi_json_TPMS_SYMCIPHER_PARMS_serialize\fP (const TPMS_SYMCIPHER_PARMS *in, json_object **jso)"
  370. .br
  371. .ti -1c
  372. .RI "TSS2_RC \fBifapi_json_TPMS_TAGGED_PCR_SELECT_serialize\fP (const TPMS_TAGGED_PCR_SELECT *in, json_object **jso)"
  373. .br
  374. .ti -1c
  375. .RI "TSS2_RC \fBifapi_json_TPMS_TAGGED_PROPERTY_serialize\fP (const TPMS_TAGGED_PROPERTY *in, json_object **jso)"
  376. .br
  377. .ti -1c
  378. .RI "TSS2_RC \fBifapi_json_TPMS_TIME_ATTEST_INFO_serialize\fP (const TPMS_TIME_ATTEST_INFO *in, json_object **jso)"
  379. .br
  380. .ti -1c
  381. .RI "TSS2_RC \fBifapi_json_TPMS_TIME_INFO_serialize\fP (const TPMS_TIME_INFO *in, json_object **jso)"
  382. .br
  383. .ti -1c
  384. .RI "TSS2_RC \fBifapi_json_TPMT_ASYM_SCHEME_serialize\fP (const TPMT_ASYM_SCHEME *in, json_object **jso)"
  385. .br
  386. .ti -1c
  387. .RI "TSS2_RC \fBifapi_json_TPMT_ECC_SCHEME_serialize\fP (const TPMT_ECC_SCHEME *in, json_object **jso)"
  388. .br
  389. .ti -1c
  390. .RI "TSS2_RC \fBifapi_json_TPMT_HA_serialize\fP (const TPMT_HA *in, json_object **jso)"
  391. .br
  392. .ti -1c
  393. .RI "TSS2_RC \fBifapi_json_TPMT_KDF_SCHEME_serialize\fP (const TPMT_KDF_SCHEME *in, json_object **jso)"
  394. .br
  395. .ti -1c
  396. .RI "TSS2_RC \fBifapi_json_TPMT_KEYEDHASH_SCHEME_serialize\fP (const TPMT_KEYEDHASH_SCHEME *in, json_object **jso)"
  397. .br
  398. .ti -1c
  399. .RI "TSS2_RC \fBifapi_json_TPMT_PUBLIC_serialize\fP (const TPMT_PUBLIC *in, json_object **jso)"
  400. .br
  401. .ti -1c
  402. .RI "TSS2_RC \fBifapi_json_TPMT_RSA_SCHEME_serialize\fP (const TPMT_RSA_SCHEME *in, json_object **jso)"
  403. .br
  404. .ti -1c
  405. .RI "TSS2_RC \fBifapi_json_TPMT_SIGNATURE_serialize\fP (const TPMT_SIGNATURE *in, json_object **jso)"
  406. .br
  407. .ti -1c
  408. .RI "TSS2_RC \fBifapi_json_TPMT_SIG_SCHEME_serialize\fP (const TPMT_SIG_SCHEME *in, json_object **jso)"
  409. .br
  410. .ti -1c
  411. .RI "TSS2_RC \fBifapi_json_TPMT_SYM_DEF_OBJECT_serialize\fP (const TPMT_SYM_DEF_OBJECT *in, json_object **jso)"
  412. .br
  413. .ti -1c
  414. .RI "TSS2_RC \fBifapi_json_TPMT_TK_CREATION_serialize\fP (const TPMT_TK_CREATION *in, json_object **jso)"
  415. .br
  416. .ti -1c
  417. .RI "TSS2_RC \fBifapi_json_TPMU_ASYM_SCHEME_serialize\fP (const TPMU_ASYM_SCHEME *in, UINT32 selector, json_object **jso)"
  418. .br
  419. .ti -1c
  420. .RI "TSS2_RC \fBifapi_json_TPMU_ATTEST_serialize\fP (const TPMU_ATTEST *in, UINT32 selector, json_object **jso)"
  421. .br
  422. .ti -1c
  423. .RI "TSS2_RC \fBifapi_json_TPMU_CAPABILITIES_serialize\fP (const TPMU_CAPABILITIES *in, UINT32 selector, json_object **jso)"
  424. .br
  425. .ti -1c
  426. .RI "TSS2_RC \fBifapi_json_TPMU_HA_serialize\fP (const TPMU_HA *in, UINT32 selector, json_object **jso)"
  427. .br
  428. .ti -1c
  429. .RI "TSS2_RC \fBifapi_json_TPMU_KDF_SCHEME_serialize\fP (const TPMU_KDF_SCHEME *in, UINT32 selector, json_object **jso)"
  430. .br
  431. .ti -1c
  432. .RI "TSS2_RC \fBifapi_json_TPMU_PUBLIC_ID_serialize\fP (const TPMU_PUBLIC_ID *in, UINT32 selector, json_object **jso)"
  433. .br
  434. .ti -1c
  435. .RI "TSS2_RC \fBifapi_json_TPMU_PUBLIC_PARMS_serialize\fP (const TPMU_PUBLIC_PARMS *in, UINT32 selector, json_object **jso)"
  436. .br
  437. .ti -1c
  438. .RI "TSS2_RC \fBifapi_json_TPMU_SCHEME_KEYEDHASH_serialize\fP (const TPMU_SCHEME_KEYEDHASH *in, UINT32 selector, json_object **jso)"
  439. .br
  440. .ti -1c
  441. .RI "TSS2_RC \fBifapi_json_TPMU_SIGNATURE_serialize\fP (const TPMU_SIGNATURE *in, UINT32 selector, json_object **jso)"
  442. .br
  443. .ti -1c
  444. .RI "TSS2_RC \fBifapi_json_TPMU_SIG_SCHEME_serialize\fP (const TPMU_SIG_SCHEME *in, UINT32 selector, json_object **jso)"
  445. .br
  446. .ti -1c
  447. .RI "TSS2_RC \fBifapi_json_TPMU_SYM_KEY_BITS_serialize\fP (const TPMU_SYM_KEY_BITS *in, UINT32 selector, json_object **jso)"
  448. .br
  449. .ti -1c
  450. .RI "TSS2_RC \fBifapi_json_TPMU_SYM_MODE_serialize\fP (const TPMU_SYM_MODE *in, UINT32 selector, json_object **jso)"
  451. .br
  452. .ti -1c
  453. .RI "TSS2_RC \fBifapi_json_UINT16_serialize\fP (const UINT16 in, json_object **jso)"
  454. .br
  455. .ti -1c
  456. .RI "TSS2_RC \fBifapi_json_UINT32_serialize\fP (const UINT32 in, json_object **jso)"
  457. .br
  458. .ti -1c
  459. .RI "TSS2_RC \fBifapi_json_UINT64_serialize\fP (UINT64 in, json_object **jso)"
  460. .br
  461. .ti -1c
  462. .RI "TSS2_RC \fBifapi_json_pcr_select_serialize\fP (const UINT8 sizeofSelect, const BYTE pcrSelect[], json_object **jso)"
  463. .br
  464. .ti -1c
  465. .RI "TSS2_RC \fBifapi_json_TPMI_POLICYTYPE_serialize\fP (const TPMI_POLICYTYPE in, json_object **jso)"
  466. .br
  467. .ti -1c
  468. .RI "TSS2_RC \fBifapi_json_TPMI_POLICYTYPE_serialize_txt\fP (const TPMI_POLICYTYPE in, json_object **str_jso)"
  469. .br
  470. .ti -1c
  471. .RI "TSS2_RC \fBifapi_json_TPML_PCRVALUES_serialize\fP (const \fBTPML_PCRVALUES\fP *in, json_object **jso)"
  472. .br
  473. .ti -1c
  474. .RI "TSS2_RC \fBifapi_json_TPML_POLICYBRANCHES_serialize\fP (const \fBTPML_POLICYBRANCHES\fP *in, json_object **jso)"
  475. .br
  476. .ti -1c
  477. .RI "TSS2_RC \fBifapi_json_TPML_POLICYELEMENTS_serialize\fP (const \fBTPML_POLICYELEMENTS\fP *in, json_object **jso)"
  478. .br
  479. .ti -1c
  480. .RI "TSS2_RC \fBifapi_json_TPMS_PCRVALUE_serialize\fP (const \fBTPMS_PCRVALUE\fP *in, json_object **jso)"
  481. .br
  482. .ti -1c
  483. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYACTION_serialize\fP (const \fBTPMS_POLICYACTION\fP *in, json_object **jso)"
  484. .br
  485. .ti -1c
  486. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYAUTHORIZATION_serialize\fP (const \fBTPMS_POLICYAUTHORIZATION\fP *in, json_object **jso)"
  487. .br
  488. .ti -1c
  489. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYAUTHORIZENV_serialize\fP (const \fBTPMS_POLICYAUTHORIZENV\fP *in, json_object **jso)"
  490. .br
  491. .ti -1c
  492. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYAUTHORIZE_serialize\fP (const \fBTPMS_POLICYAUTHORIZE\fP *in, json_object **jso)"
  493. .br
  494. .ti -1c
  495. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYAUTHVALUE_serialize\fP (const \fBTPMS_POLICYAUTHVALUE\fP *in, json_object **jso)"
  496. .br
  497. .ti -1c
  498. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYBRANCH_serialize\fP (const \fBTPMS_POLICYBRANCH\fP *in, json_object **jso)"
  499. .br
  500. .ti -1c
  501. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYCOMMANDCODE_serialize\fP (const \fBTPMS_POLICYCOMMANDCODE\fP *in, json_object **jso)"
  502. .br
  503. .ti -1c
  504. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYCOUNTERTIMER_serialize\fP (const \fBTPMS_POLICYCOUNTERTIMER\fP *in, json_object **jso)"
  505. .br
  506. .ti -1c
  507. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYCPHASH_serialize\fP (const \fBTPMS_POLICYCPHASH\fP *in, json_object **jso)"
  508. .br
  509. .ti -1c
  510. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYDUPLICATIONSELECT_serialize\fP (const \fBTPMS_POLICYDUPLICATIONSELECT\fP *in, json_object **jso)"
  511. .br
  512. .ti -1c
  513. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYLOCALITY_serialize\fP (const \fBTPMS_POLICYLOCALITY\fP *in, json_object **jso)"
  514. .br
  515. .ti -1c
  516. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYNAMEHASH_serialize\fP (const \fBTPMS_POLICYNAMEHASH\fP *in, json_object **jso)"
  517. .br
  518. .ti -1c
  519. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYNVWRITTEN_serialize\fP (const \fBTPMS_POLICYNVWRITTEN\fP *in, json_object **jso)"
  520. .br
  521. .ti -1c
  522. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYNV_serialize\fP (const \fBTPMS_POLICYNV\fP *in, json_object **jso)"
  523. .br
  524. .ti -1c
  525. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYOR_serialize\fP (const \fBTPMS_POLICYOR\fP *in, json_object **jso)"
  526. .br
  527. .ti -1c
  528. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYPASSWORD_serialize\fP (const \fBTPMS_POLICYPASSWORD\fP *in, json_object **jso)"
  529. .br
  530. .ti -1c
  531. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYPCR_serialize\fP (const \fBTPMS_POLICYPCR\fP *in, json_object **jso)"
  532. .br
  533. .ti -1c
  534. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYPHYSICALPRESENCE_serialize\fP (const \fBTPMS_POLICYPHYSICALPRESENCE\fP *in, json_object **jso)"
  535. .br
  536. .ti -1c
  537. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYSECRET_serialize\fP (const \fBTPMS_POLICYSECRET\fP *in, json_object **jso)"
  538. .br
  539. .ti -1c
  540. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYSIGNED_serialize\fP (const \fBTPMS_POLICYSIGNED\fP *in, json_object **jso)"
  541. .br
  542. .ti -1c
  543. .RI "TSS2_RC \fBifapi_json_TPMS_POLICYTEMPLATE_serialize\fP (const \fBTPMS_POLICYTEMPLATE\fP *in, json_object **jso)"
  544. .br
  545. .ti -1c
  546. .RI "TSS2_RC \fBifapi_json_TPMS_POLICY_serialize\fP (const \fBTPMS_POLICY\fP *in, json_object **jso)"
  547. .br
  548. .ti -1c
  549. .RI "TSS2_RC \fBifapi_json_TPMT_POLICYELEMENT_serialize\fP (const \fBTPMT_POLICYELEMENT\fP *in, json_object **jso)"
  550. .br
  551. .ti -1c
  552. .RI "TSS2_RC \fBifapi_json_TPMU_POLICYELEMENT_serialize\fP (const \fBTPMU_POLICYELEMENT\fP *in, UINT32 selector, json_object **jso)"
  553. .br
  554. .ti -1c
  555. .RI "TSS2_RC \fBifapi_json_IFAPI_CONFIG_serialize\fP (const \fBIFAPI_CONFIG\fP *in, json_object **jso)"
  556. .br
  557. .in -1c
  558. .SH "Detailed Description"
  559. .PP
  560. Provides functions for the serialization of FAPI objects to JSON\&.
  561. .SH "Function Documentation"
  562. .PP
  563. .SS "static TSS2_RC ifapi_json_char_serialize (const char * in, json_object ** jso)"
  564. Serialize a character string to json\&.
  565. .PP
  566. \fBParameters:\fP
  567. .RS 4
  568. \fIin\fP value to be serialized\&.
  569. .br
  570. \fIjso\fP pointer to the json object\&.
  571. .RE
  572. .PP
  573. \fBReturn values:\fP
  574. .RS 4
  575. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  576. .br
  577. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  578. .RE
  579. .PP
  580. .SS "TSS2_RC ifapi_json_FAPI_QUOTE_INFO_serialize (const \fBFAPI_QUOTE_INFO\fP * in, json_object ** jso)"
  581. Serialize value of type \fBFAPI_QUOTE_INFO\fP to json\&.
  582. .PP
  583. \fBParameters:\fP
  584. .RS 4
  585. \fIin\fP value to be serialized\&.
  586. .br
  587. \fIjso\fP pointer to the json object\&.
  588. .RE
  589. .PP
  590. \fBReturn values:\fP
  591. .RS 4
  592. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  593. .br
  594. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  595. .br
  596. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBFAPI_QUOTE_INFO\fP\&.
  597. .br
  598. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  599. .RE
  600. .PP
  601. .SS "TSS2_RC ifapi_json_IFAPI_CAP_INFO_serialize (const \fBIFAPI_CAP_INFO\fP * in, json_object ** jso)"
  602. Serialize value of type \fBIFAPI_CAP_INFO\fP to json\&.
  603. .PP
  604. \fBParameters:\fP
  605. .RS 4
  606. \fIin\fP value to be serialized\&.
  607. .br
  608. \fIjso\fP pointer to the json object\&.
  609. .RE
  610. .PP
  611. \fBReturn values:\fP
  612. .RS 4
  613. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  614. .br
  615. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  616. .br
  617. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_INFO\fP\&.
  618. .br
  619. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  620. .RE
  621. .PP
  622. .SS "ifapi_json_IFAPI_CONFIG_serialize (const \fBIFAPI_CONFIG\fP * in, json_object ** jso)"
  623. Serializes a configuration JSON object\&.
  624. .PP
  625. \fBParameters:\fP
  626. .RS 4
  627. \fIin\fP value to be serialized\&.
  628. .br
  629. \fIjso\fP pointer to the json object\&.
  630. .RE
  631. .PP
  632. \fBReturn values:\fP
  633. .RS 4
  634. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  635. .br
  636. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  637. .br
  638. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_KEY\fP\&.
  639. .br
  640. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  641. .RE
  642. .PP
  643. .SS "TSS2_RC ifapi_json_IFAPI_DUPLICATE_serialize (const \fBIFAPI_DUPLICATE\fP * in, json_object ** jso)"
  644. Serialize value of type \fBIFAPI_DUPLICATE\fP to json\&.
  645. .PP
  646. \fBParameters:\fP
  647. .RS 4
  648. \fIin\fP value to be serialized\&.
  649. .br
  650. \fIjso\fP pointer to the json object\&.
  651. .RE
  652. .PP
  653. \fBReturn values:\fP
  654. .RS 4
  655. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  656. .br
  657. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  658. .br
  659. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_DUPLICATE\fP\&.
  660. .br
  661. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  662. .RE
  663. .PP
  664. .SS "TSS2_RC ifapi_json_IFAPI_EVENT_serialize (const \fBIFAPI_EVENT\fP * in, json_object ** jso)"
  665. Serialize value of type \fBIFAPI_EVENT\fP to json\&.
  666. .PP
  667. \fBParameters:\fP
  668. .RS 4
  669. \fIin\fP value to be serialized\&.
  670. .br
  671. \fIjso\fP pointer to the json object\&.
  672. .RE
  673. .PP
  674. \fBReturn values:\fP
  675. .RS 4
  676. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  677. .br
  678. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  679. .br
  680. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_EVENT\fP\&.
  681. .br
  682. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  683. .RE
  684. .PP
  685. .SS "TSS2_RC ifapi_json_IFAPI_EVENT_TYPE_serialize (const IFAPI_EVENT_TYPE in, json_object ** jso)"
  686. Serialize IFAPI_EVENT_TYPE to json\&.
  687. .PP
  688. \fBParameters:\fP
  689. .RS 4
  690. \fIin\fP constant to be serialized\&.
  691. .br
  692. \fIjso\fP pointer to the json object\&.
  693. .RE
  694. .PP
  695. \fBReturn values:\fP
  696. .RS 4
  697. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  698. .br
  699. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  700. .br
  701. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type IFAPI_EVENT_TYPE\&.
  702. .RE
  703. .PP
  704. .SS "TSS2_RC ifapi_json_IFAPI_EVENT_TYPE_serialize_txt (const IFAPI_EVENT_TYPE in, json_object ** str_jso)"
  705. Get json object for a constant, if a variable is actually of type IFAPI_EVENT_TYPE\&.
  706. .PP
  707. \fBParameters:\fP
  708. .RS 4
  709. \fIin\fP binary value of constant\&.
  710. .br
  711. \fIstr_jso\fP object with text representing the constant\&.
  712. .RE
  713. .PP
  714. \fBReturn values:\fP
  715. .RS 4
  716. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  717. .br
  718. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  719. .br
  720. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type IFAPI_EVENT_TYPE\&.
  721. .RE
  722. .PP
  723. .SS "TSS2_RC ifapi_json_IFAPI_EVENT_UNION_serialize (const \fBIFAPI_EVENT_UNION\fP * in, UINT32 selector, json_object ** jso)"
  724. Serialize a \fBIFAPI_EVENT_UNION\fP to json\&.
  725. .PP
  726. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  727. .PP
  728. \fBParameters:\fP
  729. .RS 4
  730. \fIin\fP the value to be serialized\&.
  731. .br
  732. \fIselector\fP the type of the event\&.
  733. .br
  734. \fIjso\fP pointer to the json object\&.
  735. .RE
  736. .PP
  737. \fBReturn values:\fP
  738. .RS 4
  739. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  740. .br
  741. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  742. .br
  743. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_EVENT_UNION\fP\&.
  744. .br
  745. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  746. .RE
  747. .PP
  748. .SS "TSS2_RC ifapi_json_IFAPI_EXT_PUB_KEY_serialize (const \fBIFAPI_EXT_PUB_KEY\fP * in, json_object ** jso)"
  749. Serialize value of type \fBIFAPI_EXT_PUB_KEY\fP to json\&.
  750. .PP
  751. \fBParameters:\fP
  752. .RS 4
  753. \fIin\fP value to be serialized\&.
  754. .br
  755. \fIjso\fP pointer to the json object\&.
  756. .RE
  757. .PP
  758. \fBReturn values:\fP
  759. .RS 4
  760. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  761. .br
  762. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  763. .br
  764. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_EXT_PUB_KEY\fP\&.
  765. .br
  766. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  767. .RE
  768. .PP
  769. .SS "TSS2_RC ifapi_json_IFAPI_HIERARCHY_serialize (const \fBIFAPI_HIERARCHY\fP * in, json_object ** jso)"
  770. Serialize value of type \fBIFAPI_NV\fP to json\&.
  771. .PP
  772. \fBParameters:\fP
  773. .RS 4
  774. \fIin\fP value to be serialized\&.
  775. .br
  776. \fIjso\fP pointer to the json object\&.
  777. .RE
  778. .PP
  779. \fBReturn values:\fP
  780. .RS 4
  781. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  782. .br
  783. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  784. .br
  785. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_NV\fP\&.
  786. .br
  787. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  788. .RE
  789. .PP
  790. .SS "TSS2_RC ifapi_json_IFAPI_IMA_EVENT_serialize (const \fBIFAPI_IMA_EVENT\fP * in, json_object ** jso)"
  791. Serialize value of type \fBIFAPI_IMA_EVENT\fP to json\&.
  792. .PP
  793. \fBParameters:\fP
  794. .RS 4
  795. \fIin\fP value to be serialized\&.
  796. .br
  797. \fIjso\fP pointer to the json object\&.
  798. .RE
  799. .PP
  800. \fBReturn values:\fP
  801. .RS 4
  802. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  803. .br
  804. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  805. .br
  806. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_IMA_EVENT\fP\&.
  807. .br
  808. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  809. .RE
  810. .PP
  811. .SS "TSS2_RC ifapi_json_IFAPI_INFO_serialize (const \fBIFAPI_INFO\fP * in, json_object ** jso)"
  812. Serialize value of type \fBIFAPI_INFO\fP to json\&.
  813. .PP
  814. \fBParameters:\fP
  815. .RS 4
  816. \fIin\fP value to be serialized\&.
  817. .br
  818. \fIjso\fP pointer to the json object\&.
  819. .RE
  820. .PP
  821. \fBReturn values:\fP
  822. .RS 4
  823. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  824. .br
  825. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  826. .br
  827. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_INFO\fP\&.
  828. .br
  829. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  830. .RE
  831. .PP
  832. .SS "TSS2_RC ifapi_json_IFAPI_KEY_serialize (const \fBIFAPI_KEY\fP * in, json_object ** jso)"
  833. Serialize value of type \fBIFAPI_KEY\fP to json\&.
  834. .PP
  835. \fBParameters:\fP
  836. .RS 4
  837. \fIin\fP value to be serialized\&.
  838. .br
  839. \fIjso\fP pointer to the json object\&.
  840. .RE
  841. .PP
  842. \fBReturn values:\fP
  843. .RS 4
  844. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  845. .br
  846. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  847. .br
  848. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_KEY\fP\&.
  849. .br
  850. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  851. .RE
  852. .PP
  853. .SS "TSS2_RC ifapi_json_IFAPI_NV_serialize (const \fBIFAPI_NV\fP * in, json_object ** jso)"
  854. Serialize value of type \fBIFAPI_NV\fP to json\&.
  855. .PP
  856. \fBParameters:\fP
  857. .RS 4
  858. \fIin\fP value to be serialized\&.
  859. .br
  860. \fIjso\fP pointer to the json object\&.
  861. .RE
  862. .PP
  863. \fBReturn values:\fP
  864. .RS 4
  865. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  866. .br
  867. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  868. .br
  869. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_NV\fP\&.
  870. .br
  871. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  872. .RE
  873. .PP
  874. .SS "TSS2_RC ifapi_json_IFAPI_OBJECT_serialize (const \fBIFAPI_OBJECT\fP * in, json_object ** jso)"
  875. Serialize a IFAPI_OBJECT to json\&.
  876. .PP
  877. \fBParameters:\fP
  878. .RS 4
  879. \fIin\fP value to be serialized\&.
  880. .br
  881. \fIjso\fP pointer to the json object\&.
  882. .RE
  883. .PP
  884. \fBReturn values:\fP
  885. .RS 4
  886. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  887. .br
  888. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  889. .br
  890. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type IFAPI_OBJECT\&.
  891. .br
  892. \fITSS2_FAPI_RC_GENERAL_FAILURE\fP if an internal error occurred\&.
  893. .br
  894. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  895. .RE
  896. .PP
  897. .SS "TSS2_RC ifapi_json_IFAPI_OBJECT_TYPE_CONSTANT_serialize (const IFAPI_OBJECT_TYPE_CONSTANT in, json_object ** jso)"
  898. Serialize value of type IFAPI_OBJECT_TYPE_CONSTANT to json\&.
  899. .PP
  900. \fBParameters:\fP
  901. .RS 4
  902. \fIin\fP value to be serialized\&.
  903. .br
  904. \fIjso\fP pointer to the json object\&.
  905. .RE
  906. .PP
  907. \fBReturn values:\fP
  908. .RS 4
  909. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  910. .br
  911. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  912. .br
  913. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2_HANDLE\&.
  914. .RE
  915. .PP
  916. .SS "TSS2_RC ifapi_json_IFAPI_TSS_EVENT_serialize (const \fBIFAPI_TSS_EVENT\fP * in, json_object ** jso)"
  917. Serialize value of type \fBIFAPI_TSS_EVENT\fP to json\&.
  918. .PP
  919. \fBParameters:\fP
  920. .RS 4
  921. \fIin\fP value to be serialized\&.
  922. .br
  923. \fIjso\fP pointer to the json object\&.
  924. .RE
  925. .PP
  926. \fBReturn values:\fP
  927. .RS 4
  928. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  929. .br
  930. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  931. .br
  932. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBIFAPI_TSS_EVENT\fP\&.
  933. .br
  934. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  935. .RE
  936. .PP
  937. .SS "TSS2_RC ifapi_json_INT32_serialize (const INT32 in, json_object ** jso)"
  938. Serialize a base_type INT32 to json\&.
  939. .PP
  940. \fBParameters:\fP
  941. .RS 4
  942. \fIin\fP value to be serialized\&.
  943. .br
  944. \fIjso\fP pointer to the json object\&.
  945. .RE
  946. .PP
  947. \fBReturn values:\fP
  948. .RS 4
  949. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  950. .br
  951. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  952. .br
  953. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type INT32\&.
  954. .RE
  955. .PP
  956. .SS "TSS2_RC ifapi_json_pcr_select_serialize (const UINT8 sizeofSelect, const BYTE pcrSelect[], json_object ** jso)"
  957. Serialize a pcr selection to json
  958. .PP
  959. \fBParameters:\fP
  960. .RS 4
  961. \fIsizeofSelect\fP size of selection byte array\&.
  962. .br
  963. \fIpcrSelect\fP selection array\&.
  964. .br
  965. \fIjso\fP pointer to the json object\&.
  966. .RE
  967. .PP
  968. \fBReturn values:\fP
  969. .RS 4
  970. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  971. .br
  972. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  973. .br
  974. \fITSS2_FAPI_RC_BAD_VALUE\fP if sizeofSelect is too big\&.
  975. .RE
  976. .PP
  977. .SS "TSS2_RC ifapi_json_TPM2_ALG_ID_serialize (const TPM2_ALG_ID in, json_object ** jso)"
  978. Serialize TPM2_ALG_ID to json\&.
  979. .PP
  980. \fBParameters:\fP
  981. .RS 4
  982. \fIin\fP constant to be serialized\&.
  983. .br
  984. \fIjso\fP pointer to the json object\&.
  985. .RE
  986. .PP
  987. \fBReturn values:\fP
  988. .RS 4
  989. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  990. .br
  991. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  992. .br
  993. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_ALG_ID\&.
  994. .RE
  995. .PP
  996. .SS "TSS2_RC ifapi_json_TPM2_CAP_serialize (const TPM2_CAP in, json_object ** jso)"
  997. Serialize TPM2_CAP to json\&.
  998. .PP
  999. \fBParameters:\fP
  1000. .RS 4
  1001. \fIin\fP constant to be serialized\&.
  1002. .br
  1003. \fIjso\fP pointer to the json object\&.
  1004. .RE
  1005. .PP
  1006. \fBReturn values:\fP
  1007. .RS 4
  1008. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1009. .br
  1010. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1011. .br
  1012. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_CAP\&.
  1013. .RE
  1014. .PP
  1015. .SS "TSS2_RC ifapi_json_TPM2_CC_serialize (const TPM2_CC in, json_object ** jso)"
  1016. Serialize TPM2_CC to json\&.
  1017. .PP
  1018. \fBParameters:\fP
  1019. .RS 4
  1020. \fIin\fP constant to be serialized\&.
  1021. .br
  1022. \fIjso\fP pointer to the json object\&.
  1023. .RE
  1024. .PP
  1025. \fBReturn values:\fP
  1026. .RS 4
  1027. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1028. .br
  1029. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1030. .br
  1031. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_CC\&.
  1032. .RE
  1033. .PP
  1034. .SS "TSS2_RC ifapi_json_TPM2_ECC_CURVE_serialize (const TPM2_ECC_CURVE in, json_object ** jso)"
  1035. Serialize TPM2_ECC_CURVE to json\&.
  1036. .PP
  1037. \fBParameters:\fP
  1038. .RS 4
  1039. \fIin\fP constant to be serialized\&.
  1040. .br
  1041. \fIjso\fP pointer to the json object\&.
  1042. .RE
  1043. .PP
  1044. \fBReturn values:\fP
  1045. .RS 4
  1046. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1047. .br
  1048. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1049. .br
  1050. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_ECC_CURVE\&.
  1051. .RE
  1052. .PP
  1053. .SS "TSS2_RC ifapi_json_TPM2_EO_serialize (const TPM2_EO in, json_object ** jso)"
  1054. Serialize TPM2_EO to json\&.
  1055. .PP
  1056. \fBParameters:\fP
  1057. .RS 4
  1058. \fIin\fP constant to be serialized\&.
  1059. .br
  1060. \fIjso\fP pointer to the json object\&.
  1061. .RE
  1062. .PP
  1063. \fBReturn values:\fP
  1064. .RS 4
  1065. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1066. .br
  1067. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1068. .br
  1069. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_EO\&.
  1070. .RE
  1071. .PP
  1072. .SS "TSS2_RC ifapi_json_TPM2_GENERATED_serialize (const TPM2_GENERATED in, json_object ** jso)"
  1073. Serialize TPM2_GENERATED to json\&.
  1074. .PP
  1075. \fBParameters:\fP
  1076. .RS 4
  1077. \fIin\fP constant to be serialized\&.
  1078. .br
  1079. \fIjso\fP pointer to the json object\&.
  1080. .RE
  1081. .PP
  1082. \fBReturn values:\fP
  1083. .RS 4
  1084. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1085. .br
  1086. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1087. .br
  1088. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_GENERATED\&.
  1089. .RE
  1090. .PP
  1091. .SS "TSS2_RC ifapi_json_TPM2_HANDLE_serialize (const TPM2_HANDLE in, json_object ** jso)"
  1092. Serialize value of type TPM2_HANDLE to json\&.
  1093. .PP
  1094. \fBParameters:\fP
  1095. .RS 4
  1096. \fIin\fP value to be serialized\&.
  1097. .br
  1098. \fIjso\fP pointer to the json object\&.
  1099. .RE
  1100. .PP
  1101. \fBReturn values:\fP
  1102. .RS 4
  1103. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1104. .br
  1105. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1106. .br
  1107. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2_HANDLE\&.
  1108. .RE
  1109. .PP
  1110. .SS "TSS2_RC ifapi_json_TPM2_NT_serialize (const TPM2_NT in, json_object ** jso)"
  1111. Serialize TPM2_NT to json\&.
  1112. .PP
  1113. \fBParameters:\fP
  1114. .RS 4
  1115. \fIin\fP constant to be serialized\&.
  1116. .br
  1117. \fIjso\fP pointer to the json object\&.
  1118. .RE
  1119. .PP
  1120. \fBReturn values:\fP
  1121. .RS 4
  1122. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1123. .br
  1124. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1125. .br
  1126. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_NT\&.
  1127. .RE
  1128. .PP
  1129. .SS "TSS2_RC ifapi_json_TPM2_PT_PCR_serialize (const TPM2_PT_PCR in, json_object ** jso)"
  1130. Serialize TPM2_PT_PCR to json\&.
  1131. .PP
  1132. \fBParameters:\fP
  1133. .RS 4
  1134. \fIin\fP constant to be serialized\&.
  1135. .br
  1136. \fIjso\fP pointer to the json object\&.
  1137. .RE
  1138. .PP
  1139. \fBReturn values:\fP
  1140. .RS 4
  1141. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1142. .br
  1143. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1144. .br
  1145. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_PT_PCR\&.
  1146. .RE
  1147. .PP
  1148. .SS "TSS2_RC ifapi_json_TPM2_PT_serialize (const TPM2_PT in, json_object ** jso)"
  1149. Serialize TPM2_PT to json\&.
  1150. .PP
  1151. \fBParameters:\fP
  1152. .RS 4
  1153. \fIin\fP constant to be serialized\&.
  1154. .br
  1155. \fIjso\fP pointer to the json object\&.
  1156. .RE
  1157. .PP
  1158. \fBReturn values:\fP
  1159. .RS 4
  1160. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1161. .br
  1162. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1163. .br
  1164. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_PT\&.
  1165. .RE
  1166. .PP
  1167. .SS "TSS2_RC ifapi_json_TPM2_ST_serialize (const TPM2_ST in, json_object ** jso)"
  1168. Serialize TPM2_ST to json\&.
  1169. .PP
  1170. \fBParameters:\fP
  1171. .RS 4
  1172. \fIin\fP constant to be serialized\&.
  1173. .br
  1174. \fIjso\fP pointer to the json object\&.
  1175. .RE
  1176. .PP
  1177. \fBReturn values:\fP
  1178. .RS 4
  1179. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1180. .br
  1181. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1182. .br
  1183. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPM2_ST\&.
  1184. .RE
  1185. .PP
  1186. .SS "TSS2_RC ifapi_json_TPM2B_CREATION_DATA_serialize (const TPM2B_CREATION_DATA * in, json_object ** jso)"
  1187. Serialize a TPM2B_CREATION_DATA to json\&.
  1188. .PP
  1189. \fBParameters:\fP
  1190. .RS 4
  1191. \fIin\fP value to be serialized\&.
  1192. .br
  1193. \fIjso\fP pointer to the json object\&.
  1194. .RE
  1195. .PP
  1196. \fBReturn values:\fP
  1197. .RS 4
  1198. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1199. .br
  1200. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1201. .br
  1202. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_CREATION_DATA\&.
  1203. .br
  1204. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1205. .RE
  1206. .PP
  1207. .SS "TSS2_RC ifapi_json_TPM2B_DATA_serialize (const TPM2B_DATA * in, json_object ** jso)"
  1208. Serialize value of type TPM2B_DATA to json\&.
  1209. .PP
  1210. \fBParameters:\fP
  1211. .RS 4
  1212. \fIin\fP value to be serialized\&.
  1213. .br
  1214. \fIjso\fP pointer to the json object\&.
  1215. .RE
  1216. .PP
  1217. \fBReturn values:\fP
  1218. .RS 4
  1219. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1220. .br
  1221. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1222. .br
  1223. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_DATA\&.
  1224. .br
  1225. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1226. .RE
  1227. .PP
  1228. .SS "TSS2_RC ifapi_json_TPM2B_DIGEST_serialize (const TPM2B_DIGEST * in, json_object ** jso)"
  1229. Serialize value of type TPM2B_DIGEST to json\&.
  1230. .PP
  1231. \fBParameters:\fP
  1232. .RS 4
  1233. \fIin\fP value to be serialized\&.
  1234. .br
  1235. \fIjso\fP pointer to the json object\&.
  1236. .RE
  1237. .PP
  1238. \fBReturn values:\fP
  1239. .RS 4
  1240. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1241. .br
  1242. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1243. .br
  1244. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_DIGEST\&.
  1245. .br
  1246. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1247. .RE
  1248. .PP
  1249. .SS "TSS2_RC ifapi_json_TPM2B_ECC_PARAMETER_serialize (const TPM2B_ECC_PARAMETER * in, json_object ** jso)"
  1250. Serialize value of type TPM2B_ECC_PARAMETER to json\&.
  1251. .PP
  1252. \fBParameters:\fP
  1253. .RS 4
  1254. \fIin\fP value to be serialized\&.
  1255. .br
  1256. \fIjso\fP pointer to the json object\&.
  1257. .RE
  1258. .PP
  1259. \fBReturn values:\fP
  1260. .RS 4
  1261. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1262. .br
  1263. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1264. .br
  1265. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_ECC_PARAMETER\&.
  1266. .br
  1267. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1268. .RE
  1269. .PP
  1270. .SS "TSS2_RC ifapi_json_TPM2B_ENCRYPTED_SECRET_serialize (const TPM2B_ENCRYPTED_SECRET * in, json_object ** jso)"
  1271. Serialize value of type TPM2B_ENCRYPTED_SECRET to json\&.
  1272. .PP
  1273. \fBParameters:\fP
  1274. .RS 4
  1275. \fIin\fP value to be serialized\&.
  1276. .br
  1277. \fIjso\fP pointer to the json object\&.
  1278. .RE
  1279. .PP
  1280. \fBReturn values:\fP
  1281. .RS 4
  1282. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1283. .br
  1284. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1285. .br
  1286. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_ENCRYPTED_SECRET\&.
  1287. .br
  1288. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1289. .RE
  1290. .PP
  1291. .SS "TSS2_RC ifapi_json_TPM2B_EVENT_serialize (const TPM2B_EVENT * in, json_object ** jso)"
  1292. Serialize value of type TPM2B_EVENT to json\&.
  1293. .PP
  1294. \fBParameters:\fP
  1295. .RS 4
  1296. \fIin\fP value to be serialized\&.
  1297. .br
  1298. \fIjso\fP pointer to the json object\&.
  1299. .RE
  1300. .PP
  1301. \fBReturn values:\fP
  1302. .RS 4
  1303. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1304. .br
  1305. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1306. .br
  1307. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_EVENT\&.
  1308. .br
  1309. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1310. .RE
  1311. .PP
  1312. .SS "TSS2_RC ifapi_json_TPM2B_MAX_NV_BUFFER_serialize (const TPM2B_MAX_NV_BUFFER * in, json_object ** jso)"
  1313. Serialize value of type TPM2B_MAX_NV_BUFFER to json\&.
  1314. .PP
  1315. \fBParameters:\fP
  1316. .RS 4
  1317. \fIin\fP value to be serialized\&.
  1318. .br
  1319. \fIjso\fP pointer to the json object\&.
  1320. .RE
  1321. .PP
  1322. \fBReturn values:\fP
  1323. .RS 4
  1324. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1325. .br
  1326. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1327. .br
  1328. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_MAX_NV_BUFFER\&.
  1329. .br
  1330. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1331. .RE
  1332. .PP
  1333. .SS "TSS2_RC ifapi_json_TPM2B_NAME_serialize (const TPM2B_NAME * in, json_object ** jso)"
  1334. Serialize value of type TPM2B_NAME to json\&.
  1335. .PP
  1336. \fBParameters:\fP
  1337. .RS 4
  1338. \fIin\fP value to be serialized\&.
  1339. .br
  1340. \fIjso\fP pointer to the json object\&.
  1341. .RE
  1342. .PP
  1343. \fBReturn values:\fP
  1344. .RS 4
  1345. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1346. .br
  1347. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1348. .br
  1349. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_NAME\&.
  1350. .br
  1351. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1352. .RE
  1353. .PP
  1354. .SS "TSS2_RC ifapi_json_TPM2B_NONCE_serialize (const TPM2B_NONCE * in, json_object ** jso)"
  1355. Serialize a TPM2B_NONCE to json\&.
  1356. .PP
  1357. \fBParameters:\fP
  1358. .RS 4
  1359. \fIin\fP value of type TPM2B_NONCE to be serialized\&.
  1360. .br
  1361. \fIjso\fP pointer to the json object\&.
  1362. .RE
  1363. .PP
  1364. \fBReturn values:\fP
  1365. .RS 4
  1366. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1367. .br
  1368. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1369. .br
  1370. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_NONCE\&.
  1371. .br
  1372. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1373. .RE
  1374. .PP
  1375. .SS "TSS2_RC ifapi_json_TPM2B_NV_PUBLIC_serialize (const TPM2B_NV_PUBLIC * in, json_object ** jso)"
  1376. Serialize a TPM2B_NV_PUBLIC to json\&.
  1377. .PP
  1378. \fBParameters:\fP
  1379. .RS 4
  1380. \fIin\fP value to be serialized\&.
  1381. .br
  1382. \fIjso\fP pointer to the json object\&.
  1383. .RE
  1384. .PP
  1385. \fBReturn values:\fP
  1386. .RS 4
  1387. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1388. .br
  1389. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1390. .br
  1391. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_NV_PUBLIC\&.
  1392. .br
  1393. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1394. .RE
  1395. .PP
  1396. .SS "TSS2_RC ifapi_json_TPM2B_OPERAND_serialize (const TPM2B_OPERAND * in, json_object ** jso)"
  1397. Serialize a TPM2B_OPERAND to json\&.
  1398. .PP
  1399. \fBParameters:\fP
  1400. .RS 4
  1401. \fIin\fP value of type TPM2B_OPERAND to be serialized\&.
  1402. .br
  1403. \fIjso\fP pointer to the json object\&.
  1404. .RE
  1405. .PP
  1406. \fBReturn values:\fP
  1407. .RS 4
  1408. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1409. .br
  1410. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1411. .br
  1412. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_OPERAND\&.
  1413. .br
  1414. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1415. .RE
  1416. .PP
  1417. .SS "TSS2_RC ifapi_json_TPM2B_PRIVATE_serialize (const TPM2B_PRIVATE * in, json_object ** jso)"
  1418. Serialize value of type TPM2B_PRIVATE to json\&.
  1419. .PP
  1420. \fBParameters:\fP
  1421. .RS 4
  1422. \fIin\fP value to be serialized\&.
  1423. .br
  1424. \fIjso\fP pointer to the json object\&.
  1425. .RE
  1426. .PP
  1427. \fBReturn values:\fP
  1428. .RS 4
  1429. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1430. .br
  1431. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1432. .br
  1433. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_PRIVATE\&.
  1434. .br
  1435. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1436. .RE
  1437. .PP
  1438. .SS "TSS2_RC ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize (const TPM2B_PUBLIC_KEY_RSA * in, json_object ** jso)"
  1439. Serialize value of type TPM2B_PUBLIC_KEY_RSA to json\&.
  1440. .PP
  1441. \fBParameters:\fP
  1442. .RS 4
  1443. \fIin\fP value to be serialized\&.
  1444. .br
  1445. \fIjso\fP pointer to the json object\&.
  1446. .RE
  1447. .PP
  1448. \fBReturn values:\fP
  1449. .RS 4
  1450. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1451. .br
  1452. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1453. .br
  1454. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_PUBLIC_KEY_RSA\&.
  1455. .br
  1456. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1457. .RE
  1458. .PP
  1459. .SS "TSS2_RC ifapi_json_TPM2B_PUBLIC_serialize (const TPM2B_PUBLIC * in, json_object ** jso)"
  1460. Serialize a TPM2B_PUBLIC to json\&.
  1461. .PP
  1462. \fBParameters:\fP
  1463. .RS 4
  1464. \fIin\fP value to be serialized\&.
  1465. .br
  1466. \fIjso\fP pointer to the json object\&.
  1467. .RE
  1468. .PP
  1469. \fBReturn values:\fP
  1470. .RS 4
  1471. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1472. .br
  1473. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1474. .br
  1475. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_PUBLIC\&.
  1476. .br
  1477. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1478. .RE
  1479. .PP
  1480. .SS "TSS2_RC ifapi_json_TPMA_ALGORITHM_serialize (const TPMA_ALGORITHM in, json_object ** jso)"
  1481. Serialize a TPMA_ALGORITHM to json\&.
  1482. .PP
  1483. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  1484. .PP
  1485. \fBParameters:\fP
  1486. .RS 4
  1487. \fIin\fP value to be serialized\&.
  1488. .br
  1489. \fIjso\fP pointer to the json object\&.
  1490. .RE
  1491. .PP
  1492. \fBReturn values:\fP
  1493. .RS 4
  1494. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1495. .br
  1496. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1497. .br
  1498. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMA_ALGORITHM\&.
  1499. .RE
  1500. .PP
  1501. .SS "TSS2_RC ifapi_json_TPMA_CC_serialize (const TPMA_CC in, json_object ** jso)"
  1502. Serialize a TPMA_CC to json\&.
  1503. .PP
  1504. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  1505. .PP
  1506. \fBParameters:\fP
  1507. .RS 4
  1508. \fIin\fP value to be serialized\&.
  1509. .br
  1510. \fIjso\fP pointer to the json object\&.
  1511. .RE
  1512. .PP
  1513. \fBReturn values:\fP
  1514. .RS 4
  1515. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1516. .br
  1517. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1518. .br
  1519. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMA_CC\&.
  1520. .RE
  1521. .PP
  1522. .SS "TSS2_RC ifapi_json_TPMA_LOCALITY_serialize (const TPMA_LOCALITY in, json_object ** jso)"
  1523. Serialize a TPMA_LOCALITY to json\&.
  1524. .PP
  1525. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  1526. .PP
  1527. \fBParameters:\fP
  1528. .RS 4
  1529. \fIin\fP value to be serialized\&.
  1530. .br
  1531. \fIjso\fP pointer to the json object\&.
  1532. .RE
  1533. .PP
  1534. \fBReturn values:\fP
  1535. .RS 4
  1536. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1537. .br
  1538. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1539. .br
  1540. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMA_LOCALITY\&.
  1541. .RE
  1542. .PP
  1543. .SS "TSS2_RC ifapi_json_TPMA_NV_serialize (const TPMA_NV in, json_object ** jso)"
  1544. Serialize a TPMA_NV to json\&.
  1545. .PP
  1546. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  1547. .PP
  1548. \fBParameters:\fP
  1549. .RS 4
  1550. \fIin\fP value to be serialized\&.
  1551. .br
  1552. \fIjso\fP pointer to the json object\&.
  1553. .RE
  1554. .PP
  1555. \fBReturn values:\fP
  1556. .RS 4
  1557. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1558. .br
  1559. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1560. .br
  1561. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMA_NV\&.
  1562. .RE
  1563. .PP
  1564. .SS "TSS2_RC ifapi_json_TPMA_OBJECT_serialize (const TPMA_OBJECT in, json_object ** jso)"
  1565. Serialize a TPMA_OBJECT to json\&.
  1566. .PP
  1567. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  1568. .PP
  1569. \fBParameters:\fP
  1570. .RS 4
  1571. \fIin\fP value to be serialized\&.
  1572. .br
  1573. \fIjso\fP pointer to the json object\&.
  1574. .RE
  1575. .PP
  1576. \fBReturn values:\fP
  1577. .RS 4
  1578. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1579. .br
  1580. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1581. .br
  1582. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMA_OBJECT\&.
  1583. .RE
  1584. .PP
  1585. .SS "TSS2_RC ifapi_json_TPMI_AES_KEY_BITS_serialize (const TPMI_AES_KEY_BITS in, json_object ** jso)"
  1586. Serialize value of type TPMI_AES_KEY_BITS to json\&.
  1587. .PP
  1588. \fBParameters:\fP
  1589. .RS 4
  1590. \fIin\fP value to be serialized\&.
  1591. .br
  1592. \fIjso\fP pointer to the json object\&.
  1593. .RE
  1594. .PP
  1595. \fBReturn values:\fP
  1596. .RS 4
  1597. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1598. .br
  1599. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1600. .br
  1601. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMI_AES_KEY_BITS\&.
  1602. .br
  1603. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1604. .RE
  1605. .PP
  1606. .SS "TSS2_RC ifapi_json_TPMI_ALG_ASYM_SCHEME_serialize (const TPMI_ALG_ASYM_SCHEME in, json_object ** jso)"
  1607. Serialize TPMI_ALG_ASYM_SCHEME to json\&.
  1608. .PP
  1609. \fBParameters:\fP
  1610. .RS 4
  1611. \fIin\fP variable to be serialized\&.
  1612. .br
  1613. \fIjso\fP pointer to the json object\&.
  1614. .RE
  1615. .PP
  1616. \fBReturn values:\fP
  1617. .RS 4
  1618. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1619. .br
  1620. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1621. .RE
  1622. .PP
  1623. .SS "TSS2_RC ifapi_json_TPMI_ALG_CIPHER_MODE_serialize (const TPMI_ALG_CIPHER_MODE in, json_object ** jso)"
  1624. Serialize TPMI_ALG_CIPHER_MODE to json\&.
  1625. .PP
  1626. \fBParameters:\fP
  1627. .RS 4
  1628. \fIin\fP variable to be serialized\&.
  1629. .br
  1630. \fIjso\fP pointer to the json object\&.
  1631. .RE
  1632. .PP
  1633. \fBReturn values:\fP
  1634. .RS 4
  1635. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1636. .br
  1637. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1638. .RE
  1639. .PP
  1640. .SS "TSS2_RC ifapi_json_TPMI_ALG_ECC_SCHEME_serialize (const TPMI_ALG_ECC_SCHEME in, json_object ** jso)"
  1641. Serialize TPMI_ALG_ECC_SCHEME to json\&.
  1642. .PP
  1643. \fBParameters:\fP
  1644. .RS 4
  1645. \fIin\fP variable to be serialized\&.
  1646. .br
  1647. \fIjso\fP pointer to the json object\&.
  1648. .RE
  1649. .PP
  1650. \fBReturn values:\fP
  1651. .RS 4
  1652. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1653. .br
  1654. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1655. .RE
  1656. .PP
  1657. .SS "TSS2_RC ifapi_json_TPMI_ALG_HASH_serialize (const TPMI_ALG_HASH in, json_object ** jso)"
  1658. Serialize TPMI_ALG_HASH to json\&.
  1659. .PP
  1660. \fBParameters:\fP
  1661. .RS 4
  1662. \fIin\fP variable to be serialized\&.
  1663. .br
  1664. \fIjso\fP pointer to the json object\&.
  1665. .RE
  1666. .PP
  1667. \fBReturn values:\fP
  1668. .RS 4
  1669. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1670. .br
  1671. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1672. .RE
  1673. .PP
  1674. .SS "TSS2_RC ifapi_json_TPMI_ALG_KDF_serialize (const TPMI_ALG_KDF in, json_object ** jso)"
  1675. Serialize TPMI_ALG_KDF to json\&.
  1676. .PP
  1677. \fBParameters:\fP
  1678. .RS 4
  1679. \fIin\fP variable to be serialized\&.
  1680. .br
  1681. \fIjso\fP pointer to the json object\&.
  1682. .RE
  1683. .PP
  1684. \fBReturn values:\fP
  1685. .RS 4
  1686. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1687. .br
  1688. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1689. .RE
  1690. .PP
  1691. .SS "TSS2_RC ifapi_json_TPMI_ALG_KEYEDHASH_SCHEME_serialize (const TPMI_ALG_KEYEDHASH_SCHEME in, json_object ** jso)"
  1692. Serialize TPMI_ALG_KEYEDHASH_SCHEME to json\&.
  1693. .PP
  1694. \fBParameters:\fP
  1695. .RS 4
  1696. \fIin\fP variable to be serialized\&.
  1697. .br
  1698. \fIjso\fP pointer to the json object\&.
  1699. .RE
  1700. .PP
  1701. \fBReturn values:\fP
  1702. .RS 4
  1703. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1704. .br
  1705. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1706. .RE
  1707. .PP
  1708. .SS "TSS2_RC ifapi_json_TPMI_ALG_PUBLIC_serialize (const TPMI_ALG_PUBLIC in, json_object ** jso)"
  1709. Serialize TPMI_ALG_PUBLIC to json\&.
  1710. .PP
  1711. \fBParameters:\fP
  1712. .RS 4
  1713. \fIin\fP variable to be serialized\&.
  1714. .br
  1715. \fIjso\fP pointer to the json object\&.
  1716. .RE
  1717. .PP
  1718. \fBReturn values:\fP
  1719. .RS 4
  1720. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1721. .br
  1722. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1723. .RE
  1724. .PP
  1725. .SS "TSS2_RC ifapi_json_TPMI_ALG_RSA_SCHEME_serialize (const TPMI_ALG_RSA_SCHEME in, json_object ** jso)"
  1726. Serialize TPMI_ALG_RSA_SCHEME to json\&.
  1727. .PP
  1728. \fBParameters:\fP
  1729. .RS 4
  1730. \fIin\fP variable to be serialized\&.
  1731. .br
  1732. \fIjso\fP pointer to the json object\&.
  1733. .RE
  1734. .PP
  1735. \fBReturn values:\fP
  1736. .RS 4
  1737. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1738. .br
  1739. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1740. .RE
  1741. .PP
  1742. .SS "TSS2_RC ifapi_json_TPMI_ALG_SIG_SCHEME_serialize (const TPMI_ALG_SIG_SCHEME in, json_object ** jso)"
  1743. Serialize TPMI_ALG_SIG_SCHEME to json\&.
  1744. .PP
  1745. \fBParameters:\fP
  1746. .RS 4
  1747. \fIin\fP variable to be serialized\&.
  1748. .br
  1749. \fIjso\fP pointer to the json object\&.
  1750. .RE
  1751. .PP
  1752. \fBReturn values:\fP
  1753. .RS 4
  1754. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1755. .br
  1756. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1757. .RE
  1758. .PP
  1759. .SS "TSS2_RC ifapi_json_TPMI_ALG_SYM_MODE_serialize (const TPMI_ALG_SYM_MODE in, json_object ** jso)"
  1760. Serialize TPMI_ALG_SYM_MODE to json\&.
  1761. .PP
  1762. \fBParameters:\fP
  1763. .RS 4
  1764. \fIin\fP variable to be serialized\&.
  1765. .br
  1766. \fIjso\fP pointer to the json object\&.
  1767. .RE
  1768. .PP
  1769. \fBReturn values:\fP
  1770. .RS 4
  1771. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1772. .br
  1773. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1774. .RE
  1775. .PP
  1776. .SS "TSS2_RC ifapi_json_TPMI_ALG_SYM_OBJECT_serialize (const TPMI_ALG_SYM_OBJECT in, json_object ** jso)"
  1777. Serialize TPMI_ALG_SYM_OBJECT to json\&.
  1778. .PP
  1779. \fBParameters:\fP
  1780. .RS 4
  1781. \fIin\fP variable to be serialized\&.
  1782. .br
  1783. \fIjso\fP pointer to the json object\&.
  1784. .RE
  1785. .PP
  1786. \fBReturn values:\fP
  1787. .RS 4
  1788. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1789. .br
  1790. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1791. .RE
  1792. .PP
  1793. .SS "TSS2_RC ifapi_json_TPMI_ECC_CURVE_serialize (const TPMI_ECC_CURVE in, json_object ** jso)"
  1794. Serialize value of type TPMI_ECC_CURVE to json\&.
  1795. .PP
  1796. \fBParameters:\fP
  1797. .RS 4
  1798. \fIin\fP value to be serialized\&.
  1799. .br
  1800. \fIjso\fP pointer to the json object\&.
  1801. .RE
  1802. .PP
  1803. \fBReturn values:\fP
  1804. .RS 4
  1805. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1806. .br
  1807. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1808. .br
  1809. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMI_ECC_CURVE\&.
  1810. .RE
  1811. .PP
  1812. .SS "TSS2_RC ifapi_json_TPMI_POLICYTYPE_serialize (const TPMI_POLICYTYPE in, json_object ** jso)"
  1813. Serialize TPMI_POLICYTYPE to json\&.
  1814. .PP
  1815. \fBParameters:\fP
  1816. .RS 4
  1817. \fIin\fP constant to be serialized\&.
  1818. .br
  1819. \fIjso\fP pointer to the json object\&.
  1820. .RE
  1821. .PP
  1822. \fBReturn values:\fP
  1823. .RS 4
  1824. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1825. .br
  1826. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1827. .br
  1828. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMI_POLICYTYPE\&.
  1829. .RE
  1830. .PP
  1831. .SS "TSS2_RC ifapi_json_TPMI_POLICYTYPE_serialize_txt (const TPMI_POLICYTYPE in, json_object ** str_jso)"
  1832. Get json object for a constant, if a variable is actually of type TPMI_POLICYTYPE\&.
  1833. .PP
  1834. \fBParameters:\fP
  1835. .RS 4
  1836. \fIin\fP binary value of constant\&.
  1837. .br
  1838. \fIstr_jso\fP with text representing the constant\&.
  1839. .RE
  1840. .PP
  1841. \fBReturn values:\fP
  1842. .RS 4
  1843. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1844. .br
  1845. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1846. .br
  1847. \fITSS2_FAPI_RC_BAD_VALUE\fP if the constant is not of type TPMI_POLICYTYPE\&.
  1848. .RE
  1849. .PP
  1850. .SS "TSS2_RC ifapi_json_TPMI_RH_HIERARCHY_serialize (const TPMI_RH_HIERARCHY in, json_object ** jso)"
  1851. Serialize TPMI_RH_HIERARCHY to json\&.
  1852. .PP
  1853. \fBParameters:\fP
  1854. .RS 4
  1855. \fIin\fP variable to be serialized\&.
  1856. .br
  1857. \fIjso\fP pointer to the json object\&.
  1858. .RE
  1859. .PP
  1860. \fBReturn values:\fP
  1861. .RS 4
  1862. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1863. .br
  1864. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1865. .RE
  1866. .PP
  1867. .SS "TSS2_RC ifapi_json_TPMI_RH_NV_INDEX_serialize (const TPMI_RH_NV_INDEX in, json_object ** jso)"
  1868. Serialize value of type TPMI_RH_NV_INDEX to json\&.
  1869. .PP
  1870. \fBParameters:\fP
  1871. .RS 4
  1872. \fIin\fP value to be serialized\&.
  1873. .br
  1874. \fIjso\fP pointer to the json object\&.
  1875. .RE
  1876. .PP
  1877. \fBReturn values:\fP
  1878. .RS 4
  1879. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1880. .br
  1881. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1882. .br
  1883. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMI_RH_NV_INDEX\&.
  1884. .RE
  1885. .PP
  1886. .SS "TSS2_RC ifapi_json_TPMI_RSA_KEY_BITS_serialize (const TPMI_RSA_KEY_BITS in, json_object ** jso)"
  1887. Serialize value of type TPMI_RSA_KEY_BITS to json\&.
  1888. .PP
  1889. \fBParameters:\fP
  1890. .RS 4
  1891. \fIin\fP value to be serialized\&.
  1892. .br
  1893. \fIjso\fP pointer to the json object\&.
  1894. .RE
  1895. .PP
  1896. \fBReturn values:\fP
  1897. .RS 4
  1898. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1899. .br
  1900. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1901. .br
  1902. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMI_RSA_KEY_BITS\&.
  1903. .RE
  1904. .PP
  1905. .SS "TSS2_RC ifapi_json_TPMI_ST_ATTEST_serialize (const TPMI_ST_ATTEST in, json_object ** jso)"
  1906. Serialize TPMI_ST_ATTEST to json\&.
  1907. .PP
  1908. \fBParameters:\fP
  1909. .RS 4
  1910. \fIin\fP variable to be serialized\&.
  1911. .br
  1912. \fIjso\fP pointer to the json object\&.
  1913. .RE
  1914. .PP
  1915. \fBReturn values:\fP
  1916. .RS 4
  1917. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1918. .br
  1919. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1920. .RE
  1921. .PP
  1922. .SS "TSS2_RC ifapi_json_TPMI_YES_NO_serialize (const TPMI_YES_NO in, json_object ** jso)"
  1923. Serialize TPMI_YES_NO to json\&.
  1924. .PP
  1925. \fBParameters:\fP
  1926. .RS 4
  1927. \fIin\fP variable to be serialized\&.
  1928. .br
  1929. \fIjso\fP pointer to the json object\&.
  1930. .RE
  1931. .PP
  1932. \fBReturn values:\fP
  1933. .RS 4
  1934. \fITSS2_FAPI_RC_BAD_VALUE\fP if an invalid value was passed into the function\&.
  1935. .br
  1936. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  1937. .RE
  1938. .PP
  1939. .SS "TSS2_RC ifapi_json_TPML_ALG_PROPERTY_serialize (const TPML_ALG_PROPERTY * in, json_object ** jso)"
  1940. Serialize value of type TPML_ALG_PROPERTY to json\&.
  1941. .PP
  1942. \fBParameters:\fP
  1943. .RS 4
  1944. \fIin\fP value to be serialized\&.
  1945. .br
  1946. \fIjso\fP pointer to the json object\&.
  1947. .RE
  1948. .PP
  1949. \fBReturn values:\fP
  1950. .RS 4
  1951. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1952. .br
  1953. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1954. .br
  1955. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_ALG_PROPERTY\&.
  1956. .br
  1957. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1958. .RE
  1959. .PP
  1960. .SS "TSS2_RC ifapi_json_TPML_CC_serialize (const TPML_CC * in, json_object ** jso)"
  1961. Serialize value of type TPML_CC to json\&.
  1962. .PP
  1963. \fBParameters:\fP
  1964. .RS 4
  1965. \fIin\fP value to be serialized\&.
  1966. .br
  1967. \fIjso\fP pointer to the json object\&.
  1968. .RE
  1969. .PP
  1970. \fBReturn values:\fP
  1971. .RS 4
  1972. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1973. .br
  1974. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1975. .br
  1976. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_CC\&.
  1977. .br
  1978. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  1979. .RE
  1980. .PP
  1981. .SS "TSS2_RC ifapi_json_TPML_CCA_serialize (const TPML_CCA * in, json_object ** jso)"
  1982. Serialize value of type TPML_CCA to json\&.
  1983. .PP
  1984. \fBParameters:\fP
  1985. .RS 4
  1986. \fIin\fP value to be serialized\&.
  1987. .br
  1988. \fIjso\fP pointer to the json object\&.
  1989. .RE
  1990. .PP
  1991. \fBReturn values:\fP
  1992. .RS 4
  1993. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  1994. .br
  1995. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  1996. .br
  1997. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_CCA\&.
  1998. .br
  1999. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2000. .RE
  2001. .PP
  2002. .SS "TSS2_RC ifapi_json_TPML_DIGEST_VALUES_serialize (const TPML_DIGEST_VALUES * in, json_object ** jso)"
  2003. Serialize value of type TPML_DIGEST_VALUES to json\&.
  2004. .PP
  2005. \fBParameters:\fP
  2006. .RS 4
  2007. \fIin\fP value to be serialized\&.
  2008. .br
  2009. \fIjso\fP pointer to the json object\&.
  2010. .RE
  2011. .PP
  2012. \fBReturn values:\fP
  2013. .RS 4
  2014. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2015. .br
  2016. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2017. .br
  2018. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_DIGEST_VALUES\&.
  2019. .br
  2020. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2021. .RE
  2022. .PP
  2023. .SS "TSS2_RC ifapi_json_TPML_ECC_CURVE_serialize (const TPML_ECC_CURVE * in, json_object ** jso)"
  2024. Serialize value of type TPML_ECC_CURVE to json\&.
  2025. .PP
  2026. \fBParameters:\fP
  2027. .RS 4
  2028. \fIin\fP value to be serialized\&.
  2029. .br
  2030. \fIjso\fP pointer to the json object\&.
  2031. .RE
  2032. .PP
  2033. \fBReturn values:\fP
  2034. .RS 4
  2035. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2036. .br
  2037. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2038. .br
  2039. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_ECC_CURVE\&.
  2040. .br
  2041. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2042. .RE
  2043. .PP
  2044. .SS "TSS2_RC ifapi_json_TPML_HANDLE_serialize (const TPML_HANDLE * in, json_object ** jso)"
  2045. Serialize value of type TPML_HANDLE to json\&.
  2046. .PP
  2047. \fBParameters:\fP
  2048. .RS 4
  2049. \fIin\fP value to be serialized\&.
  2050. .br
  2051. \fIjso\fP pointer to the json object\&.
  2052. .RE
  2053. .PP
  2054. \fBReturn values:\fP
  2055. .RS 4
  2056. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2057. .br
  2058. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2059. .br
  2060. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_HANDLE\&.
  2061. .br
  2062. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2063. .RE
  2064. .PP
  2065. .SS "TSS2_RC ifapi_json_TPML_PCR_SELECTION_serialize (const TPML_PCR_SELECTION * in, json_object ** jso)"
  2066. Serialize value of type TPML_PCR_SELECTION to json\&.
  2067. .PP
  2068. \fBParameters:\fP
  2069. .RS 4
  2070. \fIin\fP value to be serialized\&.
  2071. .br
  2072. \fIjso\fP pointer to the json object\&.
  2073. .RE
  2074. .PP
  2075. \fBReturn values:\fP
  2076. .RS 4
  2077. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2078. .br
  2079. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2080. .br
  2081. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_PCR_SELECTION\&.
  2082. .br
  2083. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2084. .RE
  2085. .PP
  2086. .SS "TSS2_RC ifapi_json_TPML_PCRVALUES_serialize (const \fBTPML_PCRVALUES\fP * in, json_object ** jso)"
  2087. Serialize value of type \fBTPML_PCRVALUES\fP to json\&.
  2088. .PP
  2089. \fBParameters:\fP
  2090. .RS 4
  2091. \fIin\fP value to be serialized\&.
  2092. .br
  2093. \fIjso\fP pointer to the json object\&.
  2094. .RE
  2095. .PP
  2096. \fBReturn values:\fP
  2097. .RS 4
  2098. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2099. .br
  2100. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2101. .br
  2102. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPML_PCRVALUES\fP\&.
  2103. .br
  2104. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2105. .RE
  2106. .PP
  2107. .SS "TSS2_RC ifapi_json_TPML_POLICYBRANCHES_serialize (const \fBTPML_POLICYBRANCHES\fP * in, json_object ** jso)"
  2108. Serialize value of type \fBTPML_POLICYBRANCHES\fP to json\&.
  2109. .PP
  2110. \fBParameters:\fP
  2111. .RS 4
  2112. \fIin\fP value to be serialized\&.
  2113. .br
  2114. \fIjso\fP pointer to the json object\&.
  2115. .RE
  2116. .PP
  2117. \fBReturn values:\fP
  2118. .RS 4
  2119. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2120. .br
  2121. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2122. .br
  2123. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPML_POLICYBRANCHES\fP\&.
  2124. .br
  2125. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2126. .RE
  2127. .PP
  2128. .SS "TSS2_RC ifapi_json_TPML_POLICYELEMENTS_serialize (const \fBTPML_POLICYELEMENTS\fP * in, json_object ** jso)"
  2129. Serialize value of type \fBTPML_POLICYELEMENTS\fP to json\&.
  2130. .PP
  2131. \fBParameters:\fP
  2132. .RS 4
  2133. \fIin\fP value to be serialized\&.
  2134. .br
  2135. \fIjso\fP pointer to the json object\&.
  2136. .RE
  2137. .PP
  2138. \fBReturn values:\fP
  2139. .RS 4
  2140. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2141. .br
  2142. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2143. .br
  2144. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPML_POLICYELEMENTS\fP\&.
  2145. .br
  2146. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2147. .RE
  2148. .PP
  2149. .SS "TSS2_RC ifapi_json_TPML_TAGGED_PCR_PROPERTY_serialize (const TPML_TAGGED_PCR_PROPERTY * in, json_object ** jso)"
  2150. Serialize value of type TPML_TAGGED_PCR_PROPERTY to json\&.
  2151. .PP
  2152. \fBParameters:\fP
  2153. .RS 4
  2154. \fIin\fP value to be serialized\&.
  2155. .br
  2156. \fIjso\fP pointer to the json object\&.
  2157. .RE
  2158. .PP
  2159. \fBReturn values:\fP
  2160. .RS 4
  2161. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2162. .br
  2163. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2164. .br
  2165. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_TAGGED_PCR_PROPERTY\&.
  2166. .br
  2167. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2168. .RE
  2169. .PP
  2170. .SS "TSS2_RC ifapi_json_TPML_TAGGED_TPM_PROPERTY_serialize (const TPML_TAGGED_TPM_PROPERTY * in, json_object ** jso)"
  2171. Serialize value of type TPML_TAGGED_TPM_PROPERTY to json\&.
  2172. .PP
  2173. \fBParameters:\fP
  2174. .RS 4
  2175. \fIin\fP value to be serialized\&.
  2176. .br
  2177. \fIjso\fP pointer to the json object\&.
  2178. .RE
  2179. .PP
  2180. \fBReturn values:\fP
  2181. .RS 4
  2182. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2183. .br
  2184. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2185. .br
  2186. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPML_TAGGED_TPM_PROPERTY\&.
  2187. .br
  2188. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2189. .RE
  2190. .PP
  2191. .SS "TSS2_RC ifapi_json_TPMS_ALG_PROPERTY_serialize (const TPMS_ALG_PROPERTY * in, json_object ** jso)"
  2192. Serialize value of type TPMS_ALG_PROPERTY to json\&.
  2193. .PP
  2194. \fBParameters:\fP
  2195. .RS 4
  2196. \fIin\fP value to be serialized\&.
  2197. .br
  2198. \fIjso\fP pointer to the json object\&.
  2199. .RE
  2200. .PP
  2201. \fBReturn values:\fP
  2202. .RS 4
  2203. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2204. .br
  2205. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2206. .br
  2207. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ALG_PROPERTY\&.
  2208. .br
  2209. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2210. .RE
  2211. .PP
  2212. .SS "TSS2_RC ifapi_json_TPMS_ATTEST_serialize (const TPMS_ATTEST * in, json_object ** jso)"
  2213. Serialize value of type TPMS_ATTEST to json\&.
  2214. .PP
  2215. \fBParameters:\fP
  2216. .RS 4
  2217. \fIin\fP value to be serialized\&.
  2218. .br
  2219. \fIjso\fP pointer to the json object\&.
  2220. .RE
  2221. .PP
  2222. \fBReturn values:\fP
  2223. .RS 4
  2224. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2225. .br
  2226. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2227. .br
  2228. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ATTEST\&.
  2229. .br
  2230. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2231. .RE
  2232. .PP
  2233. .SS "TSS2_RC ifapi_json_TPMS_CAPABILITY_DATA_serialize (const TPMS_CAPABILITY_DATA * in, json_object ** jso)"
  2234. Serialize value of type TPMS_CAPABILITY_DATA to json\&.
  2235. .PP
  2236. \fBParameters:\fP
  2237. .RS 4
  2238. \fIin\fP value to be serialized\&.
  2239. .br
  2240. \fIjso\fP pointer to the json object\&.
  2241. .RE
  2242. .PP
  2243. \fBReturn values:\fP
  2244. .RS 4
  2245. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2246. .br
  2247. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2248. .br
  2249. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_CAPABILITY_DATA\&.
  2250. .br
  2251. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2252. .RE
  2253. .PP
  2254. .SS "TSS2_RC ifapi_json_TPMS_CERTIFY_INFO_serialize (const TPMS_CERTIFY_INFO * in, json_object ** jso)"
  2255. Serialize value of type TPMS_CERTIFY_INFO to json\&.
  2256. .PP
  2257. \fBParameters:\fP
  2258. .RS 4
  2259. \fIin\fP value to be serialized\&.
  2260. .br
  2261. \fIjso\fP pointer to the json object\&.
  2262. .RE
  2263. .PP
  2264. \fBReturn values:\fP
  2265. .RS 4
  2266. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2267. .br
  2268. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2269. .br
  2270. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_CERTIFY_INFO\&.
  2271. .br
  2272. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2273. .RE
  2274. .PP
  2275. .SS "TSS2_RC ifapi_json_TPMS_CLOCK_INFO_serialize (const TPMS_CLOCK_INFO * in, json_object ** jso)"
  2276. Serialize value of type TPMS_CLOCK_INFO to json\&.
  2277. .PP
  2278. \fBParameters:\fP
  2279. .RS 4
  2280. \fIin\fP value to be serialized\&.
  2281. .br
  2282. \fIjso\fP pointer to the json object\&.
  2283. .RE
  2284. .PP
  2285. \fBReturn values:\fP
  2286. .RS 4
  2287. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2288. .br
  2289. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2290. .br
  2291. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_CLOCK_INFO\&.
  2292. .br
  2293. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2294. .RE
  2295. .PP
  2296. .SS "TSS2_RC ifapi_json_TPMS_COMMAND_AUDIT_INFO_serialize (const TPMS_COMMAND_AUDIT_INFO * in, json_object ** jso)"
  2297. Serialize value of type TPMS_COMMAND_AUDIT_INFO to json\&.
  2298. .PP
  2299. \fBParameters:\fP
  2300. .RS 4
  2301. \fIin\fP value to be serialized\&.
  2302. .br
  2303. \fIjso\fP pointer to the json object\&.
  2304. .RE
  2305. .PP
  2306. \fBReturn values:\fP
  2307. .RS 4
  2308. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2309. .br
  2310. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2311. .br
  2312. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_COMMAND_AUDIT_INFO\&.
  2313. .br
  2314. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2315. .RE
  2316. .PP
  2317. .SS "TSS2_RC ifapi_json_TPMS_CREATION_DATA_serialize (const TPMS_CREATION_DATA * in, json_object ** jso)"
  2318. Serialize value of type TPMS_CREATION_DATA to json\&.
  2319. .PP
  2320. \fBParameters:\fP
  2321. .RS 4
  2322. \fIin\fP value to be serialized\&.
  2323. .br
  2324. \fIjso\fP pointer to the json object\&.
  2325. .RE
  2326. .PP
  2327. \fBReturn values:\fP
  2328. .RS 4
  2329. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2330. .br
  2331. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2332. .br
  2333. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_CREATION_DATA\&.
  2334. .br
  2335. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2336. .RE
  2337. .PP
  2338. .SS "TSS2_RC ifapi_json_TPMS_CREATION_INFO_serialize (const TPMS_CREATION_INFO * in, json_object ** jso)"
  2339. Serialize value of type TPMS_CREATION_INFO to json\&.
  2340. .PP
  2341. \fBParameters:\fP
  2342. .RS 4
  2343. \fIin\fP value to be serialized\&.
  2344. .br
  2345. \fIjso\fP pointer to the json object\&.
  2346. .RE
  2347. .PP
  2348. \fBReturn values:\fP
  2349. .RS 4
  2350. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2351. .br
  2352. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2353. .br
  2354. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_CREATION_INFO\&.
  2355. .br
  2356. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2357. .RE
  2358. .PP
  2359. .SS "TSS2_RC ifapi_json_TPMS_ECC_PARMS_serialize (const TPMS_ECC_PARMS * in, json_object ** jso)"
  2360. Serialize value of type TPMS_ECC_PARMS to json\&.
  2361. .PP
  2362. \fBParameters:\fP
  2363. .RS 4
  2364. \fIin\fP value to be serialized\&.
  2365. .br
  2366. \fIjso\fP pointer to the json object\&.
  2367. .RE
  2368. .PP
  2369. \fBReturn values:\fP
  2370. .RS 4
  2371. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2372. .br
  2373. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2374. .br
  2375. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ECC_PARMS\&.
  2376. .br
  2377. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2378. .RE
  2379. .PP
  2380. .SS "TSS2_RC ifapi_json_TPMS_ECC_POINT_serialize (const TPMS_ECC_POINT * in, json_object ** jso)"
  2381. Serialize value of type TPMS_ECC_POINT to json\&.
  2382. .PP
  2383. \fBParameters:\fP
  2384. .RS 4
  2385. \fIin\fP value to be serialized\&.
  2386. .br
  2387. \fIjso\fP pointer to the json object\&.
  2388. .RE
  2389. .PP
  2390. \fBReturn values:\fP
  2391. .RS 4
  2392. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2393. .br
  2394. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2395. .br
  2396. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ECC_POINT\&.
  2397. .br
  2398. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2399. .RE
  2400. .PP
  2401. .SS "TSS2_RC ifapi_json_TPMS_EMPTY_serialize (const TPMS_EMPTY * in, json_object ** jso)"
  2402. Serialize a TPMS_EMPTY\&.
  2403. .PP
  2404. \fBParameters:\fP
  2405. .RS 4
  2406. \fIin\fP not used\&.
  2407. .br
  2408. \fIjso\fP not used\&.
  2409. .RE
  2410. .PP
  2411. \fBReturn values:\fP
  2412. .RS 4
  2413. \fITSS2_RC_SUCCESS\fP is always returnde\&.
  2414. .RE
  2415. .PP
  2416. .SS "TSS2_RC ifapi_json_TPMS_ENC_SCHEME_OAEP_serialize (const TPMS_ENC_SCHEME_OAEP * in, json_object ** jso)"
  2417. Serialize a TPMS_ENC_SCHEME_OAEP to json\&.
  2418. .PP
  2419. \fBParameters:\fP
  2420. .RS 4
  2421. \fIin\fP value of type TPMS_ENC_SCHEME_OAEP to be serialized\&.
  2422. .br
  2423. \fIjso\fP pointer to the json object\&.
  2424. .RE
  2425. .PP
  2426. \fBReturn values:\fP
  2427. .RS 4
  2428. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2429. .br
  2430. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2431. .br
  2432. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ENC_SCHEME_OAEP\&.
  2433. .br
  2434. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2435. .RE
  2436. .PP
  2437. .SS "TSS2_RC ifapi_json_TPMS_ENC_SCHEME_RSAES_serialize (const TPMS_ENC_SCHEME_RSAES * in, json_object ** jso)"
  2438. Serialize a TPMS_ENC_SCHEME_RSAES to json\&.
  2439. .PP
  2440. \fBParameters:\fP
  2441. .RS 4
  2442. \fIin\fP value of type TPMS_ENC_SCHEME_RSAES to be serialized\&.
  2443. .br
  2444. \fIjso\fP pointer to the json object\&.
  2445. .RE
  2446. .PP
  2447. \fBReturn values:\fP
  2448. .RS 4
  2449. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2450. .br
  2451. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2452. .br
  2453. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_ENC_SCHEME_RSAES\&.
  2454. .RE
  2455. .PP
  2456. .SS "TSS2_RC ifapi_json_TPMS_KEY_SCHEME_ECDH_serialize (const TPMS_KEY_SCHEME_ECDH * in, json_object ** jso)"
  2457. Serialize a TPMS_KEY_SCHEME_ECDH to json\&.
  2458. .PP
  2459. \fBParameters:\fP
  2460. .RS 4
  2461. \fIin\fP value of type TPMS_KEY_SCHEME_ECDH to be serialized\&.
  2462. .br
  2463. \fIjso\fP pointer to the json object\&.
  2464. .RE
  2465. .PP
  2466. \fBReturn values:\fP
  2467. .RS 4
  2468. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2469. .br
  2470. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2471. .br
  2472. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_KEY_SCHEME_ECDH\&.
  2473. .br
  2474. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2475. .RE
  2476. .PP
  2477. .SS "TSS2_RC ifapi_json_TPMS_KEYEDHASH_PARMS_serialize (const TPMS_KEYEDHASH_PARMS * in, json_object ** jso)"
  2478. Serialize value of type TPMS_KEYEDHASH_PARMS to json\&.
  2479. .PP
  2480. \fBParameters:\fP
  2481. .RS 4
  2482. \fIin\fP value to be serialized\&.
  2483. .br
  2484. \fIjso\fP pointer to the json object\&.
  2485. .RE
  2486. .PP
  2487. \fBReturn values:\fP
  2488. .RS 4
  2489. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2490. .br
  2491. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2492. .br
  2493. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_KEYEDHASH_PARMS\&.
  2494. .br
  2495. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2496. .RE
  2497. .PP
  2498. .SS "TSS2_RC ifapi_json_TPMS_NV_CERTIFY_INFO_serialize (const TPMS_NV_CERTIFY_INFO * in, json_object ** jso)"
  2499. Serialize value of type TPMS_NV_CERTIFY_INFO to json\&.
  2500. .PP
  2501. \fBParameters:\fP
  2502. .RS 4
  2503. \fIin\fP value to be serialized\&.
  2504. .br
  2505. \fIjso\fP pointer to the json object\&.
  2506. .RE
  2507. .PP
  2508. \fBReturn values:\fP
  2509. .RS 4
  2510. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2511. .br
  2512. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2513. .br
  2514. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_NV_CERTIFY_INFO\&.
  2515. .br
  2516. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2517. .RE
  2518. .PP
  2519. .SS "TSS2_RC ifapi_json_TPMS_NV_PUBLIC_serialize (const TPMS_NV_PUBLIC * in, json_object ** jso)"
  2520. Serialize value of type TPMS_NV_PUBLIC to json\&.
  2521. .PP
  2522. \fBParameters:\fP
  2523. .RS 4
  2524. \fIin\fP value to be serialized\&.
  2525. .br
  2526. \fIjso\fP pointer to the json object\&.
  2527. .RE
  2528. .PP
  2529. \fBReturn values:\fP
  2530. .RS 4
  2531. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2532. .br
  2533. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2534. .br
  2535. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_NV_PUBLIC\&.
  2536. .br
  2537. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2538. .RE
  2539. .PP
  2540. .SS "TSS2_RC ifapi_json_TPMS_PCR_SELECT_serialize (const TPMS_PCR_SELECT * in, json_object ** jso)"
  2541. Serialize a TPMS_PCR_SELECT structure to json\&.
  2542. .PP
  2543. \fBParameters:\fP
  2544. .RS 4
  2545. \fIin\fP value to be serialized\&.
  2546. .br
  2547. \fIjso\fP pointer to the json object\&.
  2548. .RE
  2549. .PP
  2550. \fBReturn values:\fP
  2551. .RS 4
  2552. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2553. .br
  2554. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2555. .br
  2556. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_PCR_SELECTION\&.
  2557. .RE
  2558. .PP
  2559. .SS "TSS2_RC ifapi_json_TPMS_PCR_SELECTION_serialize (const TPMS_PCR_SELECTION * in, json_object ** jso)"
  2560. Serialize a TPMS_PCR_SELECTION structure to json\&.
  2561. .PP
  2562. \fBParameters:\fP
  2563. .RS 4
  2564. \fIin\fP value to be serialized\&.
  2565. .br
  2566. \fIjso\fP pointer to the json object\&.
  2567. .RE
  2568. .PP
  2569. \fBReturn values:\fP
  2570. .RS 4
  2571. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2572. .br
  2573. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2574. .br
  2575. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_PCR_SELECTION\&.
  2576. .RE
  2577. .PP
  2578. .SS "TSS2_RC ifapi_json_TPMS_PCRVALUE_serialize (const \fBTPMS_PCRVALUE\fP * in, json_object ** jso)"
  2579. Serialize value of type \fBTPMS_PCRVALUE\fP to json\&.
  2580. .PP
  2581. \fBParameters:\fP
  2582. .RS 4
  2583. \fIin\fP value to be serialized\&.
  2584. .br
  2585. \fIjso\fP pointer to the json object\&.
  2586. .RE
  2587. .PP
  2588. \fBReturn values:\fP
  2589. .RS 4
  2590. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2591. .br
  2592. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2593. .br
  2594. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_PCRVALUE\fP\&.
  2595. .br
  2596. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2597. .RE
  2598. .PP
  2599. .SS "TSS2_RC ifapi_json_TPMS_POLICY_serialize (const \fBTPMS_POLICY\fP * in, json_object ** jso)"
  2600. Serialize value of type \fBTPMS_POLICY\fP to json\&.
  2601. .PP
  2602. \fBParameters:\fP
  2603. .RS 4
  2604. \fIin\fP value to be serialized\&.
  2605. .br
  2606. \fIjso\fP pointer to the json object\&.
  2607. .RE
  2608. .PP
  2609. \fBReturn values:\fP
  2610. .RS 4
  2611. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2612. .br
  2613. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2614. .br
  2615. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICY\fP\&.
  2616. .br
  2617. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2618. .RE
  2619. .PP
  2620. .SS "TSS2_RC ifapi_json_TPMS_POLICYACTION_serialize (const \fBTPMS_POLICYACTION\fP * in, json_object ** jso)"
  2621. Serialize value of type \fBTPMS_POLICYACTION\fP to json\&.
  2622. .PP
  2623. \fBParameters:\fP
  2624. .RS 4
  2625. \fIin\fP value to be serialized\&.
  2626. .br
  2627. \fIjso\fP pointer to the json object\&.
  2628. .RE
  2629. .PP
  2630. \fBReturn values:\fP
  2631. .RS 4
  2632. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2633. .br
  2634. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2635. .br
  2636. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYACTION\fP\&.
  2637. .br
  2638. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2639. .RE
  2640. .PP
  2641. .SS "TSS2_RC ifapi_json_TPMS_POLICYAUTHORIZATION_serialize (const \fBTPMS_POLICYAUTHORIZATION\fP * in, json_object ** jso)"
  2642. Serialize value of type \fBTPMS_POLICYAUTHORIZATION\fP to json\&.
  2643. .PP
  2644. \fBParameters:\fP
  2645. .RS 4
  2646. \fIin\fP value to be serialized\&.
  2647. .br
  2648. \fIjso\fP pointer to the json object\&.
  2649. .RE
  2650. .PP
  2651. \fBReturn values:\fP
  2652. .RS 4
  2653. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2654. .br
  2655. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2656. .br
  2657. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYAUTHORIZATION\fP\&.
  2658. .br
  2659. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2660. .RE
  2661. .PP
  2662. .SS "TSS2_RC ifapi_json_TPMS_POLICYAUTHORIZE_serialize (const \fBTPMS_POLICYAUTHORIZE\fP * in, json_object ** jso)"
  2663. Serialize value of type \fBTPMS_POLICYAUTHORIZE\fP to json\&.
  2664. .PP
  2665. \fBParameters:\fP
  2666. .RS 4
  2667. \fIin\fP value to be serialized\&.
  2668. .br
  2669. \fIjso\fP pointer to the json object\&.
  2670. .RE
  2671. .PP
  2672. \fBReturn values:\fP
  2673. .RS 4
  2674. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2675. .br
  2676. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2677. .br
  2678. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYAUTHORIZE\fP\&.
  2679. .br
  2680. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2681. .RE
  2682. .PP
  2683. < counter for conditional fields
  2684. .SS "TSS2_RC ifapi_json_TPMS_POLICYAUTHORIZENV_serialize (const \fBTPMS_POLICYAUTHORIZENV\fP * in, json_object ** jso)"
  2685. Serialize value of type \fBTPMS_POLICYAUTHORIZENV\fP to json\&.
  2686. .PP
  2687. \fBParameters:\fP
  2688. .RS 4
  2689. \fIin\fP value to be serialized\&.
  2690. .br
  2691. \fIjso\fP pointer to the json object\&.
  2692. .RE
  2693. .PP
  2694. \fBReturn values:\fP
  2695. .RS 4
  2696. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2697. .br
  2698. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2699. .br
  2700. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYAUTHORIZENV\fP\&.
  2701. .br
  2702. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2703. .RE
  2704. .PP
  2705. < counter for conditional fields
  2706. .SS "TSS2_RC ifapi_json_TPMS_POLICYAUTHVALUE_serialize (const \fBTPMS_POLICYAUTHVALUE\fP * in, json_object ** jso)"
  2707. Serialize value of type \fBTPMS_POLICYAUTHVALUE\fP to json\&.
  2708. .PP
  2709. \fBParameters:\fP
  2710. .RS 4
  2711. \fIin\fP value to be serialized\&.
  2712. .br
  2713. \fIjso\fP pointer to the json object\&.
  2714. .RE
  2715. .PP
  2716. \fBReturn values:\fP
  2717. .RS 4
  2718. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2719. .br
  2720. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2721. .br
  2722. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYAUTHVALUE\fP\&.
  2723. .br
  2724. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2725. .RE
  2726. .PP
  2727. .SS "TSS2_RC ifapi_json_TPMS_POLICYBRANCH_serialize (const \fBTPMS_POLICYBRANCH\fP * in, json_object ** jso)"
  2728. Serialize value of type \fBTPMS_POLICYBRANCH\fP to json\&.
  2729. .PP
  2730. \fBParameters:\fP
  2731. .RS 4
  2732. \fIin\fP value to be serialized\&.
  2733. .br
  2734. \fIjso\fP pointer to the json object\&.
  2735. .RE
  2736. .PP
  2737. \fBReturn values:\fP
  2738. .RS 4
  2739. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2740. .br
  2741. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2742. .br
  2743. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYBRANCH\fP\&.
  2744. .br
  2745. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2746. .RE
  2747. .PP
  2748. .SS "TSS2_RC ifapi_json_TPMS_POLICYCOMMANDCODE_serialize (const \fBTPMS_POLICYCOMMANDCODE\fP * in, json_object ** jso)"
  2749. Serialize value of type \fBTPMS_POLICYCOMMANDCODE\fP to json\&.
  2750. .PP
  2751. \fBParameters:\fP
  2752. .RS 4
  2753. \fIin\fP value to be serialized\&.
  2754. .br
  2755. \fIjso\fP pointer to the json object\&.
  2756. .RE
  2757. .PP
  2758. \fBReturn values:\fP
  2759. .RS 4
  2760. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2761. .br
  2762. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2763. .br
  2764. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYCOMMANDCODE\fP\&.
  2765. .br
  2766. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2767. .RE
  2768. .PP
  2769. .SS "TSS2_RC ifapi_json_TPMS_POLICYCOUNTERTIMER_serialize (const \fBTPMS_POLICYCOUNTERTIMER\fP * in, json_object ** jso)"
  2770. Serialize value of type \fBTPMS_POLICYCOUNTERTIMER\fP to json\&.
  2771. .PP
  2772. \fBParameters:\fP
  2773. .RS 4
  2774. \fIin\fP value to be serialized\&.
  2775. .br
  2776. \fIjso\fP pointer to the json object\&.
  2777. .RE
  2778. .PP
  2779. \fBReturn values:\fP
  2780. .RS 4
  2781. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2782. .br
  2783. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2784. .br
  2785. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYCOUNTERTIMER\fP\&.
  2786. .br
  2787. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2788. .RE
  2789. .PP
  2790. .SS "TSS2_RC ifapi_json_TPMS_POLICYCPHASH_serialize (const \fBTPMS_POLICYCPHASH\fP * in, json_object ** jso)"
  2791. Serialize value of type \fBTPMS_POLICYCPHASH\fP to json\&.
  2792. .PP
  2793. \fBParameters:\fP
  2794. .RS 4
  2795. \fIin\fP value to be serialized\&.
  2796. .br
  2797. \fIjso\fP pointer to the json object\&.
  2798. .RE
  2799. .PP
  2800. \fBReturn values:\fP
  2801. .RS 4
  2802. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2803. .br
  2804. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2805. .br
  2806. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYCPHASH\fP\&.
  2807. .br
  2808. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2809. .RE
  2810. .PP
  2811. .SS "TSS2_RC ifapi_json_TPMS_POLICYDUPLICATIONSELECT_serialize (const \fBTPMS_POLICYDUPLICATIONSELECT\fP * in, json_object ** jso)"
  2812. Serialize value of type \fBTPMS_POLICYDUPLICATIONSELECT\fP to json\&.
  2813. .PP
  2814. \fBParameters:\fP
  2815. .RS 4
  2816. \fIin\fP value to be serialized\&.
  2817. .br
  2818. \fIjso\fP pointer to the json object\&.
  2819. .RE
  2820. .PP
  2821. \fBReturn values:\fP
  2822. .RS 4
  2823. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2824. .br
  2825. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2826. .br
  2827. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYDUPLICATIONSELECT\fP\&.
  2828. .br
  2829. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2830. .RE
  2831. .PP
  2832. < counter for conditional fields
  2833. .SS "TSS2_RC ifapi_json_TPMS_POLICYLOCALITY_serialize (const \fBTPMS_POLICYLOCALITY\fP * in, json_object ** jso)"
  2834. Serialize value of type \fBTPMS_POLICYLOCALITY\fP to json\&.
  2835. .PP
  2836. \fBParameters:\fP
  2837. .RS 4
  2838. \fIin\fP value to be serialized\&.
  2839. .br
  2840. \fIjso\fP pointer to the json object\&.
  2841. .RE
  2842. .PP
  2843. \fBReturn values:\fP
  2844. .RS 4
  2845. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2846. .br
  2847. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2848. .br
  2849. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYLOCALITY\fP\&.
  2850. .br
  2851. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2852. .RE
  2853. .PP
  2854. .SS "TSS2_RC ifapi_json_TPMS_POLICYNAMEHASH_serialize (const \fBTPMS_POLICYNAMEHASH\fP * in, json_object ** jso)"
  2855. Serialize value of type \fBTPMS_POLICYNAMEHASH\fP to json\&.
  2856. .PP
  2857. \fBParameters:\fP
  2858. .RS 4
  2859. \fIin\fP value to be serialized\&.
  2860. .br
  2861. \fIjso\fP pointer to the json object\&.
  2862. .RE
  2863. .PP
  2864. \fBReturn values:\fP
  2865. .RS 4
  2866. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2867. .br
  2868. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2869. .br
  2870. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYNAMEHASH\fP\&.
  2871. .br
  2872. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2873. .RE
  2874. .PP
  2875. < counter for conditional fields
  2876. .SS "TSS2_RC ifapi_json_TPMS_POLICYNV_serialize (const \fBTPMS_POLICYNV\fP * in, json_object ** jso)"
  2877. Serialize value of type \fBTPMS_POLICYNV\fP to json\&.
  2878. .PP
  2879. \fBParameters:\fP
  2880. .RS 4
  2881. \fIin\fP value to be serialized\&.
  2882. .br
  2883. \fIjso\fP pointer to the json object\&.
  2884. .RE
  2885. .PP
  2886. \fBReturn values:\fP
  2887. .RS 4
  2888. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2889. .br
  2890. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2891. .br
  2892. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYNV\fP\&.
  2893. .br
  2894. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2895. .RE
  2896. .PP
  2897. < counter for conditional fields
  2898. .SS "TSS2_RC ifapi_json_TPMS_POLICYNVWRITTEN_serialize (const \fBTPMS_POLICYNVWRITTEN\fP * in, json_object ** jso)"
  2899. Serialize value of type \fBTPMS_POLICYNVWRITTEN\fP to json\&.
  2900. .PP
  2901. \fBParameters:\fP
  2902. .RS 4
  2903. \fIin\fP value to be serialized\&.
  2904. .br
  2905. \fIjso\fP pointer to the json object\&.
  2906. .RE
  2907. .PP
  2908. \fBReturn values:\fP
  2909. .RS 4
  2910. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2911. .br
  2912. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2913. .br
  2914. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYNVWRITTEN\fP\&.
  2915. .br
  2916. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2917. .RE
  2918. .PP
  2919. .SS "TSS2_RC ifapi_json_TPMS_POLICYOR_serialize (const \fBTPMS_POLICYOR\fP * in, json_object ** jso)"
  2920. Serialize value of type \fBTPMS_POLICYOR\fP to json\&.
  2921. .PP
  2922. \fBParameters:\fP
  2923. .RS 4
  2924. \fIin\fP value to be serialized\&.
  2925. .br
  2926. \fIjso\fP pointer to the json object\&.
  2927. .RE
  2928. .PP
  2929. \fBReturn values:\fP
  2930. .RS 4
  2931. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2932. .br
  2933. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2934. .br
  2935. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYOR\fP\&.
  2936. .br
  2937. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2938. .RE
  2939. .PP
  2940. .SS "TSS2_RC ifapi_json_TPMS_POLICYPASSWORD_serialize (const \fBTPMS_POLICYPASSWORD\fP * in, json_object ** jso)"
  2941. Serialize value of type \fBTPMS_POLICYPASSWORD\fP to json\&.
  2942. .PP
  2943. \fBParameters:\fP
  2944. .RS 4
  2945. \fIin\fP value to be serialized\&.
  2946. .br
  2947. \fIjso\fP pointer to the json object\&.
  2948. .RE
  2949. .PP
  2950. \fBReturn values:\fP
  2951. .RS 4
  2952. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2953. .br
  2954. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2955. .br
  2956. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYPASSWORD\fP\&.
  2957. .br
  2958. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2959. .RE
  2960. .PP
  2961. .SS "TSS2_RC ifapi_json_TPMS_POLICYPCR_serialize (const \fBTPMS_POLICYPCR\fP * in, json_object ** jso)"
  2962. Serialize value of type \fBTPMS_POLICYPCR\fP to json\&.
  2963. .PP
  2964. \fBParameters:\fP
  2965. .RS 4
  2966. \fIin\fP value to be serialized\&.
  2967. .br
  2968. \fIjso\fP pointer to the json object\&.
  2969. .RE
  2970. .PP
  2971. \fBReturn values:\fP
  2972. .RS 4
  2973. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2974. .br
  2975. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2976. .br
  2977. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYPCR\fP\&.
  2978. .br
  2979. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  2980. .RE
  2981. .PP
  2982. < counter for conditional fields
  2983. .SS "TSS2_RC ifapi_json_TPMS_POLICYPHYSICALPRESENCE_serialize (const \fBTPMS_POLICYPHYSICALPRESENCE\fP * in, json_object ** jso)"
  2984. Serialize value of type \fBTPMS_POLICYPHYSICALPRESENCE\fP to json\&.
  2985. .PP
  2986. \fBParameters:\fP
  2987. .RS 4
  2988. \fIin\fP value to be serialized\&.
  2989. .br
  2990. \fIjso\fP pointer to the json object\&.
  2991. .RE
  2992. .PP
  2993. \fBReturn values:\fP
  2994. .RS 4
  2995. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  2996. .br
  2997. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  2998. .br
  2999. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYPHYSICALPRESENCE\fP\&.
  3000. .br
  3001. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3002. .RE
  3003. .PP
  3004. .SS "TSS2_RC ifapi_json_TPMS_POLICYSECRET_serialize (const \fBTPMS_POLICYSECRET\fP * in, json_object ** jso)"
  3005. Serialize value of type \fBTPMS_POLICYSECRET\fP to json\&.
  3006. .PP
  3007. \fBParameters:\fP
  3008. .RS 4
  3009. \fIin\fP value to be serialized\&.
  3010. .br
  3011. \fIjso\fP pointer to the json object\&.
  3012. .RE
  3013. .PP
  3014. \fBReturn values:\fP
  3015. .RS 4
  3016. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3017. .br
  3018. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3019. .br
  3020. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYSECRET\fP\&.
  3021. .br
  3022. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3023. .RE
  3024. .PP
  3025. < counter for conditional fields
  3026. .SS "TSS2_RC ifapi_json_TPMS_POLICYSIGNED_serialize (const \fBTPMS_POLICYSIGNED\fP * in, json_object ** jso)"
  3027. Serialize value of type \fBTPMS_POLICYSIGNED\fP to json\&.
  3028. .PP
  3029. \fBParameters:\fP
  3030. .RS 4
  3031. \fIin\fP value to be serialized\&.
  3032. .br
  3033. \fIjso\fP pointer to the json object\&.
  3034. .RE
  3035. .PP
  3036. \fBReturn values:\fP
  3037. .RS 4
  3038. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3039. .br
  3040. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3041. .br
  3042. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYSIGNED\fP\&.
  3043. .br
  3044. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3045. .RE
  3046. .PP
  3047. < counter for conditional fields
  3048. .SS "TSS2_RC ifapi_json_TPMS_POLICYTEMPLATE_serialize (const \fBTPMS_POLICYTEMPLATE\fP * in, json_object ** jso)"
  3049. Serialize value of type \fBTPMS_POLICYTEMPLATE\fP to json\&.
  3050. .PP
  3051. \fBParameters:\fP
  3052. .RS 4
  3053. \fIin\fP value to be serialized\&.
  3054. .br
  3055. \fIjso\fP pointer to the json object\&.
  3056. .RE
  3057. .PP
  3058. \fBReturn values:\fP
  3059. .RS 4
  3060. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3061. .br
  3062. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3063. .br
  3064. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMS_POLICYTEMPLATE\fP\&.
  3065. .br
  3066. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3067. .RE
  3068. .PP
  3069. < counter for conditional fields
  3070. .SS "TSS2_RC ifapi_json_TPMS_QUOTE_INFO_serialize (const TPMS_QUOTE_INFO * in, json_object ** jso)"
  3071. Serialize value of type TPMS_QUOTE_INFO to json\&.
  3072. .PP
  3073. \fBParameters:\fP
  3074. .RS 4
  3075. \fIin\fP value to be serialized\&.
  3076. .br
  3077. \fIjso\fP pointer to the json object\&.
  3078. .RE
  3079. .PP
  3080. \fBReturn values:\fP
  3081. .RS 4
  3082. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3083. .br
  3084. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3085. .br
  3086. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_QUOTE_INFO\&.
  3087. .br
  3088. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3089. .RE
  3090. .PP
  3091. .SS "TSS2_RC ifapi_json_TPMS_RSA_PARMS_serialize (const TPMS_RSA_PARMS * in, json_object ** jso)"
  3092. Serialize value of type TPMS_RSA_PARMS to json\&.
  3093. .PP
  3094. \fBParameters:\fP
  3095. .RS 4
  3096. \fIin\fP value to be serialized\&.
  3097. .br
  3098. \fIjso\fP pointer to the json object\&.
  3099. .RE
  3100. .PP
  3101. \fBReturn values:\fP
  3102. .RS 4
  3103. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3104. .br
  3105. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3106. .br
  3107. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_RSA_PARMS\&.
  3108. .br
  3109. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3110. .RE
  3111. .PP
  3112. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_ECDAA_serialize (const TPMS_SCHEME_ECDAA * in, json_object ** jso)"
  3113. Serialize value of type TPMS_SCHEME_ECDAA to json\&.
  3114. .PP
  3115. \fBParameters:\fP
  3116. .RS 4
  3117. \fIin\fP value to be serialized\&.
  3118. .br
  3119. \fIjso\fP pointer to the json object\&.
  3120. .RE
  3121. .PP
  3122. \fBReturn values:\fP
  3123. .RS 4
  3124. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3125. .br
  3126. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3127. .br
  3128. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_ECDAA\&.
  3129. .br
  3130. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3131. .RE
  3132. .PP
  3133. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_HASH_serialize (const TPMS_SCHEME_HASH * in, json_object ** jso)"
  3134. Serialize value of type TPMS_SCHEME_HASH to json\&.
  3135. .PP
  3136. \fBParameters:\fP
  3137. .RS 4
  3138. \fIin\fP value to be serialized\&.
  3139. .br
  3140. \fIjso\fP pointer to the json object\&.
  3141. .RE
  3142. .PP
  3143. \fBReturn values:\fP
  3144. .RS 4
  3145. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3146. .br
  3147. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3148. .br
  3149. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_HASH\&.
  3150. .br
  3151. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3152. .RE
  3153. .PP
  3154. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_HMAC_serialize (const TPMS_SCHEME_HMAC * in, json_object ** jso)"
  3155. Serialize a TPMS_SCHEME_HMAC to json\&.
  3156. .PP
  3157. \fBParameters:\fP
  3158. .RS 4
  3159. \fIin\fP value of type TPMS_SCHEME_HMAC to be serialized\&.
  3160. .br
  3161. \fIjso\fP pointer to the json object\&.
  3162. .RE
  3163. .PP
  3164. \fBReturn values:\fP
  3165. .RS 4
  3166. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3167. .br
  3168. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3169. .br
  3170. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_HMAC\&.
  3171. .br
  3172. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3173. .RE
  3174. .PP
  3175. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_KDF1_SP800_108_serialize (const TPMS_SCHEME_KDF1_SP800_108 * in, json_object ** jso)"
  3176. Serialize a TPMS_SCHEME_KDF1_SP800_108 to json\&.
  3177. .PP
  3178. \fBParameters:\fP
  3179. .RS 4
  3180. \fIin\fP value of type TPMS_SCHEME_KDF1_SP800_108 to be serialized\&.
  3181. .br
  3182. \fIjso\fP pointer to the json object\&.
  3183. .RE
  3184. .PP
  3185. \fBReturn values:\fP
  3186. .RS 4
  3187. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3188. .br
  3189. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3190. .br
  3191. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_KDF1_SP800_108\&.
  3192. .br
  3193. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3194. .RE
  3195. .PP
  3196. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_KDF1_SP800_56A_serialize (const TPMS_SCHEME_KDF1_SP800_56A * in, json_object ** jso)"
  3197. Serialize a TPMS_SCHEME_KDF1_SP800_56A to json\&.
  3198. .PP
  3199. \fBParameters:\fP
  3200. .RS 4
  3201. \fIin\fP value of type TPMS_SCHEME_KDF1_SP800_56A to be serialized\&.
  3202. .br
  3203. \fIjso\fP pointer to the json object\&.
  3204. .RE
  3205. .PP
  3206. \fBReturn values:\fP
  3207. .RS 4
  3208. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3209. .br
  3210. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3211. .br
  3212. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_KDF1_SP800_56A\&.
  3213. .br
  3214. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3215. .RE
  3216. .PP
  3217. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_MGF1_serialize (const TPMS_SCHEME_MGF1 * in, json_object ** jso)"
  3218. Serialize a TPMS_SCHEME_MGF1 to json\&.
  3219. .PP
  3220. \fBParameters:\fP
  3221. .RS 4
  3222. \fIin\fP value of type TPMS_SCHEME_MGF1 to be serialized\&.
  3223. .br
  3224. \fIjso\fP pointer to the json object\&.
  3225. .RE
  3226. .PP
  3227. \fBReturn values:\fP
  3228. .RS 4
  3229. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3230. .br
  3231. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3232. .br
  3233. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_MGF1\&.
  3234. .br
  3235. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3236. .RE
  3237. .PP
  3238. .SS "TSS2_RC ifapi_json_TPMS_SCHEME_XOR_serialize (const TPMS_SCHEME_XOR * in, json_object ** jso)"
  3239. Serialize value of type TPMS_SCHEME_XOR to json\&.
  3240. .PP
  3241. \fBParameters:\fP
  3242. .RS 4
  3243. \fIin\fP value to be serialized\&.
  3244. .br
  3245. \fIjso\fP pointer to the json object\&.
  3246. .RE
  3247. .PP
  3248. \fBReturn values:\fP
  3249. .RS 4
  3250. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3251. .br
  3252. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3253. .br
  3254. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SCHEME_XOR\&.
  3255. .br
  3256. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3257. .RE
  3258. .PP
  3259. .SS "TSS2_RC ifapi_json_TPMS_SESSION_AUDIT_INFO_serialize (const TPMS_SESSION_AUDIT_INFO * in, json_object ** jso)"
  3260. Serialize value of type TPMS_SESSION_AUDIT_INFO to json\&.
  3261. .PP
  3262. \fBParameters:\fP
  3263. .RS 4
  3264. \fIin\fP value to be serialized\&.
  3265. .br
  3266. \fIjso\fP pointer to the json object\&.
  3267. .RE
  3268. .PP
  3269. \fBReturn values:\fP
  3270. .RS 4
  3271. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3272. .br
  3273. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3274. .br
  3275. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SESSION_AUDIT_INFO\&.
  3276. .br
  3277. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3278. .RE
  3279. .PP
  3280. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECDAA_serialize (const TPMS_SIG_SCHEME_ECDAA * in, json_object ** jso)"
  3281. Serialize a TPMS_SIG_SCHEME_ECDAA to json\&.
  3282. .PP
  3283. \fBParameters:\fP
  3284. .RS 4
  3285. \fIin\fP value of type TPMS_SIG_SCHEME_ECDAA to be serialized\&.
  3286. .br
  3287. \fIjso\fP pointer to the json object\&.
  3288. .RE
  3289. .PP
  3290. \fBReturn values:\fP
  3291. .RS 4
  3292. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3293. .br
  3294. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3295. .br
  3296. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_ECDAA\&.
  3297. .br
  3298. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3299. .RE
  3300. .PP
  3301. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECDSA_serialize (const TPMS_SIG_SCHEME_ECDSA * in, json_object ** jso)"
  3302. Serialize a TPMS_SIG_SCHEME_ECDSA to json\&.
  3303. .PP
  3304. \fBParameters:\fP
  3305. .RS 4
  3306. \fIin\fP value of type TPMS_SIG_SCHEME_ECDSA to be serialized\&.
  3307. .br
  3308. \fIjso\fP pointer to the json object\&.
  3309. .RE
  3310. .PP
  3311. \fBReturn values:\fP
  3312. .RS 4
  3313. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3314. .br
  3315. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3316. .br
  3317. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_ECDSA\&.
  3318. .br
  3319. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3320. .RE
  3321. .PP
  3322. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_ECSCHNORR_serialize (const TPMS_SIG_SCHEME_ECSCHNORR * in, json_object ** jso)"
  3323. Serialize a TPMS_SIG_SCHEME_ECSCHNORR to json\&.
  3324. .PP
  3325. \fBParameters:\fP
  3326. .RS 4
  3327. \fIin\fP value of type TPMS_SIG_SCHEME_ECSCHNORR to be serialized\&.
  3328. .br
  3329. \fIjso\fP pointer to the json object\&.
  3330. .RE
  3331. .PP
  3332. \fBReturn values:\fP
  3333. .RS 4
  3334. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3335. .br
  3336. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3337. .br
  3338. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_ECSCHNORR\&.
  3339. .br
  3340. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3341. .RE
  3342. .PP
  3343. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_RSAPSS_serialize (const TPMS_SIG_SCHEME_RSAPSS * in, json_object ** jso)"
  3344. Serialize a TPMS_SIG_SCHEME_RSAPSS to json\&.
  3345. .PP
  3346. \fBParameters:\fP
  3347. .RS 4
  3348. \fIin\fP value of type TPMS_SIG_SCHEME_RSAPSS to be serialized\&.
  3349. .br
  3350. \fIjso\fP pointer to the json object\&.
  3351. .RE
  3352. .PP
  3353. \fBReturn values:\fP
  3354. .RS 4
  3355. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3356. .br
  3357. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3358. .br
  3359. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_RSAPSS\&.
  3360. .br
  3361. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3362. .RE
  3363. .PP
  3364. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_RSASSA_serialize (const TPMS_SIG_SCHEME_RSASSA * in, json_object ** jso)"
  3365. Serialize a TPMS_SIG_SCHEME_RSASSA to json\&.
  3366. .PP
  3367. \fBParameters:\fP
  3368. .RS 4
  3369. \fIin\fP value of type TPMS_SIG_SCHEME_RSASSA to be serialized\&.
  3370. .br
  3371. \fIjso\fP pointer to the json object\&.
  3372. .RE
  3373. .PP
  3374. \fBReturn values:\fP
  3375. .RS 4
  3376. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3377. .br
  3378. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3379. .br
  3380. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_RSASSA\&.
  3381. .br
  3382. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3383. .RE
  3384. .PP
  3385. .SS "TSS2_RC ifapi_json_TPMS_SIG_SCHEME_SM2_serialize (const TPMS_SIG_SCHEME_SM2 * in, json_object ** jso)"
  3386. Serialize a TPMS_SIG_SCHEME_SM2 to json\&.
  3387. .PP
  3388. \fBParameters:\fP
  3389. .RS 4
  3390. \fIin\fP value of type TPMS_SIG_SCHEME_SM2 to be serialized\&.
  3391. .br
  3392. \fIjso\fP pointer to the json object\&.
  3393. .RE
  3394. .PP
  3395. \fBReturn values:\fP
  3396. .RS 4
  3397. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3398. .br
  3399. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3400. .br
  3401. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIG_SCHEME_SM2\&.
  3402. .br
  3403. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3404. .RE
  3405. .PP
  3406. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_ECC_serialize (const TPMS_SIGNATURE_ECC * in, json_object ** jso)"
  3407. Serialize value of type TPMS_SIGNATURE_ECC to json\&.
  3408. .PP
  3409. \fBParameters:\fP
  3410. .RS 4
  3411. \fIin\fP value to be serialized\&.
  3412. .br
  3413. \fIjso\fP pointer to the json object\&.
  3414. .RE
  3415. .PP
  3416. \fBReturn values:\fP
  3417. .RS 4
  3418. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3419. .br
  3420. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3421. .br
  3422. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_ECC\&.
  3423. .br
  3424. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3425. .RE
  3426. .PP
  3427. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_ECDAA_serialize (const TPMS_SIGNATURE_ECDAA * in, json_object ** jso)"
  3428. Serialize a TPMS_SIGNATURE_ECDAA to json\&.
  3429. .PP
  3430. \fBParameters:\fP
  3431. .RS 4
  3432. \fIin\fP value of type TPMS_SIGNATURE_ECDAA to be serialized\&.
  3433. .br
  3434. \fIjso\fP pointer to the json object\&.
  3435. .RE
  3436. .PP
  3437. \fBReturn values:\fP
  3438. .RS 4
  3439. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3440. .br
  3441. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3442. .br
  3443. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_ECDAA\&.
  3444. .br
  3445. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3446. .RE
  3447. .PP
  3448. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_ECDSA_serialize (const TPMS_SIGNATURE_ECDSA * in, json_object ** jso)"
  3449. Serialize a TPMS_SIGNATURE_ECDSA to json\&.
  3450. .PP
  3451. \fBParameters:\fP
  3452. .RS 4
  3453. \fIin\fP value of type TPMS_SIGNATURE_ECDSA to be serialized\&.
  3454. .br
  3455. \fIjso\fP pointer to the json object\&.
  3456. .RE
  3457. .PP
  3458. \fBReturn values:\fP
  3459. .RS 4
  3460. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3461. .br
  3462. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3463. .br
  3464. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_ECDSA\&.
  3465. .br
  3466. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3467. .RE
  3468. .PP
  3469. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_ECSCHNORR_serialize (const TPMS_SIGNATURE_ECSCHNORR * in, json_object ** jso)"
  3470. Serialize a TPMS_SIGNATURE_ECSCHNORR to json\&.
  3471. .PP
  3472. \fBParameters:\fP
  3473. .RS 4
  3474. \fIin\fP value of type TPMS_SIGNATURE_ECSCHNORR to be serialized\&.
  3475. .br
  3476. \fIjso\fP pointer to the json object\&.
  3477. .RE
  3478. .PP
  3479. \fBReturn values:\fP
  3480. .RS 4
  3481. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3482. .br
  3483. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3484. .br
  3485. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_ECSCHNORR\&.
  3486. .br
  3487. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3488. .RE
  3489. .PP
  3490. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_RSA_serialize (const TPMS_SIGNATURE_RSA * in, json_object ** jso)"
  3491. Serialize value of type TPMS_SIGNATURE_RSA to json\&.
  3492. .PP
  3493. \fBParameters:\fP
  3494. .RS 4
  3495. \fIin\fP value to be serialized\&.
  3496. .br
  3497. \fIjso\fP pointer to the json object\&.
  3498. .RE
  3499. .PP
  3500. \fBReturn values:\fP
  3501. .RS 4
  3502. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3503. .br
  3504. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3505. .br
  3506. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_RSA\&.
  3507. .br
  3508. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3509. .RE
  3510. .PP
  3511. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_RSAPSS_serialize (const TPMS_SIGNATURE_RSAPSS * in, json_object ** jso)"
  3512. Serialize a TPMS_SIGNATURE_RSAPSS to json\&.
  3513. .PP
  3514. \fBParameters:\fP
  3515. .RS 4
  3516. \fIin\fP value of type TPMS_SIGNATURE_RSAPSS to be serialized\&.
  3517. .br
  3518. \fIjso\fP pointer to the json object\&.
  3519. .RE
  3520. .PP
  3521. \fBReturn values:\fP
  3522. .RS 4
  3523. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3524. .br
  3525. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3526. .br
  3527. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_RSAPSS\&.
  3528. .br
  3529. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3530. .RE
  3531. .PP
  3532. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_RSASSA_serialize (const TPMS_SIGNATURE_RSASSA * in, json_object ** jso)"
  3533. Serialize a TPMS_SIGNATURE_RSASSA to json\&.
  3534. .PP
  3535. \fBParameters:\fP
  3536. .RS 4
  3537. \fIin\fP value of type TPMS_SIGNATURE_RSASSA to be serialized\&.
  3538. .br
  3539. \fIjso\fP pointer to the json object\&.
  3540. .RE
  3541. .PP
  3542. \fBReturn values:\fP
  3543. .RS 4
  3544. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3545. .br
  3546. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3547. .br
  3548. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_RSASSA\&.
  3549. .br
  3550. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3551. .RE
  3552. .PP
  3553. .SS "TSS2_RC ifapi_json_TPMS_SIGNATURE_SM2_serialize (const TPMS_SIGNATURE_SM2 * in, json_object ** jso)"
  3554. Serialize a TPMS_SIGNATURE_SM2 to json\&.
  3555. .PP
  3556. \fBParameters:\fP
  3557. .RS 4
  3558. \fIin\fP value of type TPMS_SIGNATURE_SM2 to be serialized\&.
  3559. .br
  3560. \fIjso\fP pointer to the json object\&.
  3561. .RE
  3562. .PP
  3563. \fBReturn values:\fP
  3564. .RS 4
  3565. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3566. .br
  3567. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3568. .br
  3569. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SIGNATURE_SM2\&.
  3570. .br
  3571. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3572. .RE
  3573. .PP
  3574. .SS "TSS2_RC ifapi_json_TPMS_SYMCIPHER_PARMS_serialize (const TPMS_SYMCIPHER_PARMS * in, json_object ** jso)"
  3575. Serialize value of type TPMS_SYMCIPHER_PARMS to json\&.
  3576. .PP
  3577. \fBParameters:\fP
  3578. .RS 4
  3579. \fIin\fP value to be serialized\&.
  3580. .br
  3581. \fIjso\fP pointer to the json object\&.
  3582. .RE
  3583. .PP
  3584. \fBReturn values:\fP
  3585. .RS 4
  3586. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3587. .br
  3588. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3589. .br
  3590. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_SYMCIPHER_PARMS\&.
  3591. .br
  3592. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3593. .RE
  3594. .PP
  3595. .SS "TSS2_RC ifapi_json_TPMS_TAGGED_PCR_SELECT_serialize (const TPMS_TAGGED_PCR_SELECT * in, json_object ** jso)"
  3596. Serialize a TPMS_TAGGED_PCR_SELECT structure to json\&.
  3597. .PP
  3598. \fBParameters:\fP
  3599. .RS 4
  3600. \fIin\fP value to be serialized\&.
  3601. .br
  3602. \fIjso\fP pointer to the json object\&.
  3603. .RE
  3604. .PP
  3605. \fBReturn values:\fP
  3606. .RS 4
  3607. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3608. .br
  3609. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3610. .br
  3611. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_TAGGED_PCR_SELECT\&.
  3612. .RE
  3613. .PP
  3614. .SS "TSS2_RC ifapi_json_TPMS_TAGGED_PROPERTY_serialize (const TPMS_TAGGED_PROPERTY * in, json_object ** jso)"
  3615. Serialize value of type TPMS_TAGGED_PROPERTY to json\&.
  3616. .PP
  3617. \fBParameters:\fP
  3618. .RS 4
  3619. \fIin\fP value to be serialized\&.
  3620. .br
  3621. \fIjso\fP pointer to the json object\&.
  3622. .RE
  3623. .PP
  3624. \fBReturn values:\fP
  3625. .RS 4
  3626. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3627. .br
  3628. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3629. .br
  3630. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_TAGGED_PROPERTY\&.
  3631. .br
  3632. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3633. .RE
  3634. .PP
  3635. .SS "TSS2_RC ifapi_json_TPMS_TIME_ATTEST_INFO_serialize (const TPMS_TIME_ATTEST_INFO * in, json_object ** jso)"
  3636. Serialize value of type TPMS_TIME_ATTEST_INFO to json\&.
  3637. .PP
  3638. \fBParameters:\fP
  3639. .RS 4
  3640. \fIin\fP value to be serialized\&.
  3641. .br
  3642. \fIjso\fP pointer to the json object\&.
  3643. .RE
  3644. .PP
  3645. \fBReturn values:\fP
  3646. .RS 4
  3647. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3648. .br
  3649. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3650. .br
  3651. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_TIME_ATTEST_INFO\&.
  3652. .br
  3653. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3654. .RE
  3655. .PP
  3656. .SS "TSS2_RC ifapi_json_TPMS_TIME_INFO_serialize (const TPMS_TIME_INFO * in, json_object ** jso)"
  3657. Serialize value of type TPMS_TIME_INFO to json\&.
  3658. .PP
  3659. \fBParameters:\fP
  3660. .RS 4
  3661. \fIin\fP value to be serialized\&.
  3662. .br
  3663. \fIjso\fP pointer to the json object\&.
  3664. .RE
  3665. .PP
  3666. \fBReturn values:\fP
  3667. .RS 4
  3668. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3669. .br
  3670. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3671. .br
  3672. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMS_TIME_INFO\&.
  3673. .br
  3674. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3675. .RE
  3676. .PP
  3677. .SS "TSS2_RC ifapi_json_TPMT_ECC_SCHEME_serialize (const TPMT_ECC_SCHEME * in, json_object ** jso)"
  3678. Serialize value of type TPMT_ECC_SCHEME to json\&.
  3679. .PP
  3680. \fBParameters:\fP
  3681. .RS 4
  3682. \fIin\fP value to be serialized\&.
  3683. .br
  3684. \fIjso\fP pointer to the json object\&.
  3685. .RE
  3686. .PP
  3687. \fBReturn values:\fP
  3688. .RS 4
  3689. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3690. .br
  3691. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3692. .br
  3693. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_ECC_SCHEME\&.
  3694. .br
  3695. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3696. .RE
  3697. .PP
  3698. .SS "TSS2_RC ifapi_json_TPMT_HA_serialize (const TPMT_HA * in, json_object ** jso)"
  3699. Serialize value of type TPMT_HA to json\&.
  3700. .PP
  3701. \fBParameters:\fP
  3702. .RS 4
  3703. \fIin\fP value to be serialized\&.
  3704. .br
  3705. \fIjso\fP pointer to the json object\&.
  3706. .RE
  3707. .PP
  3708. \fBReturn values:\fP
  3709. .RS 4
  3710. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3711. .br
  3712. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3713. .br
  3714. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_HA\&.
  3715. .br
  3716. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3717. .RE
  3718. .PP
  3719. .SS "TSS2_RC ifapi_json_TPMT_KDF_SCHEME_serialize (const TPMT_KDF_SCHEME * in, json_object ** jso)"
  3720. Serialize value of type TPMT_KDF_SCHEME to json\&.
  3721. .PP
  3722. \fBParameters:\fP
  3723. .RS 4
  3724. \fIin\fP value to be serialized\&.
  3725. .br
  3726. \fIjso\fP pointer to the json object\&.
  3727. .RE
  3728. .PP
  3729. \fBReturn values:\fP
  3730. .RS 4
  3731. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3732. .br
  3733. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3734. .br
  3735. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_KDF_SCHEME\&.
  3736. .br
  3737. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3738. .RE
  3739. .PP
  3740. .SS "TSS2_RC ifapi_json_TPMT_KEYEDHASH_SCHEME_serialize (const TPMT_KEYEDHASH_SCHEME * in, json_object ** jso)"
  3741. Serialize value of type TPMT_KEYEDHASH_SCHEME to json\&.
  3742. .PP
  3743. \fBParameters:\fP
  3744. .RS 4
  3745. \fIin\fP value to be serialized\&.
  3746. .br
  3747. \fIjso\fP pointer to the json object\&.
  3748. .RE
  3749. .PP
  3750. \fBReturn values:\fP
  3751. .RS 4
  3752. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3753. .br
  3754. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3755. .br
  3756. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_KEYEDHASH_SCHEME\&.
  3757. .br
  3758. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3759. .RE
  3760. .PP
  3761. .SS "TSS2_RC ifapi_json_TPMT_POLICYELEMENT_serialize (const \fBTPMT_POLICYELEMENT\fP * in, json_object ** jso)"
  3762. Serialize value of type \fBTPMT_POLICYELEMENT\fP to json\&.
  3763. .PP
  3764. \fBParameters:\fP
  3765. .RS 4
  3766. \fIin\fP value to be serialized\&.
  3767. .br
  3768. \fIjso\fP pointer to the json object\&.
  3769. .RE
  3770. .PP
  3771. \fBReturn values:\fP
  3772. .RS 4
  3773. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3774. .br
  3775. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3776. .br
  3777. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMT_POLICYELEMENT\fP\&.
  3778. .br
  3779. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3780. .RE
  3781. .PP
  3782. .SS "TSS2_RC ifapi_json_TPMT_PUBLIC_serialize (const TPMT_PUBLIC * in, json_object ** jso)"
  3783. Serialize value of type TPMT_PUBLIC to json\&.
  3784. .PP
  3785. \fBParameters:\fP
  3786. .RS 4
  3787. \fIin\fP value to be serialized\&.
  3788. .br
  3789. \fIjso\fP pointer to the json object\&.
  3790. .RE
  3791. .PP
  3792. \fBReturn values:\fP
  3793. .RS 4
  3794. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3795. .br
  3796. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3797. .br
  3798. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_PUBLIC\&.
  3799. .br
  3800. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3801. .RE
  3802. .PP
  3803. .SS "TSS2_RC ifapi_json_TPMT_RSA_SCHEME_serialize (const TPMT_RSA_SCHEME * in, json_object ** jso)"
  3804. Serialize value of type TPMT_RSA_SCHEME to json\&.
  3805. .PP
  3806. \fBParameters:\fP
  3807. .RS 4
  3808. \fIin\fP value to be serialized\&.
  3809. .br
  3810. \fIjso\fP pointer to the json object\&.
  3811. .RE
  3812. .PP
  3813. \fBReturn values:\fP
  3814. .RS 4
  3815. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3816. .br
  3817. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3818. .br
  3819. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_RSA_SCHEME\&.
  3820. .br
  3821. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3822. .RE
  3823. .PP
  3824. .SS "TSS2_RC ifapi_json_TPMT_SIG_SCHEME_serialize (const TPMT_SIG_SCHEME * in, json_object ** jso)"
  3825. Serialize value of type TPMT_SIG_SCHEME to json\&.
  3826. .PP
  3827. \fBParameters:\fP
  3828. .RS 4
  3829. \fIin\fP value to be serialized\&.
  3830. .br
  3831. \fIjso\fP pointer to the json object\&.
  3832. .RE
  3833. .PP
  3834. \fBReturn values:\fP
  3835. .RS 4
  3836. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3837. .br
  3838. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3839. .br
  3840. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_SIG_SCHEME\&.
  3841. .br
  3842. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3843. .RE
  3844. .PP
  3845. .SS "TSS2_RC ifapi_json_TPMT_SIGNATURE_serialize (const TPMT_SIGNATURE * in, json_object ** jso)"
  3846. Serialize value of type TPMT_SIGNATURE to json\&.
  3847. .PP
  3848. \fBParameters:\fP
  3849. .RS 4
  3850. \fIin\fP value to be serialized\&.
  3851. .br
  3852. \fIjso\fP pointer to the json object\&.
  3853. .RE
  3854. .PP
  3855. \fBReturn values:\fP
  3856. .RS 4
  3857. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3858. .br
  3859. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3860. .br
  3861. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_SIGNATURE\&.
  3862. .br
  3863. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3864. .RE
  3865. .PP
  3866. .SS "TSS2_RC ifapi_json_TPMT_SYM_DEF_OBJECT_serialize (const TPMT_SYM_DEF_OBJECT * in, json_object ** jso)"
  3867. Serialize value of type TPMT_SYM_DEF_OBJECT to json\&.
  3868. .PP
  3869. \fBParameters:\fP
  3870. .RS 4
  3871. \fIin\fP value to be serialized\&.
  3872. .br
  3873. \fIjso\fP pointer to the json object\&.
  3874. .RE
  3875. .PP
  3876. \fBReturn values:\fP
  3877. .RS 4
  3878. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3879. .br
  3880. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3881. .br
  3882. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_SYM_DEF_OBJECT\&.
  3883. .br
  3884. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3885. .RE
  3886. .PP
  3887. .SS "TSS2_RC ifapi_json_TPMT_TK_CREATION_serialize (const TPMT_TK_CREATION * in, json_object ** jso)"
  3888. Serialize value of type TPMT_TK_CREATION to json\&.
  3889. .PP
  3890. \fBParameters:\fP
  3891. .RS 4
  3892. \fIin\fP value to be serialized\&.
  3893. .br
  3894. \fIjso\fP pointer to the json object\&.
  3895. .RE
  3896. .PP
  3897. \fBReturn values:\fP
  3898. .RS 4
  3899. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3900. .br
  3901. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3902. .br
  3903. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMT_TK_CREATION\&.
  3904. .br
  3905. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3906. .RE
  3907. .PP
  3908. .SS "TSS2_RC ifapi_json_TPMU_ASYM_SCHEME_serialize (const TPMU_ASYM_SCHEME * in, UINT32 selector, json_object ** jso)"
  3909. Serialize a TPMU_ASYM_SCHEME to json\&.
  3910. .PP
  3911. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  3912. .PP
  3913. \fBParameters:\fP
  3914. .RS 4
  3915. \fIin\fP the value to be serialized\&.
  3916. .br
  3917. \fIselector\fP the type of the scheme\&.
  3918. .br
  3919. \fIjso\fP pointer to the json object\&.
  3920. .RE
  3921. .PP
  3922. \fBReturn values:\fP
  3923. .RS 4
  3924. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3925. .br
  3926. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3927. .br
  3928. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_ASYM_SCHEME\&.
  3929. .br
  3930. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3931. .RE
  3932. .PP
  3933. .SS "TSS2_RC ifapi_json_TPMU_ATTEST_serialize (const TPMU_ATTEST * in, UINT32 selector, json_object ** jso)"
  3934. Serialize a TPMU_ATTEST to json\&.
  3935. .PP
  3936. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  3937. .PP
  3938. \fBParameters:\fP
  3939. .RS 4
  3940. \fIin\fP the value to be serialized\&.
  3941. .br
  3942. \fIselector\fP the type of the attest\&.
  3943. .br
  3944. \fIjso\fP pointer to the json object\&.
  3945. .RE
  3946. .PP
  3947. \fBReturn values:\fP
  3948. .RS 4
  3949. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3950. .br
  3951. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3952. .br
  3953. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_ATTEST\&.
  3954. .br
  3955. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3956. .RE
  3957. .PP
  3958. .SS "TSS2_RC ifapi_json_TPMU_CAPABILITIES_serialize (const TPMU_CAPABILITIES * in, UINT32 selector, json_object ** jso)"
  3959. Serialize a TPMU_CAPABILITIES to json\&.
  3960. .PP
  3961. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  3962. .PP
  3963. \fBParameters:\fP
  3964. .RS 4
  3965. \fIin\fP the value to be serialized\&.
  3966. .br
  3967. \fIselector\fP the type of the capabilities\&.
  3968. .br
  3969. \fIjso\fP pointer to the json object\&.
  3970. .RE
  3971. .PP
  3972. \fBReturn values:\fP
  3973. .RS 4
  3974. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  3975. .br
  3976. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  3977. .br
  3978. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_CAPABILITIES\&.
  3979. .br
  3980. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  3981. .RE
  3982. .PP
  3983. .SS "TSS2_RC ifapi_json_TPMU_HA_serialize (const TPMU_HA * in, UINT32 selector, json_object ** jso)"
  3984. Serialize a TPMU_HA to json\&.
  3985. .PP
  3986. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  3987. .PP
  3988. \fBParameters:\fP
  3989. .RS 4
  3990. \fIin\fP the value to be serialized\&.
  3991. .br
  3992. \fIselector\fP the type of the HA object\&.
  3993. .br
  3994. \fIjso\fP pointer to the json object\&.
  3995. .RE
  3996. .PP
  3997. \fBReturn values:\fP
  3998. .RS 4
  3999. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4000. .br
  4001. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4002. .br
  4003. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_HA\&.
  4004. .RE
  4005. .PP
  4006. .SS "TSS2_RC ifapi_json_TPMU_KDF_SCHEME_serialize (const TPMU_KDF_SCHEME * in, UINT32 selector, json_object ** jso)"
  4007. Serialize a TPMU_KDF_SCHEME to json\&.
  4008. .PP
  4009. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4010. .PP
  4011. \fBParameters:\fP
  4012. .RS 4
  4013. \fIin\fP the value to be serialized\&.
  4014. .br
  4015. \fIselector\fP the type of the KDF scheme\&.
  4016. .br
  4017. \fIjso\fP pointer to the json object\&.
  4018. .RE
  4019. .PP
  4020. \fBReturn values:\fP
  4021. .RS 4
  4022. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4023. .br
  4024. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4025. .br
  4026. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_KDF_SCHEME\&.
  4027. .br
  4028. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4029. .RE
  4030. .PP
  4031. .SS "TSS2_RC ifapi_json_TPMU_POLICYELEMENT_serialize (const \fBTPMU_POLICYELEMENT\fP * in, UINT32 selector, json_object ** jso)"
  4032. Serialize a \fBTPMU_POLICYELEMENT\fP to json\&.
  4033. .PP
  4034. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4035. .PP
  4036. \fBParameters:\fP
  4037. .RS 4
  4038. \fIin\fP the value to be serialized\&.
  4039. .br
  4040. \fIselector\fP the type of the policy element\&.
  4041. .br
  4042. \fIjso\fP pointer to the json object\&.
  4043. .RE
  4044. .PP
  4045. \fBReturn values:\fP
  4046. .RS 4
  4047. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4048. .br
  4049. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4050. .br
  4051. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type \fBTPMU_POLICYELEMENT\fP\&.
  4052. .br
  4053. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4054. .RE
  4055. .PP
  4056. .SS "TSS2_RC ifapi_json_TPMU_PUBLIC_ID_serialize (const TPMU_PUBLIC_ID * in, UINT32 selector, json_object ** jso)"
  4057. Serialize a TPMU_PUBLIC_ID to json\&.
  4058. .PP
  4059. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4060. .PP
  4061. \fBParameters:\fP
  4062. .RS 4
  4063. \fIin\fP the value to be serialized\&.
  4064. .br
  4065. \fIselector\fP the type of the public ID\&.
  4066. .br
  4067. \fIjso\fP pointer to the json object\&.
  4068. .RE
  4069. .PP
  4070. \fBReturn values:\fP
  4071. .RS 4
  4072. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4073. .br
  4074. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4075. .br
  4076. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_PUBLIC_ID\&.
  4077. .br
  4078. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4079. .RE
  4080. .PP
  4081. .SS "TSS2_RC ifapi_json_TPMU_PUBLIC_PARMS_serialize (const TPMU_PUBLIC_PARMS * in, UINT32 selector, json_object ** jso)"
  4082. Serialize a TPMU_PUBLIC_PARMS to json\&.
  4083. .PP
  4084. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4085. .PP
  4086. \fBParameters:\fP
  4087. .RS 4
  4088. \fIin\fP the value to be serialized\&.
  4089. .br
  4090. \fIselector\fP the type of the public parameters\&.
  4091. .br
  4092. \fIjso\fP pointer to the json object\&.
  4093. .RE
  4094. .PP
  4095. \fBReturn values:\fP
  4096. .RS 4
  4097. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4098. .br
  4099. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4100. .br
  4101. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_PUBLIC_PARMS\&.
  4102. .br
  4103. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4104. .RE
  4105. .PP
  4106. .SS "TSS2_RC ifapi_json_TPMU_SCHEME_KEYEDHASH_serialize (const TPMU_SCHEME_KEYEDHASH * in, UINT32 selector, json_object ** jso)"
  4107. Serialize a TPMU_SCHEME_KEYEDHASH to json\&.
  4108. .PP
  4109. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4110. .PP
  4111. \fBParameters:\fP
  4112. .RS 4
  4113. \fIin\fP the value to be serialized\&.
  4114. .br
  4115. \fIselector\fP the type of the keyedhash scheme\&.
  4116. .br
  4117. \fIjso\fP pointer to the json object\&.
  4118. .RE
  4119. .PP
  4120. \fBReturn values:\fP
  4121. .RS 4
  4122. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4123. .br
  4124. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4125. .br
  4126. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_SCHEME_KEYEDHASH\&.
  4127. .br
  4128. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4129. .RE
  4130. .PP
  4131. .SS "TSS2_RC ifapi_json_TPMU_SIG_SCHEME_serialize (const TPMU_SIG_SCHEME * in, UINT32 selector, json_object ** jso)"
  4132. Serialize a TPMU_SIG_SCHEME to json\&.
  4133. .PP
  4134. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4135. .PP
  4136. \fBParameters:\fP
  4137. .RS 4
  4138. \fIin\fP the value to be serialized\&.
  4139. .br
  4140. \fIselector\fP the type of the signature scheme\&.
  4141. .br
  4142. \fIjso\fP pointer to the json object\&.
  4143. .RE
  4144. .PP
  4145. \fBReturn values:\fP
  4146. .RS 4
  4147. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4148. .br
  4149. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4150. .br
  4151. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_SIG_SCHEME\&.
  4152. .br
  4153. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4154. .RE
  4155. .PP
  4156. .SS "TSS2_RC ifapi_json_TPMU_SIGNATURE_serialize (const TPMU_SIGNATURE * in, UINT32 selector, json_object ** jso)"
  4157. Serialize a TPMU_SIGNATURE to json\&.
  4158. .PP
  4159. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4160. .PP
  4161. \fBParameters:\fP
  4162. .RS 4
  4163. \fIin\fP the value to be serialized\&.
  4164. .br
  4165. \fIselector\fP the type of the signature\&.
  4166. .br
  4167. \fIjso\fP pointer to the json object\&.
  4168. .RE
  4169. .PP
  4170. \fBReturn values:\fP
  4171. .RS 4
  4172. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4173. .br
  4174. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4175. .br
  4176. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_SIGNATURE\&.
  4177. .br
  4178. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4179. .RE
  4180. .PP
  4181. .SS "TSS2_RC ifapi_json_TPMU_SYM_KEY_BITS_serialize (const TPMU_SYM_KEY_BITS * in, UINT32 selector, json_object ** jso)"
  4182. Serialize a TPMU_SYM_KEY_BITS to json\&.
  4183. .PP
  4184. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4185. .PP
  4186. \fBParameters:\fP
  4187. .RS 4
  4188. \fIin\fP the value to be serialized\&.
  4189. .br
  4190. \fIselector\fP the type of the symmetric algorithm\&.
  4191. .br
  4192. \fIjso\fP pointer to the json object\&.
  4193. .RE
  4194. .PP
  4195. \fBReturn values:\fP
  4196. .RS 4
  4197. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4198. .br
  4199. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4200. .br
  4201. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_SYM_KEY_BITS\&.
  4202. .br
  4203. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4204. .RE
  4205. .PP
  4206. .SS "TSS2_RC ifapi_json_TPMU_SYM_MODE_serialize (const TPMU_SYM_MODE * in, UINT32 selector, json_object ** jso)"
  4207. Serialize a TPMU_SYM_MODE to json\&.
  4208. .PP
  4209. This function expects the Bitfield to be encoded as unsigned int in host-endianess\&.
  4210. .PP
  4211. \fBParameters:\fP
  4212. .RS 4
  4213. \fIin\fP the value to be serialized\&.
  4214. .br
  4215. \fIselector\fP the type of the symmetric mode\&.
  4216. .br
  4217. \fIjso\fP pointer to the json object\&.
  4218. .RE
  4219. .PP
  4220. \fBReturn values:\fP
  4221. .RS 4
  4222. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4223. .br
  4224. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4225. .br
  4226. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPMU_SYM_MODE\&.
  4227. .RE
  4228. .PP
  4229. .SS "TSS2_RC ifapi_json_UINT16_serialize (const UINT16 in, json_object ** jso)"
  4230. Serialize a base_type UINT16 to json\&.
  4231. .PP
  4232. \fBParameters:\fP
  4233. .RS 4
  4234. \fIin\fP value to be serialized\&.
  4235. .br
  4236. \fIjso\fP pointer to the json object\&.
  4237. .RE
  4238. .PP
  4239. \fBReturn values:\fP
  4240. .RS 4
  4241. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4242. .br
  4243. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4244. .br
  4245. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type UINT16\&.
  4246. .RE
  4247. .PP
  4248. .SS "TSS2_RC ifapi_json_UINT32_serialize (const UINT32 in, json_object ** jso)"
  4249. Serialize a base_type UINT32 to json\&.
  4250. .PP
  4251. \fBParameters:\fP
  4252. .RS 4
  4253. \fIin\fP value to be serialized\&.
  4254. .br
  4255. \fIjso\fP pointer to the json object\&.
  4256. .RE
  4257. .PP
  4258. \fBReturn values:\fP
  4259. .RS 4
  4260. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4261. .br
  4262. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4263. .br
  4264. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type UINT32\&.
  4265. .RE
  4266. .PP
  4267. .SS "TSS2_RC ifapi_json_UINT64_serialize (UINT64 in, json_object ** jso)"
  4268. Serialize a base_type UINT64 to json\&.
  4269. .PP
  4270. \fBParameters:\fP
  4271. .RS 4
  4272. \fIin\fP variable to be serialized\&.
  4273. .br
  4274. \fIjso\fP pointer to the json object\&.
  4275. .RE
  4276. .PP
  4277. \fBReturn values:\fP
  4278. .RS 4
  4279. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4280. .br
  4281. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4282. .br
  4283. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type UINT64\&.
  4284. .RE
  4285. .PP
  4286. .SS "TSS2_RC ifapi_json_UINT8_ARY_serialize (const \fBUINT8_ARY\fP * in, json_object ** jso)"
  4287. Serialize value of type \fBUINT8_ARY\fP to json\&.
  4288. .PP
  4289. \fBParameters:\fP
  4290. .RS 4
  4291. \fIin\fP value to be serialized\&.
  4292. .br
  4293. \fIjso\fP pointer to the json object\&.
  4294. .RE
  4295. .PP
  4296. \fBReturn values:\fP
  4297. .RS 4
  4298. \fITSS2_RC_SUCCESS\fP if the function call was a success\&.
  4299. .br
  4300. \fITSS2_FAPI_RC_MEMORY\fP if the FAPI cannot allocate enough memory\&.
  4301. .br
  4302. \fITSS2_FAPI_RC_BAD_VALUE\fP if the value is not of type TPM2B_DIGEST\&.
  4303. .br
  4304. \fITSS2_FAPI_RC_BAD_REFERENCE\fP a invalid null pointer is passed\&.
  4305. .RE
  4306. .PP
  4307. .SH "Author"
  4308. .PP
  4309. Generated automatically by Doxygen for tpm2-tss from the source code\&.