ifapi_vendor.3 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .TH "ifapi_vendor" 3 "Fri Oct 7 2022" "Version 3.2.0" "tpm2-tss" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ifapi_vendor
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .SS "Functions"
  10. .in +1c
  11. .ti -1c
  12. .RI "TSS2_RC \fBifapi_get_intl_ek_certificate\fP (\fBFAPI_CONTEXT\fP *context, TPM2B_PUBLIC *ek_public, unsigned char **cert_buffer, size_t *cert_size)"
  13. .br
  14. .in -1c
  15. .SH "Detailed Description"
  16. .PP
  17. Provides functions implementing vendor specific extensions\&.
  18. .SH "Function Documentation"
  19. .PP
  20. .SS "TSS2_RC ifapi_get_intl_ek_certificate (\fBFAPI_CONTEXT\fP * context, TPM2B_PUBLIC * ek_public, unsigned char ** cert_buffer, size_t * cert_size)"
  21. Get INTEL certificate for EK
  22. .PP
  23. Using the base64 encoded public endorsement key the JSON encoded certificate will be downloaded\&. The JSON certificate will be parsed and the base64 encoded certificate will be converted into binary format\&.
  24. .PP
  25. \fBParameters:\fP
  26. .RS 4
  27. \fIcontext\fP The FAPI context with the configuration data\&.
  28. .br
  29. \fIek_public\fP The out public data of the EK\&.
  30. .br
  31. \fIcert_buffer\fP the der encoded certificate\&.
  32. .br
  33. \fIcert_size\fP The size of the certificate buffer\&.
  34. .RE
  35. .PP
  36. \fBReturn values:\fP
  37. .RS 4
  38. \fITSS2_RC_SUCCESS\fP on success\&.
  39. .br
  40. \fITSS2_FAPI_RC_NO_CERT\fP If an error did occur during certificate downloading\&.
  41. .br
  42. \fITSS2_FAPI_RC_GENERAL_FAILURE\fP if an internal error occured\&.
  43. .br
  44. \fITSS2_FAPI_RC_MEMORY\fP if not enough memory can be allocated\&.
  45. .RE
  46. .PP
  47. .SH "Author"
  48. .PP
  49. Generated automatically by Doxygen for tpm2-tss from the source code\&.