blob: a4194f64b531e3e39ec7e088210ac91360c15a8c [file] [log] [blame] [edit]
// Copyright 2023 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBHWSEC_FRONTEND_ATTESTATION_FRONTEND_IMPL_H_
#define LIBHWSEC_FRONTEND_ATTESTATION_FRONTEND_IMPL_H_
#include <brillo/secure_blob.h>
#include "libhwsec/frontend/attestation/frontend.h"
#include "libhwsec/frontend/frontend_impl.h"
#include "libhwsec/status.h"
namespace hwsec {
class AttestationFrontendImpl : public AttestationFrontend,
public FrontendImpl {
public:
using FrontendImpl::FrontendImpl;
~AttestationFrontendImpl() override = default;
StatusOr<brillo::SecureBlob> Unseal(const brillo::Blob& sealed_data) override;
StatusOr<brillo::Blob> Seal(const brillo::SecureBlob& unsealed_data) override;
};
} // namespace hwsec
#endif // LIBHWSEC_FRONTEND_ATTESTATION_FRONTEND_IMPL_H_