summaryrefslogtreecommitdiffstats
path: root/crypto/nss_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/nss_util.h')
-rw-r--r--crypto/nss_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/nss_util.h b/crypto/nss_util.h
index fb5049b..0413333 100644
--- a/crypto/nss_util.h
+++ b/crypto/nss_util.h
@@ -103,9 +103,6 @@ class CRYPTO_EXPORT TPMTokenInfoDelegate {
TPMTokenInfoDelegate();
virtual ~TPMTokenInfoDelegate();
- // Returns true if the hardware supports a TPM Token and the TPM is enabled.
- virtual bool IsTokenAvailable() const = 0;
-
// Runs |callback| with true if the TPM and PKCS#11 token slot is ready to be
// used.
// If IsTokenAvailable() is false this should run |callback| with false.
@@ -133,9 +130,6 @@ CRYPTO_EXPORT void EnableTPMTokenForNSS(TPMTokenInfoDelegate* delegate);
CRYPTO_EXPORT void GetTPMTokenInfo(std::string* token_name,
std::string* user_pin);
-// Returns true if the machine has a TPM and it can be used to store tokens.
-CRYPTO_EXPORT bool IsTPMTokenAvailable();
-
// Returns true if the TPM is owned and PKCS#11 initialized with the
// user and security officer PINs, and has been enabled in NSS by
// calling EnableTPMForNSS, and Chaps has been successfully