blob: 4319e54a58f79ab317c4a898326b7d14fc23ca14 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TPM_MANAGER_SERVER_TPM_ALLOWLIST_IMPL_H_
#define TPM_MANAGER_SERVER_TPM_ALLOWLIST_IMPL_H_
#include "tpm_manager/server/tpm_allowlist.h"
#include "tpm_manager/server/tpm_status.h"
namespace tpm_manager {
class TpmAllowlistImpl : public TpmAllowlist {
public:
explicit TpmAllowlistImpl(TpmStatus* tpm_status);
~TpmAllowlistImpl() override = default;
bool IsAllowed() override;
private:
TpmStatus* tpm_status_ = nullptr;
};
} // namespace tpm_manager
#endif // TPM_MANAGER_SERVER_TPM_ALLOWLIST_IMPL_H_