blob: 23dd18165c53365389756f02708232442a8f8ef8 [file] [log] [blame]
// Copyright 2017 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.
//
// Mock for PCAProxy.
#ifndef CRYPTOHOME_CERT_MOCK_CERT_PROVISION_PCA_H_
#define CRYPTOHOME_CERT_MOCK_CERT_PROVISION_PCA_H_
#include <string>
#include "cryptohome/cert/cert_provision_pca.h"
namespace cert_provision {
class MockPCAProxy : public PCAProxy {
public:
MockPCAProxy() : PCAProxy("") {}
MOCK_METHOD(OpResult,
MakeRequest,
(const std::string&,
const brillo::SecureBlob&,
brillo::SecureBlob*),
(override));
};
} // namespace cert_provision
#endif // CRYPTOHOME_CERT_MOCK_CERT_PROVISION_PCA_H_