trust-store
2.0.0
Provides a common implementation of a trust store to be used by trusted helpers.
|
Go to the documentation of this file.
19 #ifndef CORE_TRUST_AGENT_H_
20 #define CORE_TRUST_AGENT_H_
38 virtual ~
Agent() =
default;
50 typedef std::shared_ptr<Registry>
Ptr;
58 virtual void register_agent_for_user(
const core::trust::Uid& uid,
const std::shared_ptr<core::trust::Agent>& agent) = 0;
95 #endif // CORE_TRUST_AGENT_H_
Abstracts user-prompting functionality.
std::string id
The id of the requesting application.
option(TRUST_STORE_ENABLE_DOC_GENERATION "Generate package documentation with doxygen" ON) if(TRUST_STORE_ENABLE_DOC_GENERATION) find_package(Doxygen) if(DOXYGEN_FOUND) configure_file($
Answer
Enumerates the possible answers given by a user.
Summarizes all parameters for processing a trust request.
core::trust::Pid pid
The process id of the requesting application.
std::string description
An extended description that should be presented to the user on prompting.
CORE_TRUST_DLL_PUBLIC bool operator==(const Agent::RequestParameters &lhs, const Agent::RequestParameters &rhs)
Returns true iff lhs and rhs are equal.
#define CORE_TRUST_DLL_PUBLIC
core::trust::Uid uid
The user id under which the requesting application runs.
std::shared_ptr< Registry > Ptr
Convenience typedef for a shared ptr.
Abstracts functionality for storing agent instances and associating them with a user id.
Feature feature
The service-specific feature identifier.