blob: 08a5279173ecdd3ded7fc442b5a214681553eb19 [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 CRYPTOHOME_CRYPTOHOME_RSA_KEY_LOADER_H_
#define CRYPTOHOME_CRYPTOHOME_RSA_KEY_LOADER_H_
#include "cryptohome/cryptohome_key_loader.h"
namespace cryptohome {
class CryptohomeRsaKeyLoader : public CryptohomeKeyLoader {
public:
CryptohomeRsaKeyLoader(Tpm* tpm, Platform* platform);
CryptohomeRsaKeyLoader(const CryptohomeRsaKeyLoader&) = delete;
CryptohomeRsaKeyLoader& operator=(const CryptohomeRsaKeyLoader&) = delete;
virtual ~CryptohomeRsaKeyLoader() = default;
protected:
bool CreateCryptohomeKey(brillo::SecureBlob* wrapped_key) override;
};
} // namespace cryptohome
#endif // CRYPTOHOME_CRYPTOHOME_RSA_KEY_LOADER_H_