aboutsummaryrefslogtreecommitdiff
path: root/components/service/locator/standalone/services/attestation/attestation_service_context.h
blob: ad8d0eea895f43cae66813d0f2da3123da597a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef STANDALONE_ATTESTATION_SERVICE_CONTEXT_H
#define STANDALONE_ATTESTATION_SERVICE_CONTEXT_H

#include <service/locator/standalone/standalone_service_context.h>
#include <rpc/direct/direct_caller.h>
#include <service/attestation/provider/attest_provider.h>
#include <service/attestation/claims/sources/event_log/event_log_claim_source.h>


class attestation_service_context : public standalone_service_context
{
public:
    attestation_service_context(const char *sn);
    virtual ~attestation_service_context();

private:

    void do_init();
    void do_deinit();

    struct attest_provider m_attest_provider;
    struct event_log_claim_source m_event_log_claim_source;
};

#endif /* STANDALONE_ATTESTATION_SERVICE_CONTEXT_H */