TPM Base Services

Overview of the TPM Base Services technology.

To develop TPM Base Services, you need these headers:

For programming guidance for this technology, see:

Functions

 
Tbsi_Context_Create

Creates a context handle that can be used to pass commands to TBS.
Tbsi_Get_OwnerAuth

Retrieves the owner authorization of the TPM if the information is available in the local registry.
Tbsi_Get_TCG_Log

Retrieves the most recent Windows Boot Configuration Log (WBCL), also referred to as a TCG log.
Tbsi_Get_TCG_Log_Ex

Gets the Windows Boot Configuration Log (WBCL), also referred to as the TCG log, of the specified type.
Tbsi_GetDeviceInfo

Obtains the version of the TPM on the computer.
Tbsi_Physical_Presence_Command

Passes a physical presence ACPI command through TBS to the driver.
Tbsi_Revoke_Attestation

Invalidates the PCRs if the ELAM driver detects a policy-violation (a rootkit, for example).
Tbsip_Cancel_Commands

Cancels all outstanding commands for the specified context.
Tbsip_Context_Close

Closes a context handle, which releases resources associated with the context in TBS and closes the binding handle used to communicate with TBS.
Tbsip_Submit_Command

Submits a Trusted Platform Module (TPM) command to TPM Base Services (TBS) for processing.

Structures

 
TBS_CONTEXT_PARAMS

Specifies the version of the TBS context implementation.
TBS_CONTEXT_PARAMS2

Specifies the version of the TBS context implementation. You must use this structure if your application works with both versions of TPM.
TPM_DEVICE_INFO

Provides information about the version of the TPM.