blob: a878fa31cbe75742ba8c42a20b6344487f371524 [file] [log] [blame]
// Copyright (c) 2014 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 MOCK_BOOT_LOCKBOX_H_
#define MOCK_BOOT_LOCKBOX_H_
#include "boot_lockbox.h"
#include <chromeos/secure_blob.h>
#include <gmock/gmock.h>
namespace cryptohome {
class MockBootLockbox : public BootLockbox {
public:
MockBootLockbox() : BootLockbox(NULL, NULL, NULL) {}
virtual ~MockBootLockbox() {}
MOCK_METHOD2(Sign, bool(const chromeos::SecureBlob&, chromeos::SecureBlob*));
MOCK_METHOD2(Verify, bool(const chromeos::SecureBlob&,
const chromeos::SecureBlob&));
MOCK_METHOD0(FinalizeBoot, bool());
};
} // namespace cryptohome
#endif // MOCK_BOOT_LOCKBOX_H_