IFAPI_POLICY_EXEC_CTX.3 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .TH "IFAPI_POLICY_EXEC_CTX" 3 "Fri Oct 7 2022" "Version 3.2.0" "tpm2-tss" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. IFAPI_POLICY_EXEC_CTX
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <ifapi_policy_execute\&.h>\fP
  11. .SS "Data Fields"
  12. .in +1c
  13. .ti -1c
  14. .RI "enum IFAPI_STATE_POLICY_EXCECUTE \fBstate\fP"
  15. .br
  16. .ti -1c
  17. .RI "TPML_DIGEST \fBdigest_list\fP"
  18. .br
  19. .ti -1c
  20. .RI "\fBIFAPI_POLICY_EXEC_CTX\fP * \fBnext\fP"
  21. .br
  22. .ti -1c
  23. .RI "\fBIFAPI_POLICY_EXEC_CTX\fP * \fBprev\fP"
  24. .br
  25. .ti -1c
  26. .RI "\fBESYS_TR\fP \fBsession\fP"
  27. .br
  28. .ti -1c
  29. .RI "\fBTPMS_POLICY\fP * \fBpolicy\fP"
  30. .br
  31. .ti -1c
  32. .RI "\fBESYS_TR\fP \fBpolicySessionSav\fP"
  33. .br
  34. .ti -1c
  35. .RI "\fBESYS_TR\fP \fBobject_handle\fP"
  36. .br
  37. .ti -1c
  38. .RI "\fBESYS_TR\fP \fBnv_index\fP"
  39. .br
  40. .ti -1c
  41. .RI "\fBESYS_TR\fP \fBauth_handle\fP"
  42. .br
  43. .ti -1c
  44. .RI "\fBIFAPI_OBJECT\fP \fBauth_objectNV\fP"
  45. .br
  46. .ti -1c
  47. .RI "\fBIFAPI_OBJECT\fP * \fBauth_object\fP"
  48. .br
  49. .ti -1c
  50. .RI "\fBESYS_TR\fP \fBauth_session\fP"
  51. .br
  52. .ti -1c
  53. .RI "TPMI_ALG_HASH \fBhash_alg\fP"
  54. .br
  55. .ti -1c
  56. .RI "void * \fBapp_data\fP"
  57. .br
  58. .ti -1c
  59. .RI "\fBNODE_OBJECT_T\fP * \fBpolicy_elements\fP"
  60. .br
  61. .ti -1c
  62. .RI "TPM2B_DIGEST * \fBnonceTPM\fP"
  63. .br
  64. .ti -1c
  65. .RI "uint8_t * \fBbuffer\fP"
  66. .br
  67. .ti -1c
  68. .RI "size_t \fBbuffer_size\fP"
  69. .br
  70. .ti -1c
  71. .RI "TPM2B_NAME \fBname\fP"
  72. .br
  73. .ti -1c
  74. .RI "char * \fBpem_key\fP"
  75. .br
  76. .ti -1c
  77. .RI "struct \fBPOLICY_LIST\fP * \fBpolicy_list\fP"
  78. .br
  79. .ti -1c
  80. .RI "\fBifapi_policyeval_EXEC_CB\fP \fBcallbacks\fP"
  81. .br
  82. .in -1c
  83. .SH "Detailed Description"
  84. .PP
  85. The context of the policy execution
  86. .SH "Field Documentation"
  87. .PP
  88. .SS "void* app_data"
  89. Application data for policy execution callbacks
  90. .SS "\fBIFAPI_OBJECT\fP* auth_object"
  91. Object to be authorized
  92. .SS "\fBIFAPI_OBJECT\fP auth_objectNV"
  93. Object used for NV authentication
  94. .SS "\fBifapi_policyeval_EXEC_CB\fP callbacks"
  95. callbacks used for execution of sub policies and actions which require access to the FAPI context\&.
  96. .SS "\fBIFAPI_POLICY_EXEC_CTX\fP* next"
  97. The digest list of policy or Pointer to next policy
  98. .SS "char* pem_key"
  99. Pem key recreated during policy execution
  100. .SS "\fBNODE_OBJECT_T\fP* policy_elements"
  101. The policy elements to be executed
  102. .SS "struct \fBPOLICY_LIST\fP* policy_list"
  103. List of policies for authorization selection
  104. .SS "\fBESYS_TR\fP policySessionSav"
  105. Backup policy session
  106. .SS "\fBIFAPI_POLICY_EXEC_CTX\fP* prev"
  107. Pointer to previous policy
  108. .SS "\fBESYS_TR\fP session"
  109. The current policy session
  110. .SS "enum IFAPI_STATE_POLICY_EXCECUTE state"
  111. The execution state of the current policy command
  112. .SH "Author"
  113. .PP
  114. Generated automatically by Doxygen for tpm2-tss from the source code\&.