Index: tpm.h |
diff --git a/tpm.h b/tpm.h |
index 97c4d7dee4483a72184ad440579152e0431b941f..e3b4864fde13eec083199855c9d9fb982d8bf559 100644 |
--- a/tpm.h |
+++ b/tpm.h |
@@ -64,6 +64,9 @@ class Tpm { |
// Returns whether or not the SRK is available |
bool IsSrkAvailable() const { return is_srk_available_; } |
+ // Returns whether or not the TPM is being owned |
+ bool IsBeingOwned() const { return is_being_owned_; } |
+ |
// Runs the TPM initialization sequence. This may take a long time due to the |
// call to Tspi_TPM_TakeOwnership. |
bool InitializeTpm(); |
@@ -211,6 +214,9 @@ class Tpm { |
// Indicates if the SRK is available |
bool is_srk_available_; |
+ // Indicates if the TPM is being owned |
+ bool is_being_owned_; |
+ |
DISALLOW_COPY_AND_ASSIGN(Tpm); |
}; |