fapi.3 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .TH "fapi" 3 "Fri Oct 7 2022" "Version 3.2.0" "tpm2-tss" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. fapi
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .SS "Modules"
  10. .in +1c
  11. .ti -1c
  12. .RI "\fBFapi_Initialize\fP"
  13. .br
  14. .ti -1c
  15. .RI "\fBFapi_Finalize\fP"
  16. .br
  17. .ti -1c
  18. .RI "\fBFapi_GetTcti\fP"
  19. .br
  20. .ti -1c
  21. .RI "\fBFapi_GetPollHandles\fP"
  22. .br
  23. .ti -1c
  24. .RI "\fBFapi_Free\fP"
  25. .br
  26. .ti -1c
  27. .RI "\fBFapi_GetInfo\fP"
  28. .br
  29. .ti -1c
  30. .RI "\fBFapi_Provision\fP"
  31. .br
  32. .ti -1c
  33. .RI "\fBFapi_GetPlatformCertificates\fP"
  34. .br
  35. .ti -1c
  36. .RI "\fBFapi_GetEsysBlobs\fP"
  37. .br
  38. .ti -1c
  39. .RI "\fBFapi_GetRandom\fP"
  40. .br
  41. .ti -1c
  42. .RI "\fBFapi_Import\fP"
  43. .br
  44. .ti -1c
  45. .RI "\fBFapi_List\fP"
  46. .br
  47. .ti -1c
  48. .RI "\fBFapi_Delete\fP"
  49. .br
  50. .ti -1c
  51. .RI "\fBFapi_ChangeAuth\fP"
  52. .br
  53. .ti -1c
  54. .RI "\fBFapi_SetDescription\fP"
  55. .br
  56. .ti -1c
  57. .RI "\fBFapi_GetDescription\fP"
  58. .br
  59. .ti -1c
  60. .RI "\fBFapi_SetAppData\fP"
  61. .br
  62. .ti -1c
  63. .RI "\fBFapi_GetAppData\fP"
  64. .br
  65. .ti -1c
  66. .RI "\fBFapi_GetTpmBlobs\fP"
  67. .br
  68. .ti -1c
  69. .RI "\fBFapi_CreateKey\fP"
  70. .br
  71. .ti -1c
  72. .RI "\fBFapi_Sign\fP"
  73. .br
  74. .ti -1c
  75. .RI "\fBFapi_VerifySignature\fP"
  76. .br
  77. .ti -1c
  78. .RI "\fBFapi_Encrypt\fP"
  79. .br
  80. .ti -1c
  81. .RI "\fBFapi_Decrypt\fP"
  82. .br
  83. .ti -1c
  84. .RI "\fBFapi_SetCertificate\fP"
  85. .br
  86. .ti -1c
  87. .RI "\fBFapi_GetCertificate\fP"
  88. .br
  89. .ti -1c
  90. .RI "\fBFapi_ExportKey\fP"
  91. .br
  92. .ti -1c
  93. .RI "\fBFapi_CreateSeal\fP"
  94. .br
  95. .ti -1c
  96. .RI "\fBFapi_Unseal\fP"
  97. .br
  98. .ti -1c
  99. .RI "\fBFapi_ExportPolicy\fP"
  100. .br
  101. .ti -1c
  102. .RI "\fBFapi_AuthorizePolicy\fP"
  103. .br
  104. .ti -1c
  105. .RI "\fBFapi_WriteAuthorizeNv\fP"
  106. .br
  107. .ti -1c
  108. .RI "\fBFapi_PcrRead\fP"
  109. .br
  110. .ti -1c
  111. .RI "\fBFapi_PcrExtend\fP"
  112. .br
  113. .ti -1c
  114. .RI "\fBFapi_Quote\fP"
  115. .br
  116. .ti -1c
  117. .RI "\fBFapi_VerifyQuote\fP"
  118. .br
  119. .ti -1c
  120. .RI "\fBFapi_CreateNv\fP"
  121. .br
  122. .ti -1c
  123. .RI "\fBFapi_NvRead\fP"
  124. .br
  125. .ti -1c
  126. .RI "\fBFapi_NvWrite\fP"
  127. .br
  128. .ti -1c
  129. .RI "\fBFapi_NvExtend\fP"
  130. .br
  131. .ti -1c
  132. .RI "\fBFapi_NvIncrement\fP"
  133. .br
  134. .ti -1c
  135. .RI "\fBFapi_NvSetBits\fP"
  136. .br
  137. .ti -1c
  138. .RI "\fBFapi_SetAuthCB\fP"
  139. .br
  140. .ti -1c
  141. .RI "\fBFapi_SetBranchCB\fP"
  142. .br
  143. .ti -1c
  144. .RI "\fBFapi_SetSignCB\fP"
  145. .br
  146. .ti -1c
  147. .RI "\fBInternals of Feature API\fP"
  148. .br
  149. .in -1c
  150. .SS "Typedefs"
  151. .in +1c
  152. .ti -1c
  153. .RI "typedef struct \fBFAPI_CONTEXT\fP \fBFAPI_CONTEXT\fP"
  154. .br
  155. .in -1c
  156. .SH "Detailed Description"
  157. .PP
  158. Feature API (FAPI) as described in the \fCTSS 2\&.0 Feature API (FAPI) Specification\fP\&. This API provides a very abstract view on TPM functionalities most suitable for 80 percent of applications\&. In mostly uses standard types in its parameter list\&. Policies are encoded in JSON, whereas most key material is encoded as PEM\&. Both the synchronous and asynchronous API are exposed through a single library: libtss2-fapi\&. In order to perform an asynchronous invocation of FAPI functions, the following code serves as a template: do { r = Fapi_GetPollHandles(fc, &ph, &nph); if (r == TSS2_RC_SUCCESS) { poll(ph, nph, -1); Fapi_Free(ph); } r = Fapi_*_Finish(fc, \&.\&.\&.); } while (r == TSS2_FAPI_RC_TRY_AGAIN);
  159. .SH "Typedef Documentation"
  160. .PP
  161. .SS "\fBFAPI_CONTEXT\fP"
  162. Reference to the \fBFAPI_CONTEXT\fP that holds data for the connection to the TPM as well as the metadata for TPM Resource as well as links to the key- and policy store or key material for encrypted sessions\&.
  163. .SH "Author"
  164. .PP
  165. Generated automatically by Doxygen for tpm2-tss from the source code\&.