blob: efafb9d6c50d9135b16bbc2c7c38e7f121a9f579 [file] [log] [blame]
Adam Langley979ee872021-03-12 02:47:191// Copyright (c) 2021 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CRYPTO_SCOPED_MOCK_UNEXPORTABLE_KEY_PROVIDER_H_
6#define CRYPTO_SCOPED_MOCK_UNEXPORTABLE_KEY_PROVIDER_H_
7
8namespace crypto {
9
10// ScopedMockUnexportableKeyProvider causes
11// |GetUnexportableKeyProvider| to return a mock, software-based
12// implementation of |UnexportableKeyProvider| while it is in scope.
13//
14// This needs you to link against the test_support target.
15class ScopedMockUnexportableKeyProvider {
16 public:
17 ScopedMockUnexportableKeyProvider();
18 ~ScopedMockUnexportableKeyProvider();
19};
20
21} // namespace crypto
22
23#endif // CRYPTO_SCOPED_MOCK_UNEXPORTABLE_KEY_PROVIDER_H_